Skip to content

Commit fc2e8ed

Browse files
authored
Merge pull request #4728 from BookStackApp/friendlier_buttons
Design: Updated buttons to be a bit friendlier
2 parents 7250671 + 0c4dd78 commit fc2e8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/sass/_buttons.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ button {
1414
display: inline-block;
1515
font-weight: 400;
1616
outline: 0;
17-
border-radius: 2px;
17+
border-radius: 4px;
1818
cursor: pointer;
1919
transition: background-color ease-in-out 120ms,
2020
filter ease-in-out 120ms,
2121
box-shadow ease-in-out 120ms;
2222
box-shadow: none;
2323
background-color: var(--color-primary);
2424
color: #FFF;
25-
text-transform: uppercase;
2625
border: 1px solid var(--color-primary);
2726
vertical-align: top;
2827
&:hover, &:focus, &:active {
@@ -52,10 +51,11 @@ button {
5251
border: 1px solid;
5352
@include lightDark(border-color, #CCC, #666);
5453
&:hover, &:focus, &:active {
54+
@include lightDark(color, #444, #BBB);
5555
border: 1px solid #CCC;
56-
box-shadow: none;
56+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
5757
background-color: #F2F2F2;
58-
@include lightDark(background-color, #f2f2f2, #555);
58+
@include lightDark(background-color, #f8f8f8, #444);
5959
filter: none;
6060
}
6161
&:active {

0 commit comments

Comments
 (0)