Refactor n active state

This commit is contained in:
Chi Vinh Le
2018-03-23 12:37:20 +01:00
parent 1fb1fc6ba9
commit de48880e01
15 changed files with 362 additions and 115 deletions
@@ -0,0 +1,37 @@
.buttonReset {
user-select: none;
outline: invert none medium;
border: none;
touch-action: manipulation;
padding: 0;
overflow: hidden;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
&::-moz-focus-inner: {
border: 0;
}
}
.button > i {
vertical-align: middle;
}
.button {
composes: buttonReset;
background-color: transparent;
padding: 3px;
border: none;
color: #4e4e4e;
margin-right: 3px;
}
.button:hover{
cursor: pointer;
border-radius: 3px;
background-color: #eae8e8;
}
.active {
border-radius: 3px;
background-color: #ddd;
}