2018-03-08 03:38:12 +01:00
|
|
|
.bd-keybind {
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 10px;
|
|
|
|
background-color: rgba(0,0,0,.1);
|
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
|
|
|
transition: border .15s ease;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 40px;
|
|
|
|
|
2018-08-15 04:03:56 +02:00
|
|
|
.bd-keybindSelected {
|
2018-03-08 03:38:12 +01:00
|
|
|
flex: 1 1 auto;
|
|
|
|
color: #f6f6f7;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2018-08-15 04:03:56 +02:00
|
|
|
&.bd-keybindUnset {
|
|
|
|
.bd-keybindSelected {
|
2018-03-08 03:38:12 +01:00
|
|
|
color: hsla(240,6%,97%,.3);
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-button {
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: -4px -4px -4px 10px;
|
|
|
|
padding: 2px 20px;
|
|
|
|
transition: background-color .2s ease-in-out, color .2s ease-in-out;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bd-active {
|
|
|
|
border-color: $colerr;
|
2018-08-15 04:03:56 +02:00
|
|
|
animation: bd-keybindPulse 1s infinite;
|
2018-03-08 03:38:12 +01:00
|
|
|
|
|
|
|
.bd-button {
|
|
|
|
color: $colerr;
|
|
|
|
background-color: rgba($colerr, .3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|