]> scripts.mit.edu Git - autoinstallsdev/wordpress.git/blobdiff - wp-includes/css/buttons.css
WordPress 4.3
[autoinstallsdev/wordpress.git] / wp-includes / css / buttons.css
index 1642491f69e16979217877b99702928b248767b8..b34f91a50206dcbc312001f570a8d78b367cba70 100644 (file)
@@ -67,9 +67,8 @@ TABLE OF CONTENTS:
 .wp-core-ui input[type="reset"]::-moz-focus-inner,
 .wp-core-ui input[type="button"]::-moz-focus-inner,
 .wp-core-ui input[type="submit"]::-moz-focus-inner {
-       border-width: 1px 0;
-       border-style: solid none;
-       border-color: transparent;
+       border-width: 0;
+       border-style: none;
        padding: 0;
 }
 
@@ -96,10 +95,15 @@ TABLE OF CONTENTS:
        padding: 0 36px;
 }
 
-.wp-core-ui .button:active {
+.wp-core-ui .button:active,
+.wp-core-ui .button:focus {
        outline: none;
 }
 
+.ie8 .wp-core-ui .button-link:focus {
+       outline: #5b9dd9 solid 1px;
+}
+
 .wp-core-ui .button.hidden {
        display: none;
 }
@@ -127,8 +131,8 @@ TABLE OF CONTENTS:
        color: #555;
        border-color: #cccccc;
        background: #f7f7f7;
-       -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);
-       box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);
+       -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
+       box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
        vertical-align: top;
 }
 
@@ -136,6 +140,13 @@ TABLE OF CONTENTS:
        vertical-align: baseline;
 }
 
+.wp-core-ui .button-link {
+       border: 0;
+       background: none;
+       outline: none;
+       cursor: pointer;
+}
+
 .wp-core-ui .button.hover,
 .wp-core-ui .button:hover,
 .wp-core-ui .button-secondary:hover,
@@ -144,28 +155,43 @@ TABLE OF CONTENTS:
 .wp-core-ui .button-secondary:focus {
        background: #fafafa;
        border-color: #999;
-       color: #222;
+       color: #23282d;
 }
 
 .wp-core-ui .button.focus,
 .wp-core-ui .button:focus,
-.wp-core-ui .button-secondary:focus {
-       -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2);
-       box-shadow: 1px 1px 1px rgba(0,0,0,.2);
+.wp-core-ui .button-secondary:focus,
+.wp-core-ui .button-link:focus {
+       -webkit-box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
 }
 
 .wp-core-ui .button.active,
 .wp-core-ui .button.active:hover,
-.wp-core-ui .button.active:focus,
 .wp-core-ui .button:active,
 .wp-core-ui .button-secondary:active {
        background: #eee;
        border-color: #999;
-       color: #333;
+       color: #32373c;
        -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
 }
 
+.wp-core-ui .button.active:focus {
+       -webkit-box-shadow:
+               inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+}
+
 .wp-core-ui .button[disabled],
 .wp-core-ui .button:disabled,
 .wp-core-ui .button.disabled,
@@ -173,7 +199,7 @@ TABLE OF CONTENTS:
 .wp-core-ui .button-secondary:disabled,
 .wp-core-ui .button-secondary.disabled,
 .wp-core-ui .button-disabled {
-       color: #aaa !important;
+       color: #a0a5aa !important;
        border-color: #ddd !important;
        background: #f7f7f7 !important;
        -webkit-box-shadow: none !important;
@@ -187,10 +213,10 @@ TABLE OF CONTENTS:
 ---------------------------------------------------------------------------- */
 
 .wp-core-ui .button-primary {
-       background: #2ea2cc;
-       border-color: #0074a2;
-       -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);
-       box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);
+       background: #00a0d2;
+       border-color: #0073aa;
+       -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 );
+       box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
        color: #fff;
        text-decoration: none;
 }
@@ -199,29 +225,35 @@ TABLE OF CONTENTS:
 .wp-core-ui .button-primary:hover,
 .wp-core-ui .button-primary.focus,
 .wp-core-ui .button-primary:focus {
-       background: #1e8cbe;
-       border-color: #0074a2;
-       -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
-       box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
+       background: #0091cd;
+       border-color: #0073aa;
+       -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
+       box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
        color: #fff;
 }
 
 .wp-core-ui .button-primary.focus,
 .wp-core-ui .button-primary:focus {
        border-color: #0e3950;
-       -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
-       box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
+       -webkit-box-shadow:
+               inset 0 1px 0 rgba( 120, 200, 230, 0.6 ),
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               inset 0 1px 0 rgba( 120, 200, 230, 0.6 ),
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
 }
 
 .wp-core-ui .button-primary.active,
 .wp-core-ui .button-primary.active:hover,
 .wp-core-ui .button-primary.active:focus,
 .wp-core-ui .button-primary:active {
-       background: #1b7aa6;
-       border-color: #005684;
-       color: rgba(255,255,255,0.95);
-       -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
-       box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
+       background: #0073aa;
+       border-color: #005082;
+       color: rgba( 255, 255, 255, 0.95 );
+       -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
+       box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
        vertical-align: top;
 }
 
@@ -234,7 +266,7 @@ TABLE OF CONTENTS:
        border-color: #1b607f !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
-       text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
+       text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important;
        cursor: default;
 }
 
@@ -276,6 +308,11 @@ TABLE OF CONTENTS:
        border-radius: 0 3px 3px 0;
 }
 
+.wp-core-ui .button-group > .button:focus {
+       position: relative;
+       z-index: 1;
+}
+
 /* ----------------------------------------------------------------------------
   5.0 - Responsive Button Styles
 ---------------------------------------------------------------------------- */
@@ -303,6 +340,10 @@ TABLE OF CONTENTS:
                font-size: 13px;
        }
 
+       .media-frame.mode-grid .bulk-select .button {
+               margin-bottom: 0;
+       }
+
        /* Publish Metabox Options */
        .wp-core-ui .save-post-status.button {
                position: relative;
@@ -311,11 +352,7 @@ TABLE OF CONTENTS:
 
        /* Reset responsive styles in Press This, Customizer */
 
-       .wp-core-ui.wp-customizer .button,
-       .press-this.wp-core-ui .button,
-       .press-this input#publish,
-       .press-this input#save-post,
-       .press-this a.preview {
+       .wp-core-ui.wp-customizer .button {
                padding: 0 10px 1px;
                font-size: 13px;
                line-height: 26px;