mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user