Skip to content

Commit d2b18be

Browse files
committed
added important for print media
1 parent 402c9a9 commit d2b18be

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

dist/maps/pretty-checkbox.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pretty-checkbox.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/elements/switch/_fill.scss

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
// switch
22
.#{$pretty--class-name}.p-switch.p-fill {
3-
input:checked ~ .state {
4-
&:before {
5-
border-color: $pretty--color-dark;
6-
background-color: $pretty--color-dark !important;
3+
input:checked~.state {
4+
&:before {
5+
border-color: $pretty--color-dark;
6+
background-color: $pretty--color-dark !important;
7+
}
8+
label:before {
9+
opacity: 0;
10+
}
11+
label:after {
12+
background-color: #fff !important;
13+
left: 1em;
14+
}
715
}
8-
9-
label:before {
10-
opacity: 0;
11-
}
12-
13-
label:after {
14-
background-color: #fff;
15-
left: 1em;
16-
}
17-
}
1816
}

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