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

186 lines
2.7 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;
font-weight: 300;
line-height: 1.4em;
2017-08-14 10:31:27 +02:00
background: #f7f7f7;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
html {
min-height: 500px;
}
.app-root {
overflow: hidden;
2017-08-14 10:31:27 +02:00
position: relative;
}
.app-primary {
display: flex;
}
2017-08-14 10:31:27 +02:00
input:focus,
textarea:focus {
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;
}
.page-container {
width: 400px;
background-color: $white;
box-shadow: 0 0 7px 0 rgba(0, 0, 0, .08);
z-index: 25;
display: flex;
flex-flow: column;
&__header {
display: flex;
flex-flow: column;
border-bottom: 1px solid $geyser;
padding: 1.6rem 1rem;
flex: 0 0 auto;
}
&__footer {
display: flex;
flex-flow: row;
justify-content: center;
border-top: 1px solid $geyser;
padding: 1.6rem;
flex: 0 0 auto;
}
&__footer-button {
width: 165px;
height: 60px;
font-size: 1rem;
text-transform: uppercase;
margin-right: 1rem;
&:last-of-type {
margin-right: 0;
}
}
&__title {
color: $tundora;
font-family: Roboto;
font-size: 2rem;
font-weight: 500;
line-height: initial;
}
&__subtitle {
padding-top: .5rem;
line-height: initial;
font-size: .9rem;
}
&__tabs {
padding: 0 1.3rem;
display: flex;
}
&__tab {
min-width: 5rem;
padding: .2rem .8rem .9rem;
color: $dusty-gray;
font-family: Roboto;
font-size: 1.1rem;
line-height: initial;
text-align: center;
cursor: pointer;
border-bottom: none;
margin-right: 1rem;
&:hover {
color: $black;
}
&:last-of-type {
margin-right: 0;
}
&--selected {
color: $curious-blue;
border-bottom: 3px solid $curious-blue;
&:hover {
color: $curious-blue;
}
}
}
}
@media screen and (max-width: 250px) {
.page-container {
&__footer {
flex-flow: column-reverse;
}
&__footer-button {
width: 100%;
margin-bottom: 1rem;
margin-right: 0;
&:first-of-type {
margin-bottom: 0;
}
}
}
}
@media screen and (max-width: 575px) {
.page-container {
height: 100%;
width: 100%;
overflow-y: auto;
background-color: $white;
}
}