2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
11.2 - Post Revisions
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.revisions-control-frame,
|
|
|
|
.revisions-diff-frame {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-02-28 21:11:50 +01:00
|
|
|
.revisions-diff-frame {
|
2019-03-04 23:02:52 +01:00
|
|
|
top: 10px;
|
2019-02-28 21:11:50 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.revisions-controls {
|
|
|
|
padding-top: 40px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls input[type="checkbox"] {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.pinned .revisions-controls {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
height: 82px;
|
|
|
|
background: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tickmarks {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
|
|
|
height: 0.7em;
|
|
|
|
top: 7px;
|
|
|
|
max-width: 70%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tickmarks > div {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-left: 1px solid #a7aaad;
|
2014-02-19 22:43:14 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tickmarks > div:first-child {
|
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions .revisions-controls {
|
|
|
|
height: 140px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions.pinned .revisions-controls {
|
|
|
|
height: 124px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions .diff-error {
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.diff-error .diff-error {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions .loading-indicator {
|
2014-07-10 03:44:14 +02:00
|
|
|
position: absolute;
|
2014-02-19 22:43:14 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
opacity: 0;
|
|
|
|
width: 100%;
|
2014-07-10 03:44:14 +02:00
|
|
|
width: calc( 100% - 30px );
|
2014-02-19 22:43:14 +01:00
|
|
|
top: 50%;
|
2014-07-10 03:44:14 +02:00
|
|
|
top: calc( 50% - 10px );
|
2014-02-19 22:43:14 +01:00
|
|
|
transition: opacity 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.folded .revisions .loading-indicator {
|
|
|
|
margin-left: -32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions .loading-indicator span.spinner {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.loading .loading-indicator {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions .diff {
|
|
|
|
transition: opacity 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.loading .diff {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.diff-error .diff {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-meta {
|
|
|
|
margin-top: 20px;
|
|
|
|
background-color: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
overflow: hidden;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.pinned .revisions-meta {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revision-toggle-compare-mode {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions .revisions-previous,
|
|
|
|
.comparing-two-revisions .revisions-next,
|
|
|
|
.revisions-meta .diff-meta-to strong {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .date {
|
2021-03-24 17:41:07 +01:00
|
|
|
color: #646970;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card.autosave {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #d63638;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .author-name {
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 600;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions .diff-meta-to strong {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.pinned .revisions-buttons {
|
|
|
|
padding: 0 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-previous,
|
|
|
|
.revisions-next {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-previous {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-next {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .wp-slider {
|
|
|
|
max-width: 70%;
|
|
|
|
margin: 0 auto;
|
|
|
|
top: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-diff {
|
|
|
|
padding: 15px;
|
|
|
|
background-color: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-diff h3:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Revision meta box */
|
|
|
|
.post-revisions li img,
|
|
|
|
#revisions-meta-restored img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff {
|
2014-03-06 17:50:15 +01:00
|
|
|
table-layout: fixed;
|
2014-02-19 22:43:14 +01:00
|
|
|
width: 100%;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff col.content {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff col.content.diffsplit {
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff col.diffsplit.middle {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff col.ltype {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff tr {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff td,
|
|
|
|
table.diff th {
|
|
|
|
font-family: Consolas, Monaco, monospace;
|
|
|
|
font-size: 14px;
|
2019-08-03 17:46:54 +02:00
|
|
|
line-height: 1.57142857;
|
|
|
|
padding: 0.5em 0.5em 0.5em 2em;
|
2014-03-06 17:50:15 +01:00
|
|
|
vertical-align: top;
|
|
|
|
word-wrap: break-word;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
table.diff td h1,
|
|
|
|
table.diff td h2,
|
|
|
|
table.diff td h3,
|
|
|
|
table.diff td h4,
|
|
|
|
table.diff td h5,
|
|
|
|
table.diff td h6 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff .diff-deletedline del,
|
|
|
|
table.diff .diff-addedline ins {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff .diff-deletedline {
|
2019-08-03 17:46:54 +02:00
|
|
|
position: relative;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #fcf0f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
table.diff .diff-deletedline del {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #ffabaf;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
table.diff .diff-addedline {
|
2019-08-03 17:46:54 +02:00
|
|
|
position: relative;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #edfaef;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-08-03 17:46:54 +02:00
|
|
|
table.diff .diff-deletedline .dashicons,
|
|
|
|
table.diff .diff-addedline .dashicons {
|
|
|
|
position: absolute;
|
|
|
|
top: 0.85714286em;
|
|
|
|
left: 0.5em;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.diff .diff-addedline .dashicons {
|
|
|
|
/* Compensate the vertically non-centered plus glyph. */
|
|
|
|
top: 0.92857143em;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
table.diff .diff-addedline ins {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #68de7c;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-meta {
|
|
|
|
padding: 5px;
|
|
|
|
clear: both;
|
|
|
|
min-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-title strong {
|
2019-05-30 14:16:52 +02:00
|
|
|
line-height: 2.46153846;
|
2014-02-19 22:43:14 +01:00
|
|
|
min-width: 60px;
|
|
|
|
text-align: right;
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .author-info {
|
|
|
|
font-size: 12px;
|
2019-05-30 14:16:52 +02:00
|
|
|
line-height: 1.33333333;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .avatar,
|
|
|
|
.revisions-controls .author-card .author-info {
|
|
|
|
float: left;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .byline {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls .author-card .avatar {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-meta input.restore-revision {
|
|
|
|
float: right;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 6px;
|
2019-02-28 21:11:50 +01:00
|
|
|
margin-top: 2px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-meta-from {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions .diff-meta-from {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 105px;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: -69px;
|
|
|
|
z-index: 0;
|
|
|
|
max-width: 350px;
|
|
|
|
min-width: 130px;
|
|
|
|
padding: 8px 4px;
|
|
|
|
display: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip.flipped {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: -70px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions.pinned .revisions-tooltip {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparing-two-revisions .revisions-tooltip {
|
|
|
|
bottom: 145px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip-arrow {
|
|
|
|
width: 70px;
|
|
|
|
height: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-left: 35px;
|
|
|
|
bottom: -15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip.flipped .revisions-tooltip-arrow {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 35px;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip-arrow > span {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: -20px;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip.flipped .revisions-tooltip-arrow > span {
|
|
|
|
left: auto;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip,
|
|
|
|
.revisions-tooltip-arrow > span {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #dcdcde;
|
2014-02-19 22:43:14 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
width: 70px;
|
|
|
|
height: 16px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-left: -35px;
|
|
|
|
bottom: 90px;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
2014-07-28 17:52:17 +02:00
|
|
|
.arrow:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
z-index: 9999;
|
|
|
|
background-color: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.arrow.top {
|
|
|
|
top: -16px;
|
|
|
|
bottom: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow.left {
|
|
|
|
left: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: -20px;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip,
|
|
|
|
.revisions-tooltip-arrow:after {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.revisions-controls > .wp-slider > .ui-slider-handle {
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl div.revisions-controls > .wp-slider > .ui-slider-handle {
|
|
|
|
margin-right: -10px;
|
|
|
|
}
|
|
|
|
|
2014-11-14 20:28:22 +01:00
|
|
|
/* jQuery UI Slider */
|
2014-02-19 22:43:14 +01:00
|
|
|
.wp-slider.ui-slider {
|
|
|
|
position: relative;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #dcdcde;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: left;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider .ui-slider-handle {
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 18px;
|
2015-10-09 02:25:25 +02:00
|
|
|
margin-top: -5px;
|
2014-02-19 22:43:14 +01:00
|
|
|
outline: none;
|
2015-10-09 02:25:25 +02:00
|
|
|
padding: 2px;
|
2014-02-19 22:43:14 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 18px;
|
|
|
|
z-index: 2;
|
2014-11-14 20:28:22 +01:00
|
|
|
touch-action: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2024-10-13 22:49:13 +02:00
|
|
|
.wp-slider .ui-slider-handle {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #f6f7f7;
|
|
|
|
border: 1px solid #c3c4c7;
|
|
|
|
box-shadow: 0 1px 0 #c3c4c7;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-10-09 02:25:25 +02:00
|
|
|
.wp-slider .ui-slider-handle:hover,
|
|
|
|
.wp-slider .ui-slider-handle.ui-state-hover {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #f6f7f7;
|
|
|
|
border-color: #8c8f94;
|
2015-10-09 02:25:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider .ui-slider-handle:active,
|
|
|
|
.wp-slider .ui-slider-handle.ui-state-active {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #f0f0f1;
|
|
|
|
border-color: #8c8f94;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
|
2019-01-17 08:41:52 +01:00
|
|
|
transform: translateY(1px);
|
2015-10-09 02:25:25 +02:00
|
|
|
}
|
|
|
|
|
2024-10-13 22:49:13 +02:00
|
|
|
.wp-slider .ui-slider-handle:focus,
|
|
|
|
.wp-slider .ui-slider-handle.ui-state-focus {
|
|
|
|
background: #f0f0f1;
|
|
|
|
border-color: #8c8f94;
|
|
|
|
box-shadow: 0 0 0 2px #2271b1;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.wp-slider .ui-slider-handle:before {
|
|
|
|
background: none;
|
|
|
|
position: absolute;
|
2015-10-09 02:25:25 +02:00
|
|
|
top: 2px;
|
|
|
|
left: 2px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #50575e;
|
2014-02-19 22:43:14 +01:00
|
|
|
content: "\f229";
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 18px/1 dashicons;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2015-10-09 02:25:25 +02:00
|
|
|
.wp-slider .ui-slider-handle:hover:before,
|
|
|
|
.wp-slider .ui-slider-handle.ui-state-hover:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #1d2327;
|
2015-10-09 02:25:25 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.wp-slider .ui-slider-handle.from-handle:before,
|
|
|
|
.wp-slider .ui-slider-handle.to-handle:before {
|
|
|
|
font-size: 20px !important;
|
|
|
|
margin: -1px 0 0 -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider .ui-slider-handle.from-handle:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f139";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider .ui-slider-handle.to-handle:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f141";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-slider .ui-slider-handle.from-handle:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f141";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-slider .ui-slider-handle.to-handle:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f139";
|
2014-02-19 22:43:14 +01:00
|
|
|
right: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider .ui-slider-range {
|
|
|
|
position: absolute;
|
2019-08-03 17:46:54 +02:00
|
|
|
font-size: 0.7em;
|
2014-02-19 22:43:14 +01:00
|
|
|
display: block;
|
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider.ui-slider-horizontal {
|
2019-08-03 17:46:54 +02:00
|
|
|
height: 0.7em;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider.ui-slider-horizontal .ui-slider-handle {
|
|
|
|
top: -.25em;
|
|
|
|
margin-left: -.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider.ui-slider-horizontal .ui-slider-range {
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider.ui-slider-horizontal .ui-slider-range-min {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-slider.ui-slider-horizontal .ui-slider-range-max {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* HiDPI Displays
|
|
|
|
*/
|
|
|
|
@media print,
|
|
|
|
(min-resolution: 120dpi) {
|
|
|
|
.revision-tick.completed-false {
|
2014-02-26 18:23:13 +01:00
|
|
|
background-image: url(../images/spinner-2x.gif);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2014-02-19 22:43:14 +01:00
|
|
|
#diff-next-revision,
|
|
|
|
#diff-previous-revision {
|
|
|
|
margin-top: -1em;
|
|
|
|
}
|
2019-03-04 23:02:52 +01:00
|
|
|
|
|
|
|
.revisions-buttons {
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-controls,
|
|
|
|
.comparing-two-revisions .revisions-controls {
|
|
|
|
height: 170px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.revisions-tooltip {
|
|
|
|
bottom: 130px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-meta {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
table.diff {
|
|
|
|
-ms-word-break: break-all;
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2019-03-04 23:02:52 +01:00
|
|
|
|
|
|
|
.diff-meta input.restore-revision {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|