A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/app/pages/settings/index.scss

143 lines
2.4 KiB

@import 'info-tab/index';
@import 'settings-tab/index';
.settings-page {
position: relative;
background: $white;
display: flex;
flex-flow: column nowrap;
&__header {
display: flex;
flex-flow: row nowrap;
padding: 12px 24px;
align-items: center;
border-bottom: 1px solid $alto;
flex: 0 0 auto;
&__title {
flex: 1 0 auto;
font-size: 24px;
}
}
&__back-button {
display: none;
@media screen and (max-width: 575px) {
display: block;
background-image: url('/images/caret-left-black.svg');
width: 18px;
height: 18px;
opacity: .5;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-right: 16px;
cursor: pointer;
}
}
&__close-button::after {
content: '\00D7';
font-size: 40px;
color: $dusty-gray;
cursor: pointer;
}
&__content {
display: flex;
flex-flow: row nowrap;
height: auto;
overflow: auto;
&__tabs {
display: flex;
flex-direction: column;
flex: 1 1 auto;
@media screen and (min-width: 576px) {
flex: 0 0 32%;
max-width: 210px;
border-right: 1px solid $alto;
}
}
&__modules {
overflow-y: auto;
flex: 1 1 auto;
@media screen and (max-width: 575px) {
display: none;
}
}
}
&__body {
padding: 12px 24px;
}
&__content-row {
display: flex;
flex-direction: column;
padding: 10px 0 20px;
}
&__content-item {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
padding: 0 5px;
min-height: 71px;
@media screen and (max-width: 575px) {
height: initial;
padding: 5px 0;
}
&--without-height {
height: initial;
}
}
&__content-label {
text-transform: capitalize;
}
&__content-description {
font-size: 14px;
color: $dusty-gray;
padding-top: 5px;
}
&__content-item-col {
max-width: 300px;
display: flex;
flex-direction: column;
@media screen and (max-width: 575px) {
max-width: 100%;
width: 100%;
}
}
&--selected {
.settings-page {
&__content {
&__tabs {
@media screen and (max-width: 575px) {
display: none;
}
}
&__modules {
@media screen and (max-width: 575px) {
display: block;
}
}
}
}
}
}