Plat Admin

radio.css 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. @charset "UTF-8";
  2. /* BEM support Func
  3. -------------------------- */
  4. /* Element Chalk Variables */
  5. /* Transition
  6. -------------------------- */
  7. /* Colors
  8. -------------------------- */
  9. /* 53a8ff */
  10. /* 66b1ff */
  11. /* 79bbff */
  12. /* 8cc5ff */
  13. /* a0cfff */
  14. /* b3d8ff */
  15. /* c6e2ff */
  16. /* d9ecff */
  17. /* ecf5ff */
  18. /* Link
  19. -------------------------- */
  20. /* Background
  21. -------------------------- */
  22. /* Border
  23. -------------------------- */
  24. /* Box-shadow
  25. -------------------------- */
  26. /* Fill
  27. -------------------------- */
  28. /* Font
  29. -------------------------- */
  30. /* Size
  31. -------------------------- */
  32. /* z-index
  33. -------------------------- */
  34. /* Disable base
  35. -------------------------- */
  36. /* Icon
  37. -------------------------- */
  38. /* Checkbox
  39. -------------------------- */
  40. /* Radio
  41. -------------------------- */
  42. /* Select
  43. -------------------------- */
  44. /* Alert
  45. -------------------------- */
  46. /* Message Box
  47. -------------------------- */
  48. /* Message
  49. -------------------------- */
  50. /* Notification
  51. -------------------------- */
  52. /* Input
  53. -------------------------- */
  54. /* Cascader
  55. -------------------------- */
  56. /* Group
  57. -------------------------- */
  58. /* Tab
  59. -------------------------- */
  60. /* Button
  61. -------------------------- */
  62. /* cascader
  63. -------------------------- */
  64. /* Switch
  65. -------------------------- */
  66. /* Dialog
  67. -------------------------- */
  68. /* Table
  69. -------------------------- */
  70. /* Pagination
  71. -------------------------- */
  72. /* Popover
  73. -------------------------- */
  74. /* Tooltip
  75. -------------------------- */
  76. /* Tag
  77. -------------------------- */
  78. /* Tree
  79. -------------------------- */
  80. /* Dropdown
  81. -------------------------- */
  82. /* Badge
  83. -------------------------- */
  84. /* Card
  85. --------------------------*/
  86. /* Slider
  87. --------------------------*/
  88. /* Steps
  89. --------------------------*/
  90. /* Menu
  91. --------------------------*/
  92. /* Rate
  93. --------------------------*/
  94. /* DatePicker
  95. --------------------------*/
  96. /* Loading
  97. --------------------------*/
  98. /* Scrollbar
  99. --------------------------*/
  100. /* Carousel
  101. --------------------------*/
  102. /* Collapse
  103. --------------------------*/
  104. /* Transfer
  105. --------------------------*/
  106. /* Header
  107. --------------------------*/
  108. /* Footer
  109. --------------------------*/
  110. /* Main
  111. --------------------------*/
  112. /* Break-point
  113. --------------------------*/
  114. /* Break-points
  115. -------------------------- */
  116. /* Scrollbar
  117. -------------------------- */
  118. /* Placeholder
  119. -------------------------- */
  120. /* BEM
  121. -------------------------- */
  122. /* Element Chalk Variables */
  123. /* Transition
  124. -------------------------- */
  125. /* Colors
  126. -------------------------- */
  127. /* 53a8ff */
  128. /* 66b1ff */
  129. /* 79bbff */
  130. /* 8cc5ff */
  131. /* a0cfff */
  132. /* b3d8ff */
  133. /* c6e2ff */
  134. /* d9ecff */
  135. /* ecf5ff */
  136. /* Link
  137. -------------------------- */
  138. /* Background
  139. -------------------------- */
  140. /* Border
  141. -------------------------- */
  142. /* Box-shadow
  143. -------------------------- */
  144. /* Fill
  145. -------------------------- */
  146. /* Font
  147. -------------------------- */
  148. /* Size
  149. -------------------------- */
  150. /* z-index
  151. -------------------------- */
  152. /* Disable base
  153. -------------------------- */
  154. /* Icon
  155. -------------------------- */
  156. /* Checkbox
  157. -------------------------- */
  158. /* Radio
  159. -------------------------- */
  160. /* Select
  161. -------------------------- */
  162. /* Alert
  163. -------------------------- */
  164. /* Message Box
  165. -------------------------- */
  166. /* Message
  167. -------------------------- */
  168. /* Notification
  169. -------------------------- */
  170. /* Input
  171. -------------------------- */
  172. /* Cascader
  173. -------------------------- */
  174. /* Group
  175. -------------------------- */
  176. /* Tab
  177. -------------------------- */
  178. /* Button
  179. -------------------------- */
  180. /* cascader
  181. -------------------------- */
  182. /* Switch
  183. -------------------------- */
  184. /* Dialog
  185. -------------------------- */
  186. /* Table
  187. -------------------------- */
  188. /* Pagination
  189. -------------------------- */
  190. /* Popover
  191. -------------------------- */
  192. /* Tooltip
  193. -------------------------- */
  194. /* Tag
  195. -------------------------- */
  196. /* Tree
  197. -------------------------- */
  198. /* Dropdown
  199. -------------------------- */
  200. /* Badge
  201. -------------------------- */
  202. /* Card
  203. --------------------------*/
  204. /* Slider
  205. --------------------------*/
  206. /* Steps
  207. --------------------------*/
  208. /* Menu
  209. --------------------------*/
  210. /* Rate
  211. --------------------------*/
  212. /* DatePicker
  213. --------------------------*/
  214. /* Loading
  215. --------------------------*/
  216. /* Scrollbar
  217. --------------------------*/
  218. /* Carousel
  219. --------------------------*/
  220. /* Collapse
  221. --------------------------*/
  222. /* Transfer
  223. --------------------------*/
  224. /* Header
  225. --------------------------*/
  226. /* Footer
  227. --------------------------*/
  228. /* Main
  229. --------------------------*/
  230. /* Break-point
  231. --------------------------*/
  232. /* Element Chalk Variables */
  233. /* Transition
  234. -------------------------- */
  235. /* Colors
  236. -------------------------- */
  237. /* 53a8ff */
  238. /* 66b1ff */
  239. /* 79bbff */
  240. /* 8cc5ff */
  241. /* a0cfff */
  242. /* b3d8ff */
  243. /* c6e2ff */
  244. /* d9ecff */
  245. /* ecf5ff */
  246. /* Link
  247. -------------------------- */
  248. /* Background
  249. -------------------------- */
  250. /* Border
  251. -------------------------- */
  252. /* Box-shadow
  253. -------------------------- */
  254. /* Fill
  255. -------------------------- */
  256. /* Font
  257. -------------------------- */
  258. /* Size
  259. -------------------------- */
  260. /* z-index
  261. -------------------------- */
  262. /* Disable base
  263. -------------------------- */
  264. /* Icon
  265. -------------------------- */
  266. /* Checkbox
  267. -------------------------- */
  268. /* Radio
  269. -------------------------- */
  270. /* Select
  271. -------------------------- */
  272. /* Alert
  273. -------------------------- */
  274. /* Message Box
  275. -------------------------- */
  276. /* Message
  277. -------------------------- */
  278. /* Notification
  279. -------------------------- */
  280. /* Input
  281. -------------------------- */
  282. /* Cascader
  283. -------------------------- */
  284. /* Group
  285. -------------------------- */
  286. /* Tab
  287. -------------------------- */
  288. /* Button
  289. -------------------------- */
  290. /* cascader
  291. -------------------------- */
  292. /* Switch
  293. -------------------------- */
  294. /* Dialog
  295. -------------------------- */
  296. /* Table
  297. -------------------------- */
  298. /* Pagination
  299. -------------------------- */
  300. /* Popover
  301. -------------------------- */
  302. /* Tooltip
  303. -------------------------- */
  304. /* Tag
  305. -------------------------- */
  306. /* Tree
  307. -------------------------- */
  308. /* Dropdown
  309. -------------------------- */
  310. /* Badge
  311. -------------------------- */
  312. /* Card
  313. --------------------------*/
  314. /* Slider
  315. --------------------------*/
  316. /* Steps
  317. --------------------------*/
  318. /* Menu
  319. --------------------------*/
  320. /* Rate
  321. --------------------------*/
  322. /* DatePicker
  323. --------------------------*/
  324. /* Loading
  325. --------------------------*/
  326. /* Scrollbar
  327. --------------------------*/
  328. /* Carousel
  329. --------------------------*/
  330. /* Collapse
  331. --------------------------*/
  332. /* Transfer
  333. --------------------------*/
  334. /* Header
  335. --------------------------*/
  336. /* Footer
  337. --------------------------*/
  338. /* Main
  339. --------------------------*/
  340. /* Break-point
  341. --------------------------*/
  342. .el-radio {
  343. color: #606266;
  344. font-weight: 500;
  345. line-height: 1;
  346. position: relative;
  347. cursor: pointer;
  348. display: inline-block;
  349. white-space: nowrap;
  350. outline: none;
  351. font-size: 14px;
  352. -moz-user-select: none;
  353. -webkit-user-select: none;
  354. -ms-user-select: none; }
  355. .el-radio.is-bordered {
  356. padding: 12px 20px 0 10px;
  357. border-radius: 4px;
  358. border: 1px solid #dcdfe6;
  359. -webkit-box-sizing: border-box;
  360. box-sizing: border-box;
  361. height: 40px; }
  362. .el-radio.is-bordered.is-checked {
  363. border-color: #1b73a5; }
  364. .el-radio.is-bordered.is-disabled {
  365. cursor: not-allowed;
  366. border-color: #ebeef5; }
  367. .el-radio.is-bordered + .el-radio.is-bordered {
  368. margin-left: 10px; }
  369. .el-radio--medium.is-bordered {
  370. padding: 10px 20px 0 10px;
  371. border-radius: 4px;
  372. height: 36px; }
  373. .el-radio--medium.is-bordered .el-radio__label {
  374. font-size: 14px; }
  375. .el-radio--medium.is-bordered .el-radio__inner {
  376. height: 14px;
  377. width: 14px; }
  378. .el-radio--small.is-bordered {
  379. padding: 8px 15px 0 10px;
  380. border-radius: 3px;
  381. height: 32px; }
  382. .el-radio--small.is-bordered .el-radio__label {
  383. font-size: 12px; }
  384. .el-radio--small.is-bordered .el-radio__inner {
  385. height: 12px;
  386. width: 12px; }
  387. .el-radio--mini.is-bordered {
  388. padding: 6px 15px 0 10px;
  389. border-radius: 3px;
  390. height: 28px; }
  391. .el-radio--mini.is-bordered .el-radio__label {
  392. font-size: 12px; }
  393. .el-radio--mini.is-bordered .el-radio__inner {
  394. height: 12px;
  395. width: 12px; }
  396. .el-radio + .el-radio {
  397. margin-left: 30px; }
  398. .el-radio__input {
  399. white-space: nowrap;
  400. cursor: pointer;
  401. outline: none;
  402. display: inline-block;
  403. line-height: 1;
  404. position: relative;
  405. vertical-align: middle; }
  406. .el-radio__input.is-disabled .el-radio__inner {
  407. background-color: #f5f7fa;
  408. border-color: #e4e7ed;
  409. cursor: not-allowed; }
  410. .el-radio__input.is-disabled .el-radio__inner::after {
  411. cursor: not-allowed;
  412. background-color: #f5f7fa; }
  413. .el-radio__input.is-disabled .el-radio__inner + .el-radio__label {
  414. cursor: not-allowed; }
  415. .el-radio__input.is-disabled.is-checked .el-radio__inner {
  416. background-color: #f5f7fa;
  417. border-color: #e4e7ed; }
  418. .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  419. background-color: #c0c4cc; }
  420. .el-radio__input.is-disabled + span.el-radio__label {
  421. color: #c0c4cc;
  422. cursor: not-allowed; }
  423. .el-radio__input.is-checked .el-radio__inner {
  424. border-color: #1b73a5;
  425. background: #1b73a5; }
  426. .el-radio__input.is-checked .el-radio__inner::after {
  427. -webkit-transform: translate(-50%, -50%) scale(1);
  428. transform: translate(-50%, -50%) scale(1); }
  429. .el-radio__input.is-checked + .el-radio__label {
  430. color: #1b73a5; }
  431. .el-radio__input.is-focus .el-radio__inner {
  432. border-color: #1b73a5; }
  433. .el-radio__inner {
  434. border: 1px solid #dcdfe6;
  435. border-radius: 100%;
  436. width: 14px;
  437. height: 14px;
  438. background-color: #fff;
  439. position: relative;
  440. cursor: pointer;
  441. display: inline-block;
  442. -webkit-box-sizing: border-box;
  443. box-sizing: border-box; }
  444. .el-radio__inner:hover {
  445. border-color: #1b73a5; }
  446. .el-radio__inner::after {
  447. width: 4px;
  448. height: 4px;
  449. border-radius: 100%;
  450. background-color: #fff;
  451. content: "";
  452. position: absolute;
  453. left: 50%;
  454. top: 50%;
  455. -webkit-transform: translate(-50%, -50%) scale(0);
  456. transform: translate(-50%, -50%) scale(0);
  457. -webkit-transition: -webkit-transform .15s ease-in;
  458. transition: -webkit-transform .15s ease-in;
  459. transition: transform .15s ease-in;
  460. transition: transform .15s ease-in, -webkit-transform .15s ease-in; }
  461. .el-radio__original {
  462. opacity: 0;
  463. outline: none;
  464. position: absolute;
  465. z-index: -1;
  466. top: 0;
  467. left: 0;
  468. right: 0;
  469. bottom: 0;
  470. margin: 0; }
  471. .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) {
  472. /*获得焦点时 样式提醒*/ }
  473. .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
  474. -webkit-box-shadow: 0 0 2px 2px #1b73a5;
  475. box-shadow: 0 0 2px 2px #1b73a5; }
  476. .el-radio__label {
  477. font-size: 14px;
  478. padding-left: 10px; }