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`
123 lines
2.0 KiB
SCSS
123 lines
2.0 KiB
SCSS
.home {
|
|
&__container {
|
|
display: flex;
|
|
min-height: 100%;
|
|
}
|
|
|
|
&__main-view {
|
|
flex: 1 1 66.5%;
|
|
background: $white;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__balance-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
// TODO: fix style import order so this isn't required to override specificity of `tab` class
|
|
&__main-view &__tabs {
|
|
border: none;
|
|
box-shadow: 0 3px 4px rgba(135, 134, 134, 0.16);
|
|
}
|
|
|
|
&__main-view &__tab {
|
|
flex-grow: 1;
|
|
color: $Grey-500;
|
|
padding: 16px 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 130%;
|
|
}
|
|
|
|
&__main-view &__tab--active {
|
|
color: $Blue-500;
|
|
}
|
|
|
|
&__connect-status-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@extend %content-text;
|
|
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
|
|
div {
|
|
margin-bottom: 20px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__connected-status-popover {
|
|
width: 329px;
|
|
margin-top: -15px;
|
|
|
|
.popover-header {
|
|
padding-bottom: 20px;
|
|
|
|
&__title {
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.popover-content {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.popover-arrow {
|
|
top: -6px;
|
|
left: 24px;
|
|
}
|
|
|
|
.popover-footer {
|
|
border-top: 0;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 20px;
|
|
font-size: 14px;
|
|
|
|
& :only-child {
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
height: 39px;
|
|
width: 133px;
|
|
border-radius: 39px;
|
|
padding: 0;
|
|
}
|
|
|
|
a,
|
|
a:hover {
|
|
color: $dodger-blue;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__connected-status-popover-bg {
|
|
height: 55px;
|
|
width: 120px;
|
|
border-radius: 34px;
|
|
position: absolute;
|
|
top: 73px;
|
|
opacity: 1;
|
|
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.2);
|
|
background: none;
|
|
}
|
|
|
|
&__connected-status-popover-bg-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|