mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -196,7 +196,7 @@ strong .post-com-count span {
|
||||
}
|
||||
|
||||
.error,
|
||||
#login #login_error {
|
||||
.login #login_error {
|
||||
background-color: #ffebe8;
|
||||
border-color: #c00;
|
||||
}
|
||||
@@ -298,6 +298,7 @@ input[type=submit]:hover {
|
||||
.submit input,
|
||||
.button-secondary {
|
||||
background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;
|
||||
text-shadow: rgba(255,255,255,1) 0 1px 0;
|
||||
}
|
||||
|
||||
.button:active,
|
||||
@@ -306,46 +307,62 @@ input[type=submit]:hover {
|
||||
background: #eee url(../images/white-grad-active.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.submit .button-primary,
|
||||
#login form .submit input {
|
||||
border-color: #5b86ab !important;
|
||||
input.button-primary,
|
||||
button.button-primary,
|
||||
a.button-primary {
|
||||
border-color: #5b86ab;
|
||||
font-weight: bold;
|
||||
color: #fff !important;
|
||||
color: #fff;
|
||||
background: #5580a6 url(../images/button-grad-vs.png) repeat-x scroll left top;
|
||||
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
|
||||
}
|
||||
|
||||
.button-primary:active,
|
||||
#login form .submit input:active {
|
||||
background: #21759b url(../images/button-grad-active-vs.png) repeat-x scroll left top !important;
|
||||
input.button-primary:active,
|
||||
button.button-primary:active,
|
||||
a.button-primary:active {
|
||||
background: #21759b url(../images/button-grad-active-vs.png) repeat-x scroll left top;
|
||||
color: #eaf2fa;
|
||||
}
|
||||
|
||||
input.button-primary:hover,
|
||||
button.button-primary:hover,
|
||||
a.button-primary:hover,
|
||||
a.button-primary:focus,
|
||||
a.button-primary:active {
|
||||
border-color: #2e5475;
|
||||
color: #eaf2fa;
|
||||
}
|
||||
|
||||
.button-disabled,
|
||||
.button[disabled],
|
||||
.button:disabled,
|
||||
.button-secondary[disabled],
|
||||
.button-secondary:disabled,
|
||||
a.button.disabled {
|
||||
color: #ccc !important;
|
||||
border-color: #ccc;
|
||||
color: #aaa !important;
|
||||
border-color: #bbb !important;
|
||||
background: #ddd !important;
|
||||
text-shadow: 1px 1px 2px white !important;
|
||||
}
|
||||
|
||||
.button-primary-disabled,
|
||||
.button-primary[disabled],
|
||||
.button-primary:disabled {
|
||||
color: #80a3d2 !important;
|
||||
color: #B0C3E2 !important;
|
||||
background: #6590A6 none repeat scroll 0 0 !important;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active,
|
||||
a:focus {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
#wphead #viewsite a:hover,
|
||||
#adminmenu a:hover,
|
||||
#adminmenu ul.wp-submenu a:hover,
|
||||
#the-comment-list .comment a:hover,
|
||||
#rightnow a:hover,
|
||||
#login form .submit input:hover,
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
@@ -366,12 +383,6 @@ div.dashboard-widget-submit input:hover,
|
||||
background:#faf9f7 !important;
|
||||
}
|
||||
|
||||
.button-primary:hover,
|
||||
#login form .submit input:hover {
|
||||
border-color: #2e5475 !important;
|
||||
color: #eaf2fa !important;
|
||||
}
|
||||
|
||||
#side-sortables #category-tabs .tabs a {
|
||||
color: #333;
|
||||
}
|
||||
@@ -425,7 +436,6 @@ a.delete {
|
||||
}
|
||||
|
||||
.updated,
|
||||
.login #login_error,
|
||||
.login .message {
|
||||
background-color: #ffffe0;
|
||||
border-color: #e6db55;
|
||||
@@ -700,10 +710,6 @@ body.login {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#login form input {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
#user_info {
|
||||
color: #b6d1e4;
|
||||
}
|
||||
@@ -1500,20 +1506,6 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
border-bottom-color: #626262;
|
||||
}
|
||||
|
||||
.submit input,
|
||||
.button,
|
||||
.button-primary,
|
||||
.button-secondary,
|
||||
.button-highlighted,
|
||||
#postcustomstuff .submit input {
|
||||
text-shadow: rgba(255,255,255,1) 0 1px 0;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.submit .button-primary {
|
||||
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
|
||||
}
|
||||
|
||||
#screen-meta a.show-settings {
|
||||
background-color: transparent;
|
||||
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -196,7 +196,7 @@ strong .post-com-count span {
|
||||
}
|
||||
|
||||
.error,
|
||||
#login #login_error {
|
||||
.login #login_error {
|
||||
background-color: #ffebe8;
|
||||
border-color: #c00;
|
||||
}
|
||||
@@ -298,6 +298,7 @@ input[type=submit]:hover {
|
||||
.submit input,
|
||||
.button-secondary {
|
||||
background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;
|
||||
text-shadow: rgba(255,255,255,1) 0 1px 0;
|
||||
}
|
||||
|
||||
.button:active,
|
||||
@@ -306,46 +307,62 @@ input[type=submit]:hover {
|
||||
background: #eee url(../images/white-grad-active.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.submit .button-primary,
|
||||
#login form .submit input {
|
||||
border-color: #298cba !important;
|
||||
input.button-primary,
|
||||
button.button-primary,
|
||||
a.button-primary {
|
||||
border-color: #298cba;
|
||||
font-weight: bold;
|
||||
color: #FFF !important;
|
||||
color: #fff;
|
||||
background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
|
||||
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
|
||||
}
|
||||
|
||||
.button-primary:active,
|
||||
#login form .submit input:active {
|
||||
background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top !important;
|
||||
input.button-primary:active,
|
||||
button.button-primary:active,
|
||||
a.button-primary:active {
|
||||
background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top;
|
||||
color: #eaf2fa;
|
||||
}
|
||||
|
||||
input.button-primary:hover,
|
||||
button.button-primary:hover,
|
||||
a.button-primary:hover,
|
||||
a.button-primary:focus,
|
||||
a.button-primary:active {
|
||||
border-color: #13455b;
|
||||
color: #eaf2fa;
|
||||
}
|
||||
|
||||
.button-disabled,
|
||||
.button[disabled],
|
||||
.button:disabled,
|
||||
.button-secondary[disabled],
|
||||
.button-secondary:disabled,
|
||||
a.button.disabled {
|
||||
color: #ccc !important;
|
||||
border-color: #ccc;
|
||||
color: #aaa !important;
|
||||
border-color: #bbb !important;
|
||||
background: #ddd !important;
|
||||
text-shadow: 1px 1px 2px white !important;
|
||||
}
|
||||
|
||||
.button-primary-disabled,
|
||||
.button-primary[disabled],
|
||||
.button-primary:disabled {
|
||||
color: #2fa0d5 !important;
|
||||
color: #9FD0D5 !important;
|
||||
background: #298CBA none repeat scroll 0 0 !important;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active,
|
||||
a:focus {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
#wphead #viewsite a:hover,
|
||||
#adminmenu a:hover,
|
||||
#adminmenu ul.wp-submenu a:hover,
|
||||
#the-comment-list .comment a:hover,
|
||||
#rightnow a:hover,
|
||||
#login form .submit input:hover,
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
@@ -362,12 +379,6 @@ div.dashboard-widget-submit input:hover,
|
||||
border-color: #dfdfdf;
|
||||
}
|
||||
|
||||
.button-primary:hover,
|
||||
#login form .submit input:hover {
|
||||
border-color: #13455b !important;
|
||||
color: #EAF2FA !important;
|
||||
}
|
||||
|
||||
#side-sortables #category-tabs .tabs a {
|
||||
color: #333;
|
||||
}
|
||||
@@ -421,7 +432,6 @@ a.delete {
|
||||
}
|
||||
|
||||
.updated,
|
||||
.login #login_error,
|
||||
.login .message {
|
||||
background-color: #ffffe0;
|
||||
border-color: #e6db55;
|
||||
@@ -695,10 +705,6 @@ body.login {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#login form input {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
#user_info {
|
||||
color: #999;
|
||||
}
|
||||
@@ -1489,20 +1495,6 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
border-bottom-color: #626262;
|
||||
}
|
||||
|
||||
.submit input,
|
||||
.button,
|
||||
.button-primary,
|
||||
.button-secondary,
|
||||
.button-highlighted,
|
||||
#postcustomstuff .submit input {
|
||||
text-shadow: rgba(255,255,255,1) 0 1px 0;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.submit .button-primary {
|
||||
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
|
||||
}
|
||||
|
||||
#screen-meta a.show-settings {
|
||||
background-color: transparent;
|
||||
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
|
||||
|
||||
@@ -403,3 +403,12 @@ table.ie-fixed {
|
||||
height: 32px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
#wpcontent .button-primary-disabled {
|
||||
color: #9FD0D5;
|
||||
background: #298CBA;
|
||||
}
|
||||
|
||||
#wpcontent #ajax-loading {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
*{margin:0;padding:0;}body{border-top-width:30px;border-top-style:solid;font:11px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}form{margin-left:8px;padding:16px 16px 40px 16px;font-weight:normal;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:5px;background:#fff;border:1px solid #e5e5e5;-moz-box-shadow:rgba(200,200,200,1) 0 4px 18px;-webkit-box-shadow:rgba(200,200,200,1) 0 4px 18px;-khtml-box-shadow:rgba(200,200,200,1) 0 4px 18px;box-shadow:rgba(200,200,200,1) 0 4px 18px;}form .forgetmenot{font-weight:normal;float:left;margin-bottom:0;}#login form .submit input{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;padding:3px 10px;border:none;font-size:12px;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;cursor:pointer;text-decoration:none;margin-top:-3px;text-shadow:rgba(0,0,0,0.3) 0 -1px 0;}#login form p{margin-bottom:0;}label{color:#777;font-size:13px;}form .forgetmenot label{font-size:11px;line-height:19px;}form .submit{float:right;}form p{margin-bottom:24px;}h1 a{background:url(../images/logo-login.gif) no-repeat top center;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;}#nav{text-shadow:rgba(255,255,255,1) 0 1px 0;}#backtoblog a{position:absolute;top:7px;left:15px;text-decoration:none;}#login{width:320px;margin:7em auto;}#login_error,.message{margin:0 0 16px 8px;border-width:1px;border-style:solid;padding:12px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#nav{margin:0 0 0 8px;padding:16px;}#user_pass,#user_login,#user_email{font-size:24px;width:97%;padding:3px;margin-top:2px;margin-right:6px;margin-bottom:16px;border:1px solid #e5e5e5;background:#fbfbfb;}.clear{clear:both;}
|
||||
*{margin:0;padding:0;}body{border-top-width:30px;border-top-style:solid;font:11px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}form{margin-left:8px;padding:16px 16px 40px 16px;font-weight:normal;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:5px;background:#fff;border:1px solid #e5e5e5;-moz-box-shadow:rgba(200,200,200,1) 0 4px 18px;-webkit-box-shadow:rgba(200,200,200,1) 0 4px 18px;-khtml-box-shadow:rgba(200,200,200,1) 0 4px 18px;box-shadow:rgba(200,200,200,1) 0 4px 18px;}form .forgetmenot{font-weight:normal;float:left;margin-bottom:0;}.button-primary{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;padding:3px 10px;border:none;font-size:12px;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;cursor:pointer;text-decoration:none;margin-top:-3px;}#login form p{margin-bottom:0;}label{color:#777;font-size:13px;}form .forgetmenot label{font-size:11px;line-height:19px;}form .submit{float:right;}form p{margin-bottom:24px;}h1 a{background:url(../images/logo-login.gif) no-repeat top center;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;}#nav{text-shadow:rgba(255,255,255,1) 0 1px 0;}#backtoblog a{position:absolute;top:7px;left:15px;text-decoration:none;}#login{width:320px;margin:7em auto;}#login_error,.message{margin:0 0 16px 8px;border-width:1px;border-style:solid;padding:12px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#nav{margin:0 0 0 8px;padding:16px;}#user_pass,#user_login,#user_email{font-size:24px;width:97%;padding:3px;margin-top:2px;margin-right:6px;margin-bottom:16px;border:1px solid #e5e5e5;background:#fbfbfb;}input{color:#555;}.clear{clear:both;}
|
||||
@@ -22,9 +22,13 @@ form {
|
||||
box-shadow: rgba(200,200,200,1) 0 4px 18px;
|
||||
}
|
||||
|
||||
form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; }
|
||||
form .forgetmenot {
|
||||
font-weight: normal;
|
||||
float: left;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#login form .submit input {
|
||||
.button-primary {
|
||||
font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
|
||||
padding: 3px 10px;
|
||||
border: none;
|
||||
@@ -38,7 +42,6 @@ form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; }
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
margin-top: -3px;
|
||||
text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
|
||||
}
|
||||
|
||||
#login form p {
|
||||
@@ -55,9 +58,13 @@ form .forgetmenot label {
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
form .submit { float: right; }
|
||||
form .submit {
|
||||
float: right;
|
||||
}
|
||||
|
||||
form p { margin-bottom: 24px; }
|
||||
form p {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
h1 a {
|
||||
background: url(../images/logo-login.gif) no-repeat top center;
|
||||
@@ -82,7 +89,8 @@ h1 a {
|
||||
|
||||
#login { width: 320px; margin: 7em auto; }
|
||||
|
||||
#login_error, .message {
|
||||
#login_error,
|
||||
.message {
|
||||
margin: 0 0 16px 8px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
@@ -93,9 +101,14 @@ h1 a {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#nav { margin: 0 0 0 8px; padding: 16px; }
|
||||
#nav {
|
||||
margin: 0 0 0 8px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
#user_pass, #user_login, #user_email {
|
||||
#user_pass,
|
||||
#user_login,
|
||||
#user_email {
|
||||
font-size: 24px;
|
||||
width: 97%;
|
||||
padding: 3px;
|
||||
@@ -106,6 +119,10 @@ h1 a {
|
||||
background: #fbfbfb;
|
||||
}
|
||||
|
||||
input {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user