1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/app/css/itcss/components/settings.scss

215 lines
3.3 KiB
SCSS
Raw Normal View History

2017-10-23 07:40:03 +02:00
.settings {
position: relative;
background: $white;
display: flex;
flex-flow: column nowrap;
height: auto;
overflow: auto;
}
.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;
}
.settings__content-row {
display: flex;
flex-direction: row;
padding: 10px 0 20px;
@media screen and (max-width: 575px) {
flex-direction: column;
2017-10-24 07:04:44 +02:00
padding: 10px 0;
2017-10-23 07:40:03 +02:00
}
}
.settings__content-item {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
padding: 0 5px;
height: 71px;
2017-10-24 07:04:44 +02:00
@media screen and (max-width: 575px) {
height: initial;
padding: 5px 0;
}
2017-10-25 18:26:05 +02:00
&--without-height {
height: initial;
}
2017-10-23 07:40:03 +02:00
}
.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;
2017-10-24 07:04:44 +02:00
border: 1px solid $alto;
2017-10-23 07:40:03 +02:00
}
.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;
}
2018-03-26 07:19:42 +02:00
.settings__button--red {
border-color: lighten($monzo, 10%);
2017-10-23 07:40:03 +02:00
color: $monzo;
2018-03-26 07:19:42 +02:00
&:active {
background: lighten($monzo, 55%);
border-color: $monzo;
}
&:hover {
border-color: $monzo;
}
2017-10-23 07:40:03 +02:00
}
2017-10-25 18:26:05 +02:00
2018-03-26 07:19:42 +02:00
.settings__button--orange {
border-color: lighten($ecstasy, 20%);
color: $ecstasy;
&:active {
background: lighten($ecstasy, 40%);
border-color: $ecstasy;
}
&:hover {
border-color: $ecstasy;
}
}
2017-10-25 18:26:05 +02:00
.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;
}