icheck-bootstrap.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. /*!
  2. * icheck-bootstrap v3.0.1 (https://github.com/bantikyan/icheck-bootstrap)
  3. * Copyright 2018 Hovhannes Bantikyan.
  4. * Licensed under MIT (https://github.com/bantikyan/icheck-bootstrap/blob/master/LICENSE)
  5. */
  6. [class*="icheck-"] {
  7. min-height: 22px;
  8. margin-top: 6px !important;
  9. margin-bottom: 6px !important;
  10. padding-left: 0px;
  11. }
  12. .icheck-inline {
  13. display: inline-block;
  14. }
  15. .icheck-inline + .icheck-inline {
  16. margin-left: .75rem;
  17. margin-top: 6px;
  18. }
  19. [class*="icheck-"] > label {
  20. padding-left: 29px !important;
  21. min-height: 22px;
  22. line-height: 22px;
  23. display: inline-block;
  24. position: relative;
  25. vertical-align: top;
  26. margin-bottom: 0;
  27. font-weight: normal;
  28. cursor: pointer;
  29. }
  30. [class*="icheck-"] > input:first-child {
  31. position: absolute !important;
  32. opacity: 0;
  33. margin: 0;
  34. }
  35. [class*="icheck-"] > input:first-child:disabled {
  36. cursor: default;
  37. }
  38. [class*="icheck-"] > input:first-child + label::before,
  39. [class*="icheck-"] > input:first-child + input[type="hidden"] + label::before {
  40. content: "";
  41. display: inline-block;
  42. position: absolute;
  43. width: 22px;
  44. height: 22px;
  45. border: 1px solid #D3CFC8;
  46. border-radius: 0px;
  47. margin-left: -29px;
  48. }
  49. [class*="icheck-"] > input:first-child:checked + label::after,
  50. [class*="icheck-"] > input:first-child:checked + input[type="hidden"] + label::after {
  51. content: "";
  52. display: inline-block;
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. width: 7px;
  57. height: 10px;
  58. border: solid 2px #fff;
  59. border-left: none;
  60. border-top: none;
  61. transform: translate(7.75px, 4.5px) rotate(45deg);
  62. -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
  63. }
  64. [class*="icheck-"] > input[type="radio"]:first-child + label::before,
  65. [class*="icheck-"] > input[type="radio"]:first-child + input[type="hidden"] + label::before {
  66. border-radius: 50%;
  67. }
  68. [class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + label::before,
  69. [class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  70. border-width: 2px;
  71. }
  72. [class*="icheck-"] > input:first-child:disabled + label,
  73. [class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label,
  74. [class*="icheck-"] > input:first-child:disabled + label::before,
  75. [class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label::before {
  76. pointer-events: none;
  77. cursor: default;
  78. filter: alpha(opacity=65);
  79. -webkit-box-shadow: none;
  80. box-shadow: none;
  81. opacity: .65;
  82. }
  83. .icheck-default > input:first-child:not(:checked):not(:disabled):hover + label::before,
  84. .icheck-default > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  85. border-color: #adadad;
  86. }
  87. .icheck-default > input:first-child:checked + label::before,
  88. .icheck-default > input:first-child:checked + input[type="hidden"] + label::before {
  89. background-color: #e6e6e6;
  90. border-color: #adadad;
  91. }
  92. .icheck-default > input:first-child:checked + label::after,
  93. .icheck-default > input:first-child:checked + input[type="hidden"] + label::after {
  94. border-bottom-color: #333;
  95. border-right-color: #333;
  96. }
  97. .icheck-primary > input:first-child:not(:checked):not(:disabled):hover + label::before,
  98. .icheck-primary > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  99. border-color: #2e6da4;
  100. }
  101. .icheck-primary > input:first-child:checked + label::before,
  102. .icheck-primary > input:first-child:checked + input[type="hidden"] + label::before {
  103. background-color: #337ab7;
  104. border-color: #2e6da4;
  105. }
  106. .icheck-success > input:first-child:not(:checked):not(:disabled):hover + label::before,
  107. .icheck-success > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  108. border-color: #4cae4c;
  109. }
  110. .icheck-success > input:first-child:checked + label::before,
  111. .icheck-success > input:first-child:checked + input[type="hidden"] + label::before {
  112. background-color: #5cb85c;
  113. border-color: #4cae4c;
  114. }
  115. .icheck-info > input:first-child:not(:checked):not(:disabled):hover + label::before,
  116. .icheck-info > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  117. border-color: #46b8da;
  118. }
  119. .icheck-info > input:first-child:checked + label::before,
  120. .icheck-info > input:first-child:checked + input[type="hidden"] + label::before {
  121. background-color: #5bc0de;
  122. border-color: #46b8da;
  123. }
  124. .icheck-warning > input:first-child:not(:checked):not(:disabled):hover + label::before,
  125. .icheck-warning > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  126. border-color: #eea236;
  127. }
  128. .icheck-warning > input:first-child:checked + label::before,
  129. .icheck-warning > input:first-child:checked + input[type="hidden"] + label::before {
  130. background-color: #f0ad4e;
  131. border-color: #eea236;
  132. }
  133. .icheck-danger > input:first-child:not(:checked):not(:disabled):hover + label::before,
  134. .icheck-danger > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  135. border-color: #d43f3a;
  136. }
  137. .icheck-danger > input:first-child:checked + label::before,
  138. .icheck-danger > input:first-child:checked + input[type="hidden"] + label::before {
  139. background-color: #d9534f;
  140. border-color: #d43f3a;
  141. }
  142. .icheck-turquoise > input:first-child:not(:checked):not(:disabled):hover + label::before,
  143. .icheck-turquoise > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  144. border-color: #1abc9c;
  145. }
  146. .icheck-turquoise > input:first-child:checked + label::before,
  147. .icheck-turquoise > input:first-child:checked + input[type="hidden"] + label::before {
  148. background-color: #1abc9c;
  149. border-color: #1abc9c;
  150. }
  151. .icheck-emerland > input:first-child:not(:checked):not(:disabled):hover + label::before,
  152. .icheck-emerland > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  153. border-color: #2ecc71;
  154. }
  155. .icheck-emerland > input:first-child:checked + label::before,
  156. .icheck-emerland > input:first-child:checked + input[type="hidden"] + label::before {
  157. background-color: #2ecc71;
  158. border-color: #2ecc71;
  159. }
  160. .icheck-peterriver > input:first-child:not(:checked):not(:disabled):hover + label::before,
  161. .icheck-peterriver > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  162. border-color: #3498db;
  163. }
  164. .icheck-peterriver > input:first-child:checked + label::before,
  165. .icheck-peterriver > input:first-child:checked + input[type="hidden"] + label::before {
  166. background-color: #3498db;
  167. border-color: #3498db;
  168. }
  169. .icheck-amethyst > input:first-child:not(:checked):not(:disabled):hover + label::before,
  170. .icheck-amethyst > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  171. border-color: #9b59b6;
  172. }
  173. .icheck-amethyst > input:first-child:checked + label::before,
  174. .icheck-amethyst > input:first-child:checked + input[type="hidden"] + label::before {
  175. background-color: #9b59b6;
  176. border-color: #9b59b6;
  177. }
  178. .icheck-wetasphalt > input:first-child:not(:checked):not(:disabled):hover + label::before,
  179. .icheck-wetasphalt > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  180. border-color: #34495e;
  181. }
  182. .icheck-wetasphalt > input:first-child:checked + label::before,
  183. .icheck-wetasphalt > input:first-child:checked + input[type="hidden"] + label::before {
  184. background-color: #34495e;
  185. border-color: #34495e;
  186. }
  187. .icheck-greensea > input:first-child:not(:checked):not(:disabled):hover + label::before,
  188. .icheck-greensea > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  189. border-color: #16a085;
  190. }
  191. .icheck-greensea > input:first-child:checked + label::before,
  192. .icheck-greensea > input:first-child:checked + input[type="hidden"] + label::before {
  193. background-color: #16a085;
  194. border-color: #16a085;
  195. }
  196. .icheck-nephritis > input:first-child:not(:checked):not(:disabled):hover + label::before,
  197. .icheck-nephritis > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  198. border-color: #27ae60;
  199. }
  200. .icheck-nephritis > input:first-child:checked + label::before,
  201. .icheck-nephritis > input:first-child:checked + input[type="hidden"] + label::before {
  202. background-color: #27ae60;
  203. border-color: #27ae60;
  204. }
  205. .icheck-belizehole > input:first-child:not(:checked):not(:disabled):hover + label::before,
  206. .icheck-belizehole > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  207. border-color: #2980b9;
  208. }
  209. .icheck-belizehole > input:first-child:checked + label::before,
  210. .icheck-belizehole > input:first-child:checked + input[type="hidden"] + label::before {
  211. background-color: #2980b9;
  212. border-color: #2980b9;
  213. }
  214. .icheck-wisteria > input:first-child:not(:checked):not(:disabled):hover + label::before,
  215. .icheck-wisteria > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  216. border-color: #8e44ad;
  217. }
  218. .icheck-wisteria > input:first-child:checked + label::before,
  219. .icheck-wisteria > input:first-child:checked + input[type="hidden"] + label::before {
  220. background-color: #8e44ad;
  221. border-color: #8e44ad;
  222. }
  223. .icheck-midnightblue > input:first-child:not(:checked):not(:disabled):hover + label::before,
  224. .icheck-midnightblue > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  225. border-color: #2c3e50;
  226. }
  227. .icheck-midnightblue > input:first-child:checked + label::before,
  228. .icheck-midnightblue > input:first-child:checked + input[type="hidden"] + label::before {
  229. background-color: #2c3e50;
  230. border-color: #2c3e50;
  231. }
  232. .icheck-sunflower > input:first-child:not(:checked):not(:disabled):hover + label::before,
  233. .icheck-sunflower > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  234. border-color: #f1c40f;
  235. }
  236. .icheck-sunflower > input:first-child:checked + label::before,
  237. .icheck-sunflower > input:first-child:checked + input[type="hidden"] + label::before {
  238. background-color: #f1c40f;
  239. border-color: #f1c40f;
  240. }
  241. .icheck-carrot > input:first-child:not(:checked):not(:disabled):hover + label::before,
  242. .icheck-carrot > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  243. border-color: #e67e22;
  244. }
  245. .icheck-carrot > input:first-child:checked + label::before,
  246. .icheck-carrot > input:first-child:checked + input[type="hidden"] + label::before {
  247. background-color: #e67e22;
  248. border-color: #e67e22;
  249. }
  250. .icheck-alizarin > input:first-child:not(:checked):not(:disabled):hover + label::before,
  251. .icheck-alizarin > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  252. border-color: #e74c3c;
  253. }
  254. .icheck-alizarin > input:first-child:checked + label::before,
  255. .icheck-alizarin > input:first-child:checked + input[type="hidden"] + label::before {
  256. background-color: #e74c3c;
  257. border-color: #e74c3c;
  258. }
  259. .icheck-clouds > input:first-child:not(:checked):not(:disabled):hover + label::before,
  260. .icheck-clouds > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  261. border-color: #ecf0f1;
  262. }
  263. .icheck-clouds > input:first-child:checked + label::before,
  264. .icheck-clouds > input:first-child:checked + input[type="hidden"] + label::before {
  265. background-color: #ecf0f1;
  266. border-color: #ecf0f1;
  267. }
  268. .icheck-clouds > input:first-child:checked + label::after,
  269. .icheck-clouds > input:first-child:checked + input[type="hidden"] + label::after {
  270. border-bottom-color: #95a5a6;
  271. border-right-color: #95a5a6;
  272. }
  273. .icheck-concrete > input:first-child:not(:checked):not(:disabled):hover + label::before,
  274. .icheck-concrete > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  275. border-color: #95a5a6;
  276. }
  277. .icheck-concrete > input:first-child:checked + label::before,
  278. .icheck-concrete > input:first-child:checked + input[type="hidden"] + label::before {
  279. background-color: #95a5a6;
  280. border-color: #95a5a6;
  281. }
  282. .icheck-orange > input:first-child:not(:checked):not(:disabled):hover + label::before,
  283. .icheck-orange > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  284. border-color: #f39c12;
  285. }
  286. .icheck-orange > input:first-child:checked + label::before,
  287. .icheck-orange > input:first-child:checked + input[type="hidden"] + label::before {
  288. background-color: #f39c12;
  289. border-color: #f39c12;
  290. }
  291. .icheck-pumpkin > input:first-child:not(:checked):not(:disabled):hover + label::before,
  292. .icheck-pumpkin > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  293. border-color: #d35400;
  294. }
  295. .icheck-pumpkin > input:first-child:checked + label::before,
  296. .icheck-pumpkin > input:first-child:checked + input[type="hidden"] + label::before {
  297. background-color: #d35400;
  298. border-color: #d35400;
  299. }
  300. .icheck-pomegranate > input:first-child:not(:checked):not(:disabled):hover + label::before,
  301. .icheck-pomegranate > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  302. border-color: #c0392b;
  303. }
  304. .icheck-pomegranate > input:first-child:checked + label::before,
  305. .icheck-pomegranate > input:first-child:checked + input[type="hidden"] + label::before {
  306. background-color: #c0392b;
  307. border-color: #c0392b;
  308. }
  309. .icheck-silver > input:first-child:not(:checked):not(:disabled):hover + label::before,
  310. .icheck-silver > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  311. border-color: #bdc3c7;
  312. }
  313. .icheck-silver > input:first-child:checked + label::before,
  314. .icheck-silver > input:first-child:checked + input[type="hidden"] + label::before {
  315. background-color: #bdc3c7;
  316. border-color: #bdc3c7;
  317. }
  318. .icheck-asbestos > input:first-child:not(:checked):not(:disabled):hover + label::before,
  319. .icheck-asbestos > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  320. border-color: #7f8c8d;
  321. }
  322. .icheck-asbestos > input:first-child:checked + label::before,
  323. .icheck-asbestos > input:first-child:checked + input[type="hidden"] + label::before {
  324. background-color: #7f8c8d;
  325. border-color: #7f8c8d;
  326. }