Newer
Older
.settings {
.partnersInfo,
.customInfo {
h2.title {
margin: 1rem 0;
}
.partnersInfo {
margin: 2rem 0;
h1 {
margin-bottom: 1rem;
}
flex-direction: column;
gap: 0.5rem;
label {
text-transform: uppercase;
font-weight: 700;
}
input,
textarea {
background: inherit;
border-radius: 4px;
border: 1px solid $text-chart;
max-width: 600px;
padding: 1rem;
color: $text-grey;
font-size: 1rem;
}
.count {
color: $text-dark;
max-width: 600px;
height: 19px;
font-weight: 400;
font-size: 0.8rem;
display: flex;
justify-content: flex-end;
}
.buttons {
position: fixed;
bottom: 1rem;
display: flex;
transform: translate(-25%);
left: 50%;
gap: 1rem;
button {
margin: 0;
}
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.switch_div {
display: inline-block;
padding: 1rem 1rem;
min-width: 135px;
span {
color: $text-dark;
}
input[type='checkbox'] {
width: 0;
height: 0;
visibility: hidden;
margin-bottom: 15px;
}
label {
display: block;
width: 50px;
height: 20px;
background-color: grey;
border-radius: 15px;
position: relative;
cursor: pointer;
transition: 0.5s;
box-shadow: 0 0 20px #80808050;
}
label::after {
content: '';
width: 17px;
height: 17px;
background-color: #e8f5f7;
position: absolute;
border-radius: 13px;
top: 2px;
left: 2px;
transition: 0.5s;
}
input:checked + label:after {
left: calc(100% - 3px);
transform: translateX(-100%);
}
input:checked + label {
background-color: #e3b82a;
}
label:active:after {
width: 34px;
}
.customInfo {
.switch_div {
padding-top: 0;
margin-bottom: 1rem;
}