mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 02:41:27 +01:00
1e30be32c4
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file. Benefits: * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser. * For the core developer: Let the tools do the work. Notes for core development: * The file generation task is `grunt rtl`. * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved. * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display. Expect RTL bugs. Please report them. props yoavf. see #24977. Built from https://develop.svn.wordpress.org/trunk@26107 git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
95 lines
1.9 KiB
CSS
95 lines
1.9 KiB
CSS
/*------------------------------------------------------------------------------
|
|
Interim login dialog
|
|
------------------------------------------------------------------------------*/
|
|
|
|
#wp-auth-check-wrap.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#wp-auth-check-wrap #wp-auth-check-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
background: #000;
|
|
opacity: 0.5;
|
|
filter: alpha(opacity=50);
|
|
z-index: 1000000;
|
|
}
|
|
|
|
#wp-auth-check-wrap #wp-auth-check {
|
|
position: fixed;
|
|
right: 50%;
|
|
overflow: hidden;
|
|
top: 40px;
|
|
bottom: 20px;
|
|
max-height: 415px;
|
|
width: 380px;
|
|
margin: 0 -190px 0 0;
|
|
padding: 30px 0 0;
|
|
background-color: #fbfbfb;
|
|
-webkit-border-radius: 3px;
|
|
border-radius: 3px;
|
|
z-index: 1000001;
|
|
}
|
|
|
|
#wp-auth-check-wrap.fallback #wp-auth-check {
|
|
max-height: 180px;
|
|
overflow: auto;
|
|
}
|
|
|
|
#wp-auth-check-wrap #wp-auth-check-form {
|
|
background: url(../images/wpspin-2x.gif) no-repeat center center;
|
|
background-size: 16px 16px;
|
|
height: 100%;
|
|
}
|
|
|
|
#wp-auth-check-wrap #wp-auth-check-form iframe {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
#wp-auth-check-wrap .wp-auth-check-close {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
height: 14px;
|
|
width: 14px;
|
|
cursor: pointer;
|
|
background-image: url(../images/uploader-icons.png);
|
|
background-repeat: no-repeat;
|
|
background-position: -100px 0;
|
|
}
|
|
|
|
#wp-auth-check-wrap .wp-auth-check-close:focus {
|
|
outline: 1px dotted #888;
|
|
}
|
|
|
|
#wp-auth-check-wrap .wp-auth-fallback-expired {
|
|
outline: 0;
|
|
}
|
|
|
|
#wp-auth-check-wrap .wp-auth-fallback {
|
|
font-size: 14px;
|
|
line-height: 21px;
|
|
padding: 0 25px;
|
|
display: none;
|
|
}
|
|
|
|
#wp-auth-check-wrap.fallback .wp-auth-fallback,
|
|
#wp-auth-check-wrap.fallback .wp-auth-check-close {
|
|
display: block;
|
|
}
|
|
|
|
@media print,
|
|
(-o-min-device-pixel-ratio: 5/4),
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
(min-resolution: 120dpi) {
|
|
#wp-auth-check-wrap .wp-auth-check-close {
|
|
background-image: url(../images/uploader-icons-2x.png);
|
|
background-size: 134px 15px;
|
|
}
|
|
}
|