-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add overrides for counters in our buttons #61
Changes from all commits
a5b9fbd
cb80b34
31326dd
1c240aa
ec3dd09
6a85a7e
1b9900e
a871798
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,12 @@ | |
vertical-align: text-top; | ||
} | ||
|
||
// Darken for just a tad more contrast against the button background | ||
.counter { | ||
text-shadow: none; | ||
background-color: #e5e5e5; | ||
} | ||
|
||
&:focus { | ||
text-decoration: none; | ||
border-color: #51a7e8; | ||
|
@@ -76,6 +82,11 @@ | |
background-image: linear-gradient(#8add6d, #60b044); | ||
border-color: darken(#60b044, 2%); | ||
|
||
.counter { | ||
color: #60b044; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Color literals like |
||
background-color: #fff; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Color literals like |
||
} | ||
|
||
&:hover { | ||
color: #fff; | ||
background-color: darken(#60b044, 5%); | ||
|
@@ -132,6 +143,15 @@ | |
border-color: #e1e1e1; | ||
} | ||
} | ||
|
||
&:hover, | ||
&:active, | ||
&.selected { | ||
.counter { | ||
color: #b33630; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Color literals like |
||
background-color: #fff; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Color literals like |
||
} | ||
} | ||
} | ||
|
||
// Outline button | ||
|
@@ -144,6 +164,10 @@ | |
background-image: none; | ||
border: 1px solid #e5e5e5; | ||
|
||
.counter { | ||
background-color: #eee; | ||
} | ||
|
||
&:hover, | ||
&:active, | ||
&.selected, | ||
|
@@ -154,6 +178,11 @@ | |
background-color: $brand-blue; | ||
background-image: none; | ||
border-color: $brand-blue; | ||
|
||
.counter { | ||
color: $brand-blue; | ||
background-color: #fff; | ||
} | ||
} | ||
|
||
&:disabled, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Properties should be ordered background-color, text-shadow