1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/css/itcss/components/newui-sections.scss

141 lines
2.1 KiB
SCSS
Raw Normal View History

2017-08-06 22:24:06 +02:00
/*
NewUI Container Elements
*/
// Main container
2017-08-06 22:24:06 +02:00
.main-container {
position: absolute;
z-index: 18;
font-family: DIN OT;
display: flex;
flex-wrap: wrap;
align-items: stretch;
overflow-y: scroll;
}
// tx view
2017-08-07 06:54:42 +02:00
.tx-view {
flex: 63.5 0 66.5%;
background: $white; // TODO: add to resuable colors
}
2017-08-07 06:54:42 +02:00
// wallet view
.wallet-view {
flex: 33.5 0 33.5%;
background: $wild-sand,
}
2017-08-07 06:54:42 +02:00
.account-options-menu {
align-items: center;
justify-content: flex-start;
margin: 5% 7%;
}
.wallet-view.sidebar {
2017-08-06 22:24:06 +02:00
flex: 1 0 230px;
background: rgb(250, 250, 250);
z-index: 26;
position: fixed;
top: 35px;
left: 0px;
right: 0px;
bottom: 0px;
opacity: 1;
visibility: visible;
will-change: transform;
overflow-y: auto;
box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 4px;
width: 85%;
height: 100%;
}
.sidebar-overlay {
z-index: 25;
position: fixed;
top: 35px;
left: 0px;
right: 0px;
bottom: 0px;
opacity: 1;
visibility: visible;
background-color: rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 576px) {
.lap-visible {
display: flex;
}
.phone-visible {
display: none;
}
.main-container {
margin-top: 35px;
width: 85%;
height: 90vh;
box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
2017-08-06 22:24:06 +02:00
}
}
@media screen and (min-width: 769px) {
.main-container {
margin-top: 35px;
width: 80%;
height: 82vh;
box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
2017-08-06 22:24:06 +02:00
}
}
@media screen and (min-width: 1281px) {
.main-container {
margin-top: 35px;
width: 65%;
height: 82vh;
box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
2017-08-06 22:24:06 +02:00
}
}
@media screen and (max-width: 575px) {
.lap-visible {
display: none;
}
.phone-visible {
display: flex;
}
.main-container {
margin-top: 35px;
width: 100%;
height: 100%;
}
button.btn-clear {
width: 93px;
2017-08-06 22:24:06 +02:00
height: 50px;
font-size: .7em;
2017-08-06 22:46:11 +02:00
background: white;
2017-08-06 22:24:06 +02:00
border: 1px solid;
}
}
// wallet view
.account-name {
2017-08-07 06:54:42 +02:00
@media screen and (max-width: 575px) {
font-size: 102%;
margin-left: 3%;
}
@media screen and (max-width: 575px) {
text-align: center;
}
}