blob: 8af65e93d274bf6adda61c461c1c77dbfc130246 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/* TODO: Make item prettier. */
.change-avatar-cropper-row {
max-height: 400px;
}
.change-avatar-img {
min-width: 50%;
max-width: 100%;
max-height: 400px;
}
.setting-section {
padding: 1em 0;
margin: 1em 0;
}
.setting-section-title {
padding: 0 1em;
color: white;
}
.setting-section-item-area {
margin-top: 1em;
border-top: 1px solid var(--cru-secondary-color);
}
.setting-item-container {
padding: 0.5em 1em;
transition: background-color 0.3s;
background-color: var(--cru-background-color);
border-bottom: 1px solid var(--cru-secondary-color);
display: flex;
align-items: center;
}
.setting-item-container:hover {
color: white;
background-color: var(--cru-secondary-color);
}
.setting-item-container.danger {
color: var(--cru-danger-color);
}
.setting-item-container.danger:hover {
color: white;
background-color: var(--cru-danger-color);
}
.setting-item-label-sub {
color: var(--cru-text-secondary-color);
}
.setting-item-value-area {
margin-left: auto;
}
.setting-item-container.setting-type-button {
cursor: pointer;
}
.register-code {
background: var(--cru-text-primary-color);
color: var(--cru-background-color);
border-radius: 3px;
padding: 0.2em;
cursor: pointer;
}
@media (max-width: 576) {
.setting-item-container.setting-type-select {
flex-direction: column;
}
.setting-item-container.setting-type-select .setting-item-value-area {
margin-top: 1em;
}
.register-code-setting-item {
flex-direction: column;
}
.register-code-setting-item .register-code {
margin-top: 1em;
}
}
|