mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
50cb2c5e28
WordPress no longer supports many old old browsers: https://make.wordpress.org/core/2017/04/23/target-browser-coverage/ This also removes alot of no longer necessary CSS. It served us well, but we are never getting back together with IE8,9,10. So, in the (paraphrased) words of Taylor Swift: I remember when we dropped support the first time Saying, "This is it, I've had enough, " 'cause like We hadn't seen many users in a month When you said you needed flexbox. (What?) Then you postMessage again and say "IE8, I miss you and I swear I'm gonna change, trust me." Remember how that lasted for a day? I say, "I hate the box model, " we break up, you call me, "I love css-grids." Ooh, we called it off again last night But ooh, this time I'm telling you, I'm telling you We are never ever ever supporting IE 8,9,10, We are never ever ever supporting IE 8,9,10, You go talk to EDGE, talk to my FIREFOX, talk to CHROME But we are never ever ever ever getting back together Like, ever... Fixes #37651. Props stunnedbeast, netweb, jorbin. Built from https://develop.svn.wordpress.org/trunk@41062 git-svn-id: http://core.svn.wordpress.org/trunk@40912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
352 lines
5.6 KiB
CSS
352 lines
5.6 KiB
CSS
/*!
|
|
* jQuery UI CSS Framework 1.11.4
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://api.jqueryui.com/category/theming/
|
|
*/
|
|
|
|
/* Layout helpers
|
|
----------------------------------*/
|
|
.ui-helper-hidden {
|
|
display: none;
|
|
}
|
|
.ui-helper-hidden-accessible {
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
.ui-helper-reset {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
line-height: 1.3;
|
|
text-decoration: none;
|
|
font-size: 100%;
|
|
list-style: none;
|
|
}
|
|
.ui-helper-clearfix:before,
|
|
.ui-helper-clearfix:after {
|
|
content: "";
|
|
display: table;
|
|
border-collapse: collapse;
|
|
}
|
|
.ui-helper-clearfix:after {
|
|
clear: both;
|
|
}
|
|
.ui-helper-clearfix {
|
|
min-height: 0; /* support: IE7 */
|
|
}
|
|
.ui-helper-zfix {
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
right: 0;
|
|
position: absolute;
|
|
opacity: 0;
|
|
filter:Alpha(Opacity=0); /* support: IE8 */
|
|
}
|
|
|
|
.ui-front {
|
|
z-index: 100;
|
|
}
|
|
|
|
|
|
/* Interaction Cues
|
|
----------------------------------*/
|
|
.ui-state-disabled {
|
|
cursor: default !important;
|
|
}
|
|
|
|
|
|
/* Icons
|
|
----------------------------------*/
|
|
|
|
/* states and images */
|
|
.ui-icon {
|
|
display: block;
|
|
text-indent: -99999px;
|
|
overflow: hidden;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
|
|
/* Misc visuals
|
|
----------------------------------*/
|
|
|
|
/* Overlays */
|
|
.ui-widget-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/*!
|
|
* jQuery UI Resizable 1.11.4
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*/
|
|
.ui-resizable {
|
|
position: relative;
|
|
}
|
|
.ui-resizable-handle {
|
|
position: absolute;
|
|
font-size: 0.1px;
|
|
display: block;
|
|
touch-action: none;
|
|
}
|
|
.ui-resizable-disabled .ui-resizable-handle,
|
|
.ui-resizable-autohide .ui-resizable-handle {
|
|
display: none;
|
|
}
|
|
.ui-resizable-n {
|
|
cursor: n-resize;
|
|
height: 7px;
|
|
width: 100%;
|
|
top: -5px;
|
|
right: 0;
|
|
}
|
|
.ui-resizable-s {
|
|
cursor: s-resize;
|
|
height: 7px;
|
|
width: 100%;
|
|
bottom: -5px;
|
|
right: 0;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-e {
|
|
cursor: e-resize;
|
|
width: 7px;
|
|
right: -5px;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-w {
|
|
cursor: w-resize;
|
|
width: 7px;
|
|
left: -5px;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-se {
|
|
cursor: se-resize;
|
|
width: 12px;
|
|
height: 12px;
|
|
right: 1px;
|
|
bottom: 1px;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-sw {
|
|
cursor: sw-resize;
|
|
width: 9px;
|
|
height: 9px;
|
|
left: -5px;
|
|
bottom: -5px;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-nw {
|
|
cursor: nw-resize;
|
|
width: 9px;
|
|
height: 9px;
|
|
left: -5px;
|
|
top: -5px;
|
|
}
|
|
/* rtl:ignore */
|
|
.ui-resizable-ne {
|
|
cursor: ne-resize;
|
|
width: 9px;
|
|
height: 9px;
|
|
right: -5px;
|
|
top: -5px;
|
|
}
|
|
|
|
/* WP buttons: see buttons.css. */
|
|
|
|
.ui-button {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
line-height: 26px;
|
|
height: 28px;
|
|
margin: 0;
|
|
padding: 0 10px 1px;
|
|
cursor: pointer;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
-webkit-appearance: none;
|
|
border-radius: 3px;
|
|
white-space: nowrap;
|
|
box-sizing: border-box;
|
|
color: #555;
|
|
border-color: #cccccc;
|
|
background: #f7f7f7;
|
|
box-shadow: 0 1px 0 #cccccc;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.ui-button:active,
|
|
.ui-button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
/* Remove the dotted border on :focus and the extra padding in Firefox */
|
|
.ui-button::-moz-focus-inner {
|
|
border-width: 0;
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.ui-button:hover,
|
|
.ui-button:focus {
|
|
background: #fafafa;
|
|
border-color: #999;
|
|
color: #23282d;
|
|
}
|
|
|
|
.ui-button:focus {
|
|
border-color: #5b9dd9;
|
|
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
|
}
|
|
|
|
.ui-button:active {
|
|
background: #eee;
|
|
border-color: #999;
|
|
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
|
|
-webkit-transform: translateY(1px);
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.ui-button[disabled],
|
|
.ui-button:disabled {
|
|
color: #a0a5aa !important;
|
|
border-color: #ddd !important;
|
|
background: #f7f7f7 !important;
|
|
box-shadow: none !important;
|
|
text-shadow: 0 1px 0 #fff !important;
|
|
cursor: default;
|
|
-webkit-transform: none !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
@media screen and ( max-width: 782px ) {
|
|
|
|
.ui-button {
|
|
padding: 6px 14px;
|
|
line-height: normal;
|
|
font-size: 14px;
|
|
vertical-align: middle;
|
|
height: auto;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
}
|
|
|
|
/* WP Theme */
|
|
|
|
.ui-dialog {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: 100102;
|
|
background-color: #fff;
|
|
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
|
}
|
|
|
|
.ui-dialog-titlebar {
|
|
background: #fcfcfc;
|
|
border-bottom: 1px solid #dfdfdf;
|
|
height: 36px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
line-height: 36px;
|
|
padding: 0 16px 0 36px;
|
|
}
|
|
|
|
.ui-button.ui-dialog-titlebar-close {
|
|
background: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
color: #666;
|
|
cursor: pointer;
|
|
display: block;
|
|
padding: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 36px;
|
|
height: 36px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ui-dialog-titlebar-close:before {
|
|
font: normal 20px/1 dashicons;
|
|
vertical-align: top;
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
line-height: 36px;
|
|
width: 36px;
|
|
height: 36px;
|
|
content: '\f158';
|
|
}
|
|
|
|
.ui-button.ui-dialog-titlebar-close:hover {
|
|
color: #00a0d2;
|
|
}
|
|
|
|
.ui-dialog-titlebar-close .ui-button-text {
|
|
display: none;
|
|
}
|
|
|
|
.ui-dialog-content {
|
|
padding: 16px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.ui-dialog-buttonpane {
|
|
background: #fcfcfc;
|
|
border-top: 1px solid #dfdfdf;
|
|
padding: 16px;
|
|
}
|
|
|
|
.ui-dialog-buttonpane .ui-button {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.ui-dialog-buttonpane .ui-dialog-buttonset {
|
|
float: left;
|
|
}
|
|
|
|
.ui-draggable .ui-dialog-titlebar {
|
|
cursor: move;
|
|
}
|
|
|
|
.ui-widget-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
min-height: 360px;
|
|
background: #000;
|
|
opacity: 0.7;
|
|
filter: alpha(opacity=70);
|
|
z-index: 100101;
|
|
}
|