1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 00:28:06 +01:00
metamask-extension/ui/app/css/itcss/generic/index.scss

144 lines
1.9 KiB
SCSS
Raw Normal View History

/*
Generic
*/
@import './reset.scss';
* {
box-sizing: border-box;
}
2017-08-14 10:31:27 +02:00
html,
body {
2017-10-13 00:46:09 +02:00
font-family: Roboto, Arial;
2017-08-14 10:31:27 +02:00
color: #4d4d4d;
2018-05-06 00:12:41 +02:00
font-weight: 400;
2017-08-14 10:31:27 +02:00
background: #f7f7f7;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: 16px;
@media screen and (max-width: $break-small) {
overflow-y: overlay;
}
}
html {
min-height: 500px;
}
.app-root {
overflow: hidden;
2017-08-14 10:31:27 +02:00
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;
}
}
2017-08-14 10:31:27 +02:00
/* stylelint-disable */
#app-content {
overflow-x: hidden;
height: 100%;
display: flex;
flex-direction: column;
2017-09-14 18:56:40 +02:00
@media screen and (max-width: $break-small) {
background-color: $white;
}
}
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: #df6b0e;
}
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 $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;
}
}
2018-05-20 08:04:19 +02:00
.hide-text-overflow {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pinned-to-bottom {
position: absolute;
bottom: 0px;
}
.pinned-to-bottom-right {
position: absolute;
bottom: 0px;
right: 0;
}