2014-02-19 22:43:14 +01:00
|
|
|
/* 2 column liquid layout */
|
|
|
|
#wpwrap {
|
|
|
|
height: auto;
|
|
|
|
min-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpcontent {
|
|
|
|
height: 100%;
|
2014-08-15 17:34:16 +02:00
|
|
|
padding-left: 20px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#wpcontent,
|
|
|
|
#wpfooter {
|
2014-08-15 17:34:16 +02:00
|
|
|
margin-left: 160px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.folded #wpcontent,
|
|
|
|
.folded #wpfooter {
|
2014-08-15 17:34:16 +02:00
|
|
|
margin-left: 36px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content {
|
|
|
|
padding-bottom: 65px;
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
2020-06-23 02:01:07 +02:00
|
|
|
overflow: visible;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 2 columns main area */
|
|
|
|
|
|
|
|
#col-left {
|
2016-05-16 15:02:29 +02:00
|
|
|
float: left;
|
2014-02-19 22:43:14 +01:00
|
|
|
width: 35%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#col-right {
|
|
|
|
float: right;
|
|
|
|
width: 65%;
|
|
|
|
}
|
|
|
|
|
2016-05-16 15:02:29 +02:00
|
|
|
#col-left .col-wrap {
|
|
|
|
padding: 0 6px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#col-right .col-wrap {
|
|
|
|
padding: 0 0 0 6px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* utility classes */
|
|
|
|
.alignleft {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alignright {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textleft {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textright {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2016-01-05 14:38:30 +01:00
|
|
|
/* modern clearfix */
|
|
|
|
.wp-clearfix:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* Hide visually but not from screen readers */
|
|
|
|
.screen-reader-text,
|
|
|
|
.screen-reader-text span,
|
|
|
|
.ui-helper-hidden-accessible {
|
2017-09-27 19:27:45 +02:00
|
|
|
border: 0;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 22:13:50 +02:00
|
|
|
-webkit-clip-path: inset(50%);
|
2017-09-27 19:27:45 +02:00
|
|
|
clip-path: inset(50%);
|
|
|
|
height: 1px;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: -1px;
|
2017-09-27 19:27:45 +02:00
|
|
|
overflow: hidden;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0;
|
2017-09-27 19:27:45 +02:00
|
|
|
position: absolute;
|
2014-02-19 22:43:14 +01:00
|
|
|
width: 1px;
|
2015-05-18 20:37:29 +02:00
|
|
|
word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-01-10 17:31:49 +01:00
|
|
|
.button .screen-reader-text {
|
|
|
|
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.screen-reader-shortcut {
|
|
|
|
position: absolute;
|
|
|
|
top: -1000em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen-reader-shortcut:focus {
|
|
|
|
left: 6px;
|
|
|
|
top: -25px;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 15px 23px 14px;
|
|
|
|
background: #f1f1f1;
|
2015-10-21 20:36:28 +02:00
|
|
|
color: #0073aa;
|
2014-02-19 22:43:14 +01:00
|
|
|
z-index: 100000;
|
|
|
|
line-height: normal;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
2014-02-19 22:43:14 +01:00
|
|
|
text-decoration: none;
|
2019-01-10 17:47:50 +01:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
outline-offset: -2px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden,
|
|
|
|
.js .closed .inside,
|
|
|
|
.js .hide-if-js,
|
|
|
|
.no-js .hide-if-no-js,
|
|
|
|
.js.wp-core-ui .hide-if-js,
|
|
|
|
.js .wp-core-ui .hide-if-js,
|
|
|
|
.no-js.wp-core-ui .hide-if-no-js,
|
|
|
|
.no-js .wp-core-ui .hide-if-no-js {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */
|
|
|
|
.widget-top,
|
|
|
|
.menu-item-handle,
|
|
|
|
.widget-inside,
|
|
|
|
#menu-settings-column .accordion-container,
|
|
|
|
#menu-management .menu-edit,
|
|
|
|
.manage-menus,
|
|
|
|
table.widefat,
|
|
|
|
.stuffbox,
|
|
|
|
p.popular-tags,
|
|
|
|
.widgets-holder-wrap,
|
|
|
|
.wp-editor-container,
|
|
|
|
.popular-tags,
|
|
|
|
.feature-filter,
|
2015-03-06 15:06:24 +01:00
|
|
|
.imgedit-group,
|
|
|
|
.comment-ays {
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
table.widefat,
|
|
|
|
.wp-editor-container,
|
|
|
|
.stuffbox,
|
|
|
|
p.popular-tags,
|
|
|
|
.widgets-holder-wrap,
|
|
|
|
.popular-tags,
|
|
|
|
.feature-filter,
|
2015-03-06 15:06:24 +01:00
|
|
|
.imgedit-group,
|
|
|
|
.comment-ays {
|
2014-02-19 22:43:14 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* general */
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2016-04-28 05:16:28 +02:00
|
|
|
background: #f1f1f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #444;
|
2016-07-26 18:39:30 +02:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.4em;
|
|
|
|
min-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.iframe {
|
|
|
|
min-width: 0;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
2014-08-01 22:15:15 +02:00
|
|
|
body.modal-open {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-12-02 09:09:25 +01:00
|
|
|
body.mobile.modal-open #wpwrap {
|
|
|
|
overflow: hidden;
|
2015-04-08 05:19:28 +02:00
|
|
|
position: fixed;
|
2014-12-02 09:09:25 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
iframe,
|
|
|
|
img {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
2017-02-09 17:47:44 +01:00
|
|
|
/* Any change to the default link style must be applied to button-link too. */
|
2014-02-19 22:43:14 +01:00
|
|
|
a {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #0073aa;
|
2014-02-19 22:43:14 +01:00
|
|
|
transition-property: border, background, color;
|
|
|
|
transition-duration: .05s;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
div {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
2020-07-07 12:11:05 +02:00
|
|
|
color: #006799;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-07-14 19:24:26 +02:00
|
|
|
a:focus,
|
2016-01-26 23:38:28 +01:00
|
|
|
a:focus .media-icon img,
|
|
|
|
.wp-person a:focus .gravatar {
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #124964;
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-01-10 17:47:50 +01:00
|
|
|
#adminmenu a:focus {
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow: none;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2019-01-10 17:47:50 +01:00
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.screen-reader-text:focus {
|
2014-05-29 16:23:15 +02:00
|
|
|
box-shadow: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote,
|
|
|
|
q {
|
|
|
|
quotes: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote:before,
|
|
|
|
blockquote:after,
|
|
|
|
q:before,
|
|
|
|
q:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2014-02-19 22:43:14 +01:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
2020-06-18 17:07:11 +02:00
|
|
|
p,
|
|
|
|
.wp-die-message {
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li,
|
|
|
|
dd {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2015-10-13 09:17:24 +02:00
|
|
|
color: #23282d;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 2em;
|
|
|
|
margin: .67em 0;
|
|
|
|
}
|
|
|
|
|
2015-08-31 05:26:24 +02:00
|
|
|
h2,
|
2014-02-19 22:43:14 +01:00
|
|
|
h3 {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #23282d;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 1.3em;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
2016-02-04 20:19:27 +01:00
|
|
|
.update-core-php h2 {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
2015-10-16 17:45:28 +02:00
|
|
|
.update-php h2,
|
2016-02-04 20:19:27 +01:00
|
|
|
.update-messages h2,
|
2014-02-19 22:43:14 +01:00
|
|
|
h4 {
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 1.33em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 0.83em;
|
|
|
|
margin: 1.67em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 0.67em;
|
|
|
|
margin: 2.33em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.ul-disc {
|
|
|
|
list-style: disc outside;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.ul-square {
|
|
|
|
list-style: square outside;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol.ol-decimal {
|
|
|
|
list-style: decimal outside;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.ul-disc,
|
|
|
|
ul.ul-square,
|
|
|
|
ol.ol-decimal {
|
|
|
|
margin-left: 1.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.ul-disc > li,
|
|
|
|
ul.ul-square > li,
|
|
|
|
ol.ol-decimal > li {
|
|
|
|
margin: 0 0 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-03-26 18:12:14 +01:00
|
|
|
.ltr {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-02-19 22:43:14 +01:00
|
|
|
.code,
|
|
|
|
code {
|
|
|
|
font-family: Consolas, Monaco, monospace;
|
|
|
|
direction: ltr;
|
2014-12-17 17:22:22 +01:00
|
|
|
unicode-bidi: embed;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
kbd,
|
|
|
|
code {
|
|
|
|
padding: 3px 5px 2px 5px;
|
|
|
|
margin: 0 1px;
|
|
|
|
background: #eaeaea;
|
2019-03-04 23:02:52 +01:00
|
|
|
background: rgba(0, 0, 0, 0.07);
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub {
|
|
|
|
list-style: none;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 13px;
|
|
|
|
float: left;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub a {
|
|
|
|
line-height: 2;
|
|
|
|
padding: .2em;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub a .count,
|
|
|
|
.subsubsub a.current .count {
|
2016-02-19 19:44:27 +01:00
|
|
|
color: #555d66; /* #f1f1f1 background */
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub a.current {
|
|
|
|
font-weight: 600;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub li {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .widefat - main style for tables */
|
|
|
|
.widefat {
|
|
|
|
border-spacing: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat * {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2017-02-09 17:47:44 +01:00
|
|
|
.widefat a,
|
|
|
|
.widefat button.button-link {
|
2014-02-19 22:43:14 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat td,
|
|
|
|
.widefat th {
|
|
|
|
padding: 8px 10px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead th,
|
|
|
|
.widefat thead td {
|
2019-09-23 17:10:59 +02:00
|
|
|
border-bottom: 1px solid #ccd0d4;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat tfoot th,
|
|
|
|
.widefat tfoot td {
|
2019-09-23 17:10:59 +02:00
|
|
|
border-top: 1px solid #ccd0d4;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat .no-items td {
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat td,
|
|
|
|
.widefat td p,
|
|
|
|
.widefat td ol,
|
|
|
|
.widefat td ul {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat th,
|
|
|
|
.widefat thead td,
|
|
|
|
.widefat tfoot td {
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: left;
|
|
|
|
line-height: 1.3em;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat th input,
|
2016-02-04 20:19:27 +01:00
|
|
|
.updates-table td input,
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead td input,
|
|
|
|
.widefat tfoot td input {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0 0 0 8px;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat .check-column {
|
|
|
|
width: 2.2em;
|
|
|
|
padding: 6px 0 25px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat tbody th.check-column {
|
|
|
|
padding: 9px 0 22px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead td.check-column,
|
2014-02-19 22:43:14 +01:00
|
|
|
.widefat tbody th.check-column,
|
2016-02-04 20:19:27 +01:00
|
|
|
.updates-table tbody td.check-column,
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat tfoot td.check-column {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 11px 0 0 3px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead td.check-column,
|
|
|
|
.widefat tfoot td.check-column {
|
2015-09-06 01:16:23 +02:00
|
|
|
padding-top: 4px;
|
|
|
|
vertical-align: middle;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.update-php div.updated,
|
|
|
|
.update-php div.error {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-js .widefat thead .check-column input,
|
|
|
|
.no-js .widefat tfoot .check-column input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat .num,
|
|
|
|
.column-comments,
|
|
|
|
.column-links,
|
|
|
|
.column-posts {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat th#comments {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
margin: 10px 20px 0 2px;
|
|
|
|
}
|
|
|
|
|
2019-01-07 21:40:50 +01:00
|
|
|
.wrap.block-editor-no-js {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2015-10-28 18:57:25 +01:00
|
|
|
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
|
|
|
|
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
|
|
|
|
.postbox .inside h2, /* Back-compat for pre-4.4 */
|
2015-08-31 05:26:24 +02:00
|
|
|
.wrap h1 {
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 23px;
|
|
|
|
font-weight: 400;
|
2015-10-28 18:57:25 +01:00
|
|
|
margin: 0;
|
2016-10-27 22:39:39 +02:00
|
|
|
padding: 9px 0 4px 0;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.3;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-10-27 22:39:39 +02:00
|
|
|
.wrap h1.wp-heading-inline {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-header-end {
|
|
|
|
visibility: hidden;
|
|
|
|
margin: -2px 0 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.subtitle {
|
2015-10-28 18:57:25 +01:00
|
|
|
margin: 0;
|
|
|
|
padding-left: 25px;
|
2016-01-26 01:04:26 +01:00
|
|
|
color: #555d66;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 14px;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2016-07-11 23:50:31 +02:00
|
|
|
line-height: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-07-03 18:42:24 +02:00
|
|
|
.wrap .add-new-h2, /* deprecated */
|
|
|
|
.wrap .add-new-h2:active, /* deprecated */
|
|
|
|
.wrap .page-title-action,
|
|
|
|
.wrap .page-title-action:active {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-left: 4px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
text-decoration: none;
|
2019-09-29 23:53:57 +02:00
|
|
|
border: 1px solid #0071a1;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
text-shadow: none;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 13px;
|
2016-06-17 22:47:28 +02:00
|
|
|
line-height: normal; /* IE8-IE11 need this for buttons */
|
2019-09-29 23:53:57 +02:00
|
|
|
color: #0071a1; /* use the standard color used for buttons */
|
|
|
|
background: #f3f5f6;
|
2016-06-17 22:47:28 +02:00
|
|
|
cursor: pointer;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-10-27 22:39:39 +02:00
|
|
|
.wrap .wp-heading-inline + .page-title-action {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-03 18:42:24 +02:00
|
|
|
.wrap .add-new-h2:hover, /* deprecated */
|
|
|
|
.wrap .page-title-action:hover {
|
2019-09-29 23:53:57 +02:00
|
|
|
background: #f1f1f1;
|
|
|
|
border-color: #016087;
|
|
|
|
color: #016087;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-07-05 16:42:29 +02:00
|
|
|
/* lower specificity: color needs to be overridden by :hover and :active */
|
|
|
|
.page-title-action:focus {
|
Accessibility: Improve and modernize user interface controls for better contrast. First part: buttons and links.
- Introduces new styles for the buttons, with better contrast for borders and better focus style.
- Introduces a new focus style for links.
- The new styles improve consistency with the ones used in the new Block Editor (Gutenberg).
Props michaelarestad, truchot, mor10, kellychoffman, adamsoucie, paaljoachim, Joen, kjellr, melchoyce, karmatosed, audrasjb, afercia.
Fixes #34904.
Built from https://develop.svn.wordpress.org/trunk@46241
git-svn-id: http://core.svn.wordpress.org/trunk@46053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:43:58 +02:00
|
|
|
color: #016087;
|
2016-07-05 16:42:29 +02:00
|
|
|
}
|
|
|
|
|
2019-05-24 22:43:52 +02:00
|
|
|
/* Dashicon for language options on General Settings and Profile screens */
|
|
|
|
.form-table th label[for="locale"] .dashicons,
|
|
|
|
.form-table th label[for="WPLANG"] .dashicons {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2015-12-06 22:07:25 +01:00
|
|
|
.wrap .page-title-action:focus {
|
Accessibility: Improve and modernize user interface controls for better contrast. First part: buttons and links.
- Introduces new styles for the buttons, with better contrast for borders and better focus style.
- Introduces a new focus style for links.
- The new styles improve consistency with the ones used in the new Block Editor (Gutenberg).
Props michaelarestad, truchot, mor10, kellychoffman, adamsoucie, paaljoachim, Joen, kjellr, melchoyce, karmatosed, audrasjb, afercia.
Fixes #34904.
Built from https://develop.svn.wordpress.org/trunk@46241
git-svn-id: http://core.svn.wordpress.org/trunk@46053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:43:58 +02:00
|
|
|
border-color: #007cba;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
2019-01-10 17:47:50 +01:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
2015-12-06 22:07:25 +01:00
|
|
|
}
|
|
|
|
|
2015-06-27 17:51:23 +02:00
|
|
|
.wrap h1.long-header {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-dialog {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widgets-chooser ul,
|
|
|
|
#widgets-left .widget-in-question .widget-top,
|
|
|
|
#available-widgets .widget-top:hover,
|
|
|
|
div#widgets-right .widget-top:hover,
|
|
|
|
#widgets-left .widget-top:hover {
|
|
|
|
border-color: #999;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.sorthelper {
|
|
|
|
background-color: #ccf3fa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac_match,
|
|
|
|
.subsubsub a.current {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2015-01-14 23:14:22 +01:00
|
|
|
.striped > tbody > :nth-child(odd),
|
2015-07-03 22:47:49 +02:00
|
|
|
ul.striped > :nth-child(odd),
|
2015-01-14 23:14:22 +01:00
|
|
|
.alternate {
|
2014-02-19 22:43:14 +01:00
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
background-color: #e8e8e8;
|
|
|
|
border-right-color: #99d;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Helper classes for plugins to leverage the active WordPress color scheme */
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
background-color: #e4f2fd;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-ui-primary {
|
|
|
|
color: #fff;
|
2015-02-11 23:18:26 +01:00
|
|
|
background-color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
.wp-ui-text-primary {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-ui-highlight {
|
2016-09-01 20:14:31 +02:00
|
|
|
color: #fff;
|
2014-02-19 22:43:14 +01:00
|
|
|
background-color: #1e8cbe;
|
|
|
|
}
|
|
|
|
.wp-ui-text-highlight {
|
|
|
|
color: #1e8cbe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-ui-notification {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #d54e21;
|
|
|
|
}
|
|
|
|
.wp-ui-text-notification {
|
|
|
|
color: #d54e21;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-ui-text-icon {
|
2016-02-19 19:44:27 +01:00
|
|
|
color: #82878c; /* same as new icons */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-03-16 00:16:29 +01:00
|
|
|
/* For emoji replacement images */
|
|
|
|
img.emoji {
|
|
|
|
display: inline !important;
|
|
|
|
border: none !important;
|
|
|
|
height: 1em !important;
|
|
|
|
width: 1em !important;
|
|
|
|
margin: 0 .07em !important;
|
|
|
|
vertical-align: -0.1em !important;
|
|
|
|
background: none !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
1.0 - Text Styles
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.widget .widget-top,
|
2014-07-01 18:23:15 +02:00
|
|
|
.postbox .hndle,
|
|
|
|
.stuffbox .hndle,
|
2014-02-19 22:43:14 +01:00
|
|
|
.control-section .accordion-section-title,
|
|
|
|
.sidebar-name,
|
|
|
|
#nav-menu-header,
|
|
|
|
#nav-menu-footer,
|
|
|
|
.menu-item-handle,
|
|
|
|
.checkbox,
|
|
|
|
.side-info,
|
|
|
|
#your-profile #rich_editing,
|
|
|
|
.widefat thead th,
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead td,
|
|
|
|
.widefat tfoot th,
|
|
|
|
.widefat tfoot td {
|
2014-02-19 22:43:14 +01:00
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget .widget-top,
|
|
|
|
.menu-item-handle {
|
|
|
|
background: #fafafa;
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #23282d;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-01 18:23:15 +02:00
|
|
|
.stuffbox .hndle {
|
2019-09-23 17:10:59 +02:00
|
|
|
border-bottom: 1px solid #ccd0d4;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-09-30 19:24:59 +02:00
|
|
|
.quicktags {
|
2014-02-19 22:43:14 +01:00
|
|
|
background-color: #ccc;
|
|
|
|
color: #000;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon32 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo can we combine these into a class or use an existing dashicon one? */
|
2015-05-09 22:35:27 +02:00
|
|
|
.welcome-panel .welcome-panel-close:before,
|
2016-10-23 20:16:42 +02:00
|
|
|
.tagchecklist .ntdelbutton .remove-tag-icon:before,
|
2015-04-02 00:06:28 +02:00
|
|
|
#bulk-titles div a:before,
|
|
|
|
.notice-dismiss:before {
|
2014-02-19 22:43:14 +01:00
|
|
|
background: none;
|
2017-05-05 00:32:46 +02:00
|
|
|
color: #72777c;
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f153";
|
2015-05-09 22:35:27 +02:00
|
|
|
display: block;
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 16px/20px dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
speak: none;
|
2015-06-27 17:07:24 +02:00
|
|
|
height: 20px;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: center;
|
|
|
|
width: 20px;
|
2015-05-09 22:35:27 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-05-09 22:35:27 +02:00
|
|
|
.welcome-panel .welcome-panel-close:before {
|
2014-07-28 17:52:17 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles div a:before {
|
2015-06-27 17:07:24 +02:00
|
|
|
margin: 1px 0;
|
2014-07-28 17:52:17 +02:00
|
|
|
}
|
|
|
|
|
2016-10-23 20:16:42 +02:00
|
|
|
.tagchecklist .ntdelbutton .remove-tag-icon:before {
|
|
|
|
margin-left: 2px;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: #0073aa;
|
|
|
|
/* vertically center the icon cross browsers */
|
|
|
|
line-height: 1.28;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tagchecklist .ntdelbutton:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-09 22:35:27 +02:00
|
|
|
.welcome-panel .welcome-panel-close:hover:before,
|
|
|
|
.welcome-panel .welcome-panel-close:focus:before,
|
2016-10-23 20:16:42 +02:00
|
|
|
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
|
|
|
|
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
|
|
|
|
#bulk-titles div a:hover:before,
|
|
|
|
#bulk-titles div a:focus:before {
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #c00;
|
|
|
|
}
|
|
|
|
|
2016-10-23 20:16:42 +02:00
|
|
|
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2016-10-23 20:16:42 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.key-labels label {
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong, b {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pre {
|
|
|
|
/* https://developer.mozilla.org/en-US/docs/CSS/white-space */
|
|
|
|
white-space: pre-wrap; /* css-3 */
|
|
|
|
word-wrap: break-word; /* IE 5.5 - 7 */
|
|
|
|
}
|
|
|
|
|
|
|
|
.howto {
|
|
|
|
color: #666;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.install-help {
|
|
|
|
margin: 8px 0;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-break {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-bottom: 1px solid #fafafa;
|
|
|
|
}
|
|
|
|
|
2014-03-15 05:26:16 +01:00
|
|
|
.row-actions span.delete a,
|
|
|
|
.row-actions span.trash a,
|
|
|
|
.row-actions span.spam a,
|
2014-02-19 22:43:14 +01:00
|
|
|
.plugins a.delete,
|
|
|
|
#all-plugins-table .plugins a.delete,
|
|
|
|
#search-plugins-table .plugins a.delete,
|
|
|
|
.submitbox .submitdelete,
|
|
|
|
#media-items a.delete,
|
|
|
|
#media-items a.delete-permanently,
|
2017-05-12 21:26:41 +02:00
|
|
|
#nav-menu-footer .menu-delete,
|
2017-11-15 19:29:46 +01:00
|
|
|
#delete-link a.delete {
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #a00;
|
|
|
|
}
|
|
|
|
|
|
|
|
abbr.required,
|
2016-03-07 23:29:26 +01:00
|
|
|
span.required,
|
2014-02-19 22:43:14 +01:00
|
|
|
.file-error,
|
2014-03-15 05:26:16 +01:00
|
|
|
.row-actions .delete a:hover,
|
|
|
|
.row-actions .trash a:hover,
|
|
|
|
.row-actions .spam a:hover,
|
2014-02-19 22:43:14 +01:00
|
|
|
.plugins a.delete:hover,
|
|
|
|
#all-plugins-table .plugins a.delete:hover,
|
|
|
|
#search-plugins-table .plugins a.delete:hover,
|
|
|
|
.submitbox .submitdelete:hover,
|
|
|
|
#media-items a.delete:hover,
|
|
|
|
#media-items a.delete-permanently:hover,
|
2017-05-12 21:26:41 +02:00
|
|
|
#nav-menu-footer .menu-delete:hover,
|
|
|
|
#delete-link a.delete:hover {
|
2017-04-19 23:14:44 +02:00
|
|
|
color: #dc3232;
|
2014-02-19 22:43:14 +01:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
3.0 - Actions
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#major-publishing-actions {
|
|
|
|
padding: 10px;
|
|
|
|
clear: both;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#delete-action {
|
|
|
|
float: left;
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 2.30769231; /* 30px */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2017-05-12 21:26:41 +02:00
|
|
|
#delete-link {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
line-height: 2.30769231; /* 30px */
|
2017-05-12 21:26:41 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#delete-link a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#publishing-action {
|
|
|
|
text-align: right;
|
|
|
|
float: right;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.9;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#publishing-action .spinner {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
float: none;
|
|
|
|
margin-top: 5px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#misc-publishing-actions {
|
|
|
|
padding: 6px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.misc-pub-section {
|
|
|
|
padding: 6px 10px 8px;
|
|
|
|
}
|
|
|
|
|
2015-09-29 06:51:25 +02:00
|
|
|
.misc-pub-filename {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#minor-publishing-actions {
|
|
|
|
padding: 10px 10px 0 10px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#save-post {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sticky-span {
|
|
|
|
margin-left: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.approve,
|
|
|
|
.unapproved .unapprove {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unapproved .approve,
|
|
|
|
.spam .approve,
|
|
|
|
.trash .approve {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.action-links,
|
|
|
|
th.action-links {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2017-10-17 22:15:52 +02:00
|
|
|
#misc-publishing-actions .notice {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-07-18 05:40:16 +02:00
|
|
|
/* Filter bar */
|
|
|
|
.wp-filter {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 12px 0 25px;
|
2015-05-11 21:34:27 +02:00
|
|
|
padding: 0 10px;
|
2014-07-18 05:40:16 +02:00
|
|
|
width: 100%;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
2014-07-18 05:40:16 +02:00
|
|
|
background: #fff;
|
|
|
|
color: #555;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-count {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
min-width: 4em;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.title-count,
|
|
|
|
.filter-count .count {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
padding: 4px 10px;
|
|
|
|
border-radius: 30px;
|
2016-01-26 01:04:26 +01:00
|
|
|
background: #72777c;
|
2014-07-18 05:40:16 +02:00
|
|
|
color: #fff;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
/* not a part of filter bar, but derived from it, so here for now */
|
|
|
|
.title-count {
|
|
|
|
display: inline;
|
|
|
|
top: -3px;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2014-12-11 05:12:23 +01:00
|
|
|
.filter-items {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-links {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-links li {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-links li > a {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0 10px;
|
|
|
|
padding: 15px 0;
|
|
|
|
border-bottom: 4px solid #fff;
|
|
|
|
color: #666;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-links .current {
|
|
|
|
box-shadow: none;
|
2014-07-18 05:40:16 +02:00
|
|
|
border-bottom: 4px solid #666;
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #23282d;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-links li > a:hover,
|
|
|
|
.filter-links li > a:focus,
|
|
|
|
.show-filters .filter-links a.current:hover,
|
|
|
|
.show-filters .filter-links a.current:focus {
|
2020-07-07 12:11:05 +02:00
|
|
|
color: #006799;
|
2014-08-25 17:58:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .search-form {
|
2014-12-11 05:12:23 +01:00
|
|
|
float: right;
|
|
|
|
margin: 10px 0;
|
2014-08-25 17:58:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .search-form input[type="search"] {
|
Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.
Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Fixes #48420.
Built from https://develop.svn.wordpress.org/trunk@46866
git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:26:03 +01:00
|
|
|
margin: 1px 0;
|
2017-05-25 17:22:42 +02:00
|
|
|
width: 280px;
|
2014-12-11 05:12:23 +01:00
|
|
|
max-width: 100%;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.wp-filter .search-form select {
|
2014-12-11 05:12:23 +01:00
|
|
|
margin: 0;
|
2014-08-02 17:24:16 +02:00
|
|
|
}
|
|
|
|
|
2020-07-03 10:51:05 +02:00
|
|
|
/* Use flexbox only on the plugins install page. The `filter-links` and search form children will become flex items. */
|
|
|
|
.plugin-install-php .wp-filter {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2014-12-12 01:54:23 +01:00
|
|
|
.wp-filter .search-form.search-plugins {
|
2020-07-03 10:51:05 +02:00
|
|
|
/* This element is a flex item: the inherited float won't have any effect. */
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .search-form.search-plugins select,
|
|
|
|
.wp-filter .search-form.search-plugins .wp-filter-search {
|
2014-12-12 01:54:23 +01:00
|
|
|
display: inline-block;
|
2020-07-03 10:51:05 +02:00
|
|
|
margin-top: 10px;
|
|
|
|
vertical-align: top;
|
2014-12-12 01:54:23 +01:00
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.wp-filter .button.drawer-toggle {
|
|
|
|
margin: 10px 9px 0;
|
|
|
|
padding: 0 10px 0 6px;
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: transparent;
|
2014-07-18 05:40:16 +02:00
|
|
|
color: #666;
|
2016-09-21 19:54:28 +02:00
|
|
|
vertical-align: baseline;
|
|
|
|
box-shadow: none;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.wp-filter .drawer-toggle:before {
|
2014-07-18 05:40:16 +02:00
|
|
|
content: "\f111";
|
|
|
|
margin: 0 5px 0 0;
|
2016-01-26 01:04:26 +01:00
|
|
|
color: #72777c;
|
2016-09-21 19:54:28 +02:00
|
|
|
font: normal 16px/1 dashicons;
|
|
|
|
vertical-align: text-bottom;
|
2014-07-18 05:40:16 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2016-09-21 19:54:28 +02:00
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.wp-filter .button.drawer-toggle:hover,
|
|
|
|
.wp-filter .drawer-toggle:hover:before,
|
|
|
|
.wp-filter .button.drawer-toggle:focus,
|
|
|
|
.wp-filter .drawer-toggle:focus:before {
|
|
|
|
background-color: transparent;
|
2020-07-07 12:11:05 +02:00
|
|
|
color: #006799;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.wp-filter .button.drawer-toggle:hover,
|
|
|
|
.wp-filter .button.drawer-toggle:focus:active {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .button.drawer-toggle:focus {
|
|
|
|
border-color: #5b9dd9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .button.drawer-toggle:active {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.wp-filter .drawer-toggle.current:before {
|
2014-07-18 05:40:16 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2017-05-19 18:18:41 +02:00
|
|
|
.filter-drawer,
|
2015-11-04 22:49:26 +01:00
|
|
|
.wp-filter .favorites-form {
|
|
|
|
display: none;
|
2017-05-19 18:18:41 +02:00
|
|
|
margin: 0 -10px 0 -20px;
|
2015-11-04 22:49:26 +01:00
|
|
|
padding: 20px;
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
background: #fafafa;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-05-19 18:18:41 +02:00
|
|
|
.show-filters .filter-drawer,
|
2016-09-21 19:54:28 +02:00
|
|
|
.show-favorites-form .favorites-form {
|
2015-11-04 22:49:26 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.show-filters .filter-links a.current {
|
2014-07-18 05:40:16 +02:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.show-filters .wp-filter .button.drawer-toggle {
|
2014-07-18 05:40:16 +02:00
|
|
|
border-radius: 2px;
|
2016-01-26 01:04:26 +01:00
|
|
|
background: #72777c;
|
2014-07-18 05:40:16 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.show-filters .wp-filter .drawer-toggle:hover,
|
|
|
|
.show-filters .wp-filter .drawer-toggle:focus {
|
|
|
|
background: rgb(46, 162, 204);
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.show-filters .wp-filter .drawer-toggle:before {
|
2014-07-18 05:40:16 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-group {
|
2014-07-18 05:40:16 +02:00
|
|
|
box-sizing: border-box;
|
2015-10-20 00:04:25 +02:00
|
|
|
position: relative;
|
2014-07-18 05:40:16 +02:00
|
|
|
float: left;
|
|
|
|
margin: 0 1% 0 0;
|
2015-10-20 00:04:25 +02:00
|
|
|
padding: 20px 10px 10px;
|
2014-12-04 23:23:25 +01:00
|
|
|
width: 24%;
|
2014-07-18 05:40:16 +02:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #e5e5e5;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2015-10-20 00:04:25 +02:00
|
|
|
.filter-group legend {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
display: block;
|
2014-07-18 05:40:16 +02:00
|
|
|
margin: 0;
|
2015-10-20 00:04:25 +02:00
|
|
|
padding: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: 600;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2015-10-20 00:04:25 +02:00
|
|
|
.filter-drawer .filter-group-feature {
|
|
|
|
margin: 28px 0 0;
|
2014-07-18 05:40:16 +02:00
|
|
|
list-style-type: none;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2015-10-20 00:04:25 +02:00
|
|
|
.filter-drawer .filter-group-feature input,
|
|
|
|
.filter-drawer .filter-group-feature label {
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2018-01-15 20:27:53 +01:00
|
|
|
.filter-drawer .filter-group-feature input {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-group .filter-group-feature label {
|
|
|
|
display: block;
|
|
|
|
margin: 14px 0px 14px 23px;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-drawer .buttons {
|
2016-09-21 19:54:28 +02:00
|
|
|
clear: both;
|
2014-07-18 05:40:16 +02:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.filter-drawer .filter-group + .buttons {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-drawer .buttons .button span {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 0.8;
|
|
|
|
font-size: 12px;
|
|
|
|
text-indent: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .button.clear-filters {
|
|
|
|
display: none;
|
2015-03-03 20:47:25 +01:00
|
|
|
margin-left: 10px;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.wp-filter .button-link.edit-filters {
|
|
|
|
padding: 0 5px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2.2;
|
2016-09-21 19:54:28 +02:00
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filtered-by {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filtered-by > span {
|
2014-07-18 05:40:16 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filtered-by a {
|
2014-07-18 05:40:16 +02:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filtered-by .tags {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filtered-by .tag {
|
2014-07-18 05:40:16 +02:00
|
|
|
margin: 0 5px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
border: 1px solid #e5e5e5;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2014-07-18 05:40:16 +02:00
|
|
|
background: #fff;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filters-applied .filter-group,
|
|
|
|
.filters-applied .filter-drawer .buttons,
|
|
|
|
.filters-applied .filter-drawer br {
|
2020-06-23 02:01:07 +02:00
|
|
|
display: none;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filters-applied .filtered-by {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filters-applied .filter-drawer {
|
2014-07-18 05:40:16 +02:00
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.show-filters .favorites-form,
|
2014-08-25 17:58:15 +02:00
|
|
|
.show-filters .content-filterable,
|
|
|
|
.show-filters.filters-applied.loading-content .content-filterable,
|
|
|
|
.loading-content .content-filterable,
|
|
|
|
.error .content-filterable {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.show-filters.filters-applied .content-filterable {
|
2014-07-18 05:40:16 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-content .spinner {
|
|
|
|
display: block;
|
|
|
|
margin: 40px auto 0;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 1120px) {
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-drawer {
|
2014-07-18 05:40:16 +02:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-group {
|
2014-07-18 05:40:16 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 5px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-group li {
|
2014-07-18 05:40:16 +02:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-11 05:12:23 +01:00
|
|
|
@media only screen and (max-width: 1000px) {
|
|
|
|
.filter-items {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .media-toolbar-primary,
|
|
|
|
.wp-filter .media-toolbar-secondary,
|
2014-12-04 23:23:25 +01:00
|
|
|
.wp-filter .search-form {
|
|
|
|
float: none; /* Remove float from media-views.css */
|
|
|
|
position: relative;
|
2014-12-11 05:12:23 +01:00
|
|
|
max-width: 100%;
|
2014-12-04 23:23:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-18 05:40:16 +02:00
|
|
|
@media only screen and (max-width: 782px) {
|
2014-08-25 17:58:15 +02:00
|
|
|
.filter-group li {
|
2014-12-04 23:23:25 +01:00
|
|
|
padding: 0;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 320px) {
|
|
|
|
.filter-count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-filter .drawer-toggle {
|
|
|
|
margin: 10px 0;
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-12-04 23:23:25 +01:00
|
|
|
.filter-group li,
|
|
|
|
.wp-filter .search-form input[type="search"] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-07-18 05:40:16 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
4.0 - Notifications
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2014-11-21 17:41:25 +01:00
|
|
|
.notice,
|
|
|
|
div.updated,
|
|
|
|
div.error {
|
|
|
|
background: #fff;
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
|
|
|
border-left-width: 4px;
|
2019-09-23 18:21:58 +02:00
|
|
|
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
2014-11-21 17:41:25 +01:00
|
|
|
margin: 5px 15px 2px;
|
|
|
|
padding: 1px 12px;
|
|
|
|
}
|
|
|
|
|
2016-08-10 00:45:40 +02:00
|
|
|
div[class="update-message"] { /* back-compat for pre-4.6 */
|
|
|
|
padding: 0.5em 12px 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2014-11-21 17:41:25 +01:00
|
|
|
.notice p,
|
2015-09-21 17:26:25 +02:00
|
|
|
.notice-title,
|
2014-11-21 17:41:25 +01:00
|
|
|
div.updated p,
|
2014-12-16 10:15:23 +01:00
|
|
|
div.error p,
|
|
|
|
.form-table td .notice p {
|
2014-11-21 17:41:25 +01:00
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
2015-09-21 17:26:25 +02:00
|
|
|
.error a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.updated a {
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-alt {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-large {
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-title {
|
|
|
|
display: inline-block;
|
|
|
|
color: #23282d;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2015-04-07 20:44:27 +02:00
|
|
|
.wp-core-ui .notice.is-dismissible {
|
2015-04-02 00:06:28 +02:00
|
|
|
padding-right: 38px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-dismiss {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2015-04-07 20:44:27 +02:00
|
|
|
right: 1px;
|
2015-04-02 00:06:28 +02:00
|
|
|
border: none;
|
|
|
|
margin: 0;
|
2015-04-07 20:44:27 +02:00
|
|
|
padding: 9px;
|
2015-04-02 00:06:28 +02:00
|
|
|
background: none;
|
2017-05-05 00:32:46 +02:00
|
|
|
color: #72777c;
|
2015-04-02 00:06:28 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-dismiss:hover:before,
|
|
|
|
.notice-dismiss:active:before,
|
|
|
|
.notice-dismiss:focus:before {
|
|
|
|
color: #c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-dismiss:focus {
|
2019-10-07 21:57:02 +02:00
|
|
|
outline: none;
|
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2015-04-02 00:06:28 +02:00
|
|
|
}
|
|
|
|
|
2014-11-21 17:41:25 +01:00
|
|
|
.notice-success,
|
|
|
|
div.updated {
|
2015-09-21 17:26:25 +02:00
|
|
|
border-left-color: #46b450;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-success.notice-alt {
|
|
|
|
background-color: #ecf7ed;
|
2014-11-21 17:41:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.notice-warning {
|
2015-09-21 17:26:25 +02:00
|
|
|
border-left-color: #ffb900;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-warning.notice-alt {
|
|
|
|
background-color: #fff8e5;
|
2014-11-21 17:41:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.notice-error,
|
|
|
|
div.error {
|
2015-09-21 17:26:25 +02:00
|
|
|
border-left-color: #dc3232;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-error.notice-alt {
|
|
|
|
background-color: #fbeaea;
|
2014-11-21 17:41:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.notice-info {
|
2015-09-21 17:26:25 +02:00
|
|
|
border-left-color: #00a0d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-info.notice-alt {
|
|
|
|
background-color: #e5f5fa;
|
2014-11-21 17:41:25 +01:00
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
.update-message p:before,
|
|
|
|
.updating-message p:before,
|
|
|
|
.updated-message p:before,
|
|
|
|
.import-php .updating-message:before,
|
|
|
|
.button.updating-message:before,
|
|
|
|
.button.updated-message:before,
|
|
|
|
.button.installed:before,
|
|
|
|
.button.installing:before {
|
|
|
|
display: inline-block;
|
|
|
|
font: normal 20px/1 'dashicons';
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2014-11-21 17:41:25 +01:00
|
|
|
.wrap .notice,
|
|
|
|
.wrap div.updated,
|
|
|
|
.wrap div.error,
|
|
|
|
.media-upload-form .notice,
|
|
|
|
.media-upload-form div.error {
|
|
|
|
margin: 5px 0 15px;
|
|
|
|
}
|
|
|
|
|
2017-09-25 23:46:47 +02:00
|
|
|
.wrap #templateside .notice {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
2017-10-13 04:39:47 +02:00
|
|
|
padding: 5px 8px;
|
2017-09-25 23:46:47 +02:00
|
|
|
font-weight: 600;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap #templateside span.notice {
|
2017-10-13 04:39:47 +02:00
|
|
|
margin-left: -12px;
|
2017-09-25 23:46:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#templateside li.notice a {
|
2017-10-13 04:39:47 +02:00
|
|
|
padding: 0;
|
2017-09-25 23:46:47 +02:00
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
/* Update icon. */
|
|
|
|
.update-message p:before,
|
|
|
|
.updating-message p:before,
|
|
|
|
.import-php .updating-message:before,
|
|
|
|
.button.updating-message:before,
|
|
|
|
.button.installing:before {
|
|
|
|
color: #f56e28;
|
|
|
|
content: "\f463";
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Spins the update icon. */
|
|
|
|
.updating-message p:before,
|
|
|
|
.import-php .updating-message:before,
|
|
|
|
.button.updating-message:before,
|
Security: Add user interface to auto-update themes and plugins.
Building on core update mechanisms, this adds the ability to enable automatic updates for themes and plugins to the WordPress admin.
Fixes: #50052.
Props: afercia, afragen, audrasjb, azaozz, bookdude13, davidperonne, desrosj, gmays, gmays, javiercasares, karmatosed, knutsp, mapk, mukesh27, netweb, nicolaskulka, nielsdeblaauw, paaljoachim, passoniate, pbiron, pedromendonca, whodunitagency, whyisjake, wpamitkumar, and xkon.
Built from https://develop.svn.wordpress.org/trunk@47835
git-svn-id: http://core.svn.wordpress.org/trunk@47611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-20 20:49:09 +02:00
|
|
|
.button.installing:before,
|
|
|
|
.plugins .column-auto-updates .dashicons-update.spin,
|
|
|
|
.theme-overlay .theme-autoupdate .dashicons-update.spin {
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
animation: rotation 2s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Updated icon (check mark). */
|
|
|
|
.updated-message p:before,
|
|
|
|
.installed p:before,
|
|
|
|
.button.updated-message:before {
|
|
|
|
color: #79ba49;
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "\f147";
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Error icon. */
|
|
|
|
.update-message.notice-error p:before {
|
2019-01-17 08:41:52 +01:00
|
|
|
color: #dc3232;
|
|
|
|
content: "\f534";
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wrap .notice p:before,
|
|
|
|
.import-php .updating-message:before {
|
|
|
|
margin-right: 6px;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#update-nag,
|
|
|
|
.update-nag {
|
|
|
|
display: inline-block;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 11px 15px;
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 25px 20px 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul#dismissed-updates {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-05 16:50:30 +01:00
|
|
|
#dismissed-updates li > p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dismiss,
|
|
|
|
#undismiss {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
form.upgrade {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
form.upgrade .hint {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 85%;
|
|
|
|
margin: -0.5em 0 2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-php .spinner {
|
|
|
|
float: none;
|
|
|
|
margin: -4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ajax-loading,
|
|
|
|
.ajax-loading,
|
|
|
|
.ajax-feedback,
|
|
|
|
.imgedit-wait-spin,
|
|
|
|
.list-ajax-loading { /* deprecated */
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ajax-response.alignleft {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
.button.updating-message:before,
|
|
|
|
.button.updated-message:before,
|
|
|
|
.button.installed:before,
|
|
|
|
.button.installing:before {
|
|
|
|
margin: 3px 5px 0 -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-primary.updating-message:before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-primary.updated-message:before {
|
|
|
|
color: #66c6e4;
|
|
|
|
}
|
|
|
|
|
2017-02-09 17:47:44 +01:00
|
|
|
.button.updated-message {
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
transition-property: border, background, color;
|
|
|
|
transition-duration: .05s;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media aural {
|
|
|
|
.wrap .notice p:before,
|
|
|
|
.button.installing:before,
|
|
|
|
.button.installed:before,
|
|
|
|
.update-message p:before {
|
|
|
|
speak: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* @todo: this does not need its own section anymore */
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
6.0 - Admin Header
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
#adminmenu a,
|
|
|
|
#taglist a,
|
|
|
|
#catlist a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
6.1 - Screen Options Tabs
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#screen-options-wrap,
|
|
|
|
#contextual-help-wrap {
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 20px 12px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contextual-help-wrap {
|
|
|
|
overflow: auto;
|
2020-06-23 02:01:07 +02:00
|
|
|
margin-left: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta-links {
|
2019-06-08 18:31:53 +02:00
|
|
|
float: right;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0 20px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* screen options and help tabs revert */
|
|
|
|
#screen-meta {
|
|
|
|
display: none;
|
|
|
|
margin: 0 20px -1px 0px;
|
|
|
|
position: relative;
|
|
|
|
background-color: #fff;
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-top: none;
|
2019-09-23 18:21:58 +02:00
|
|
|
box-shadow: 0 0 0 transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#screen-options-link-wrap,
|
|
|
|
#contextual-help-link-wrap {
|
2019-06-08 18:31:53 +02:00
|
|
|
float: left;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0 0 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta-links .screen-meta-toggle {
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-18 18:36:25 +02:00
|
|
|
#screen-meta-links .show-settings {
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
2019-06-08 16:50:52 +02:00
|
|
|
border-top: none;
|
2019-06-08 18:07:52 +02:00
|
|
|
height: auto;
|
2019-06-08 16:50:52 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 3px 6px 3px 16px;
|
2019-06-08 18:07:52 +02:00
|
|
|
background: #fff;
|
2019-09-23 18:21:58 +02:00
|
|
|
border-radius: 0 0 4px 4px;
|
2016-01-26 01:04:26 +01:00
|
|
|
color: #72777c;
|
2015-06-18 18:36:25 +02:00
|
|
|
line-height: 1.7;
|
2019-09-23 18:21:58 +02:00
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
transition: box-shadow 0.1s linear;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-06-18 18:36:25 +02:00
|
|
|
#screen-meta-links .show-settings:hover,
|
|
|
|
#screen-meta-links .show-settings:active,
|
|
|
|
#screen-meta-links .show-settings:focus {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-06-08 18:07:52 +02:00
|
|
|
#screen-meta-links .show-settings:focus {
|
|
|
|
border-color: #5b9dd9;
|
|
|
|
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
|
|
|
}
|
|
|
|
|
2015-10-28 21:26:24 +01:00
|
|
|
#screen-meta-links .show-settings:active {
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2015-06-18 18:36:25 +02:00
|
|
|
#screen-meta-links .show-settings:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
right: 0;
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f140";
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
speak: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 5px 0 0;
|
|
|
|
bottom: 2px;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: bottom;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2020-06-23 02:01:07 +02:00
|
|
|
text-decoration: none;
|
2016-03-10 22:44:26 +01:00
|
|
|
color: #72777c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-06-18 18:36:25 +02:00
|
|
|
#screen-meta-links .screen-meta-active:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* end screen options and help tabs */
|
|
|
|
|
|
|
|
.toggle-arrow {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: top left;
|
|
|
|
background-color: transparent;
|
|
|
|
height: 22px;
|
|
|
|
line-height: 22px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-arrow-active {
|
|
|
|
background-position: bottom left;
|
|
|
|
}
|
|
|
|
|
2015-10-09 20:05:24 +02:00
|
|
|
#screen-options-wrap h5, /* Back-compat for old plugins */
|
|
|
|
#screen-options-wrap legend,
|
2014-02-19 22:43:14 +01:00
|
|
|
#contextual-help-wrap h5 {
|
2015-10-09 20:05:24 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 8px 0;
|
2019-01-17 08:41:52 +01:00
|
|
|
font-size: 13px;
|
2015-10-09 20:05:24 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.metabox-prefs label {
|
|
|
|
display: inline-block;
|
|
|
|
padding-right: 15px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2.35;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-10-09 20:05:24 +02:00
|
|
|
#number-of-columns {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-prefs input[type=checkbox] {
|
|
|
|
margin-top: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
2015-10-09 20:05:24 +02:00
|
|
|
.metabox-prefs label input,
|
|
|
|
.metabox-prefs label input[type=checkbox] {
|
|
|
|
margin: -4px 5px 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-prefs .columns-prefs label input {
|
2015-10-09 20:05:24 +02:00
|
|
|
margin: -1px 2px 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-prefs label a {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-03-10 16:32:27 +01:00
|
|
|
.metabox-prefs .screen-options input,
|
|
|
|
.metabox-prefs .screen-options label {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-prefs .screen-options .screen-per-page {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-prefs .screen-options label {
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2.2;
|
2015-03-10 16:32:27 +01:00
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-09 20:05:24 +02:00
|
|
|
.screen-options + .screen-options {
|
2016-01-08 20:13:26 +01:00
|
|
|
margin-top: 10px;
|
2015-10-09 20:05:24 +02:00
|
|
|
}
|
|
|
|
|
2015-10-14 20:58:25 +02:00
|
|
|
.metabox-prefs .submit {
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
6.2 - Help Menu
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#contextual-help-wrap {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contextual-help-columns {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contextual-help-back {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 150px;
|
|
|
|
right: 170px;
|
2019-09-23 17:10:59 +02:00
|
|
|
border: 1px solid #ccd0d4;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
background: #f6fbfd;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contextual-help-wrap.no-sidebar #contextual-help-back {
|
|
|
|
right: 0;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-bottom-right-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs {
|
|
|
|
float: left;
|
|
|
|
width: 150px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs ul {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 0 0 2px;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs a {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 5px 5px 12px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-decoration: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-right: none;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs a:hover {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs .active {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 -1px 0 0;
|
2015-02-11 23:18:26 +01:00
|
|
|
border-left: 2px solid #00a0d2;
|
2014-02-19 22:43:14 +01:00
|
|
|
background: #f6fbfd;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs .active a {
|
2019-09-23 17:10:59 +02:00
|
|
|
border-color: #ccd0d4;
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-tabs-wrap {
|
|
|
|
padding: 0 20px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-tab-content {
|
|
|
|
display: none;
|
|
|
|
margin: 0 22px 12px 0;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.6;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.help-tab-content.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-tab-content ul li {
|
|
|
|
list-style-type: disc;
|
|
|
|
margin-left: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contextual-help-sidebar {
|
|
|
|
width: 150px;
|
|
|
|
float: right;
|
|
|
|
padding: 0 8px 0 12px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
8.0 - Layout Blocks
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
html.wp-toolbar {
|
|
|
|
padding-top: 32px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat th,
|
|
|
|
.widefat td {
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat th,
|
|
|
|
.widefat thead td,
|
|
|
|
.widefat tfoot td {
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.widefat thead tr th,
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat thead tr td,
|
|
|
|
.widefat tfoot tr th,
|
|
|
|
.widefat tfoot tr td {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.widefat td p {
|
|
|
|
margin: 2px 0 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat p,
|
|
|
|
.widefat ol,
|
|
|
|
.widefat ul {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.widefat .column-comment p {
|
|
|
|
margin: 0.6em 0;
|
|
|
|
}
|
|
|
|
|
2016-04-22 23:47:26 +02:00
|
|
|
.widefat .column-comment ul {
|
|
|
|
list-style: initial;
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* Screens with postboxes */
|
|
|
|
.postbox-container {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox-container .meta-box-sortables {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .metabox-holder {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-holder .postbox-container .empty-container {
|
2020-07-06 20:03:02 +02:00
|
|
|
outline: 3px dashed #b4b9be;
|
2014-02-19 22:43:14 +01:00
|
|
|
height: 250px;
|
2016-01-14 05:13:26 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#post-body-content {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 463px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-body.columns-2 #postbox-container-1 {
|
|
|
|
float: right;
|
|
|
|
margin-right: -300px;
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-body.columns-2 #side-sortables {
|
|
|
|
min-height: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* one column on the dash */
|
|
|
|
@media only screen and (max-width: 799px) {
|
|
|
|
#wpbody-content .metabox-holder .postbox-container .empty-container {
|
2020-07-06 20:03:02 +02:00
|
|
|
outline: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
height: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-01 18:23:15 +02:00
|
|
|
.js .widget .widget-top,
|
2014-02-19 22:43:14 +01:00
|
|
|
.js .postbox .hndle {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2019-09-23 19:30:58 +02:00
|
|
|
.js .widget .widget-top.is-non-sortable,
|
|
|
|
.js .postbox .hndle.is-non-sortable {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
/* Configurable dashboard widgets "Configure" edit-box link. */
|
2014-02-19 22:43:14 +01:00
|
|
|
.hndle a {
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
font-size: 12px;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-bottom: 1px solid #ccd0d4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox-header .hndle {
|
|
|
|
flex-grow: 1;
|
|
|
|
/* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox-header .handle-actions {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .handle-order-higher,
|
|
|
|
.postbox .handle-order-lower,
|
2014-02-19 22:43:14 +01:00
|
|
|
.postbox .handlediv {
|
2015-10-07 03:58:25 +02:00
|
|
|
width: 36px;
|
2015-08-26 17:23:24 +02:00
|
|
|
height: 36px;
|
2017-02-14 19:42:46 +01:00
|
|
|
margin: 0;
|
2015-10-07 03:58:25 +02:00
|
|
|
padding: 0;
|
2017-02-14 19:42:46 +01:00
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox .handle-order-higher,
|
|
|
|
.postbox .handle-order-lower {
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .handle-order-higher[aria-disabled="true"],
|
|
|
|
.postbox .handle-order-lower[aria-disabled="true"] {
|
|
|
|
cursor: default;
|
|
|
|
color: #a0a5aa;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.sortable-placeholder {
|
2015-04-05 23:20:27 +02:00
|
|
|
border: 1px dashed #b4b9be;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox,
|
|
|
|
.stuffbox {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2014-07-01 18:23:15 +02:00
|
|
|
/* user-select is not a part of the CSS standard - may change behavior in the future */
|
|
|
|
.postbox .hndle,
|
|
|
|
.stuffbox .hndle {
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2019-01-08 07:19:50 +01:00
|
|
|
.postbox .inside {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0 12px 12px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2019-01-08 07:19:50 +01:00
|
|
|
.stuffbox .inside {
|
|
|
|
padding: 0;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2019-01-08 07:19:50 +01:00
|
|
|
font-size: 13px;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.postbox .inside {
|
|
|
|
margin: 11px 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .inside > p:last-child,
|
|
|
|
.rss-widget ul li:last-child {
|
2020-06-23 02:01:07 +02:00
|
|
|
margin-bottom: 1px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.postbox.closed h3 {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox table.form-table {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox table.widefat {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.temp-border {
|
|
|
|
border: 1px dotted #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.columns-prefs label {
|
2015-10-09 20:05:24 +02:00
|
|
|
padding: 0 10px 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: what is this doing here */
|
|
|
|
#dashboard_right_now .versions .b,
|
|
|
|
#post-status-display,
|
|
|
|
#post-visibility-display,
|
|
|
|
#adminmenu .wp-submenu li.current,
|
|
|
|
#adminmenu .wp-submenu li.current a,
|
|
|
|
#adminmenu .wp-submenu li.current a:hover,
|
|
|
|
.media-item .percent,
|
|
|
|
.plugins .name,
|
|
|
|
#pass-strength-result.strong,
|
|
|
|
#pass-strength-result.short,
|
|
|
|
#ed_reply_toolbar #ed_reply_strong,
|
|
|
|
.item-controls .item-order a,
|
2020-02-11 01:06:04 +01:00
|
|
|
.feature-filter .feature-name,
|
|
|
|
#comment-status-display {
|
2014-02-19 22:43:14 +01:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
21.0 - Admin Footer
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#wpfooter {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-08-15 17:34:16 +02:00
|
|
|
padding: 10px 20px;
|
2016-01-26 01:04:26 +01:00
|
|
|
color: #555d66;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#wpfooter p {
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 0;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.55;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#footer-thankyou {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
25.0 - Tabbed Admin Screen Interface (Experimental)
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.nav-tab {
|
2015-11-18 19:55:26 +01:00
|
|
|
float: left;
|
2014-02-19 22:43:14 +01:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-bottom: none;
|
2015-11-18 19:55:26 +01:00
|
|
|
margin-left: 0.5em; /* half the font size so set the font size properly */
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-size: 14px;
|
2019-05-02 12:37:51 +02:00
|
|
|
line-height: 1.71428571;
|
2015-11-11 22:54:26 +01:00
|
|
|
font-weight: 600;
|
2016-03-09 20:51:26 +01:00
|
|
|
background: #e5e5e5;
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #555;
|
2015-11-11 22:54:26 +01:00
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
2015-10-07 19:35:24 +02:00
|
|
|
}
|
|
|
|
|
2015-11-11 22:54:26 +01:00
|
|
|
h3 .nav-tab, /* Back-compat for pre-4.4 */
|
2015-10-07 19:35:24 +02:00
|
|
|
.nav-tab-small .nav-tab {
|
|
|
|
padding: 5px 14px;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 12px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.33;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-10-07 19:35:24 +02:00
|
|
|
.nav-tab:hover,
|
|
|
|
.nav-tab:focus {
|
2014-02-19 22:43:14 +01:00
|
|
|
background-color: #fff;
|
2016-03-09 20:51:26 +01:00
|
|
|
color: #444;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-11-11 22:54:26 +01:00
|
|
|
.nav-tab-active,
|
|
|
|
.nav-tab:focus:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.nav-tab-active {
|
2015-11-11 22:54:26 +01:00
|
|
|
margin-bottom: -1px;
|
2016-03-09 20:51:26 +01:00
|
|
|
color: #444;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-tab-active,
|
2015-10-07 19:35:24 +02:00
|
|
|
.nav-tab-active:hover,
|
2015-11-11 22:54:26 +01:00
|
|
|
.nav-tab-active:focus,
|
|
|
|
.nav-tab-active:focus:active {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-bottom: 1px solid #f1f1f1;
|
2014-03-26 21:57:15 +01:00
|
|
|
background: #f1f1f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2015-10-13 09:17:24 +02:00
|
|
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
2015-11-03 21:49:27 +01:00
|
|
|
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
2016-08-22 18:33:30 +02:00
|
|
|
.nav-tab-wrapper {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-bottom: 1px solid #ccc;
|
2015-10-13 09:17:24 +02:00
|
|
|
margin: 0;
|
2016-01-05 14:38:30 +01:00
|
|
|
padding-top: 9px;
|
2016-03-23 21:14:26 +01:00
|
|
|
padding-bottom: 0;
|
2015-11-11 22:54:26 +01:00
|
|
|
line-height: inherit;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-01-05 14:38:30 +01:00
|
|
|
/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */
|
|
|
|
.nav-tab-wrapper:not(.wp-clearfix):after {
|
2019-01-17 08:41:52 +01:00
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-01-05 14:38:30 +01:00
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
26.0 - Misc
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2014-03-11 20:42:14 +01:00
|
|
|
.spinner {
|
|
|
|
background: url(../images/spinner.gif) no-repeat;
|
|
|
|
background-size: 20px 20px;
|
2015-04-03 06:52:27 +02:00
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
2014-03-11 20:42:14 +01:00
|
|
|
float: right;
|
2015-04-03 06:52:27 +02:00
|
|
|
vertical-align: middle;
|
2014-03-11 20:42:14 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
filter: alpha(opacity=70);
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2015-04-03 06:52:27 +02:00
|
|
|
margin: 4px 10px 0;
|
|
|
|
}
|
|
|
|
|
2016-05-01 17:43:27 +02:00
|
|
|
.spinner.is-active,
|
|
|
|
.loading-content .spinner {
|
2015-04-03 06:52:27 +02:00
|
|
|
visibility: visible;
|
2014-03-11 20:42:14 +01:00
|
|
|
}
|
|
|
|
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
#template > div {
|
2017-10-16 23:36:48 +02:00
|
|
|
margin-right: 16em;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
#template .notice {
|
2017-09-22 03:36:48 +02:00
|
|
|
margin-top: 1em;
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
margin-right: 3%;
|
2017-09-22 03:36:48 +02:00
|
|
|
}
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
#template .notice p {
|
2017-09-22 03:36:48 +02:00
|
|
|
width: auto;
|
|
|
|
}
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
#template .submit .spinner {
|
|
|
|
float: none;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
|
2015-10-13 08:57:24 +02:00
|
|
|
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
|
2015-10-15 05:38:25 +02:00
|
|
|
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
|
2015-10-28 18:57:25 +01:00
|
|
|
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
|
|
|
|
.metabox-holder h2.hndle {
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
2015-10-13 08:57:24 +02:00
|
|
|
/* Back-compat for nav-menus screen */
|
|
|
|
.nav-menus-php .metabox-holder h3 {
|
|
|
|
padding: 10px 10px 11px 14px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.5;
|
2015-10-13 08:57:24 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#templateside ul li a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-install #description,
|
|
|
|
.plugin-install-network #description {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
table .vers,
|
|
|
|
table .column-visible,
|
|
|
|
table .column-rating {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2015-07-08 01:11:24 +02:00
|
|
|
.attention,
|
2014-02-19 22:43:14 +01:00
|
|
|
.error-message {
|
2017-10-03 18:03:32 +02:00
|
|
|
color: #dc3232;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Scrollbar fix for bulk upgrade iframe */
|
|
|
|
body.iframe {
|
|
|
|
height: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Upgrader styles, Specific to Language Packs */
|
|
|
|
.lp-show-latest p {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.lp-show-latest p:last-child,
|
|
|
|
.lp-show-latest .lp-error p {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* - Only used once or twice in all of WP - deprecate for global style
|
|
|
|
------------------------------------------------------------------------------*/
|
2015-07-14 19:24:26 +02:00
|
|
|
.media-icon {
|
|
|
|
width: 62px; /* icon + border */
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: center;
|
2015-05-09 23:05:25 +02:00
|
|
|
}
|
|
|
|
|
2015-07-14 19:24:26 +02:00
|
|
|
.media-icon img {
|
2016-02-16 17:09:29 +01:00
|
|
|
border: 1px solid #e5e5e5;
|
2014-06-26 03:58:16 +02:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#howto {
|
|
|
|
font-size: 11px;
|
|
|
|
margin: 0 5px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-07-17 17:32:30 +02:00
|
|
|
.importers {
|
|
|
|
font-size: 16px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.importers td {
|
|
|
|
padding-right: 14px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.4;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-07-17 17:32:30 +02:00
|
|
|
.importers .import-system {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.importers td.desc {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.importer-title,
|
|
|
|
.importer-desc,
|
|
|
|
.importer-action {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.importer-title {
|
|
|
|
color: #000;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.importer-action {
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.55; /* Same as with .updating-message */
|
2016-07-17 17:32:30 +02:00
|
|
|
color: #555;
|
2017-06-24 20:07:43 +02:00
|
|
|
margin-bottom: 1em;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-10-14 19:32:24 +02:00
|
|
|
#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */
|
|
|
|
#post-body #post-body-content #namediv h2 {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:54:26 +02:00
|
|
|
.edit-comment-author {
|
|
|
|
color: #222;
|
2019-01-08 07:19:50 +01:00
|
|
|
border-bottom: 1px solid #eee;
|
2015-06-16 20:54:26 +02:00
|
|
|
}
|
|
|
|
|
2015-10-14 19:32:24 +02:00
|
|
|
#namediv h3 label, /* Back-compat for pre-4.4 */
|
|
|
|
#namediv h2 label {
|
2014-02-19 22:43:14 +01:00
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#namediv table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#namediv td.first {
|
|
|
|
width: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#namediv input {
|
|
|
|
width: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#namediv p {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* - Used - but could/should be deprecated with a CSS reset
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.zerosize {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
br.clear {
|
|
|
|
height: 2px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 0.15;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox {
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-categories {
|
|
|
|
display: inline;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-categories li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Star Ratings - Back-compat for pre-3.8 */
|
|
|
|
div.star-holder {
|
|
|
|
position: relative;
|
|
|
|
height: 17px;
|
|
|
|
width: 100px;
|
2014-02-26 18:23:13 +01:00
|
|
|
background: url(../images/stars.png?ver=20121108) repeat-x bottom left;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div.star-holder .star-rating {
|
2014-02-26 18:23:13 +01:00
|
|
|
background: url(../images/stars.png?ver=20121108) repeat-x top left;
|
2014-02-19 22:43:14 +01:00
|
|
|
height: 17px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Star Ratings */
|
|
|
|
.star-rating {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.star-rating .star {
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 1;
|
2015-09-05 21:57:25 +02:00
|
|
|
font-family: dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-decoration: inherit;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-style: normal;
|
|
|
|
vertical-align: top;
|
2018-02-11 13:55:30 +01:00
|
|
|
transition: color .1s ease-in;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: center;
|
2015-03-12 06:41:27 +01:00
|
|
|
color: #ffb900;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.star-rating .star-full:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f155";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.star-rating .star-half:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f459";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .star-rating .star-half {
|
|
|
|
transform: rotateY(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.star-rating .star-empty:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f154";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div.action-links {
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 6px 0 0;
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
/* Plugin install thickbox */
|
|
|
|
#plugin-information {
|
2014-08-13 01:02:16 +02:00
|
|
|
background: #fff;
|
2014-03-16 19:28:17 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2014-08-13 01:02:16 +02:00
|
|
|
height: 100%;
|
2014-03-16 19:28:17 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-13 01:02:16 +02:00
|
|
|
#plugin-information-scrollable {
|
|
|
|
overflow: auto;
|
2015-04-08 05:19:28 +02:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2014-08-13 01:02:16 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-title {
|
2017-05-15 22:13:42 +02:00
|
|
|
padding: 0 26px;
|
2014-08-13 01:02:16 +02:00
|
|
|
background: #f5f5f5;
|
2014-03-27 01:08:15 +01:00
|
|
|
font-size: 22px;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-weight: 600;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2.4;
|
2014-08-26 14:55:16 +02:00
|
|
|
position: relative;
|
2014-03-27 01:08:15 +01:00
|
|
|
height: 56px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
2014-03-16 19:28:17 +01:00
|
|
|
|
2014-07-09 19:28:17 +02:00
|
|
|
#plugin-information-title.with-banner {
|
|
|
|
margin-right: 0;
|
|
|
|
height: 250px;
|
2015-03-11 17:12:26 +01:00
|
|
|
background-size: cover;
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title h2 {
|
2014-08-24 22:48:15 +02:00
|
|
|
font-size: 1em;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 600;
|
2014-08-24 22:48:15 +02:00
|
|
|
padding: 0;
|
2014-07-09 19:28:17 +02:00
|
|
|
margin: 0;
|
2014-08-25 22:20:16 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title.with-banner h2 {
|
2017-05-15 22:13:42 +02:00
|
|
|
position: relative;
|
2014-08-24 22:48:15 +02:00
|
|
|
font-family: "Helvetica Neue", sans-serif;
|
2014-08-13 01:02:16 +02:00
|
|
|
display: inline-block;
|
2014-07-09 19:28:17 +02:00
|
|
|
font-size: 30px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.68;
|
2017-05-15 22:13:42 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 100%;
|
2014-07-09 19:28:17 +02:00
|
|
|
padding: 0 15px;
|
2017-05-15 22:13:42 +02:00
|
|
|
margin-top: 174px;
|
2014-07-09 19:28:17 +02:00
|
|
|
color: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
background: rgba(30, 30, 30, 0.9);
|
|
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
|
|
box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
|
2014-07-09 19:28:17 +02:00
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title div.vignette {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title.with-banner div.vignette {
|
2017-05-15 22:13:42 +02:00
|
|
|
position: absolute;
|
2014-07-09 19:28:17 +02:00
|
|
|
display: block;
|
|
|
|
top: 0;
|
2017-05-15 22:13:42 +02:00
|
|
|
left: 0;
|
2014-08-13 01:02:16 +02:00
|
|
|
height: 250px;
|
2017-05-15 22:13:42 +02:00
|
|
|
width: 100%;
|
2014-07-09 19:28:17 +02:00
|
|
|
background: transparent;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-tabs {
|
|
|
|
padding: 0 16px;
|
2014-08-13 01:02:16 +02:00
|
|
|
position: relative;
|
2014-03-16 19:28:17 +01:00
|
|
|
right: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
left: 0;
|
2016-04-16 15:18:27 +02:00
|
|
|
min-height: 36px;
|
|
|
|
font-size: 0;
|
2014-03-16 19:28:17 +01:00
|
|
|
z-index: 1;
|
2014-08-13 01:02:16 +02:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
background: #f3f3f3;
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-tabs a {
|
|
|
|
position: relative;
|
2016-04-16 15:18:27 +02:00
|
|
|
display: inline-block;
|
2014-07-13 00:08:16 +02:00
|
|
|
padding: 9px 10px;
|
2014-03-16 19:28:17 +01:00
|
|
|
margin: 0;
|
|
|
|
height: 18px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.3;
|
2014-03-16 19:28:17 +01:00
|
|
|
font-size: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-tabs a.current {
|
2016-04-16 15:18:27 +02:00
|
|
|
margin: 0 -1px -1px;
|
2014-03-16 19:28:17 +01:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ddd;
|
2014-08-13 01:02:16 +02:00
|
|
|
border-bottom-color: #fff;
|
2014-07-13 00:08:16 +02:00
|
|
|
padding-top: 8px;
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #32373c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-13 00:08:16 +02:00
|
|
|
#plugin-information-tabs.with-banner a.current {
|
|
|
|
border-top: none;
|
|
|
|
padding-top: 9px;
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-tabs a:active,
|
|
|
|
#plugin-information-tabs a:focus {
|
|
|
|
outline: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-content {
|
2014-08-13 01:02:16 +02:00
|
|
|
overflow: hidden; /* equal height column trick */
|
2014-03-16 19:28:17 +01:00
|
|
|
background: #fff;
|
2014-08-13 01:02:16 +02:00
|
|
|
position: relative;
|
|
|
|
top: 0;
|
2014-03-16 19:28:17 +01:00
|
|
|
right: 0;
|
|
|
|
left: 0;
|
2014-08-13 01:02:16 +02:00
|
|
|
min-height: 100%;
|
2014-08-24 22:45:17 +02:00
|
|
|
/* Height of title + tabs + install now */
|
|
|
|
min-height: calc( 100% - 152px );
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-content.with-banner {
|
|
|
|
/* Height of banner + tabs + install now */
|
2014-08-13 01:02:16 +02:00
|
|
|
min-height: calc( 100% - 346px );
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#section-holder {
|
2014-08-13 01:02:16 +02:00
|
|
|
position: relative;
|
2014-03-16 19:28:17 +01:00
|
|
|
top: 0;
|
|
|
|
right: 250px;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2019-06-25 16:11:55 +02:00
|
|
|
margin-top: 10px;
|
2014-08-13 01:02:16 +02:00
|
|
|
margin-right: 250px; /* FYI box */
|
|
|
|
padding: 10px 26px;
|
2015-10-21 23:55:29 +02:00
|
|
|
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
2014-08-13 01:02:16 +02:00
|
|
|
padding-bottom: 99999px; /* equal height column trick */
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
2019-06-25 16:11:55 +02:00
|
|
|
#section-holder .notice {
|
|
|
|
margin: 5px 0 15px;
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#section-holder .updated {
|
|
|
|
margin: 16px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi {
|
2014-08-13 01:02:16 +02:00
|
|
|
float: right;
|
|
|
|
position: relative;
|
2014-03-16 19:28:17 +01:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2014-08-13 01:02:16 +02:00
|
|
|
padding: 16px;
|
2015-10-21 23:55:29 +02:00
|
|
|
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
2014-08-13 01:02:16 +02:00
|
|
|
padding-bottom: 99999px; /* equal height column trick */
|
2014-03-16 19:28:17 +01:00
|
|
|
width: 217px;
|
2014-08-13 01:02:16 +02:00
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
background: #f3f3f3;
|
|
|
|
color: #666;
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi strong {
|
2016-03-09 20:51:26 +01:00
|
|
|
color: #444;
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi h3 {
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 600;
|
2014-03-16 19:28:17 +01:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #666;
|
|
|
|
margin: 24px 0 8px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi h2 {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi ul {
|
2014-03-16 19:28:17 +01:00
|
|
|
padding: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi li {
|
2014-03-16 19:28:17 +01:00
|
|
|
margin: 0 0 10px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-02-23 00:18:29 +01:00
|
|
|
#plugin-information .fyi-description {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-13 00:08:16 +02:00
|
|
|
#plugin-information .counter-container {
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
2014-07-09 19:28:17 +02:00
|
|
|
#plugin-information .counter-label {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
2014-08-15 22:51:16 +02:00
|
|
|
min-width: 55px;
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .counter-back {
|
|
|
|
height: 17px;
|
|
|
|
width: 92px;
|
2016-02-16 17:09:29 +01:00
|
|
|
background-color: #e5e5e5;
|
2014-07-09 19:28:17 +02:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .counter-bar {
|
|
|
|
height: 17px;
|
2015-03-12 06:41:27 +01:00
|
|
|
background-color: #ffc733; /* slightly lighter than stars due to larger expanse */
|
2014-07-09 19:28:17 +02:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .counter-count {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi ul.contributors {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi ul.contributors li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi ul.contributors li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi ul.contributors li img {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2014-03-16 19:28:17 +01:00
|
|
|
#plugin-information-footer {
|
2015-10-21 23:55:29 +02:00
|
|
|
padding: 13px 16px;
|
2014-03-16 19:28:17 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2015-10-21 23:55:29 +02:00
|
|
|
height: 33px; /* 33+13+13+1=60 */
|
2014-08-13 01:02:16 +02:00
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
background: #f3f3f3;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 14:55:16 +02:00
|
|
|
#plugin-information .section {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-02-19 22:43:14 +01:00
|
|
|
#plugin-information .section ul,
|
|
|
|
#plugin-information .section ol {
|
2014-03-16 19:28:17 +01:00
|
|
|
list-style-type: disc;
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .section,
|
|
|
|
#plugin-information .section p {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.7;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information #section-screenshots ol {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information #section-screenshots li img {
|
|
|
|
vertical-align: text-top;
|
2014-03-16 19:28:17 +01:00
|
|
|
margin-top: 16px;
|
2014-02-19 22:43:14 +01:00
|
|
|
max-width: 100%;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-02-19 22:43:14 +01:00
|
|
|
#plugin-information #section-screenshots li p {
|
|
|
|
font-style: italic;
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information pre {
|
|
|
|
padding: 7px;
|
|
|
|
overflow: auto;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2017-05-11 21:16:42 +02:00
|
|
|
#plugin-information blockquote {
|
|
|
|
border-left: 2px solid #ddd;
|
|
|
|
color: #666;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0 0 0 1em;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 07:49:17 +02:00
|
|
|
#plugin-information .review {
|
2014-08-26 15:46:15 +02:00
|
|
|
overflow: hidden; /* clearfix */
|
2014-08-26 07:49:17 +02:00
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 20px;
|
2016-02-18 23:30:27 +01:00
|
|
|
border-bottom: 1px solid #e5e5e5;
|
2014-08-26 07:49:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .review-title-section {
|
2014-08-26 15:46:15 +02:00
|
|
|
overflow: hidden; /* clearfix */
|
2014-08-26 07:49:17 +02:00
|
|
|
}
|
2014-08-26 15:46:15 +02:00
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 07:49:17 +02:00
|
|
|
#plugin-information .review-title-section h4 {
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
margin: 0 6px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .reviewer-info p {
|
|
|
|
clear: both;
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 07:49:17 +02:00
|
|
|
#plugin-information .reviewer-info .avatar {
|
|
|
|
float: left;
|
|
|
|
margin: 4px 6px 0 0;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 14:55:16 +02:00
|
|
|
#plugin-information .reviewer-info .star-rating {
|
2014-08-26 07:49:17 +02:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 07:49:17 +02:00
|
|
|
#plugin-information .review-meta {
|
|
|
|
float: left;
|
|
|
|
margin-left: 0.75em;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-08-26 07:49:17 +02:00
|
|
|
#plugin-information .review-body {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.plugin-version-author-uri {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2016-09-17 18:23:27 +02:00
|
|
|
/* For non-js plugin installation screen ticket #36430. */
|
|
|
|
.update-php .button.button-primary {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 771px) {
|
2014-07-13 00:08:16 +02:00
|
|
|
#plugin-information-title.with-banner {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title.with-banner h2 {
|
2014-08-13 01:02:16 +02:00
|
|
|
margin-top: 30px;
|
2014-07-13 00:08:16 +02:00
|
|
|
font-size: 20px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2;
|
2014-08-25 22:20:16 +02:00
|
|
|
max-width: 85%;
|
2014-07-13 00:08:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-title.with-banner div.vignette {
|
2014-08-13 01:02:16 +02:00
|
|
|
height: 100px;
|
2014-07-13 00:08:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-tabs {
|
2014-08-13 01:02:16 +02:00
|
|
|
overflow: hidden; /* clearfix */
|
2014-07-13 00:08:16 +02:00
|
|
|
padding: 0;
|
2014-08-13 01:02:16 +02:00
|
|
|
height: auto; /* let tabs wrap */
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-tabs a.current {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-bottom: none;
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi {
|
2014-08-13 01:02:16 +02:00
|
|
|
float: none;
|
2014-03-16 19:28:17 +01:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
2014-08-13 01:02:16 +02:00
|
|
|
margin: 26px 26px 0;
|
|
|
|
padding-bottom: 0; /* reset from the two column height fix */
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#section-holder {
|
|
|
|
position: static;
|
2014-08-13 01:02:16 +02:00
|
|
|
margin: 0;
|
2016-10-25 02:38:35 +02:00
|
|
|
padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information .fyi h3,
|
|
|
|
#plugin-information .fyi small {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#plugin-information-footer {
|
2014-03-27 01:08:15 +01:00
|
|
|
padding: 12px 16px 0;
|
|
|
|
height: 46px;
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
/* Thickbox for the Plugin details modal. */
|
|
|
|
#TB_window.plugin-details-modal {
|
2015-10-28 19:19:26 +01:00
|
|
|
background: #fcfcfc;
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
#TB_window.plugin-details-modal.thickbox-loading:before {
|
2015-10-28 19:19:26 +01:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
z-index: -1;
|
|
|
|
margin: -10px 0 0 -10px;
|
|
|
|
background: #fcfcfc url(../images/spinner.gif) no-repeat center;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
transform: translateZ(0);
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print,
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
2014-04-03 16:08:15 +02:00
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
#TB_window.plugin-details-modal.thickbox-loading:before {
|
2015-11-16 21:33:25 +01:00
|
|
|
background-image: url(../images/spinner-2x.gif);
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_title {
|
2014-03-16 19:28:17 +01:00
|
|
|
float: left;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_ajaxWindowTitle {
|
2014-03-16 19:28:17 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_closeWindowButton {
|
2014-08-26 14:55:16 +02:00
|
|
|
left: auto;
|
2014-08-13 01:02:16 +02:00
|
|
|
right: -30px;
|
|
|
|
color: #eee;
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_closeWindowButton:hover,
|
|
|
|
.plugin-details-modal #TB_closeWindowButton:focus {
|
2020-07-07 12:11:05 +02:00
|
|
|
color: #006799;
|
2014-08-03 00:02:19 +02:00
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
2014-07-09 19:28:17 +02:00
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal .tb-close-icon {
|
2016-03-10 23:37:26 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_closeWindowButton:after {
|
2014-08-13 01:02:16 +02:00
|
|
|
content: "\f335";
|
2016-03-10 23:37:26 +01:00
|
|
|
font: normal 32px/29px 'dashicons';
|
|
|
|
speak: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-08-13 01:02:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* move plugin install close icon to top on narrow screens */
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 830px) {
|
2017-09-09 16:14:43 +02:00
|
|
|
.plugin-details-modal #TB_closeWindowButton {
|
2014-08-13 01:02:16 +02:00
|
|
|
right: 0;
|
|
|
|
top: -30px;
|
|
|
|
}
|
2014-03-16 19:28:17 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* @todo: move this. */
|
|
|
|
img {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Metabox collapse arrow indicators */
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.sidebar-name .toggle-indicator::before,
|
|
|
|
.meta-box-sortables .postbox .toggle-indicator::before,
|
|
|
|
.meta-box-sortables .postbox .order-higher-indicator::before,
|
|
|
|
.meta-box-sortables .postbox .order-lower-indicator::before,
|
|
|
|
.bulk-action-notice .toggle-indicator::before,
|
|
|
|
.privacy-text-box .toggle-indicator::before {
|
2015-10-15 18:47:25 +02:00
|
|
|
content: "\f142";
|
2015-10-07 03:58:25 +02:00
|
|
|
display: inline-block;
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
speak: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2020-06-23 02:01:07 +02:00
|
|
|
text-decoration: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.js .widgets-holder-wrap.closed .toggle-indicator::before,
|
|
|
|
.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before,
|
|
|
|
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before,
|
|
|
|
.privacy-text-box.closed .toggle-indicator::before {
|
2015-10-15 18:47:25 +02:00
|
|
|
content: "\f140";
|
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox .handle-order-higher .order-higher-indicator::before {
|
|
|
|
content: "\f343";
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .handle-order-lower .order-lower-indicator::before {
|
|
|
|
content: "\f347";
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .handle-order-higher .order-higher-indicator::before,
|
|
|
|
.postbox .handle-order-lower .order-lower-indicator::before,
|
|
|
|
.postbox .handlediv .toggle-indicator::before {
|
2015-10-15 18:47:25 +02:00
|
|
|
width: 20px;
|
|
|
|
border-radius: 50%;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox .handlediv .toggle-indicator::before {
|
|
|
|
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .postbox .handlediv .toggle-indicator::before {
|
|
|
|
text-indent: 1px; /* account for the dashicon glyph uneven horizontal alignment */
|
2015-10-16 02:58:25 +02:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.bulk-action-notice .toggle-indicator::before {
|
2016-08-04 00:24:35 +02:00
|
|
|
line-height: 16px;
|
|
|
|
vertical-align: top;
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox .handle-order-higher:focus,
|
|
|
|
.postbox .handle-order-lower:focus,
|
|
|
|
.postbox .handlediv:focus {
|
2015-10-15 18:47:25 +02:00
|
|
|
box-shadow: none;
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2015-10-15 18:47:25 +02:00
|
|
|
}
|
|
|
|
|
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.
This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.
Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
Built from https://develop.svn.wordpress.org/trunk@48373
git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 15:00:02 +02:00
|
|
|
.postbox .handle-order-higher:focus .order-higher-indicator::before,
|
|
|
|
.postbox .handle-order-lower:focus .order-lower-indicator::before,
|
|
|
|
.postbox .handlediv:focus .toggle-indicator::before {
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: appears to be Press This only and overridden */
|
|
|
|
#photo-add-url-div input[type="text"] {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Theme/Plugin Editor */
|
2015-09-12 02:00:24 +02:00
|
|
|
.alignleft h2 {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#template textarea {
|
|
|
|
font-family: Consolas, Monaco, monospace;
|
|
|
|
font-size: 13px;
|
|
|
|
background: #f9f9f9;
|
2017-01-13 05:41:41 +01:00
|
|
|
-moz-tab-size: 4;
|
2019-10-06 08:42:02 +02:00
|
|
|
-o-tab-size: 4;
|
2017-01-13 05:41:41 +01:00
|
|
|
tab-size: 4;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
#template textarea,
|
|
|
|
#template .CodeMirror {
|
2017-10-16 23:36:48 +02:00
|
|
|
width: 100%;
|
|
|
|
min-height: 60vh;
|
|
|
|
height: calc( 100vh - 295px );
|
|
|
|
border: 1px solid #ddd;
|
2017-11-15 19:29:46 +01:00
|
|
|
box-sizing: border-box;
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
}
|
2017-10-13 04:39:47 +02:00
|
|
|
|
|
|
|
#templateside > h2 {
|
|
|
|
padding-top: 6px;
|
2017-10-16 23:36:48 +02:00
|
|
|
padding-bottom: 7px;
|
2017-10-13 04:39:47 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#templateside ol,
|
|
|
|
#templateside ul {
|
2017-10-16 23:36:48 +02:00
|
|
|
margin: 0;
|
2017-10-13 04:39:47 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
#templateside > ul {
|
2017-10-16 23:36:48 +02:00
|
|
|
box-sizing: border-box;
|
2017-10-13 04:39:47 +02:00
|
|
|
margin-top: 0;
|
|
|
|
overflow: auto;
|
2017-10-16 23:36:48 +02:00
|
|
|
padding: 0;
|
2017-11-15 19:29:46 +01:00
|
|
|
min-height: 60vh;
|
|
|
|
height: calc(100vh - 295px);
|
2017-10-16 23:36:48 +02:00
|
|
|
background-color: #f7f7f7;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-left: none;
|
2017-10-13 04:39:47 +02:00
|
|
|
}
|
|
|
|
#templateside ul ul {
|
|
|
|
padding-left: 12px;
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
}
|
2017-10-15 07:51:49 +02:00
|
|
|
#templateside > ul > li > ul[role=group] {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
|
2017-10-13 04:39:47 +02:00
|
|
|
/*
|
|
|
|
* Styles for Theme and Plugin editors.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Hide collapsed items. */
|
|
|
|
[role="treeitem"][aria-expanded="false"] > ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Use arrow dashicons for folder states, but hide from screen readers. */
|
|
|
|
[role="treeitem"] span[aria-hidden] {
|
|
|
|
display: inline;
|
|
|
|
font-family: dashicons;
|
|
|
|
font-size: 20px;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
[role="treeitem"][aria-expanded="false"] > .folder-label .icon:after {
|
|
|
|
content: "\f139";
|
|
|
|
}
|
|
|
|
[role="treeitem"][aria-expanded="true"] > .folder-label .icon:after {
|
|
|
|
content: "\f140";
|
|
|
|
}
|
|
|
|
[role="treeitem"] .folder-label {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 3px 3px 12px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove outline, and create our own focus and hover styles */
|
|
|
|
[role="treeitem"] {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
[role="treeitem"] .folder-label.focus {
|
|
|
|
color: #124964;
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2017-10-13 04:39:47 +02:00
|
|
|
}
|
|
|
|
[role="treeitem"].hover,
|
|
|
|
[role="treeitem"] .folder-label.hover {
|
2017-10-16 23:36:48 +02:00
|
|
|
background-color: #eaeaea;
|
2017-10-13 04:39:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-folder {
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
[role="treeitem"] li {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for folder indicators/depth */
|
|
|
|
.tree-folder .tree-folder::after {
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "";
|
2017-10-13 04:39:47 +02:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 2px;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
top: -13px;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
.tree-folder > li::before {
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "";
|
2017-10-13 04:39:47 +02:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
left: 2px;
|
|
|
|
top: -5px;
|
|
|
|
height: 18px;
|
|
|
|
width: 7px;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.tree-folder > li::after {
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "";
|
2017-10-13 04:39:47 +02:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
left: 2px;
|
|
|
|
bottom: -7px;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* current-file needs to adjustment for .notice styles */
|
|
|
|
#templateside .current-file {
|
|
|
|
margin: -4px 0 -2px;
|
|
|
|
}
|
|
|
|
.tree-folder > .current-file::before {
|
|
|
|
left: 4px;
|
|
|
|
height: 15px;
|
2017-10-16 23:36:48 +02:00
|
|
|
width: 0px;
|
2017-10-13 04:39:47 +02:00
|
|
|
border-left: none;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
.tree-folder > .current-file::after {
|
|
|
|
bottom: -4px;
|
|
|
|
height: 7px;
|
|
|
|
left: 2px;
|
|
|
|
top: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Lines shouldn't continue on last item */
|
|
|
|
.tree-folder > li:last-child::after,
|
|
|
|
.tree-folder li:last-child > .tree-folder::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
#theme-plugin-editor-label {
|
2017-09-24 18:00:46 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-02-19 22:43:14 +01:00
|
|
|
#template textarea,
|
|
|
|
#docs-list {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
.fileedit-sub #theme,
|
|
|
|
.fileedit-sub #plugin {
|
|
|
|
max-width: 40%;
|
|
|
|
}
|
|
|
|
.fileedit-sub .alignright {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#template p {
|
|
|
|
width: 97%;
|
|
|
|
}
|
|
|
|
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
#file-editor-linting-error {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
#file-editor-linting-error > .notice {
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
#file-editor-linting-error > .notice > p {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
#template .submit {
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#template .submit input[type=submit][disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
#templateside {
|
|
|
|
float: right;
|
2017-10-16 23:36:48 +02:00
|
|
|
width: 16em;
|
2014-02-19 22:43:14 +01:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
#postcustomstuff p.submit {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#templateside h4 {
|
|
|
|
margin: 1em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#templateside li {
|
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
|
2017-11-11 21:43:53 +01:00
|
|
|
#templateside li:not(.howto) a,
|
2014-02-19 22:43:14 +01:00
|
|
|
.theme-editor-php .highlight {
|
|
|
|
display: block;
|
2017-10-16 23:36:48 +02:00
|
|
|
padding: 3px 0 3px 12px;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-11-11 21:43:53 +01:00
|
|
|
#templateside li:not(.howto) > a:first-of-type {
|
2017-10-16 23:36:48 +02:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-11 21:43:53 +01:00
|
|
|
#templateside li.howto {
|
|
|
|
padding: 6px 12px 12px 12px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.theme-editor-php .highlight {
|
|
|
|
margin: -3px 3px -3px -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#templateside .highlight {
|
|
|
|
border: none;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 600;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nonessential {
|
|
|
|
color: #666;
|
|
|
|
font-size: 11px;
|
|
|
|
font-style: italic;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation label {
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.8;
|
2014-02-19 22:43:14 +01:00
|
|
|
vertical-align: baseline;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileedit-sub {
|
|
|
|
padding: 10px 0 8px;
|
|
|
|
line-height: 180%;
|
|
|
|
}
|
|
|
|
|
File Editors: Introduce an interstitial warning upon first visit.
This is an effort to provide a speed bump before heading into something potentially destructive and some education for users on better alternatives, even as we make the file editors safer to use. Each user, including existing users, will be shown a one-time dismissible modal warning on their first visit to each of the theme and plugin file editors.
Copy tweaks to come.
props michelleweber, Ipstenu, melchoyce, adamsilverstein, westonruter, toddnestor, aryamaaru, ZaneMatthew, cliffseal, helen.
fixes #31779.
Built from https://develop.svn.wordpress.org/trunk@41774
git-svn-id: http://core.svn.wordpress.org/trunk@41608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 06:25:48 +02:00
|
|
|
#file-editor-warning .file-editor-warning-content {
|
|
|
|
margin: 25px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* @todo: can we use a common class for these? */
|
|
|
|
.nav-menus-php .item-edit:before,
|
2017-04-19 23:14:44 +02:00
|
|
|
.widget-top .widget-action .toggle-indicator:before,
|
2014-02-19 22:43:14 +01:00
|
|
|
.control-section .accordion-section-title:after,
|
|
|
|
.accordion-section-title:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f140";
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
speak: none;
|
|
|
|
display: block;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2020-06-23 02:01:07 +02:00
|
|
|
text-decoration: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
.widget-top .widget-action .toggle-indicator:before {
|
|
|
|
padding: 1px 2px 1px 0px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.handlediv,
|
2017-02-09 17:47:44 +01:00
|
|
|
.postbox .handlediv.button-link,
|
2014-02-19 22:43:14 +01:00
|
|
|
.item-edit,
|
2017-09-27 18:29:44 +02:00
|
|
|
.toggle-indicator,
|
2014-02-19 22:43:14 +01:00
|
|
|
.accordion-section-title:after {
|
2016-03-10 22:44:26 +01:00
|
|
|
color: #72777c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-03-10 22:44:26 +01:00
|
|
|
.widget-action {
|
|
|
|
color: #555d66; /* #fafafa background in the Widgets screen */
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-top:hover .widget-action,
|
|
|
|
.widget-action:focus,
|
2014-02-19 22:43:14 +01:00
|
|
|
.handlediv:hover,
|
2015-10-07 03:58:25 +02:00
|
|
|
.handlediv:focus,
|
2017-02-09 17:47:44 +01:00
|
|
|
.postbox .handlediv.button-link:hover,
|
|
|
|
.postbox .handlediv.button-link:focus,
|
2014-02-19 22:43:14 +01:00
|
|
|
.item-edit:hover,
|
2016-03-10 22:44:26 +01:00
|
|
|
.item-edit:focus,
|
2017-09-27 18:29:44 +02:00
|
|
|
.sidebar-name:hover .toggle-indicator,
|
2014-02-19 22:43:14 +01:00
|
|
|
.accordion-section-title:hover:after {
|
2016-03-10 22:44:26 +01:00
|
|
|
color: #23282d;
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
.widget-top .widget-action:focus .toggle-indicator:before {
|
2019-10-07 21:57:02 +02:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
|
|
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.control-section .accordion-section-title:after,
|
|
|
|
.accordion-section-title:after {
|
|
|
|
float: right;
|
|
|
|
right: 20px;
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-section.open .accordion-section-title:after,
|
|
|
|
#customize-info.open .accordion-section-title:after,
|
2014-05-01 16:09:16 +02:00
|
|
|
.nav-menus-php .menu-item-edit-active .item-edit:before,
|
2018-03-07 23:27:31 +01:00
|
|
|
.widget.open .widget-top .widget-action .toggle-indicator:before,
|
2019-01-17 08:41:52 +01:00
|
|
|
.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-11-14 20:28:22 +01:00
|
|
|
/*!
|
2015-03-11 16:12:27 +01:00
|
|
|
* jQuery UI Draggable/Sortable 1.11.4
|
2014-11-14 20:28:22 +01:00
|
|
|
* http://jqueryui.com
|
|
|
|
*
|
2015-02-27 11:21:26 +01:00
|
|
|
* Copyright jQuery Foundation and other contributors
|
2014-11-14 20:28:22 +01:00
|
|
|
* Released under the MIT license.
|
|
|
|
* http://jquery.org/license
|
|
|
|
*/
|
|
|
|
.ui-draggable-handle,
|
|
|
|
.ui-sortable-handle {
|
2015-02-27 11:21:26 +01:00
|
|
|
touch-action: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Accordion */
|
|
|
|
.accordion-section {
|
2016-03-09 20:51:26 +01:00
|
|
|
border-bottom: 1px solid #ddd;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section.open .accordion-section-content,
|
|
|
|
.no-js .accordion-section .accordion-section-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section.open:hover {
|
2016-03-09 20:51:26 +01:00
|
|
|
border-bottom-color: #ddd;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section-content {
|
|
|
|
display: none;
|
|
|
|
padding: 10px 20px 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section-title {
|
|
|
|
margin: 0;
|
|
|
|
padding: 12px 15px 15px;
|
|
|
|
position: relative;
|
2016-03-09 20:51:26 +01:00
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
border-right: 1px solid #ddd;
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js .accordion-section-title {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js .accordion-section-title:after {
|
|
|
|
position: absolute;
|
|
|
|
top: 12px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section-title:focus {
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section-title:hover:after,
|
|
|
|
.accordion-section-title:focus:after {
|
2015-04-05 23:20:27 +02:00
|
|
|
border-color: #a0a5aa transparent;
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.cannot-expand .accordion-section-title {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cannot-expand .accordion-section-title:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section .accordion-section-title,
|
|
|
|
.customize-pane-child .accordion-section-title {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
padding: 10px 10px 11px 14px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 1.55;
|
2014-02-19 22:43:14 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section .accordion-section-title:after,
|
|
|
|
.customize-pane-child .accordion-section-title:after {
|
2017-10-10 18:23:50 +02:00
|
|
|
top: calc(50% - 10px); /* Arrow height is 20px, so use half of that to vertically center */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.js .control-section:hover .accordion-section-title,
|
|
|
|
.js .control-section .accordion-section-title:hover,
|
|
|
|
.js .control-section.open .accordion-section-title,
|
|
|
|
.js .control-section .accordion-section-title:focus {
|
2015-02-11 23:18:26 +01:00
|
|
|
color: #23282d;
|
2014-02-19 22:43:14 +01:00
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-section.open .accordion-section-title {
|
|
|
|
/* When expanded */
|
2016-03-09 20:51:26 +01:00
|
|
|
border-bottom: 1px solid #ddd;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-07-13 02:27:24 +02:00
|
|
|
/* Edit Site */
|
|
|
|
.network-admin .edit-site-actions {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-03 22:47:49 +02:00
|
|
|
/* My Sites */
|
|
|
|
.my-sites {
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
|
|
|
zoom: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.my-sites li {
|
|
|
|
display: block;
|
2015-07-08 23:02:24 +02:00
|
|
|
padding: 8px 3%;
|
|
|
|
min-height: 130px;
|
2015-07-03 22:47:49 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-08 23:02:24 +02:00
|
|
|
@media only screen and (max-width: 599px) {
|
|
|
|
.my-sites li {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-03 22:47:49 +02:00
|
|
|
@media only screen and (min-width: 600px) {
|
|
|
|
.my-sites.striped li {
|
|
|
|
background-color: #fff;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.my-sites.striped li:after {
|
|
|
|
content: "";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
background: #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 600px) and (max-width: 699px) {
|
|
|
|
.my-sites li{
|
|
|
|
float: left;
|
2015-07-08 23:02:24 +02:00
|
|
|
width: 44%;
|
2015-07-03 22:47:49 +02:00
|
|
|
}
|
|
|
|
.my-sites.striped li {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-07-08 23:02:24 +02:00
|
|
|
.my-sites.striped li:nth-of-type(2n+1) {
|
|
|
|
clear: left;
|
|
|
|
}
|
2015-07-03 22:47:49 +02:00
|
|
|
.my-sites.striped li:nth-of-type(2n+2):after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.my-sites li:nth-of-type(4n+1),
|
|
|
|
.my-sites li:nth-of-type(4n+2) {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 700px) and (max-width: 1199px) {
|
|
|
|
.my-sites li {
|
|
|
|
float: left;
|
2015-07-08 23:02:24 +02:00
|
|
|
width: 27.333333%;
|
2015-07-03 22:47:49 +02:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.my-sites.striped li:nth-of-type(3n+3):after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.my-sites li:nth-of-type(6n+1),
|
|
|
|
.my-sites li:nth-of-type(6n+2),
|
|
|
|
.my-sites li:nth-of-type(6n+3) {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
|
|
|
|
.my-sites li {
|
|
|
|
float: left;
|
2015-07-08 23:02:24 +02:00
|
|
|
width: 21%;
|
|
|
|
padding: 8px 2%;
|
2015-07-03 22:47:49 +02:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-07-08 23:02:24 +02:00
|
|
|
.my-sites.striped li:nth-of-type(4n+1) {
|
|
|
|
clear: left;
|
|
|
|
}
|
2015-07-03 22:47:49 +02:00
|
|
|
.my-sites.striped li:nth-of-type(4n+4):after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.my-sites li:nth-of-type(8n+1),
|
|
|
|
.my-sites li:nth-of-type(8n+2),
|
|
|
|
.my-sites li:nth-of-type(8n+3),
|
|
|
|
.my-sites li:nth-of-type(8n+4) {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
|
|
|
|
.my-sites li {
|
|
|
|
float: left;
|
2015-07-08 23:02:24 +02:00
|
|
|
width: 16%;
|
|
|
|
padding: 8px 2%;
|
2015-07-03 22:47:49 +02:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-07-08 23:02:24 +02:00
|
|
|
.my-sites.striped li:nth-of-type(5n+1) {
|
|
|
|
clear: left;
|
|
|
|
}
|
2015-07-03 22:47:49 +02:00
|
|
|
.my-sites.striped li:nth-of-type(5n+5):after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.my-sites li:nth-of-type(10n+1),
|
|
|
|
.my-sites li:nth-of-type(10n+2),
|
|
|
|
.my-sites li:nth-of-type(10n+3),
|
|
|
|
.my-sites li:nth-of-type(10n+4),
|
|
|
|
.my-sites li:nth-of-type(10n+5) {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1600px) {
|
|
|
|
.my-sites li {
|
|
|
|
float: left;
|
2015-07-08 23:02:24 +02:00
|
|
|
width: 12.666666%;
|
|
|
|
padding: 8px 2%;
|
2015-07-03 22:47:49 +02:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-07-08 23:02:24 +02:00
|
|
|
.my-sites.striped li:nth-of-type(6n+1) {
|
|
|
|
clear: left;
|
|
|
|
}
|
2015-07-03 22:47:49 +02:00
|
|
|
.my-sites.striped li:nth-of-type(6n+6):after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.my-sites li:nth-of-type(12n+1),
|
|
|
|
.my-sites li:nth-of-type(12n+2),
|
|
|
|
.my-sites li:nth-of-type(12n+3),
|
|
|
|
.my-sites li:nth-of-type(12n+4),
|
|
|
|
.my-sites li:nth-of-type(12n+5),
|
|
|
|
.my-sites li:nth-of-type(12n+6) {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.my-sites li a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* HiDPI Displays
|
|
|
|
*/
|
|
|
|
@media print,
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
|
|
|
/* Back-compat for pre-3.8 */
|
|
|
|
div.star-holder,
|
|
|
|
div.star-holder .star-rating {
|
2014-02-26 18:23:13 +01:00
|
|
|
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;
|
2014-02-19 22:43:14 +01:00
|
|
|
background-size: 21px 37px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner {
|
2014-02-26 18:23:13 +01:00
|
|
|
background-image: url(../images/spinner-2x.gif);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@-ms-viewport {
|
|
|
|
width: device-width;
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2014-02-19 22:43:14 +01:00
|
|
|
html.wp-toolbar {
|
|
|
|
padding-top: 46px;
|
|
|
|
}
|
|
|
|
|
2019-05-09 23:12:02 +02:00
|
|
|
.screen-reader-shortcut:focus {
|
|
|
|
top: -39px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
body {
|
|
|
|
min-width: 240px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body * {
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpcontent {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content {
|
|
|
|
padding-bottom: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
2019-06-12 21:21:54 +02:00
|
|
|
clear: both;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-right: 12px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-05-16 15:02:29 +02:00
|
|
|
/* categories */
|
|
|
|
#col-left,
|
|
|
|
#col-right {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#col-left .col-wrap,
|
|
|
|
#col-right .col-wrap {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hidden Elements */
|
|
|
|
#collapse-menu,
|
|
|
|
.post-format-select {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2016-10-27 22:39:39 +02:00
|
|
|
.wrap h1.wp-heading-inline {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-07-03 18:42:24 +02:00
|
|
|
.wrap .add-new-h2, /* deprecated */
|
|
|
|
.wrap .add-new-h2:active, /* deprecated */
|
|
|
|
.wrap .page-title-action,
|
|
|
|
.wrap .page-title-action:active {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 10px 15px;
|
|
|
|
font-size: 14px;
|
2015-07-02 01:36:26 +02:00
|
|
|
white-space: nowrap;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Feedback Messages */
|
2015-04-02 00:06:28 +02:00
|
|
|
.notice,
|
|
|
|
.wrap div.updated,
|
|
|
|
.wrap div.error,
|
|
|
|
.media-upload-form div.error {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 20px 0 10px 0;
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 175%;
|
|
|
|
}
|
|
|
|
|
2015-04-07 20:44:27 +02:00
|
|
|
.wp-core-ui .notice.is-dismissible {
|
2015-04-02 00:06:28 +02:00
|
|
|
padding-right: 46px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-dismiss {
|
2015-04-07 20:44:27 +02:00
|
|
|
padding: 13px;
|
2015-04-02 00:06:28 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.wrap .icon32 + h2 {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-responsive-open #wpbody {
|
2017-10-16 23:36:48 +02:00
|
|
|
right: -16em;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-15 15:19:16 +02:00
|
|
|
code {
|
|
|
|
word-wrap: break-word;
|
2019-07-28 18:09:55 +02:00
|
|
|
word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
|
|
|
|
word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
|
2014-08-15 15:19:16 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* General Metabox */
|
|
|
|
.postbox {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2015-10-13 08:57:24 +02:00
|
|
|
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
|
|
|
|
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
|
2015-10-15 05:38:25 +02:00
|
|
|
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
|
2015-10-13 08:57:24 +02:00
|
|
|
.metabox-holder h2 {
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.postbox .handlediv {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subsubsub Nav */
|
|
|
|
.subsubsub {
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Theme/Plugin File Editor */
|
2017-11-15 19:29:46 +01:00
|
|
|
|
|
|
|
#template textarea,
|
2017-10-24 22:29:46 +02:00
|
|
|
#template .CodeMirror {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#templateside {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
#templateside > ul {
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
|
|
|
|
#templateside li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-11 21:43:53 +01:00
|
|
|
#templateside li:not(.howto) a {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2017-11-11 21:43:53 +01:00
|
|
|
#templateside li.howto {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
|
|
|
|
#templateside .highlight {
|
|
|
|
padding: 5px;
|
|
|
|
margin-left: -5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
2017-09-22 03:36:48 +02:00
|
|
|
#template > div,
|
File Editors: Introduce sandboxed live editing of PHP files with rollbacks for both themes and plugins.
* Edits to active plugins which cause PHP fatal errors will no longer auto-deactivate the plugin. Supersedes #39766.
* Introduce sandboxed PHP file edits for active themes, preventing accidental whitescreening of a user's site when introducing a fatal error.
* After writing a change to a PHP file for an active theme or plugin, perform loopback requests on the file editor admin screens and the homepage to check for fatal errors. If a fatal error is encountered, roll back the edited file and display the error to the user to fix and try again.
* Introduce a secure way to scrape PHP fatal errors from a site via `wp_start_scraping_edited_file_errors()` and `wp_finalize_scraping_edited_file_errors()`.
* Moves file modifications from `theme-editor.php` and `plugin-editor.php` to common `wp_edit_theme_plugin_file()` function.
* Refactor themes and plugin editors to submit file changes via Ajax instead of doing full page refreshes when JS is available.
* Use `get` method for theme/plugin dropdowns.
* Improve styling of plugin editors, including width of plugin/theme dropdowns.
* Improve notices API for theme/plugin editor JS component.
* Strip common base directory from plugin file list. See #24048.
* Factor out functions to list editable file types in `wp_get_theme_file_editable_extensions()` and `wp_get_plugin_file_editable_extensions()`.
* Scroll to line in editor that has linting error when attempting to save. See #41886.
* Add checkbox to dismiss lint errors to proceed with saving. See #41887.
* Only style the Update File button as disabled instead of actually disabling it for accessibility reasons.
* Ensure that value from CodeMirror is used instead of `textarea` when CodeMirror is present.
* Add "Are you sure?" check when leaving editor when there are unsaved changes.
Supersedes [41560].
See #39766, #24048, #41886.
Props westonruter, Clorith, melchoyce, johnbillion, jjj, jdgrimes, azaozz.
Fixes #21622, #41887.
Built from https://develop.svn.wordpress.org/trunk@41721
git-svn-id: http://core.svn.wordpress.org/trunk@41555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 02:20:45 +02:00
|
|
|
#template .notice {
|
2014-02-19 22:43:14 +01:00
|
|
|
float: none;
|
2017-09-22 03:36:48 +02:00
|
|
|
margin: 1em 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion.
* Code editor is integrated into the Theme/Plugin Editor, Additional CSS in Customizer, and Custom HTML widget. Code editor is not yet integrated into the post editor, and it may not be until accessibility concerns are addressed.
* The CodeMirror component in the Custom HTML widget is integrated in a similar way to TinyMCE being integrated into the Text widget, adopting the same approach for integrating dynamic JavaScript-initialized fields.
* Linting is performed for JS, CSS, HTML, and JSON via JSHint, CSSLint, HTMLHint, and JSONLint respectively. Linting is not yet supported for PHP.
* When user lacks `unfiltered_html` the capability, the Custom HTML widget will report any Kses-invalid elements and attributes as errors via a custom Kses rule for HTMLHint.
* When linting errors are detected, the user will be prevented from saving the code until the errors are fixed, reducing instances of broken websites.
* The placeholder value is removed from Custom CSS in favor of a fleshed-out section description which now auto-expands when the CSS field is empty. See #39892.
* The CodeMirror library is included as `wp.CodeMirror` to prevent conflicts with any existing `CodeMirror` global.
* An `wp.codeEditor.initialize()` API in JS is provided to convert a `textarea` into CodeMirror, with a `wp_enqueue_code_editor()` function in PHP to manage enqueueing the assets and settings needed to edit a given type of code.
* A user preference is added to manage whether or not "syntax highlighting" is enabled. The feature is opt-out, being enabled by default.
* Allowed file extensions in the theme and plugin editors have been updated to include formats which CodeMirror has modes for: `conf`, `css`, `diff`, `patch`, `html`, `htm`, `http`, `js`, `json`, `jsx`, `less`, `md`, `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `scss`, `sass`, `sh`, `bash`, `sql`, `svg`, `xml`, `yml`, `yaml`, `txt`.
Props westonruter, georgestephanis, obenland, melchoyce, pixolin, mizejewski, michelleweber, afercia, grahamarmfield, samikeijonen, rianrietveld, iseulde.
See #38707.
Fixes #12423, #39892.
Built from https://develop.svn.wordpress.org/trunk@41376
git-svn-id: http://core.svn.wordpress.org/trunk@41209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-13 08:08:47 +02:00
|
|
|
#template .CodeMirror,
|
2014-02-19 22:43:14 +01:00
|
|
|
#template textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-10-13 04:39:47 +02:00
|
|
|
#templateside ul ul {
|
|
|
|
padding-left: 1.5em;
|
|
|
|
}
|
|
|
|
[role="treeitem"] .folder-label {
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
.tree-folder > li::before,
|
|
|
|
.tree-folder > li::after,
|
|
|
|
.tree-folder .tree-folder::after {
|
|
|
|
left: -8px;
|
|
|
|
}
|
|
|
|
.tree-folder > li::before {
|
|
|
|
top: 0px;
|
|
|
|
height: 13px;
|
|
|
|
}
|
|
|
|
.tree-folder > .current-file::before {
|
|
|
|
left: -5px;
|
|
|
|
top: 7px;
|
|
|
|
width: 4px;
|
|
|
|
}
|
|
|
|
.tree-folder > .current-file::after {
|
|
|
|
height: 9px;
|
|
|
|
left: -8px;
|
|
|
|
}
|
|
|
|
.wrap #templateside span.notice {
|
2017-10-24 22:29:46 +02:00
|
|
|
margin-left: -5px;
|
|
|
|
width: 100%;
|
2017-10-13 04:39:47 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.fileedit-sub .alignright {
|
2017-10-24 22:29:46 +02:00
|
|
|
float: left;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: 15px;
|
2017-10-24 22:29:46 +02:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
.fileedit-sub .alignright label {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
|
|
|
.fileedit-sub #theme,
|
2017-10-24 22:29:46 +02:00
|
|
|
.fileedit-sub #plugin {
|
|
|
|
margin-left: 0;
|
2017-11-15 19:29:46 +01:00
|
|
|
max-width: 70%;
|
2017-10-24 22:29:46 +02:00
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
.fileedit-sub input[type="submit"] {
|
2020-05-03 16:21:08 +02:00
|
|
|
margin-bottom: 0;
|
2017-10-24 22:29:46 +02:00
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
#documentation label[for="docs-list"] {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
#documentation select[name="docs-list"] {
|
|
|
|
margin-left: 0;
|
|
|
|
max-width: 60%;
|
|
|
|
}
|
2017-11-15 19:29:46 +01:00
|
|
|
|
2017-10-24 22:29:46 +02:00
|
|
|
#documentation input[type="button"] {
|
|
|
|
margin-bottom: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#wpfooter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comments-form .checkforspam {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-07-24 18:51:27 +02:00
|
|
|
|
|
|
|
.edit-comment-author {
|
|
|
|
margin: 2px 0 0;
|
|
|
|
}
|
2015-10-20 00:04:25 +02:00
|
|
|
|
|
|
|
.filter-drawer .filter-group-feature input,
|
|
|
|
.filter-drawer .filter-group-feature label {
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2.1;
|
2015-10-20 00:04:25 +02:00
|
|
|
}
|
2016-09-21 19:54:28 +02:00
|
|
|
|
2018-01-15 20:27:53 +01:00
|
|
|
.filter-drawer .filter-group-feature label {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
|
2016-09-21 19:54:28 +02:00
|
|
|
.wp-filter .button.drawer-toggle {
|
|
|
|
font-size: 13px;
|
2019-04-18 08:02:53 +02:00
|
|
|
line-height: 2;
|
2016-09-21 19:54:28 +02:00
|
|
|
height: 28px;
|
|
|
|
}
|
2019-01-15 08:48:50 +01:00
|
|
|
|
|
|
|
/* Fix help tab columns for smaller screens */
|
|
|
|
#screen-meta #contextual-help-wrap {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta #contextual-help-back,
|
|
|
|
#screen-meta .contextual-help-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta .contextual-help-tabs {
|
|
|
|
clear: both;
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta .contextual-help-tabs ul {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
padding: 1em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta .contextual-help-tabs .active {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#screen-meta .contextual-help-tabs-wrap {
|
|
|
|
clear: both;
|
|
|
|
max-width: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2020-04-25 14:27:11 +02:00
|
|
|
#screen-meta,
|
|
|
|
#screen-meta-links {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-01-15 08:48:50 +01:00
|
|
|
#screen-meta-links {
|
2019-06-12 21:21:54 +02:00
|
|
|
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
|
2019-01-15 08:48:50 +01:00
|
|
|
}
|
2019-10-07 14:43:03 +02:00
|
|
|
|
|
|
|
.wp-filter .search-form input[type="search"] {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
2020-07-03 10:51:05 +02:00
|
|
|
|
|
|
|
.wp-filter .search-form.search-plugins {
|
|
|
|
/* This element is a flex item. */
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Smartphone */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
/* Disable horizontal scroll when responsive menu is open
|
|
|
|
since we push the main content off to the right. */
|
|
|
|
#wpwrap.wp-responsive-open {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.wp-toolbar {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2019-05-09 23:12:02 +02:00
|
|
|
.screen-reader-shortcut:focus {
|
|
|
|
top: 7px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#wpbody {
|
|
|
|
padding-top: 46px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Keep full-width boxes on Edit Post page from causing horizontal scroll */
|
|
|
|
div#post-body.metabox-holder.columns-1 {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2015-11-11 22:54:26 +01:00
|
|
|
|
|
|
|
h1.nav-tab-wrapper,
|
|
|
|
.wrap h2.nav-tab-wrapper,
|
2016-08-22 18:33:30 +02:00
|
|
|
.nav-tab-wrapper {
|
2015-11-11 22:54:26 +01:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 .nav-tab,
|
|
|
|
h2 .nav-tab,
|
2019-05-02 12:37:51 +02:00
|
|
|
h3 .nav-tab,
|
|
|
|
nav .nav-tab {
|
2016-01-05 14:38:30 +01:00
|
|
|
margin: 10px 10px 0 0;
|
2015-11-11 22:54:26 +01:00
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
2019-05-02 12:37:51 +02:00
|
|
|
|
|
|
|
.nav-tab-active:hover,
|
|
|
|
.nav-tab-active:focus,
|
|
|
|
.nav-tab-active:focus:active {
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
2019-09-20 22:09:54 +02:00
|
|
|
|
|
|
|
.wp-filter .search-form input[type="search"] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
2015-07-11 23:38:24 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 320px) {
|
|
|
|
/* Prevent default center alignment and larger font for the Right Now widget when
|
|
|
|
the network dashboard is viewed on a small mobile device. */
|
2015-07-11 23:44:25 +02:00
|
|
|
#network_dashboard_right_now .subsubsub {
|
2015-07-11 23:38:24 +02:00
|
|
|
font-size: 14px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|