WordPress.org

Make WordPress Core

Ticket #9537: 9537.disabled.diff

File 9537.disabled.diff, 2.3 KB (added by jbsil, 9 years ago)

first stab at :disabled buttons that actually look disabled. changed some colors, backgrounds and !importants in :active, :disabled and :hover

  • colors-classic.css

     
    321321
    322322.button-primary:active,
    323323#login form .submit input:active {
    324         background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top !important;
     324        background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top;
    325325}
    326326
    327327.button[disabled],
     
    329329.button-secondary[disabled],
    330330.button-secondary:disabled,
    331331a.button.disabled {
    332         color: #ccc !important;
     332        background: #ccc !important;
     333        color: #999 !important;
    333334        border-color: #ccc;
    334335}
    335336
    336337.button-primary[disabled],
    337338.button-primary:disabled {
    338         color: #2fa0d5 !important;
     339        background: #ccc !important;
     340        color: #999 !important;
    339341}
    340342
    341343a:active,
     
    366368.button-primary:hover,
    367369#login form .submit input:hover {
    368370        border-color: #13455b !important;
    369         color: #EAF2FA !important;
     371        color: #EAF2FA;
    370372}
    371373
    372374#side-sortables #category-tabs .ui-tabs-selected a {
  • colors-fresh.css

     
    315315#login form .submit input {
    316316        border-color: #298cba !important;
    317317        font-weight: bold;
    318         color: #FFF !important;
     318        color: #FFF;
    319319        background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
    320320}
    321321
    322322.button-primary:active,
    323323#login form .submit input:active {
    324         background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top !important;
     324        background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top;
    325325}
    326326
    327327.button[disabled],
     
    329329.button-secondary[disabled],
    330330.button-secondary:disabled,
    331331a.button.disabled {
    332         color: #ccc !important;
     332        background: #ccc !important;
     333        color: #999 !important;
    333334        border-color: #ccc;
    334335}
    335336
    336337.button-primary[disabled],
    337338.button-primary:disabled {
    338         color: #2fa0d5 !important;
     339        background: #ccc !important;
     340        color: #999 !important;
    339341}
    340342
    341343a:active,
     
    366368.button-primary:hover,
    367369#login form .submit input:hover {
    368370        border-color: #13455b !important;
    369         color: #EAF2FA !important;
     371        color: #EAF2FA;
    370372}
    371373
    372374#side-sortables #category-tabs .ui-tabs-selected a {