]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/forms-rtl.css
WordPress 4.3.1-scripts
[autoinstalls/wordpress.git] / wp-admin / css / forms-rtl.css
index d8970422fbbd8d726239253214f48da799f57284..1b56f049e78713979ff91840566df76bb44d7e86 100644 (file)
@@ -30,7 +30,7 @@ textarea {
        -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
        box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
        background-color: #fff;
-       color: #333;
+       color: #32373c;
        outline: none;
        -webkit-transition: 0.05s border-color ease-in-out;
        transition: 0.05s border-color ease-in-out;
@@ -61,7 +61,7 @@ textarea:focus {
        box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
 }
 
-/* @noflip */
+/* rtl:ignore */
 input[type="email"],
 input[type="url"] {
        direction: ltr;
@@ -69,7 +69,7 @@ input[type="url"] {
 
 input[type="checkbox"],
 input[type="radio"] {
-       border: 1px solid #bbb;
+       border: 1px solid #b4b9be;
        background: #fff;
        color: #555;
        clear: none;
@@ -92,12 +92,12 @@ input[type="radio"] {
 }
 
 input[type="radio"]:checked + label:before {
-       color: #888;
+       color: #82878c;
 }
 
 .wp-core-ui input[type="reset"]:hover,
 .wp-core-ui input[type="reset"]:active {
-       color: #2ea2cc;
+       color: #00a0d2;
 }
 
 td > input[type="checkbox"],
@@ -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-invalid input,
-.form-invalid select {
-       border-color: #c00 !important;
+.form-table .form-required.form-invalid td:after {
+       content: '\f534';
+       font: normal 20px/1 dashicons;
+       color: #dc3232;
+       margin-right: -25px;
+       vertical-align: middle;
+}
+
+/* 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;
@@ -483,20 +547,20 @@ p.search-box {
        margin: 0 0 0 4px;
 }
 
-input[type="text"].ui-autocomplete-loading {
-       background: transparent url(../images/loading.gif) no-repeat left center;
+input[type="text"].ui-autocomplete-loading,
+input[type="email"].ui-autocomplete-loading {
+       background-image: url(../images/loading.gif);
+       background-repeat: no-repeat;
+       background-position: left center;
        visibility: visible;
 }
 
-ul#add-to-blog-users {
-       margin: 0 14px 0 0;
+input.ui-autocomplete-input.open {
+       border-bottom-color: transparent;
 }
 
-.ui-autocomplete-input.open {
-       -webkit-border-bottom-left-radius: 0;
-       border-bottom-left-radius: 0;
-       -webkit-border-bottom-right-radius: 0;
-       border-bottom-right-radius: 0;
+ul#add-to-blog-users {
+       margin: 0 14px 0 0;
 }
 
 .ui-autocomplete {
@@ -505,28 +569,20 @@ ul#add-to-blog-users {
        list-style: none;
        position: absolute;
        z-index: 10000;
-       -webkit-border-bottom-left-radius: 3px;
-       border-bottom-left-radius: 3px;
-       -webkit-border-bottom-right-radius: 3px;
-       border-bottom-right-radius: 3px;
-       border: 1px solid #aaa;
-       background-color: #efefef;
+       border: 1px solid #5b9dd9;
+       -webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
+       box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
+       background-color: #fff;
 }
 
 .ui-autocomplete li {
        margin-bottom: 0;
+       padding: 4px 10px;
        white-space: nowrap;
        text-align: right;
 }
 
-.ui-autocomplete li a {
-       display: block;
-       height: 100%;
-       padding: 4px 10px;
-       color: #444;
-}
-
-.ui-autocomplete li a.ui-state-focus {
+.ui-autocomplete li.ui-state-focus {
        background-color: #ddd;
        cursor: pointer;
 }
@@ -559,7 +615,7 @@ ul#add-to-blog-users {
 
 .form-table th,
 .form-wrap label {
-       color: #222;
+       color: #23282d;
        font-weight: normal;
        text-shadow: none;
        vertical-align: baseline;
@@ -611,6 +667,11 @@ table.form-table td .updated {
        font-size: 13px;
 }
 
+table.form-table td .updated p {
+       font-size: 13px;
+       margin: 0.3em 0;
+}
+
 /*------------------------------------------------------------------------------
   18.0 - Users
 ------------------------------------------------------------------------------*/
@@ -632,6 +693,7 @@ table.form-table td .updated {
        width: 15em;
 }
 
+#adduser .form-field input,
 #createuser .form-field input {
        width: 25em;
 }
@@ -677,18 +739,50 @@ table.form-table td .updated {
        line-height: 24px;
 }
 
-.pressthis {
-       margin: 20px 0;
+/* Card styles */
+
+.card {
+       position: relative;
+       margin-top: 20px;
+       padding: 0.7em 2em 1em;
+       min-width: 255px;
+       max-width: 520px;
+       border: 1px solid #e5e5e5;
+       -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
+       box-shadow: 0 1px 1px rgba(0,0,0,0.04);
+       background: #fff;
 }
 
-.pressthis a,
-.pressthis a:hover,
-.pressthis a:focus,
-.pressthis a:active {
+/* Press this styles */
+
+.pressthis h4 {
+       margin: 2em 0 1em;
+}
+
+.pressthis textarea {
+       width: 100%;
+       font-size: 1em;
+}
+
+#pressthis-code-wrap {
+       overflow: auto;
+}
+
+.pressthis-bookmarklet-wrapper {
+       margin: 20px 0 8px;
+       vertical-align: top;
+       position: relative;
+       z-index: 1;
+}
+
+.pressthis-bookmarklet,
+.pressthis-bookmarklet:hover,
+.pressthis-bookmarklet:focus,
+.pressthis-bookmarklet:active {
        display: inline-block;
        position: relative;
        cursor: move;
-       color: #333;
+       color: #32373c;
        background: #e6e6e6;
        -webkit-border-radius: 5px;
        border-radius: 5px;
@@ -699,25 +793,41 @@ table.form-table td .updated {
        text-decoration: none;
 }
 
-.pressthis a:active {
+.pressthis-bookmarklet:active {
        outline: none;
 }
 
-.pressthis a:hover:after {
-       -webkit-transform: skew(20deg) rotate(9deg);
-       -ms-transform: skew(20deg) rotate(9deg);
-       transform: skew(20deg) rotate(9deg);
+.pressthis-bookmarklet:after {
+       content: '';
+       width: 70%;
+       height: 55%;
+       z-index: -1;
+       position: absolute;
+       left: 10px;
+       bottom: 9px;
+       background: transparent;
+       -webkit-transform: skew(-20deg) rotate(-6deg);
+       -ms-transform: skew(-20deg) rotate(-6deg);
+       transform: skew(-20deg) rotate(-6deg);
+       -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
+       box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
+}
+
+.pressthis-bookmarklet:hover:after {
+       -webkit-transform: skew(-20deg) rotate(-9deg);
+       -ms-transform: skew(-20deg) rotate(-9deg);
+       transform: skew(-20deg) rotate(-9deg);
        -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
        box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
 }
 
-.pressthis a span {
+.pressthis-bookmarklet span {
        display: inline-block;
        margin: 0px 0 0;
        padding: 0px 9px 8px 12px;
 }
 
-.pressthis a span:before {
+.pressthis-bookmarklet span:before {
        color: #777;
        font: normal 20px/1 'dashicons';
        content:'\f157';
@@ -727,20 +837,29 @@ table.form-table td .updated {
        margin-left: 4px;
 }
 
-.pressthis a:after {
-       content: '';
-       width: 70%;
-       height: 55%;
-       z-index: -1;
-       position: absolute;
-       left: 10px;
-       bottom: 9px;
-       background: transparent;
-       -webkit-transform: skew(20deg) rotate(6deg);
-       -ms-transform: skew(20deg) rotate(6deg);
-       transform: skew(20deg) rotate(6deg);
-       -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
-       box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
+.pressthis-js-toggle {
+       margin-right: 10px;
+       padding: 0;
+       height: auto;
+       vertical-align: top;
+}
+
+.pressthis-js-toggle .dashicons {
+       margin: 5px 7px 6px 8px;
+       color: #777;
+}
+
+/* to override the button class being applied */
+.pressthis-js-toggle.button.button {
+       margin-right: 10px;
+       padding: 0;
+       height: auto;
+       vertical-align: top;
+}
+
+.pressthis-js-toggle .dashicons {
+       margin: 5px 7px 6px 8px;
+       color: #777;
 }
 
 /*------------------------------------------------------------------------------
@@ -757,11 +876,125 @@ table.form-table td .updated {
        vertical-align: middle;
 }
 
+.options-general-php input.small-text {
+       width: 56px;
+}
+
 .options-general-php .spinner {
        float: none;
-       margin: -3px 3px;
+       margin: 0 3px;
+}
+
+.settings-php .language-install-spinner,
+.options-general-php .language-install-spinner {
+       display: inline-block;
+       float: none;
+       margin: -3px 5px 0;
+       vertical-align: middle;
+}
+
+/*------------------------------------------------------------------------------
+  21.0 - Network Admin
+------------------------------------------------------------------------------*/
+
+.setup-php textarea {
+       max-width: 100%;
+}
+
+.form-field #site-address {
+       max-width: 25em;
+}
+
+.form-field #domain {
+       max-width: 22em;
+}
+
+.form-field #site-title,
+.form-field #admin-email,
+.form-field #path,
+.form-field #blog_registered,
+.form-field #blog_last_updated {
+       max-width: 25em;
 }
 
+.form-field #path {
+       margin-bottom: 5px;
+}
+
+#search-users,
+#search-sites {
+       max-width: 100%;
+}
+
+/*------------------------------------------------------------------------------
+   Credentials check dialog for Install and Updates
+------------------------------------------------------------------------------*/
+
+.request-filesystem-credentials-dialog {
+       display: none;
+}
+
+.request-filesystem-credentials-dialog .notification-dialog {
+       top: 15%;
+       max-height: 85%;
+}
+
+.request-filesystem-credentials-dialog-content {
+       margin: 25px;
+}
+
+.request-filesystem-credentials-form input[type="text"],
+.request-filesystem-credentials-form input[type="password"] {
+       display: block;
+}
+
+.request-filesystem-credentials-dialog input[type="text"],
+.request-filesystem-credentials-dialog input[type="password"] {
+       width: 100%;
+}
+
+.request-filesystem-credentials-form .field-title {
+       font-weight: 600;
+}
+
+.request-filesystem-credentials-dialog label[for="hostname"],
+.request-filesystem-credentials-dialog label[for="public_key"],
+.request-filesystem-credentials-dialog label[for="private_key"] {
+       display: block;
+       margin-bottom: 1em;
+}
+
+.request-filesystem-credentials-dialog .ftp-username,
+.request-filesystem-credentials-dialog .ftp-password {
+       float: right;
+       width: 48%;
+}
+
+.request-filesystem-credentials-dialog .ftp-password {
+       margin-right: 4%;
+}
+
+.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
+       text-align: left;
+}
+
+.request-filesystem-credentials-dialog label[for="ftp"] {
+       margin-left: 10px;
+}
+
+#request-filesystem-credentials-dialog .button:not(:last-child) {
+       margin-left: 10px;
+}
+
+#request-filesystem-credentials-form .cancel-button {
+       display: none;
+}
+
+#request-filesystem-credentials-dialog .cancel-button {
+       display: inline;
+}
+
+
 /* =Media Queries
 -------------------------------------------------------------- */
 
@@ -771,8 +1004,11 @@ table.form-table td .updated {
                -webkit-appearance: none;
        }
 
-       input[type=text], input[type="search"],
-       input[type=password], input[type="number"] {
+       input[type="text"],
+       input[type="email"],
+       input[type="search"],
+       input[type="password"],
+       input[type="number"] {
                -webkit-appearance: none;
                padding: 6px 10px;
        }
@@ -782,16 +1018,24 @@ table.form-table td .updated {
                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;
        }
@@ -829,6 +1073,7 @@ table.form-table td .updated {
                font-size: 14px;
        }
 
+       #adduser .form-field input,
        #createuser .form-field input {
                width: 100%;
        }
@@ -861,6 +1106,7 @@ table.form-table td .updated {
        }
 
        .form-table td input[type="text"],
+       .form-table td input[type="email"],
        .form-table td input[type="password"],
        .form-table td select,
        .form-table td textarea,
@@ -877,6 +1123,11 @@ table.form-table td .updated {
                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;
        }
@@ -925,8 +1176,10 @@ table.form-table td .updated {
        }
 
        .form-table span.description {
+               display: inline;
                padding: 4px 0 0;
                line-height: 1.4em;
+               font-size: 14px;
        }
 
        .form-table th {
@@ -936,10 +1189,22 @@ table.form-table td .updated {
        }
 
        .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%;
        }
@@ -963,10 +1228,50 @@ table.form-table td .updated {
                padding: 0;
                line-height: 2;
        }
+
+       .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) {
-       .form-field input,
+       .form-field input[type="text"],
+       .form-field input[type="email"],
+       .form-field input[type="password"],
+       .form-field select,
        .form-field textarea {
                width: 99%;
        }
@@ -982,6 +1287,19 @@ table.form-table td .updated {
        }
 }
 
+@media only screen and (max-height: 480px) {
+       /*  Request Credentials */
+       .request-filesystem-credentials-dialog .notification-dialog{
+               width: 100%;
+               height: 100%;
+               max-height: 100%;
+               position: fixed;
+               top: 0;
+               margin: 0;
+               right: 0;
+       }
+}
+
 /* Smartphone */
 @media screen and (max-width: 600px) {
        /* Color Picker Options */
@@ -989,4 +1307,3 @@ table.form-table td .updated {
                width: 49%;
        }
 }
-