icheck-rails 0.9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +4 -0
- data/README.md +96 -0
- data/Rakefile +38 -0
- data/lib/icheck-rails.rb +2 -0
- data/lib/icheck/rails/engine.rb +8 -0
- data/lib/icheck/rails/version.rb +5 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/C49/860/sprockets%2Ff95ca6fa195a121539576516050f0442 +0 -0
- data/test/dummy/tmp/cache/assets/C9D/6A0/sprockets%2F4e5f511955e048e988945f98fa362d50 +0 -0
- data/test/dummy/tmp/cache/assets/CA6/AD0/sprockets%2F54996ad04dbd12db290577520c5700a8 +0 -0
- data/test/dummy/tmp/cache/assets/D38/750/sprockets%2Fc329f8e2db11af756248e0ad6641af14 +0 -0
- data/test/dummy/tmp/cache/assets/D47/4E0/sprockets%2Fe628b0a79f40ee32cde4ee70e1671786 +0 -0
- data/test/dummy/tmp/cache/assets/D64/5D0/sprockets%2F3239d9cc3226b6f515f4b30fbfc46ac0 +0 -0
- data/test/dummy/tmp/cache/assets/DCB/2C0/sprockets%2F88aac4e21c3d3e6cfa7b82d245362def +0 -0
- data/test/dummy/tmp/cache/assets/E3A/2E0/sprockets%2Fd64d85294b8d3da8cfb8cdb4ce7e1fa6 +0 -0
- data/test/integration/icheck_deployment_test.rb +15 -0
- data/test/test_helper.rb +12 -0
- data/vendor/assets/images/icheck/flat/aero.png +0 -0
- data/vendor/assets/images/icheck/flat/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/blue.png +0 -0
- data/vendor/assets/images/icheck/flat/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/flat.png +0 -0
- data/vendor/assets/images/icheck/flat/flat@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/green.png +0 -0
- data/vendor/assets/images/icheck/flat/green@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/grey.png +0 -0
- data/vendor/assets/images/icheck/flat/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/orange.png +0 -0
- data/vendor/assets/images/icheck/flat/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/pink.png +0 -0
- data/vendor/assets/images/icheck/flat/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/purple.png +0 -0
- data/vendor/assets/images/icheck/flat/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/red.png +0 -0
- data/vendor/assets/images/icheck/flat/red@2x.png +0 -0
- data/vendor/assets/images/icheck/flat/yellow.png +0 -0
- data/vendor/assets/images/icheck/flat/yellow@2x.png +0 -0
- data/vendor/assets/images/icheck/futurico/futurico.png +0 -0
- data/vendor/assets/images/icheck/futurico/futurico@2x.png +0 -0
- data/vendor/assets/images/icheck/line/line.png +0 -0
- data/vendor/assets/images/icheck/line/line@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/aero.png +0 -0
- data/vendor/assets/images/icheck/minimal/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/blue.png +0 -0
- data/vendor/assets/images/icheck/minimal/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/green.png +0 -0
- data/vendor/assets/images/icheck/minimal/green@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/grey.png +0 -0
- data/vendor/assets/images/icheck/minimal/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/minimal.png +0 -0
- data/vendor/assets/images/icheck/minimal/minimal@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/orange.png +0 -0
- data/vendor/assets/images/icheck/minimal/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/pink.png +0 -0
- data/vendor/assets/images/icheck/minimal/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/purple.png +0 -0
- data/vendor/assets/images/icheck/minimal/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/red.png +0 -0
- data/vendor/assets/images/icheck/minimal/red@2x.png +0 -0
- data/vendor/assets/images/icheck/minimal/yellow.png +0 -0
- data/vendor/assets/images/icheck/minimal/yellow@2x.png +0 -0
- data/vendor/assets/images/icheck/polaris/polaris.png +0 -0
- data/vendor/assets/images/icheck/polaris/polaris@2x.png +0 -0
- data/vendor/assets/images/icheck/square/aero.png +0 -0
- data/vendor/assets/images/icheck/square/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/square/blue.png +0 -0
- data/vendor/assets/images/icheck/square/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/square/green.png +0 -0
- data/vendor/assets/images/icheck/square/green@2x.png +0 -0
- data/vendor/assets/images/icheck/square/grey.png +0 -0
- data/vendor/assets/images/icheck/square/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/square/orange.png +0 -0
- data/vendor/assets/images/icheck/square/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/square/pink.png +0 -0
- data/vendor/assets/images/icheck/square/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/square/purple.png +0 -0
- data/vendor/assets/images/icheck/square/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/square/red.png +0 -0
- data/vendor/assets/images/icheck/square/red@2x.png +0 -0
- data/vendor/assets/images/icheck/square/square.png +0 -0
- data/vendor/assets/images/icheck/square/square@2x.png +0 -0
- data/vendor/assets/images/icheck/square/yellow.png +0 -0
- data/vendor/assets/images/icheck/square/yellow@2x.png +0 -0
- data/vendor/assets/javascripts/jquery.icheck.js +397 -0
- data/vendor/assets/javascripts/zepto.icheck.js +402 -0
- data/vendor/assets/stylesheets/icheck/flat/_all.css +540 -0
- data/vendor/assets/stylesheets/icheck/flat/aero.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/blue.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/flat.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/green.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/grey.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/orange.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/pink.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/purple.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/red.css +54 -0
- data/vendor/assets/stylesheets/icheck/flat/yellow.css +54 -0
- data/vendor/assets/stylesheets/icheck/futurico/futurico.css +54 -0
- data/vendor/assets/stylesheets/icheck/line/_all.css +740 -0
- data/vendor/assets/stylesheets/icheck/line/aero.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/blue.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/green.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/grey.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/line.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/orange.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/pink.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/purple.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/red.css +74 -0
- data/vendor/assets/stylesheets/icheck/line/yellow.css +74 -0
- data/vendor/assets/stylesheets/icheck/minimal/_all.css +600 -0
- data/vendor/assets/stylesheets/icheck/minimal/aero.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/blue.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/green.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/grey.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/minimal.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/orange.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/pink.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/purple.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/red.css +60 -0
- data/vendor/assets/stylesheets/icheck/minimal/yellow.css +60 -0
- data/vendor/assets/stylesheets/icheck/polaris/polaris.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/_all.css +600 -0
- data/vendor/assets/stylesheets/icheck/square/aero.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/blue.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/green.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/grey.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/orange.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/pink.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/purple.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/red.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/square.css +60 -0
- data/vendor/assets/stylesheets/icheck/square/yellow.css +60 -0
- metadata +319 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, aero
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line-aero,
|
4
|
+
.iradio_line-aero {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #9cc2cb;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line-aero .icheck_line-icon,
|
20
|
+
.iradio_line-aero .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line-aero.hover,
|
33
|
+
.icheckbox_line-aero.checked.hover,
|
34
|
+
.iradio_line-aero.hover {
|
35
|
+
background: #B5D1D8;
|
36
|
+
}
|
37
|
+
.icheckbox_line-aero.checked,
|
38
|
+
.iradio_line-aero.checked {
|
39
|
+
background: #9cc2cb;
|
40
|
+
}
|
41
|
+
.icheckbox_line-aero.checked .icheck_line-icon,
|
42
|
+
.iradio_line-aero.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line-aero.disabled,
|
46
|
+
.iradio_line-aero.disabled {
|
47
|
+
background: #D2E4E8;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line-aero.disabled .icheck_line-icon,
|
51
|
+
.iradio_line-aero.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line-aero.checked.disabled,
|
55
|
+
.iradio_line-aero.checked.disabled {
|
56
|
+
background: #D2E4E8;
|
57
|
+
}
|
58
|
+
.icheckbox_line-aero.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line-aero.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line-aero .icheck_line-icon,
|
69
|
+
.iradio_line-aero .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, blue
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line-blue,
|
4
|
+
.iradio_line-blue {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #2489c5;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line-blue .icheck_line-icon,
|
20
|
+
.iradio_line-blue .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line-blue.hover,
|
33
|
+
.icheckbox_line-blue.checked.hover,
|
34
|
+
.iradio_line-blue.hover {
|
35
|
+
background: #3DA0DB;
|
36
|
+
}
|
37
|
+
.icheckbox_line-blue.checked,
|
38
|
+
.iradio_line-blue.checked {
|
39
|
+
background: #2489c5;
|
40
|
+
}
|
41
|
+
.icheckbox_line-blue.checked .icheck_line-icon,
|
42
|
+
.iradio_line-blue.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line-blue.disabled,
|
46
|
+
.iradio_line-blue.disabled {
|
47
|
+
background: #ADD7F0;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line-blue.disabled .icheck_line-icon,
|
51
|
+
.iradio_line-blue.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line-blue.checked.disabled,
|
55
|
+
.iradio_line-blue.checked.disabled {
|
56
|
+
background: #ADD7F0;
|
57
|
+
}
|
58
|
+
.icheckbox_line-blue.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line-blue.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line-blue .icheck_line-icon,
|
69
|
+
.iradio_line-blue .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, green
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line-green,
|
4
|
+
.iradio_line-green {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #1b7e5a;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line-green .icheck_line-icon,
|
20
|
+
.iradio_line-green .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line-green.hover,
|
33
|
+
.icheckbox_line-green.checked.hover,
|
34
|
+
.iradio_line-green.hover {
|
35
|
+
background: #24AA7A;
|
36
|
+
}
|
37
|
+
.icheckbox_line-green.checked,
|
38
|
+
.iradio_line-green.checked {
|
39
|
+
background: #1b7e5a;
|
40
|
+
}
|
41
|
+
.icheckbox_line-green.checked .icheck_line-icon,
|
42
|
+
.iradio_line-green.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line-green.disabled,
|
46
|
+
.iradio_line-green.disabled {
|
47
|
+
background: #89E6C4;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line-green.disabled .icheck_line-icon,
|
51
|
+
.iradio_line-green.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line-green.checked.disabled,
|
55
|
+
.iradio_line-green.checked.disabled {
|
56
|
+
background: #89E6C4;
|
57
|
+
}
|
58
|
+
.icheckbox_line-green.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line-green.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line-green .icheck_line-icon,
|
69
|
+
.iradio_line-green .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, grey
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line-grey,
|
4
|
+
.iradio_line-grey {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #73716e;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line-grey .icheck_line-icon,
|
20
|
+
.iradio_line-grey .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line-grey.hover,
|
33
|
+
.icheckbox_line-grey.checked.hover,
|
34
|
+
.iradio_line-grey.hover {
|
35
|
+
background: #8B8986;
|
36
|
+
}
|
37
|
+
.icheckbox_line-grey.checked,
|
38
|
+
.iradio_line-grey.checked {
|
39
|
+
background: #73716e;
|
40
|
+
}
|
41
|
+
.icheckbox_line-grey.checked .icheck_line-icon,
|
42
|
+
.iradio_line-grey.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line-grey.disabled,
|
46
|
+
.iradio_line-grey.disabled {
|
47
|
+
background: #D5D4D3;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line-grey.disabled .icheck_line-icon,
|
51
|
+
.iradio_line-grey.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line-grey.checked.disabled,
|
55
|
+
.iradio_line-grey.checked.disabled {
|
56
|
+
background: #D5D4D3;
|
57
|
+
}
|
58
|
+
.icheckbox_line-grey.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line-grey.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line-grey .icheck_line-icon,
|
69
|
+
.iradio_line-grey .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, black
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line,
|
4
|
+
.iradio_line {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #000;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line .icheck_line-icon,
|
20
|
+
.iradio_line .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line.hover,
|
33
|
+
.icheckbox_line.checked.hover,
|
34
|
+
.iradio_line.hover {
|
35
|
+
background: #444;
|
36
|
+
}
|
37
|
+
.icheckbox_line.checked,
|
38
|
+
.iradio_line.checked {
|
39
|
+
background: #000;
|
40
|
+
}
|
41
|
+
.icheckbox_line.checked .icheck_line-icon,
|
42
|
+
.iradio_line.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line.disabled,
|
46
|
+
.iradio_line.disabled {
|
47
|
+
background: #ccc;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line.disabled .icheck_line-icon,
|
51
|
+
.iradio_line.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line.checked.disabled,
|
55
|
+
.iradio_line.checked.disabled {
|
56
|
+
background: #ccc;
|
57
|
+
}
|
58
|
+
.icheckbox_line.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line .icheck_line-icon,
|
69
|
+
.iradio_line .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* iCheck plugin Line skin, orange
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_line-orange,
|
4
|
+
.iradio_line-orange {
|
5
|
+
position: relative;
|
6
|
+
display: block;
|
7
|
+
margin: 0;
|
8
|
+
padding: 5px 15px 5px 38px;
|
9
|
+
font-size: 13px;
|
10
|
+
line-height: 17px;
|
11
|
+
color: #fff;
|
12
|
+
background: #f70;
|
13
|
+
border: none;
|
14
|
+
-webkit-border-radius: 3px;
|
15
|
+
-moz-border-radius: 3px;
|
16
|
+
border-radius: 3px;
|
17
|
+
cursor: pointer;
|
18
|
+
}
|
19
|
+
.icheckbox_line-orange .icheck_line-icon,
|
20
|
+
.iradio_line-orange .icheck_line-icon {
|
21
|
+
position: absolute;
|
22
|
+
top: 50%;
|
23
|
+
left: 13px;
|
24
|
+
width: 13px;
|
25
|
+
height: 11px;
|
26
|
+
margin: -5px 0 0 0;
|
27
|
+
padding: 0;
|
28
|
+
overflow: hidden;
|
29
|
+
background: url(/assets/icheck/line/line.png) no-repeat;
|
30
|
+
border: none;
|
31
|
+
}
|
32
|
+
.icheckbox_line-orange.hover,
|
33
|
+
.icheckbox_line-orange.checked.hover,
|
34
|
+
.iradio_line-orange.hover {
|
35
|
+
background: #FF9233;
|
36
|
+
}
|
37
|
+
.icheckbox_line-orange.checked,
|
38
|
+
.iradio_line-orange.checked {
|
39
|
+
background: #f70;
|
40
|
+
}
|
41
|
+
.icheckbox_line-orange.checked .icheck_line-icon,
|
42
|
+
.iradio_line-orange.checked .icheck_line-icon {
|
43
|
+
background-position: -15px 0;
|
44
|
+
}
|
45
|
+
.icheckbox_line-orange.disabled,
|
46
|
+
.iradio_line-orange.disabled {
|
47
|
+
background: #FFD6B3;
|
48
|
+
cursor: default;
|
49
|
+
}
|
50
|
+
.icheckbox_line-orange.disabled .icheck_line-icon,
|
51
|
+
.iradio_line-orange.disabled .icheck_line-icon {
|
52
|
+
background-position: -30px 0;
|
53
|
+
}
|
54
|
+
.icheckbox_line-orange.checked.disabled,
|
55
|
+
.iradio_line-orange.checked.disabled {
|
56
|
+
background: #FFD6B3;
|
57
|
+
}
|
58
|
+
.icheckbox_line-orange.checked.disabled .icheck_line-icon,
|
59
|
+
.iradio_line-orange.checked.disabled .icheck_line-icon {
|
60
|
+
background-position: -45px 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Retina support */
|
64
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
65
|
+
only screen and (-moz-min-device-pixel-ratio: 1.5),
|
66
|
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
67
|
+
only screen and (min-device-pixel-ratio: 1.5) {
|
68
|
+
.icheckbox_line-orange .icheck_line-icon,
|
69
|
+
.iradio_line-orange .icheck_line-icon {
|
70
|
+
background-image: url(/assets/icheck/line/line@2x.png);
|
71
|
+
-webkit-background-size: 60px 13px;
|
72
|
+
background-size: 60px 13px;
|
73
|
+
}
|
74
|
+
}
|