Browse Source

Fixes :not specificity adding too much weight to button state selector

pull/367/head
jlukic 11 years ago
parent
commit
6a3cf2cafc
1 changed files with 3 additions and 3 deletions
  1. 6
      src/elements/button.less

6
src/elements/button.less

@ -122,7 +122,7 @@
Hover Hover
---------------*/ ---------------*/
.ui.button:not(.loading):hover {
.ui.button:hover {
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08)); background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
} }
@ -139,8 +139,8 @@
Down Down
---------------*/ ---------------*/
.ui.button:not(.loading):active,
.ui.active.button:not(.loading):active {
.ui.button:active,
.ui.active.button:active {
background-color: #F1F1F1; background-color: #F1F1F1;
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;

Loading…
Cancel
Save