mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
f46dda0195
All stylelint rules that can be automatically fixed have been uncommented. The rules are: * `at-rule-empty-line-before` * `block-closing-brace-empty-line-before` * `block-closing-brace-newline-before` * `block-opening-brace-space-before` * `color-hex-case` * `color-hex-length` * `comment-empty-line-before` * `declaration-block-semicolon-newline-after` * `declaration-block-semicolon-space-after` * `declaration-block-trailing-semicolon` * `declaration-colon-space-after` * `declaration-empty-line-before` * `function-comma-space-after` * `function-comma-space-before` * `indentation` * `length-zero-no-unit` * `no-eol-whitespace` * `no-missing-end-of-source-newline` * `number-leading-zero` * `number-no-trailing-zeros` * `rule-empty-line-before` * `selector-list-comma-newline-after` * `selector-pseudo-element-colon-notation`
64 lines
999 B
SCSS
64 lines
999 B
SCSS
.menu {
|
|
border-radius: 4px;
|
|
background: rgba($black, 0.8);
|
|
box-shadow: rgba($black, 0.15) 0 2px 2px 2px;
|
|
min-width: 150px;
|
|
color: $white;
|
|
|
|
&__item {
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 201;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
padding: 14px;
|
|
}
|
|
|
|
&--clickable {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: rgba($white, 0.05);
|
|
}
|
|
|
|
&:active {
|
|
background-color: rgba($white, 0.1);
|
|
}
|
|
}
|
|
|
|
&__icon {
|
|
height: 16px;
|
|
width: 16px;
|
|
margin-right: 14px;
|
|
}
|
|
|
|
&__text {
|
|
font-size: 16px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
&__subtext {
|
|
font-size: 12px;
|
|
padding: 5px 0 0 30px;
|
|
}
|
|
}
|
|
|
|
&__divider {
|
|
background-color: $scorpion;
|
|
width: 100%;
|
|
height: 1px;
|
|
}
|
|
|
|
&__close-area {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
}
|
|
}
|