blob: c9f89bd566afabc779063cd30031f8df2583096f (
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
88
89
90
91
92
93
94
95
|
.server-info-settings {
.label {
display: block;
}
.form-input {
margin-bottom: 10px;
width: 100%;
}
.margin-bottom {
margin-bottom: 15px;
}
.form-actions {
text-align: right;
.button {
align-items: center;
display: inline-flex;
margin: 0;
transition: background-color 500ms linear;
.default-label,
.working-label,
.success-label,
.error-label {
align-items: center;
gap: 4px;
}
.working-label,
.success-label,
.error-label {
display: none;
}
}
.button-working,
.button-success,
.button-error {
background-color: $color-background-dark;
color: $color-text-lighter;
opacity: 1;
.default-label {
display: none;
}
}
.button-working {
.working-label {
display: inline-flex;
}
}
.button-success {
background-color: $color-success;
border-color: darken($color-success, 10%);
color: $color-primary-text-dark;
.success-label {
display: inline-flex;
}
}
.button-error {
background-color: $color-error;
border-color: darken($color-error, 10%);
color: $color-primary-text-dark;
.error-label {
display: inline-flex;
}
}
}
@media (min-width: 1000px) {
.label {
display: inline-block;
text-align: right;
width: 175px;
}
.form-input {
margin-left: 5px;
width: 225px;
}
.form-actions {
margin-left: 180px;
width: 225px;
}
}
}
|