style(button): scale down a bit on touching down
This commit is contained in:
parent
a21cd2a258
commit
12624f6463
1 changed files with 4 additions and 0 deletions
|
@ -6,10 +6,14 @@
|
||||||
border: 1px solid #555;
|
border: 1px solid #555;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
|
user-select: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #387cec;
|
background: #387cec;
|
||||||
border: 1px solid #387cec;
|
border: 1px solid #387cec;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
// background: darken(#555, 3%);
|
// background: darken(#555, 3%);
|
||||||
}
|
}
|
||||||
|
&:active {
|
||||||
|
transform: scale(0.97);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue