X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ac4bc40322ecdc4052db4263466573e01fa51f..f34e3c5e1f96e4214461c0b72b651ad48ccffe50:/wp-admin/css/forms-rtl.css diff --git a/wp-admin/css/forms-rtl.css b/wp-admin/css/forms-rtl.css index b0c40a48..1b56f049 100644 --- a/wp-admin/css/forms-rtl.css +++ b/wp-admin/css/forms-rtl.css @@ -232,13 +232,32 @@ textarea[readonly] { color: #a9a9a9; } -.form-invalid { - background-color: #ffebe8 !important; +.form-invalid input, .form-invalid input:focus, +.form-invalid select, .form-invalid select:focus { + border-color: #dc3232 !important; + -webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); + box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); +} + +.form-table .form-required.form-invalid td:after { + content: '\f534'; + font: normal 20px/1 dashicons; + color: #dc3232; + margin-right: -25px; + vertical-align: middle; } -.form-invalid input, -.form-invalid select { - border-color: #c00 !important; +/* Adjust error indicator for password layout */ +.form-table .form-required.user-pass1-wrap.form-invalid td:after { + content: ''; +} + +.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { + content: '\f534'; + font: normal 20px/1 dashicons; + color: #dc3232; + margin: 0 -29px 0 6px; + vertical-align: middle; } .form-input-tip { @@ -352,8 +371,7 @@ textarea.large-text { width: 99%; } -input.regular-text, -#adduser .form-field input { +input.regular-text { width: 25em; } @@ -401,6 +419,11 @@ input[type="number"].small-text { color: #777; } +button.wp-hide-pw > .dashicons { + position: relative; + top: 3px; +} + label, #your-profile label + a { vertical-align: middle; @@ -434,38 +457,79 @@ fieldset label, #pass-strength-result { background-color: #eee; border: 1px solid #ddd; - float: right; - margin: 13px 1px 5px 5px; + color: #23282d; + margin: -2px 1px 5px 5px; padding: 3px 5px; text-align: center; - width: 200px; - display: none; + width: 25em; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + opacity: 0; } #pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040; + background-color: #f1adad; + border-color: #e35b5b; + opacity: 1; } #pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c; + background-color: #fbc5a9; + border-color: #f78b53; + opacity: 1; } #pass-strength-result.good { - background-color: #ffec8b; - border-color: #fc0; + background-color: #ffe399; + border-color: #ffc733; + opacity: 1; } #pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c; + background-color: #c1e1b9; + border-color: #83c373; + opacity: 1; +} + +#pass1.short, #pass1-text.short { + border-color: #e35b5b; +} + +#pass1.bad, #pass1-text.bad { + border-color: #f78b53; +} + +#pass1.good, #pass1-text.good { + border-color: #ffc733; +} + +#pass1.strong, #pass1-text.strong { + border-color: #83c373; +} + +.pw-weak { + display:none; } .indicator-hint { padding-top: 8px; } +#pass1-text, +.show-password #pass1 { + display: none; +} + +.show-password #pass1-text +{ + display: inline-block; +} + +.form-table span.description.important { + font-size: 12px; +} + p.search-box { float: left; margin: 0; @@ -629,6 +693,7 @@ table.form-table td .updated p { width: 15em; } +#adduser .form-field input, #createuser .form-field input { width: 25em; } @@ -832,6 +897,10 @@ table.form-table td .updated p { 21.0 - Network Admin ------------------------------------------------------------------------------*/ +.setup-php textarea { + max-width: 100%; +} + .form-field #site-address { max-width: 25em; } @@ -852,6 +921,11 @@ table.form-table td .updated p { margin-bottom: 5px; } +#search-users, +#search-sites { + max-width: 100%; +} + /*------------------------------------------------------------------------------ Credentials check dialog for Install and Updates ------------------------------------------------------------------------------*/ @@ -944,16 +1018,24 @@ table.form-table td .updated p { padding-top: 10px; } - input[type="checkbox"], .widefat th input[type="checkbox"] { + input[type="checkbox"], + .widefat th input[type="checkbox"], + .widefat thead td input[type="checkbox"], + .widefat tfoot td input[type="checkbox"] { -webkit-appearance: none; padding: 10px; } - .widefat th input[type="checkbox"] { + .widefat th input[type="checkbox"], + .widefat thead td input[type="checkbox"], + .widefat tfoot td input[type="checkbox"] { margin-bottom: 8px; } - input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { + input[type="checkbox"]:checked:before, + .widefat th input[type="checkbox"]:before, + .widefat thead td input[type="checkbox"]:before, + .widefat tfoot td input[type="checkbox"]:before { font: normal 30px/1 'Dashicons'; margin: -3px -5px; } @@ -991,6 +1073,7 @@ table.form-table td .updated p { font-size: 14px; } + #adduser .form-field input, #createuser .form-field input { width: 100%; } @@ -1040,6 +1123,11 @@ table.form-table td .updated p { box-sizing: border-box; } + .form-table .form-required.form-invalid td:after { + float: left; + margin: -30px 0 0 3px; + } + #wpbody .form-table td select { height: 40px; } @@ -1088,8 +1176,10 @@ table.form-table td .updated p { } .form-table span.description { + display: inline; padding: 4px 0 0; line-height: 1.4em; + font-size: 14px; } .form-table th { @@ -1099,10 +1189,22 @@ table.form-table td .updated p { } .form-table td { - padding-top: 8px; + margin-bottom: 0; + padding-bottom: 6px; + padding-top: 4px; padding-right: 0; } + .form-table.permalink-structure td code { + margin-right: 32px; + } + + .form-table.permalink-structure td input[type="text"] { + margin-right: 32px; + margin-top: 4px; + width: 96%; + } + .form-table input.regular-text { width: 100%; } @@ -1130,6 +1232,39 @@ table.form-table td .updated p { .form-field #domain { max-width: none; } + + /* New Password */ + .wp-pwd { + position: relative; + } + + .wp-pwd [type="text"], + .wp-pwd [type="password"] { + padding-left: 40px; + } + + .wp-pwd button.button { + background: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + line-height: 2; + margin: 0; + padding: 5px 10px; + position: absolute; + left: 0; + top: 0; + } + + .wp-pwd button.button:hover, + .wp-pwd button.button:focus, + .wp-pwd button.button:active { + background: transparent; + } + + .wp-pwd .button .text { + display: none; + } } @media only screen and (max-width: 768px) { @@ -1150,12 +1285,11 @@ table.form-table td .updated p { max-width: 400px; width: auto; } - } @media only screen and (max-height: 480px) { /* Request Credentials */ - .request-filesystem-credentials-dialog .notification-dialog{ + .request-filesystem-credentials-dialog .notification-dialog{ width: 100%; height: 100%; max-height: 100%; @@ -1173,4 +1307,3 @@ table.form-table td .updated p { width: 49%; } } -