mirror of https://github.com/status-im/consul.git
23 lines
448 B
SCSS
23 lines
448 B
SCSS
@import './skin';
|
|
@import './layout';
|
|
.type-reveal {
|
|
@extend %secret-button;
|
|
}
|
|
%secret-button {
|
|
position: relative;
|
|
}
|
|
%secret-button span {
|
|
visibility: hidden;
|
|
position: absolute;
|
|
}
|
|
%secret-button em {
|
|
margin-left: 22px;
|
|
}
|
|
%secret-button span::before {
|
|
@extend %with-visibility-show-mask, %as-pseudo;
|
|
background-color: rgb(var(--tone-gray-500));
|
|
}
|
|
%secret-button input:checked + span::before {
|
|
@extend %with-visibility-hide-mask;
|
|
}
|