mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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`
140 lines
1.8 KiB
SCSS
140 lines
1.8 KiB
SCSS
/*
|
|
Generic
|
|
*/
|
|
|
|
@import './reset';
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: Roboto, Arial;
|
|
color: #4d4d4d;
|
|
font-weight: 400;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 16px;
|
|
overflow: auto;
|
|
}
|
|
|
|
html {
|
|
min-height: 500px;
|
|
}
|
|
|
|
.app-root {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.app-primary {
|
|
display: flex;
|
|
}
|
|
|
|
.mouse-user-styles {
|
|
button:focus,
|
|
input:focus,
|
|
textarea:focus,
|
|
.unit-input__input,
|
|
.account-list-item__account-primary-balance,
|
|
.account-list-item__input,
|
|
.currency-display__input {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
/* stylelint-disable */
|
|
#app-content {
|
|
overflow-x: hidden;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #f7f7f7;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
background-color: $white;
|
|
}
|
|
}
|
|
/* stylelint-enable */
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
a:hover {
|
|
color: #df6b0e;
|
|
}
|
|
|
|
input.large-input,
|
|
textarea.large-input {
|
|
padding: 8px;
|
|
}
|
|
|
|
input.large-input {
|
|
height: 36px;
|
|
}
|
|
|
|
.allcaps {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.input-label {
|
|
padding-bottom: 10px;
|
|
font-weight: 400;
|
|
display: inline-block;
|
|
}
|
|
|
|
input.form-control {
|
|
padding-left: 10px;
|
|
font-size: 14px;
|
|
height: 40px;
|
|
border: 1px solid $alto;
|
|
border-radius: 3px;
|
|
width: 100%;
|
|
|
|
&::-webkit-input-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
&::-moz-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
&:-ms-input-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
&:-moz-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
&--error {
|
|
border: 1px solid $monzo;
|
|
}
|
|
}
|
|
|
|
.hide-text-overflow {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.pinned-to-bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.pinned-to-bottom-right {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|