mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +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`
66 lines
1.1 KiB
SCSS
66 lines
1.1 KiB
SCSS
.simple-dropdown {
|
|
height: 56px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
border: 1px solid $alto;
|
|
border-radius: 4px;
|
|
background-color: $white;
|
|
font-size: 16px;
|
|
color: #4d4d4d;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.simple-dropdown__caret {
|
|
color: $silver;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.simple-dropdown__selected {
|
|
flex-grow: 1;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.simple-dropdown__options {
|
|
z-index: 1050;
|
|
position: absolute;
|
|
height: 220px;
|
|
width: 100%;
|
|
border: 1px solid #d2d8dd;
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
-webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.11);
|
|
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.11);
|
|
margin-top: 10px;
|
|
overflow-y: scroll;
|
|
left: 0;
|
|
top: 100%;
|
|
}
|
|
|
|
.simple-dropdown__option {
|
|
padding: 10px;
|
|
|
|
&:hover {
|
|
background-color: $gallery;
|
|
}
|
|
}
|
|
|
|
.simple-dropdown__option--selected {
|
|
background-color: $alto;
|
|
|
|
&:hover {
|
|
background-color: $alto;
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.simple-dropdown__close-area {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|