Some refinements to fieldsets & buttons; replaced text with variable.
authorLuzifr <szekely@woltlab.com>
Thu, 15 Sep 2011 15:09:31 +0000 (17:09 +0200)
committerLuzifr <szekely@woltlab.com>
Thu, 15 Sep 2011 15:09:31 +0000 (17:09 +0200)
wcfsetup/install/files/acp/js/WCF.ACP.js
wcfsetup/install/files/acp/style/testing.css

index cc2fce3addbda5831a7da36477e76204cf1121ee..0fd7ce89a2acfb2d2abb661473e9f2978f3c4331 100644 (file)
@@ -206,7 +206,7 @@ WCF.ACP.PackageInstallation.prototype = {
                // handle success
                if ($data.step == 'success') {
                        var $id = WCF.getRandomID();
-                       $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="Weiter" /></div>');
+                       $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="wcf.global.button.next" /></div>');
                        
                        $('#' + $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('<div class="formSubmit"><input type="button" id="' + $id + '" value="Weiter" /></div>');
+                               $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="wcf.global.button.next" /></div>');
                                
                                $('#' + $id).click($.proxy(function() {
                                        // collect form values
index c6900520c351adf84b62b4e99294974573abf4db..f91aa7dd13d4f41674a2381cd3eca76002ec5a13 100644 (file)
@@ -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;