]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/forms.css
WordPress 4.2.3
[autoinstalls/wordpress.git] / wp-admin / css / forms.css
index c3ed8d21b2114aad3af9eed85361a4d989c29324..6c94d0e480ec90b090d614f701e60e0028433ac8 100644 (file)
@@ -1,18 +1,67 @@
-/* include margin and padding in the width calculation of input and textarea */
+/* Include margin and padding in the width calculation of input and textarea. */
 input,
+textarea {
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+}
+
 input[type="text"],
 input[type="password"],
+input[type="checkbox"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="email"],
+input[type="month"],
 input[type="number"],
+input[type="password"],
 input[type="search"],
-input[type="email"],
+input[type="radio"],
+input[type="tel"],
+input[type="text"],
+input[type="time"],
 input[type="url"],
+input[type="week"],
+select,
 textarea {
-       -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-       box-sizing: border-box;
+       border: 1px solid #ddd;
+       -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: #32373c;
+       outline: none;
+       -webkit-transition: 0.05s border-color ease-in-out;
+       transition: 0.05s border-color ease-in-out;
 }
 
-/* @noflip */
+input[type="text"]:focus,
+input[type="password"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="email"]:focus,
+input[type="month"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="time"]:focus,
+input[type="url"]:focus,
+input[type="week"]:focus,
+input[type="checkbox"]:focus,
+input[type="radio"]:focus,
+select:focus,
+textarea:focus {
+       border-color: #5b9dd9;
+       -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
+       box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
+}
+
+/* rtl:ignore */
 input[type="email"],
 input[type="url"] {
        direction: ltr;
@@ -20,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;
@@ -36,65 +85,44 @@ input[type="radio"] {
        width: 16px;
        min-width: 16px;
        -webkit-appearance: none;
-       -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-       box-sizing: border-box;
-       -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-       box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
+       -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
+       box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
        -webkit-transition: .05s border-color ease-in-out;
        transition: .05s border-color ease-in-out;
 }
 
 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"],
-.wp-admin p input[type=checkbox],
-.wp-admin p input[type=radio] {
+.wp-admin p input[type="checkbox"],
+.wp-admin p input[type="radio"] {
        margin-top: 0;
 }
 
-.wp-admin p label input[type=checkbox] {
+.wp-admin p label input[type="checkbox"] {
        margin-top: -4px;
 }
 
-.wp-admin p label input[type=radio] {
+.wp-admin p label input[type="radio"] {
        margin-top: -2px;
 }
 
-input[type=radio] {
+input[type="radio"] {
        -webkit-border-radius: 50%;
        border-radius: 50%;
        margin-right: 4px;
        line-height: 10px;
 }
 
-input:disabled,
-input.disabled,
-textarea:disabled,
-textarea.disabled {
-       -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
-       box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
-       border-color: rgba(222, 222, 222, .75);
-       background: rgba(255, 255, 255, .5);
-       color: rgba(51, 51, 51, .5);
-}
-
-input[type=checkbox]:disabled,
-input[type=radio]:disabled,
-input[type=checkbox]:disabled:checked:before,
-input[type=radio]:disabled:checked:before {
-       opacity: 0.7;
-}
-
-input[type=checkbox]:checked:before,
-input[type=radio]:checked:before {
+input[type="checkbox"]:checked:before,
+input[type="radio"]:checked:before {
        float: left;
        display: inline-block;
        vertical-align: middle;
@@ -105,13 +133,13 @@ input[type=radio]:checked:before {
        -moz-osx-font-smoothing: grayscale;
 }
 
-input[type=checkbox]:checked:before {
+input[type="checkbox"]:checked:before {
        content: '\f147';
        margin: -3px 0 0 -4px;
        color: #1e8cbe;
 }
 
-input[type=radio]:checked:before {
+input[type="radio"]:checked:before {
        content: '\2022';
        text-indent: -9999px;
        -webkit-border-radius: 50px;
@@ -124,13 +152,9 @@ input[type=radio]:checked:before {
        background-color: #1e8cbe;
 }
 
-input.readonly, textarea.readonly {
-       background-color: #ddd;
-}
-
 @-moz-document url-prefix() {
-       input[type=checkbox],
-       input[type=radio],
+       input[type="checkbox"],
+       input[type="radio"],
        .form-table input.tog {
                margin-bottom: -1px;
        }
@@ -163,7 +187,6 @@ input,
 select {
        font-size: 14px;
        padding: 3px 5px;
-       line-height: 15px;
        -webkit-border-radius: 0;
        border-radius: 0; /* Reset mobile webkit's default element styling */
 }
@@ -174,17 +197,6 @@ textarea {
        line-height: 1.4;
 }
 
-input[type="text"],
-input[type="password"],
-input[type="number"],
-input[type="search"],
-input[type="email"],
-input[type="url"],
-textarea,
-select {
-       outline: 0;
-}
-
 .wp-admin input[type="file"] {
        padding: 3px 0;
 }
@@ -208,45 +220,10 @@ textarea.code {
        padding: 4px 6px 1px 6px;
 }
 
-textarea,
-input[type="text"],
-input[type="password"],
-input[type="email"],
-input[type="number"],
-input[type="search"],
-input[type="tel"],
-input[type="url"],
-select {
-       border: 1px solid #ddd;
-       -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;
-       -webkit-transition: .05s border-color ease-in-out;
-       transition: .05s border-color ease-in-out;
-}
-
-select[disabled] {
-       color: #7f7f7f;
-}
-
-textarea:focus,
-input[type="text"]:focus,
-input[type="password"]:focus,
-input[type="email"]:focus,
-input[type="number"]:focus,
-input[type="search"]:focus,
-input[type="tel"]:focus,
-input[type="url"]:focus,
-input[type="checkbox"]:focus,
-input[type="radio"]:focus,
-select:focus {
-       border-color: #5b9dd9;
-       -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
-       box-shadow: 0 0 2px rgba(30,140,190,0.8);
-}
-
-input[readonly] {
+input.readonly,
+input[readonly],
+textarea.readonly,
+textarea[readonly] {
        background-color: #eee;
 }
 
@@ -268,6 +245,39 @@ input[readonly] {
        color: #666;
 }
 
+input:disabled,
+input.disabled,
+select:disabled,
+select.disabled,
+textarea:disabled,
+textarea.disabled {
+       background: rgba( 255, 255, 255, 0.5 );
+       border-color: rgba( 222, 222, 222, 0.75 );
+       -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
+       box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
+       color: rgba( 51, 51, 51, 0.5 );
+}
+
+input[type="file"]:disabled,
+input[type="file"].disabled,
+input[type="range"]:disabled,
+input[type="range"].disabled {
+       background: none;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
+input[type="checkbox"]:disabled,
+input[type="checkbox"].disabled,
+input[type="radio"]:disabled,
+input[type="radio"].disabled,
+input[type="checkbox"]:disabled:checked:before,
+input[type="checkbox"].disabled:checked:before,
+input[type="radio"]:disabled:checked:before,
+input[type="radio"].disabled:checked:before {
+       opacity: 0.7;
+}
+
 /*------------------------------------------------------------------------------
   2.0 - Forms
 ------------------------------------------------------------------------------*/
@@ -364,7 +374,8 @@ input[type="number"].small-text {
 
 .tablenav #changeit,
 .tablenav #delete_all,
-.tablenav #clear-recent-list {
+.tablenav #clear-recent-list,
+.wp-filter #delete_all {
        margin-top: 1px;
 }
 
@@ -465,27 +476,27 @@ p.search-box {
 }
 
 .search-box input[name="s"],
-#search-plugins input[name="s"],
+.tablenav .search-plugins input[name="s"],
 .tagsdiv .newtag {
        float: left;
        height: 28px;
        margin: 0 4px 0 0;
 }
 
-input[type="text"].ui-autocomplete-loading {
-       background: transparent url(../images/loading.gif) no-repeat right 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: right center;
        visibility: visible;
 }
 
-ul#add-to-blog-users {
-       margin: 0 0 0 14px;
+input.ui-autocomplete-input.open {
+       border-bottom-color: transparent;
 }
 
-.ui-autocomplete-input.open {
-       -webkit-border-bottom-right-radius: 0;
-       border-bottom-right-radius: 0;
-       -webkit-border-bottom-left-radius: 0;
-       border-bottom-left-radius: 0;
+ul#add-to-blog-users {
+       margin: 0 0 0 14px;
 }
 
 .ui-autocomplete {
@@ -494,28 +505,20 @@ ul#add-to-blog-users {
        list-style: none;
        position: absolute;
        z-index: 10000;
-       -webkit-border-bottom-right-radius: 3px;
-       border-bottom-right-radius: 3px;
-       -webkit-border-bottom-left-radius: 3px;
-       border-bottom-left-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: left;
 }
 
-.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;
 }
@@ -548,7 +551,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;
@@ -585,7 +588,7 @@ ul#add-to-blog-users {
 }
 
 .form-table input.tog,
-.form-table input[type=radio] {
+.form-table input[type="radio"] {
        margin-top: -4px;
        margin-right: 4px;
        float: none;
@@ -600,6 +603,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
 ------------------------------------------------------------------------------*/
@@ -666,18 +674,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;
@@ -688,11 +728,27 @@ table.form-table td .updated {
        text-decoration: none;
 }
 
-.pressthis a:active {
+.pressthis-bookmarklet:active {
        outline: none;
 }
 
-.pressthis a:hover:after {
+.pressthis-bookmarklet:after {
+       content: '';
+       width: 70%;
+       height: 55%;
+       z-index: -1;
+       position: absolute;
+       right: 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);
@@ -700,13 +756,13 @@ table.form-table td .updated {
        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 12px 8px 9px;
 }
 
-.pressthis a span:before {
+.pressthis-bookmarklet span:before {
        color: #777;
        font: normal 20px/1 'dashicons';
        content:'\f157';
@@ -716,20 +772,29 @@ table.form-table td .updated {
        margin-right: 4px;
 }
 
-.pressthis a:after {
-       content: '';
-       width: 70%;
-       height: 55%;
-       z-index: -1;
-       position: absolute;
-       right: 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-left: 10px;
+       padding: 0;
+       height: auto;
+       vertical-align: top;
+}
+
+.pressthis-js-toggle .dashicons {
+       margin: 5px 8px 6px 7px;
+       color: #777;
+}
+
+/* to override the button class being applied */
+.pressthis-js-toggle.button.button {
+       margin-left: 10px;
+       padding: 0;
+       height: auto;
+       vertical-align: top;
+}
+
+.pressthis-js-toggle .dashicons {
+       margin: 5px 8px 6px 7px;
+       color: #777;
 }
 
 /*------------------------------------------------------------------------------
@@ -746,11 +811,116 @@ 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
+------------------------------------------------------------------------------*/
+
+.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;
+}
+
+/*------------------------------------------------------------------------------
+   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: left;
+       width: 48%;
+}
+
+.request-filesystem-credentials-dialog .ftp-password {
+       margin-left: 4%;
+}
+
+.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
+       text-align: right;
+}
+
+.request-filesystem-credentials-dialog label[for="ftp"] {
+       margin-right: 10px;
+}
+
+#request-filesystem-credentials-dialog .button:not(:last-child) {
+       margin-right: 10px;
+}
+
+#request-filesystem-credentials-form .cancel-button {
+       display: none;
+}
+
+#request-filesystem-credentials-dialog .cancel-button {
+       display: inline;
 }
 
+
 /* =Media Queries
 -------------------------------------------------------------- */
 
@@ -760,8 +930,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;
        }
@@ -771,32 +944,32 @@ table.form-table td .updated {
                padding-top: 10px;
        }
 
-       input[type=checkbox], .widefat th input[type=checkbox] {
+       input[type="checkbox"], .widefat th input[type="checkbox"] {
                -webkit-appearance: none;
                padding: 10px;
        }
 
-       .widefat th input[type=checkbox] {
+       .widefat th 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 {
                font: normal 30px/1 'Dashicons';
                margin: -3px -5px;
        }
 
-       input[type=radio],
-       input[type=checkbox] {
+       input[type="radio"],
+       input[type="checkbox"] {
                height: 25px;
                width: 25px;
        }
 
-       .wp-admin p input[type=checkbox],
-       .wp-admin p input[type=radio] {
+       .wp-admin p input[type="checkbox"],
+       .wp-admin p input[type="radio"] {
                margin-top: -3px;
        }
 
-       input[type=radio]:checked:before {
+       input[type="radio"]:checked:before {
                vertical-align: middle;
                width: 9px;
                height: 9px;
@@ -804,7 +977,7 @@ table.form-table td .updated {
                line-height: 16px;
        }
 
-       .wp-upload-form input[type=submit] {
+       .wp-upload-form input[type="submit"] {
                margin-top: 10px;
        }
 
@@ -850,6 +1023,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,
@@ -866,12 +1040,16 @@ table.form-table td .updated {
                box-sizing: border-box;
        }
 
-       input[type=text].small-text,
-       input[type=search].small-text,
-       input[type=password].small-text,
-       input[type=number].small-text,
+       #wpbody .form-table td select {
+               height: 40px;
+       }
+
+       input[type="text"].small-text,
+       input[type="search"].small-text,
+       input[type="password"].small-text,
        input[type="number"].small-text,
-       .form-table input[type=text].small-text {
+       input[type="number"].small-text,
+       .form-table input[type="text"].small-text {
                width: auto;
                max-width: 55px;
                display: inline;
@@ -948,10 +1126,17 @@ table.form-table td .updated {
                padding: 0;
                line-height: 2;
        }
+
+       .form-field #domain {
+               max-width: 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%;
        }
@@ -965,6 +1150,20 @@ table.form-table td .updated {
                max-width: 400px;
                width: auto;
        }
+
+}
+
+@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;
+               left: 0;
+       }
 }
 
 /* Smartphone */