mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Updating the #wp-auth-check login form to match the new admin design:
* Remove border-radius on the container and add a box shadow * Style the top bar background to match the new #eee page background * Replace the close button PNG with a Dashicon * Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button. See #25858. git-svn-id: https://develop.svn.wordpress.org/trunk@26441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d428ac9a5d
commit
acb98dc95a
@ -279,7 +279,6 @@ TABLE OF CONTENTS:
|
|||||||
@media screen and ( max-width: 782px ) {
|
@media screen and ( max-width: 782px ) {
|
||||||
|
|
||||||
.wp-core-ui .button,
|
.wp-core-ui .button,
|
||||||
.wp-core-ui .button:active, /* Override non-responsive active styles in buttons.css */
|
|
||||||
input#publish,
|
input#publish,
|
||||||
input#save-post,
|
input#save-post,
|
||||||
a.preview {
|
a.preview {
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
width: 380px;
|
width: 380px;
|
||||||
margin: 0 0 0 -190px;
|
margin: 0 0 0 -190px;
|
||||||
padding: 30px 0 0;
|
padding: 30px 0 0;
|
||||||
background-color: #fbfbfb;
|
background-color: #eee;
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
z-index: 1000001;
|
z-index: 1000001;
|
||||||
|
-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.3);
|
||||||
|
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-auth-check-wrap.fallback #wp-auth-check {
|
#wp-auth-check-wrap.fallback #wp-auth-check {
|
||||||
@ -55,12 +55,26 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
right: 8px;
|
right: 8px;
|
||||||
height: 14px;
|
height: 22px;
|
||||||
width: 14px;
|
width: 22px;
|
||||||
cursor: pointer;
|
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:before {
|
||||||
|
content: '\f158';
|
||||||
|
display: block !important;
|
||||||
|
font: normal 20px/1 'dashicons';
|
||||||
|
speak: none;
|
||||||
|
height: 22px;
|
||||||
|
margin: 2px 0;
|
||||||
|
text-align: center;
|
||||||
|
width: 22px;
|
||||||
|
color: #777;
|
||||||
|
-webkit-font-smoothing: antialiased !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wp-auth-check-wrap .wp-auth-check-close:hover:before {
|
||||||
|
color: #0074a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-auth-check-wrap .wp-auth-check-close:focus {
|
#wp-auth-check-wrap .wp-auth-check-close:focus {
|
||||||
@ -81,14 +95,4 @@
|
|||||||
#wp-auth-check-wrap.fallback .wp-auth-fallback,
|
#wp-auth-check-wrap.fallback .wp-auth-fallback,
|
||||||
#wp-auth-check-wrap.fallback .wp-auth-check-close {
|
#wp-auth-check-wrap.fallback .wp-auth-check-close {
|
||||||
display: block;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user