From: Luzifr Date: Thu, 15 Sep 2011 15:09:31 +0000 (+0200) Subject: Some refinements to fieldsets & buttons; replaced text with variable. X-Git-Tag: 2.0.0_Beta_1~1765^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21d0eccee0abfd80505931064bf3bd813626b570;p=GitHub%2FWoltLab%2FWCF.git Some refinements to fieldsets & buttons; replaced text with variable. --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index cc2fce3add..0fd7ce89a2 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -206,7 +206,7 @@ WCF.ACP.PackageInstallation.prototype = { // handle success if ($data.step == 'success') { var $id = WCF.getRandomID(); - $('#packageInstallationInnerContent').append('
'); + $('#packageInstallationInnerContent').append('
'); $('#' + $id).click($.proxy(function() { window.location.href = "index.php?page=PackageList" + SID_ARG_2ND; @@ -234,7 +234,7 @@ WCF.ACP.PackageInstallation.prototype = { // create button to handle next step if ($data.step && $data.node) { var $id = WCF.getRandomID(); - $('#packageInstallationInnerContent').append('
'); + $('#packageInstallationInnerContent').append('
'); $('#' + $id).click($.proxy(function() { // collect form values diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index c6900520c3..f91aa7dd13 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -578,10 +578,14 @@ fieldset { border: 1px solid #ccc; border-radius: 7px; background-color: rgba(0, 0, 0, .015); - margin: 15px 0 0; + margin: 7px 0 0; padding: 15px; } +fieldset:last-child, fieldset:only-child { + margin: 7px 0 7px !important; +} + /* experimental fieldset.topLink { background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 50px); @@ -875,6 +879,7 @@ textarea { /* buttons normal */ input[type='reset'], input[type='submit'], +input[type='button'], .largeButtons ul li a { font-size: 100%; font-weight: bold; @@ -908,6 +913,7 @@ input[type='submit'], /* buttons hover */ input[type='reset']:hover, input[type='submit']:hover, +input[type='button']:hover, .largeButtons ul li a:hover { color: #666; border-width: 1px; @@ -925,9 +931,11 @@ input[type='submit']:hover, /* buttons active */ input[type='reset']:focus, input[type='submit']:focus, +input[type='button']:focus, .largeButtons ul li a:focus, input[type='reset']:active, input[type='submit']:active, +input[type='button']:active, .largeButtons ul li a:active{ color: #333; border-width: 1px; @@ -992,6 +1000,7 @@ input[type='submit']:active, /* default buttons normal */ input[type='submit'], +input[type='button'].default, .largeButtons ul li.default a { color: #69c; border-width: 1px; @@ -1086,6 +1095,7 @@ input[type='submit'], /* default buttons hover */ input[type='submit']:hover, +input[type='button'].default:hover, .largeButtons ul li.default a:hover { color: #666; @@ -1170,8 +1180,10 @@ input[type='submit']:hover, /* default buttons active */ input[type='submit']:focus, +input[type='button'].default:hover, .largeButtons ul li.default a:focus, input[type='submit']:active, +input[type='button'].default:hover, .largeButtons ul li.default a:active { color: #333; @@ -1214,6 +1226,7 @@ input[type='submit']:active, /* disabled buttons */ input[disabled='disabled'], +input[type='button'][disabled='disabled'], .largeButtons ul li.disabled a { color: #999; cursor: default; @@ -1980,11 +1993,6 @@ div.ui-dialog { min-width: 80px; } -div.ui-dialog-content p { - background-color: #fff; - padding: 7px; -} - div.ui-dialog-titlebar { border-bottom: 5px solid rgba(0, 0, 0, .6); background-color: #ccc;