Skip to content

Commit 3d9800c

Browse files
make switch input lighter by default and longer (#1059)
1 parent e198efb commit 3d9800c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pgml-dashboard/static/css/scss/components/_forms.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
&[type=checkbox] {
3131
background-color: var(--form-switch-default);
3232
border-color: var(--form-switch-default);
33+
width: 2.5em !important;
3334

3435
&:hover {
3536
border-color: var(--form-switch-hover);

pgml-dashboard/static/css/scss/themes/dark.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
--form-check-disable-color: #{$gray-200};
3333
--form-radio-checked-bg: #{$gray-100};
3434

35-
--form-switch-default: #{$neon-tint-400};
36-
--form-switch-hover: #{$neon-tint-300};
35+
--form-switch-default: #{$neon-tint-600};
36+
--form-switch-hover: #{$neon-tint-500};
3737
--form-switch-active: #{$neon-tint-100};
3838

3939
.form-label {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy