Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1cedd2d

Browse files
build latest changes
1 parent 32cb860 commit 1cedd2d

File tree

3 files changed

+15
-991
lines changed

3 files changed

+15
-991
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: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/**
2+
* pretty-checkbox.css
3+
*
4+
* A pure CSS library to beautify checkbox and radio buttons
5+
*
6+
* Source: https://github.com/lokesh-coder/pretty-checkbox
7+
* Demo: https://lokesh-coder.github.io/pretty-checkbox
8+
*
9+
* Copyright (c) 2017 Lokesh rajendran
10+
*/
11+
112
.pretty * {
213
box-sizing: border-box;
314
}
@@ -6,21 +17,6 @@
617
display: none;
718
}
819

9-
.pretty input:not([type='checkbox']):not([type='radio']) + *:after {
10-
content: "Invalid input type!";
11-
border: 1px solid #dedede;
12-
border-left: 3px solid #d9534f;
13-
padding: 9px;
14-
font-size: 1em;
15-
font-weight: 600;
16-
color: #d9534f;
17-
position: absolute;
18-
z-index: 3;
19-
background: #fbfbfb;
20-
top: 0;
21-
left: 0;
22-
}
23-
2420
.pretty {
2521
position: relative;
2622
display: inline-block;
@@ -463,7 +459,7 @@
463459
}
464460

465461
.pretty.p-switch input {
466-
width: 2em;
462+
min-width: 2em;
467463
}
468464

469465
.pretty.p-switch .state {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /