icheck-rails 0.9.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +4 -0
  3. data/README.md +96 -0
  4. data/Rakefile +38 -0
  5. data/lib/icheck-rails.rb +2 -0
  6. data/lib/icheck/rails/engine.rb +8 -0
  7. data/lib/icheck/rails/version.rb +5 -0
  8. data/test/dummy/README.rdoc +261 -0
  9. data/test/dummy/Rakefile +7 -0
  10. data/test/dummy/app/assets/javascripts/application.js +15 -0
  11. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  12. data/test/dummy/app/controllers/application_controller.rb +3 -0
  13. data/test/dummy/app/helpers/application_helper.rb +2 -0
  14. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  15. data/test/dummy/config.ru +4 -0
  16. data/test/dummy/config/application.rb +59 -0
  17. data/test/dummy/config/boot.rb +10 -0
  18. data/test/dummy/config/database.yml +25 -0
  19. data/test/dummy/config/environment.rb +5 -0
  20. data/test/dummy/config/environments/development.rb +37 -0
  21. data/test/dummy/config/environments/production.rb +67 -0
  22. data/test/dummy/config/environments/test.rb +37 -0
  23. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  24. data/test/dummy/config/initializers/inflections.rb +15 -0
  25. data/test/dummy/config/initializers/mime_types.rb +5 -0
  26. data/test/dummy/config/initializers/secret_token.rb +7 -0
  27. data/test/dummy/config/initializers/session_store.rb +8 -0
  28. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  29. data/test/dummy/config/locales/en.yml +5 -0
  30. data/test/dummy/config/routes.rb +58 -0
  31. data/test/dummy/db/development.sqlite3 +0 -0
  32. data/test/dummy/db/schema.rb +16 -0
  33. data/test/dummy/db/test.sqlite3 +0 -0
  34. data/test/dummy/log/development.log +0 -0
  35. data/test/dummy/log/test.log +0 -0
  36. data/test/dummy/public/404.html +26 -0
  37. data/test/dummy/public/422.html +26 -0
  38. data/test/dummy/public/500.html +25 -0
  39. data/test/dummy/public/favicon.ico +0 -0
  40. data/test/dummy/script/rails +6 -0
  41. data/test/dummy/tmp/cache/assets/C49/860/sprockets%2Ff95ca6fa195a121539576516050f0442 +0 -0
  42. data/test/dummy/tmp/cache/assets/C9D/6A0/sprockets%2F4e5f511955e048e988945f98fa362d50 +0 -0
  43. data/test/dummy/tmp/cache/assets/CA6/AD0/sprockets%2F54996ad04dbd12db290577520c5700a8 +0 -0
  44. data/test/dummy/tmp/cache/assets/D38/750/sprockets%2Fc329f8e2db11af756248e0ad6641af14 +0 -0
  45. data/test/dummy/tmp/cache/assets/D47/4E0/sprockets%2Fe628b0a79f40ee32cde4ee70e1671786 +0 -0
  46. data/test/dummy/tmp/cache/assets/D64/5D0/sprockets%2F3239d9cc3226b6f515f4b30fbfc46ac0 +0 -0
  47. data/test/dummy/tmp/cache/assets/DCB/2C0/sprockets%2F88aac4e21c3d3e6cfa7b82d245362def +0 -0
  48. data/test/dummy/tmp/cache/assets/E3A/2E0/sprockets%2Fd64d85294b8d3da8cfb8cdb4ce7e1fa6 +0 -0
  49. data/test/integration/icheck_deployment_test.rb +15 -0
  50. data/test/test_helper.rb +12 -0
  51. data/vendor/assets/images/icheck/flat/aero.png +0 -0
  52. data/vendor/assets/images/icheck/flat/aero@2x.png +0 -0
  53. data/vendor/assets/images/icheck/flat/blue.png +0 -0
  54. data/vendor/assets/images/icheck/flat/blue@2x.png +0 -0
  55. data/vendor/assets/images/icheck/flat/flat.png +0 -0
  56. data/vendor/assets/images/icheck/flat/flat@2x.png +0 -0
  57. data/vendor/assets/images/icheck/flat/green.png +0 -0
  58. data/vendor/assets/images/icheck/flat/green@2x.png +0 -0
  59. data/vendor/assets/images/icheck/flat/grey.png +0 -0
  60. data/vendor/assets/images/icheck/flat/grey@2x.png +0 -0
  61. data/vendor/assets/images/icheck/flat/orange.png +0 -0
  62. data/vendor/assets/images/icheck/flat/orange@2x.png +0 -0
  63. data/vendor/assets/images/icheck/flat/pink.png +0 -0
  64. data/vendor/assets/images/icheck/flat/pink@2x.png +0 -0
  65. data/vendor/assets/images/icheck/flat/purple.png +0 -0
  66. data/vendor/assets/images/icheck/flat/purple@2x.png +0 -0
  67. data/vendor/assets/images/icheck/flat/red.png +0 -0
  68. data/vendor/assets/images/icheck/flat/red@2x.png +0 -0
  69. data/vendor/assets/images/icheck/flat/yellow.png +0 -0
  70. data/vendor/assets/images/icheck/flat/yellow@2x.png +0 -0
  71. data/vendor/assets/images/icheck/futurico/futurico.png +0 -0
  72. data/vendor/assets/images/icheck/futurico/futurico@2x.png +0 -0
  73. data/vendor/assets/images/icheck/line/line.png +0 -0
  74. data/vendor/assets/images/icheck/line/line@2x.png +0 -0
  75. data/vendor/assets/images/icheck/minimal/aero.png +0 -0
  76. data/vendor/assets/images/icheck/minimal/aero@2x.png +0 -0
  77. data/vendor/assets/images/icheck/minimal/blue.png +0 -0
  78. data/vendor/assets/images/icheck/minimal/blue@2x.png +0 -0
  79. data/vendor/assets/images/icheck/minimal/green.png +0 -0
  80. data/vendor/assets/images/icheck/minimal/green@2x.png +0 -0
  81. data/vendor/assets/images/icheck/minimal/grey.png +0 -0
  82. data/vendor/assets/images/icheck/minimal/grey@2x.png +0 -0
  83. data/vendor/assets/images/icheck/minimal/minimal.png +0 -0
  84. data/vendor/assets/images/icheck/minimal/minimal@2x.png +0 -0
  85. data/vendor/assets/images/icheck/minimal/orange.png +0 -0
  86. data/vendor/assets/images/icheck/minimal/orange@2x.png +0 -0
  87. data/vendor/assets/images/icheck/minimal/pink.png +0 -0
  88. data/vendor/assets/images/icheck/minimal/pink@2x.png +0 -0
  89. data/vendor/assets/images/icheck/minimal/purple.png +0 -0
  90. data/vendor/assets/images/icheck/minimal/purple@2x.png +0 -0
  91. data/vendor/assets/images/icheck/minimal/red.png +0 -0
  92. data/vendor/assets/images/icheck/minimal/red@2x.png +0 -0
  93. data/vendor/assets/images/icheck/minimal/yellow.png +0 -0
  94. data/vendor/assets/images/icheck/minimal/yellow@2x.png +0 -0
  95. data/vendor/assets/images/icheck/polaris/polaris.png +0 -0
  96. data/vendor/assets/images/icheck/polaris/polaris@2x.png +0 -0
  97. data/vendor/assets/images/icheck/square/aero.png +0 -0
  98. data/vendor/assets/images/icheck/square/aero@2x.png +0 -0
  99. data/vendor/assets/images/icheck/square/blue.png +0 -0
  100. data/vendor/assets/images/icheck/square/blue@2x.png +0 -0
  101. data/vendor/assets/images/icheck/square/green.png +0 -0
  102. data/vendor/assets/images/icheck/square/green@2x.png +0 -0
  103. data/vendor/assets/images/icheck/square/grey.png +0 -0
  104. data/vendor/assets/images/icheck/square/grey@2x.png +0 -0
  105. data/vendor/assets/images/icheck/square/orange.png +0 -0
  106. data/vendor/assets/images/icheck/square/orange@2x.png +0 -0
  107. data/vendor/assets/images/icheck/square/pink.png +0 -0
  108. data/vendor/assets/images/icheck/square/pink@2x.png +0 -0
  109. data/vendor/assets/images/icheck/square/purple.png +0 -0
  110. data/vendor/assets/images/icheck/square/purple@2x.png +0 -0
  111. data/vendor/assets/images/icheck/square/red.png +0 -0
  112. data/vendor/assets/images/icheck/square/red@2x.png +0 -0
  113. data/vendor/assets/images/icheck/square/square.png +0 -0
  114. data/vendor/assets/images/icheck/square/square@2x.png +0 -0
  115. data/vendor/assets/images/icheck/square/yellow.png +0 -0
  116. data/vendor/assets/images/icheck/square/yellow@2x.png +0 -0
  117. data/vendor/assets/javascripts/jquery.icheck.js +397 -0
  118. data/vendor/assets/javascripts/zepto.icheck.js +402 -0
  119. data/vendor/assets/stylesheets/icheck/flat/_all.css +540 -0
  120. data/vendor/assets/stylesheets/icheck/flat/aero.css +54 -0
  121. data/vendor/assets/stylesheets/icheck/flat/blue.css +54 -0
  122. data/vendor/assets/stylesheets/icheck/flat/flat.css +54 -0
  123. data/vendor/assets/stylesheets/icheck/flat/green.css +54 -0
  124. data/vendor/assets/stylesheets/icheck/flat/grey.css +54 -0
  125. data/vendor/assets/stylesheets/icheck/flat/orange.css +54 -0
  126. data/vendor/assets/stylesheets/icheck/flat/pink.css +54 -0
  127. data/vendor/assets/stylesheets/icheck/flat/purple.css +54 -0
  128. data/vendor/assets/stylesheets/icheck/flat/red.css +54 -0
  129. data/vendor/assets/stylesheets/icheck/flat/yellow.css +54 -0
  130. data/vendor/assets/stylesheets/icheck/futurico/futurico.css +54 -0
  131. data/vendor/assets/stylesheets/icheck/line/_all.css +740 -0
  132. data/vendor/assets/stylesheets/icheck/line/aero.css +74 -0
  133. data/vendor/assets/stylesheets/icheck/line/blue.css +74 -0
  134. data/vendor/assets/stylesheets/icheck/line/green.css +74 -0
  135. data/vendor/assets/stylesheets/icheck/line/grey.css +74 -0
  136. data/vendor/assets/stylesheets/icheck/line/line.css +74 -0
  137. data/vendor/assets/stylesheets/icheck/line/orange.css +74 -0
  138. data/vendor/assets/stylesheets/icheck/line/pink.css +74 -0
  139. data/vendor/assets/stylesheets/icheck/line/purple.css +74 -0
  140. data/vendor/assets/stylesheets/icheck/line/red.css +74 -0
  141. data/vendor/assets/stylesheets/icheck/line/yellow.css +74 -0
  142. data/vendor/assets/stylesheets/icheck/minimal/_all.css +600 -0
  143. data/vendor/assets/stylesheets/icheck/minimal/aero.css +60 -0
  144. data/vendor/assets/stylesheets/icheck/minimal/blue.css +60 -0
  145. data/vendor/assets/stylesheets/icheck/minimal/green.css +60 -0
  146. data/vendor/assets/stylesheets/icheck/minimal/grey.css +60 -0
  147. data/vendor/assets/stylesheets/icheck/minimal/minimal.css +60 -0
  148. data/vendor/assets/stylesheets/icheck/minimal/orange.css +60 -0
  149. data/vendor/assets/stylesheets/icheck/minimal/pink.css +60 -0
  150. data/vendor/assets/stylesheets/icheck/minimal/purple.css +60 -0
  151. data/vendor/assets/stylesheets/icheck/minimal/red.css +60 -0
  152. data/vendor/assets/stylesheets/icheck/minimal/yellow.css +60 -0
  153. data/vendor/assets/stylesheets/icheck/polaris/polaris.css +60 -0
  154. data/vendor/assets/stylesheets/icheck/square/_all.css +600 -0
  155. data/vendor/assets/stylesheets/icheck/square/aero.css +60 -0
  156. data/vendor/assets/stylesheets/icheck/square/blue.css +60 -0
  157. data/vendor/assets/stylesheets/icheck/square/green.css +60 -0
  158. data/vendor/assets/stylesheets/icheck/square/grey.css +60 -0
  159. data/vendor/assets/stylesheets/icheck/square/orange.css +60 -0
  160. data/vendor/assets/stylesheets/icheck/square/pink.css +60 -0
  161. data/vendor/assets/stylesheets/icheck/square/purple.css +60 -0
  162. data/vendor/assets/stylesheets/icheck/square/red.css +60 -0
  163. data/vendor/assets/stylesheets/icheck/square/square.css +60 -0
  164. data/vendor/assets/stylesheets/icheck/square/yellow.css +60 -0
  165. 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
+ }