1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/css/base-styles.scss

125 lines
2.0 KiB
SCSS
Raw Normal View History

* {
box-sizing: border-box;
}
2017-08-14 10:31:27 +02:00
html,
body {
color: var(--color-text-default);
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: 16px;
overflow: auto;
}
html {
min-height: 500px;
}
.mouse-user-styles {
button:focus,
input:focus,
textarea:focus,
.unit-input__input,
.currency-display__input {
outline: none;
}
}
2020-08-07 17:58:48 +02:00
/*
This error class is used in the following files still:
/ui/pages/create-account/import-account/json.js
/ui/pages/create-account/import-account/private-key.js
2020-08-07 17:58:48 +02:00
*/
.error {
color: var(--color-error-default);
margin-top: 3px;
2020-08-07 17:58:48 +02:00
margin-bottom: 9px;
overflow-wrap: anywhere;
2020-08-07 17:58:48 +02:00
}
2017-08-14 10:31:27 +02:00
/* stylelint-disable */
#app-content {
overflow-x: hidden;
height: 100%;
display: flex;
flex-direction: column;
background: var(--color-background-alternative);
2017-09-14 18:56:40 +02:00
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
background-color: var(--color-background-default);
2017-09-14 18:56:40 +02:00
}
}
2017-08-14 10:31:27 +02:00
/* stylelint-enable */
a {
text-decoration: none;
color: inherit;
}
2017-08-14 10:31:27 +02:00
a:hover {
color: var(--color-primary-alternative);
}
2017-08-06 22:24:06 +02:00
2017-08-14 10:31:27 +02:00
input.large-input,
textarea.large-input {
2017-08-06 22:24:06 +02:00
padding: 8px;
}
input.large-input {
height: 36px;
}
2018-01-29 21:29:01 +01:00
.allcaps {
text-transform: uppercase;
}
2018-03-07 01:15:45 +01:00
.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 var(--color-border-default);
color: 1px solid var(--color-text-default);
2022-03-18 23:55:33 +01:00
background: transparent;
border-radius: 3px;
width: 100%;
&::-webkit-input-placeholder {
font-weight: 100;
color: var(--color-text-muted);
}
&::-moz-placeholder {
font-weight: 100;
color: var(--color-text-muted);
}
&:-ms-input-placeholder {
font-weight: 100;
color: var(--color-text-muted);
}
&:-moz-placeholder {
font-weight: 100;
color: var(--color-text-muted);
}
&--error {
border: 1px solid var(--color-error-default);
}
}
2018-05-20 08:04:19 +02:00
2020-07-29 22:04:02 +02:00
/** Default Typography on base elements **/
* {
font-family: $font-family;
}