]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/press-this.css
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / css / press-this.css
index 9cd44bb2e8c0be257fb44ab77b473def216f67f6..b99ba1a7e088b2727a49a2dd970b79043910ed34 100644 (file)
@@ -390,6 +390,139 @@ strong {
        text-decoration: underline;
 }
 
+.split-button {
+       position: relative;
+       display: inline-block;
+       vertical-align: middle;
+}
+
+.split-button-body {
+       display: none;
+       position: absolute;
+       bottom: 39px;
+       right: 0;
+       border: 1px solid #ddd;
+       background-color: #fff;
+       min-width: 180px;
+       max-width: 100%;
+       margin: 0;
+       padding: 8px;
+       list-style: none;
+       -webkit-box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
+       box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
+}
+
+.split-button-body:before,
+.split-button-body:after {
+       position: absolute;
+       right: 12px;
+       display: block;
+       width: 0;
+       height: 0;
+       border-style: solid;
+       border-color: transparent;
+       content: '';
+}
+
+.split-button-body:before {
+       bottom: -18px;
+       border-top-color: #ccc;
+       border-width: 9px;
+       right: 11px;
+}
+
+.split-button-body:after {
+       bottom: -16px;
+       border-top-color: #fff;
+       border-width: 8px;
+}
+
+.split-button-body .split-button-option {
+       display: block;
+       padding: 5px 15px;
+       margin: 0;
+       width: 100%;
+       text-align: left;
+}
+
+.is-open .split-button-body {
+       display: block;
+}
+
+.split-button-primary,
+.split-button-toggle {
+       -webkit-border-radius: 0;
+       border-radius: 0;
+       display: block;
+       margin: 0;
+       font-size: 13px;
+       text-decoration: none;
+       white-space: nowrap;
+       cursor: pointer;
+       -webkit-appearance: none;
+       line-height: 2;
+       padding: 0 10px 1px;
+       background: #00a0d2;
+       border-color: #0073aa;
+       border-width: 1px;
+       border-style: solid;
+       -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;
+}
+
+.split-button-primary {
+       -webkit-border-top-left-radius: 3px;
+       border-top-left-radius: 3px;
+       -webkit-border-bottom-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+       border-right: 0 none;
+       float: left;
+}
+
+.split-button-toggle {
+       padding: 0;
+       -webkit-border-top-right-radius: 3px;
+       border-top-right-radius: 3px;
+       -webkit-border-bottom-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+       border-left: 0 none;
+       float: right;
+}
+
+.split-button-toggle i {
+       margin: 4px 20px 3px 0;
+       padding: 0 10px;
+       border-left: 1px solid #fff;
+}
+
+.split-button-primary:hover,
+.split-button-toggle:hover {
+       outline: none;
+       background: #0091cd;
+       border-color: #0073aa;
+}
+
+.split-button-primary:focus,
+.split-button-toggle:focus {
+       outline: none;
+       border-color: #0e3950;
+       -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);
+}
+
+.split-button-primary:active,
+.split-button-toggle:active {
+       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 );
+}
 
 /**
 * Forms
@@ -1753,13 +1886,12 @@ html {
        padding: 0 10px;
 }
 
-.draft-button.is-hidden,
-.draft-button .saving-draft,
-.draft-button.is-saving .save-draft {
+.publish-button .saving-draft,
+.publish-button.is-saving .publish {
        display: none;
 }
 
-.draft-button.is-saving .saving-draft {
+.publish-button.is-saving .saving-draft {
        display: inline;
 }
 
@@ -2038,3 +2170,46 @@ html {
        top: -1px;
        margin-left: 11px;
 }
+
+/* Text editor */
+#pressthis {
+       color: #404040;
+       resize: none;
+       padding-top: 30px;
+       font-size: 16px;
+}
+
+.wp-editor-wrap .quicktags-toolbar {
+       background: transparent;
+       border: none;
+}
+
+/* Switch editor buttons */
+.wp-editor-wrap .wp-editor-tools {
+       z-index: 0;
+}
+
+.wp-editor-wrap .wp-editor-tabs {
+       padding: 2px;
+}
+
+.wp-editor-wrap .wp-switch-editor {
+       top: 0;
+       margin: 3px 0 0 5px;
+       padding: 3px 8px;
+       background: #f5f5f5;
+       color: #555;
+       border-color: #ccc;
+}
+
+.wp-editor-wrap .wp-switch-editor:hover {
+       background: #fafafa;
+       border-color: #999;
+       color: #23282d;
+}
+
+.wp-editor-wrap.tmce-active .switch-tmce,
+.wp-editor-wrap.html-active .switch-html {
+       background: #fff;
+       border-color: #d8d8d8;
+}