mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
215 lines
3.3 KiB
SCSS
215 lines
3.3 KiB
SCSS
.settings {
|
|
position: relative;
|
|
background: $white;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.settings__header {
|
|
padding: 25px;
|
|
}
|
|
|
|
.settings__close-button::after {
|
|
content: '\00D7';
|
|
font-size: 40px;
|
|
color: $dusty-gray;
|
|
position: absolute;
|
|
top: 25px;
|
|
right: 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings__error {
|
|
padding-bottom: 20px;
|
|
text-align: center;
|
|
color: $crimson;
|
|
}
|
|
|
|
.settings__content {
|
|
padding: 0 25px;
|
|
height: auto;
|
|
overflow: auto;
|
|
}
|
|
|
|
.settings__content-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10px 0 20px;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
flex-direction: column;
|
|
padding: 10px 0;
|
|
}
|
|
}
|
|
|
|
.settings__content-item {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 5px;
|
|
height: 71px;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
height: initial;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
&--without-height {
|
|
height: initial;
|
|
}
|
|
}
|
|
|
|
.settings__content-item-col {
|
|
max-width: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.settings__content-description {
|
|
font-size: 14px;
|
|
color: $dusty-gray;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.settings__input {
|
|
padding-left: 10px;
|
|
font-size: 14px;
|
|
height: 40px;
|
|
border: 1px solid $alto;
|
|
}
|
|
|
|
.settings__input::-webkit-input-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
.settings__input::-moz-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
.settings__input:-ms-input-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
.settings__input:-moz-placeholder {
|
|
font-weight: 100;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
.settings__provider-wrapper {
|
|
font-size: 16px;
|
|
border: 1px solid $alto;
|
|
border-radius: 2px;
|
|
padding: 15px;
|
|
background-color: $white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.settings__provider-icon {
|
|
height: 10px;
|
|
width: 10px;
|
|
margin-right: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.settings__rpc-save-button {
|
|
align-self: flex-end;
|
|
padding: 5px;
|
|
text-transform: uppercase;
|
|
color: $dusty-gray;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings__button--red {
|
|
border-color: lighten($monzo, 10%);
|
|
color: $monzo;
|
|
|
|
&:active {
|
|
background: lighten($monzo, 55%);
|
|
border-color: $monzo;
|
|
}
|
|
|
|
&:hover {
|
|
border-color: $monzo;
|
|
}
|
|
}
|
|
|
|
.settings__button--orange {
|
|
border-color: lighten($ecstasy, 20%);
|
|
color: $ecstasy;
|
|
|
|
&:active {
|
|
background: lighten($ecstasy, 40%);
|
|
border-color: $ecstasy;
|
|
}
|
|
|
|
&:hover {
|
|
border-color: $ecstasy;
|
|
}
|
|
}
|
|
|
|
.settings__info-logo-wrapper {
|
|
height: 80px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.settings__info-logo {
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.settings__info-item {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.settings__info-link-header {
|
|
padding-bottom: 15px;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
padding-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
.settings__info-link-item {
|
|
padding: 15px 0;
|
|
|
|
@media screen and (max-width: 575px) {
|
|
padding: 5px 0;
|
|
}
|
|
}
|
|
|
|
.settings__info-version-number {
|
|
padding-top: 5px;
|
|
font-size: 13px;
|
|
color: $dusty-gray;
|
|
}
|
|
|
|
.settings__info-about {
|
|
color: $dusty-gray;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.settings__info-link {
|
|
color: $curious-blue;
|
|
}
|
|
|
|
.settings__info-separator {
|
|
margin: 15px 0;
|
|
width: 80px;
|
|
border-color: $alto;
|
|
border: none;
|
|
height: 1px;
|
|
background-color: $alto;
|
|
color: $alto;
|
|
}
|