Skip to content

Commit 1c3f8cd

Browse files
committed
feat: update version switch button styles and add warning box styling
1 parent f6225ab commit 1c3f8cd

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

src/css/settings.scss

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,30 @@ body.js {
148148
}
149149

150150
#switch-version-btn {
151-
margin-inline-start: 8px;
152-
153151
&[disabled] {
154152
opacity: 0.6;
155153
cursor: not-allowed;
154+
background-color: #f0f0f1 !important;
155+
color: #a7aaad !important;
156+
border-color: #dcdcde !important;
157+
}
158+
}
159+
160+
// Warning box styling
161+
#version-switch-warning {
162+
margin-top: 20px !important;
163+
padding: 12px 16px;
164+
border-left: 4px solid #dba617;
165+
background: #fff8e5;
166+
border-radius: 4px;
167+
168+
p {
169+
margin: 0;
170+
color: #8f6914;
171+
172+
strong {
173+
color: #8f6914;
174+
}
156175
}
157176
}
158177

@@ -165,16 +184,6 @@ body.js {
165184
}
166185
}
167186

168-
p.description {
169-
font-style: italic;
170-
color: #d63638;
171-
background: #fcf0f1;
172-
padding: 8px 12px;
173-
border-radius: 4px;
174-
border-left: 4px solid #d63638;
175-
margin-block-start: 16px;
176-
}
177-
178187
.notice {
179188
&.notice-success {
180189
border-left-color: #00a32a;

0 commit comments

Comments
 (0)