button.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. /* Element Chalk Variables */
  2. /* Transition
  3. -------------------------- */
  4. /* Color
  5. -------------------------- */
  6. /* 53a8ff */
  7. /* 66b1ff */
  8. /* 79bbff */
  9. /* 8cc5ff */
  10. /* a0cfff */
  11. /* b3d8ff */
  12. /* c6e2ff */
  13. /* d9ecff */
  14. /* ecf5ff */
  15. /* Link
  16. -------------------------- */
  17. /* Border
  18. -------------------------- */
  19. /* Fill
  20. -------------------------- */
  21. /* Typography
  22. -------------------------- */
  23. /* Size
  24. -------------------------- */
  25. /* z-index
  26. -------------------------- */
  27. /* Disable base
  28. -------------------------- */
  29. /* Icon
  30. -------------------------- */
  31. /* Checkbox
  32. -------------------------- */
  33. /* Radio
  34. -------------------------- */
  35. /* Select
  36. -------------------------- */
  37. /* Alert
  38. -------------------------- */
  39. /* MessageBox
  40. -------------------------- */
  41. /* Message
  42. -------------------------- */
  43. /* Notification
  44. -------------------------- */
  45. /* Input
  46. -------------------------- */
  47. /* Cascader
  48. -------------------------- */
  49. /* Group
  50. -------------------------- */
  51. /* Tab
  52. -------------------------- */
  53. /* Button
  54. -------------------------- */
  55. /* cascader
  56. -------------------------- */
  57. /* Switch
  58. -------------------------- */
  59. /* Dialog
  60. -------------------------- */
  61. /* Table
  62. -------------------------- */
  63. /* Pagination
  64. -------------------------- */
  65. /* Popup
  66. -------------------------- */
  67. /* Popover
  68. -------------------------- */
  69. /* Tooltip
  70. -------------------------- */
  71. /* Tag
  72. -------------------------- */
  73. /* Tree
  74. -------------------------- */
  75. /* Dropdown
  76. -------------------------- */
  77. /* Badge
  78. -------------------------- */
  79. /* Card
  80. --------------------------*/
  81. /* Slider
  82. --------------------------*/
  83. /* Steps
  84. --------------------------*/
  85. /* Menu
  86. --------------------------*/
  87. /* Rate
  88. --------------------------*/
  89. /* DatePicker
  90. --------------------------*/
  91. /* Loading
  92. --------------------------*/
  93. /* Scrollbar
  94. --------------------------*/
  95. /* Carousel
  96. --------------------------*/
  97. /* Collapse
  98. --------------------------*/
  99. /* Transfer
  100. --------------------------*/
  101. /* Header
  102. --------------------------*/
  103. /* Footer
  104. --------------------------*/
  105. /* Main
  106. --------------------------*/
  107. /* Timeline
  108. --------------------------*/
  109. /* Backtop
  110. --------------------------*/
  111. /* Link
  112. --------------------------*/
  113. /* Calendar
  114. --------------------------*/
  115. /* Form
  116. -------------------------- */
  117. /* Avatar
  118. --------------------------*/
  119. /* Break-point
  120. --------------------------*/
  121. /* Element Chalk Variables */
  122. /* Transition
  123. -------------------------- */
  124. /* Color
  125. -------------------------- */
  126. /* 53a8ff */
  127. /* 66b1ff */
  128. /* 79bbff */
  129. /* 8cc5ff */
  130. /* a0cfff */
  131. /* b3d8ff */
  132. /* c6e2ff */
  133. /* d9ecff */
  134. /* ecf5ff */
  135. /* Link
  136. -------------------------- */
  137. /* Border
  138. -------------------------- */
  139. /* Fill
  140. -------------------------- */
  141. /* Typography
  142. -------------------------- */
  143. /* Size
  144. -------------------------- */
  145. /* z-index
  146. -------------------------- */
  147. /* Disable base
  148. -------------------------- */
  149. /* Icon
  150. -------------------------- */
  151. /* Checkbox
  152. -------------------------- */
  153. /* Radio
  154. -------------------------- */
  155. /* Select
  156. -------------------------- */
  157. /* Alert
  158. -------------------------- */
  159. /* MessageBox
  160. -------------------------- */
  161. /* Message
  162. -------------------------- */
  163. /* Notification
  164. -------------------------- */
  165. /* Input
  166. -------------------------- */
  167. /* Cascader
  168. -------------------------- */
  169. /* Group
  170. -------------------------- */
  171. /* Tab
  172. -------------------------- */
  173. /* Button
  174. -------------------------- */
  175. /* cascader
  176. -------------------------- */
  177. /* Switch
  178. -------------------------- */
  179. /* Dialog
  180. -------------------------- */
  181. /* Table
  182. -------------------------- */
  183. /* Pagination
  184. -------------------------- */
  185. /* Popup
  186. -------------------------- */
  187. /* Popover
  188. -------------------------- */
  189. /* Tooltip
  190. -------------------------- */
  191. /* Tag
  192. -------------------------- */
  193. /* Tree
  194. -------------------------- */
  195. /* Dropdown
  196. -------------------------- */
  197. /* Badge
  198. -------------------------- */
  199. /* Card
  200. --------------------------*/
  201. /* Slider
  202. --------------------------*/
  203. /* Steps
  204. --------------------------*/
  205. /* Menu
  206. --------------------------*/
  207. /* Rate
  208. --------------------------*/
  209. /* DatePicker
  210. --------------------------*/
  211. /* Loading
  212. --------------------------*/
  213. /* Scrollbar
  214. --------------------------*/
  215. /* Carousel
  216. --------------------------*/
  217. /* Collapse
  218. --------------------------*/
  219. /* Transfer
  220. --------------------------*/
  221. /* Header
  222. --------------------------*/
  223. /* Footer
  224. --------------------------*/
  225. /* Main
  226. --------------------------*/
  227. /* Timeline
  228. --------------------------*/
  229. /* Backtop
  230. --------------------------*/
  231. /* Link
  232. --------------------------*/
  233. /* Calendar
  234. --------------------------*/
  235. /* Form
  236. -------------------------- */
  237. /* Avatar
  238. --------------------------*/
  239. /* Break-point
  240. --------------------------*/
  241. /* BEM support Func
  242. -------------------------- */
  243. /* Element Chalk Variables */
  244. /* Transition
  245. -------------------------- */
  246. /* Color
  247. -------------------------- */
  248. /* 53a8ff */
  249. /* 66b1ff */
  250. /* 79bbff */
  251. /* 8cc5ff */
  252. /* a0cfff */
  253. /* b3d8ff */
  254. /* c6e2ff */
  255. /* d9ecff */
  256. /* ecf5ff */
  257. /* Link
  258. -------------------------- */
  259. /* Border
  260. -------------------------- */
  261. /* Fill
  262. -------------------------- */
  263. /* Typography
  264. -------------------------- */
  265. /* Size
  266. -------------------------- */
  267. /* z-index
  268. -------------------------- */
  269. /* Disable base
  270. -------------------------- */
  271. /* Icon
  272. -------------------------- */
  273. /* Checkbox
  274. -------------------------- */
  275. /* Radio
  276. -------------------------- */
  277. /* Select
  278. -------------------------- */
  279. /* Alert
  280. -------------------------- */
  281. /* MessageBox
  282. -------------------------- */
  283. /* Message
  284. -------------------------- */
  285. /* Notification
  286. -------------------------- */
  287. /* Input
  288. -------------------------- */
  289. /* Cascader
  290. -------------------------- */
  291. /* Group
  292. -------------------------- */
  293. /* Tab
  294. -------------------------- */
  295. /* Button
  296. -------------------------- */
  297. /* cascader
  298. -------------------------- */
  299. /* Switch
  300. -------------------------- */
  301. /* Dialog
  302. -------------------------- */
  303. /* Table
  304. -------------------------- */
  305. /* Pagination
  306. -------------------------- */
  307. /* Popup
  308. -------------------------- */
  309. /* Popover
  310. -------------------------- */
  311. /* Tooltip
  312. -------------------------- */
  313. /* Tag
  314. -------------------------- */
  315. /* Tree
  316. -------------------------- */
  317. /* Dropdown
  318. -------------------------- */
  319. /* Badge
  320. -------------------------- */
  321. /* Card
  322. --------------------------*/
  323. /* Slider
  324. --------------------------*/
  325. /* Steps
  326. --------------------------*/
  327. /* Menu
  328. --------------------------*/
  329. /* Rate
  330. --------------------------*/
  331. /* DatePicker
  332. --------------------------*/
  333. /* Loading
  334. --------------------------*/
  335. /* Scrollbar
  336. --------------------------*/
  337. /* Carousel
  338. --------------------------*/
  339. /* Collapse
  340. --------------------------*/
  341. /* Transfer
  342. --------------------------*/
  343. /* Header
  344. --------------------------*/
  345. /* Footer
  346. --------------------------*/
  347. /* Main
  348. --------------------------*/
  349. /* Timeline
  350. --------------------------*/
  351. /* Backtop
  352. --------------------------*/
  353. /* Link
  354. --------------------------*/
  355. /* Calendar
  356. --------------------------*/
  357. /* Form
  358. -------------------------- */
  359. /* Avatar
  360. --------------------------*/
  361. /* Break-point
  362. --------------------------*/
  363. /* Break-points
  364. -------------------------- */
  365. /* Scrollbar
  366. -------------------------- */
  367. /* Placeholder
  368. -------------------------- */
  369. /* BEM
  370. -------------------------- */
  371. .el-button {
  372. display: inline-block;
  373. line-height: 1;
  374. white-space: nowrap;
  375. cursor: pointer;
  376. background: #FFFFFF;
  377. border: 1px solid #DCDFE6;
  378. border-color: #DCDFE6;
  379. color: #606266;
  380. -webkit-appearance: none;
  381. text-align: center;
  382. -webkit-box-sizing: border-box;
  383. box-sizing: border-box;
  384. outline: none;
  385. margin: 0;
  386. -webkit-transition: .1s;
  387. transition: .1s;
  388. font-weight: 500;
  389. -moz-user-select: none;
  390. -webkit-user-select: none;
  391. -ms-user-select: none;
  392. padding: 12px 20px;
  393. font-size: 14px;
  394. border-radius: 4px; }
  395. .el-button + .el-button {
  396. margin-left: 10px; }
  397. .el-button.is-round {
  398. padding: 12px 20px; }
  399. .el-button:hover, .el-button:focus {
  400. color: #2D74E7;
  401. border-color: #c0d5f8;
  402. background-color: #eaf1fd; }
  403. .el-button:active {
  404. color: #2968d0;
  405. border-color: #2968d0;
  406. outline: none; }
  407. .el-button::-moz-focus-inner {
  408. border: 0; }
  409. .el-button [class*="el-icon-"] + span {
  410. margin-left: 5px; }
  411. .el-button.is-plain:hover, .el-button.is-plain:focus {
  412. background: #FFFFFF;
  413. border-color: #2D74E7;
  414. color: #2D74E7; }
  415. .el-button.is-plain:active {
  416. background: #FFFFFF;
  417. border-color: #2968d0;
  418. color: #2968d0;
  419. outline: none; }
  420. .el-button.is-active {
  421. color: #2968d0;
  422. border-color: #2968d0; }
  423. .el-button.is-disabled, .el-button.is-disabled:hover, .el-button.is-disabled:focus {
  424. color: #C0C4CC;
  425. cursor: not-allowed;
  426. background-image: none;
  427. background-color: #FFFFFF;
  428. border-color: #EBEEF5; }
  429. .el-button.is-disabled.el-button--text {
  430. background-color: transparent; }
  431. .el-button.is-disabled.is-plain, .el-button.is-disabled.is-plain:hover, .el-button.is-disabled.is-plain:focus {
  432. background-color: #FFFFFF;
  433. border-color: #EBEEF5;
  434. color: #C0C4CC; }
  435. .el-button.is-loading {
  436. position: relative;
  437. pointer-events: none; }
  438. .el-button.is-loading:before {
  439. pointer-events: none;
  440. content: '';
  441. position: absolute;
  442. left: -1px;
  443. top: -1px;
  444. right: -1px;
  445. bottom: -1px;
  446. border-radius: inherit;
  447. background-color: rgba(255, 255, 255, 0.35); }
  448. .el-button.is-round {
  449. border-radius: 20px;
  450. padding: 12px 23px; }
  451. .el-button.is-circle {
  452. border-radius: 50%;
  453. padding: 12px; }
  454. .el-button--primary {
  455. color: #FFFFFF;
  456. background-color: #2D74E7;
  457. border-color: #2D74E7; }
  458. .el-button--primary:hover, .el-button--primary:focus {
  459. background: #5790ec;
  460. border-color: #5790ec;
  461. color: #FFFFFF; }
  462. .el-button--primary:active {
  463. background: #2968d0;
  464. border-color: #2968d0;
  465. color: #FFFFFF;
  466. outline: none; }
  467. .el-button--primary.is-active {
  468. background: #2968d0;
  469. border-color: #2968d0;
  470. color: #FFFFFF; }
  471. .el-button--primary.is-disabled, .el-button--primary.is-disabled:hover, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:active {
  472. color: #FFFFFF;
  473. background-color: #96baf3;
  474. border-color: #96baf3; }
  475. .el-button--primary.is-plain {
  476. color: #2D74E7;
  477. background: #eaf1fd;
  478. border-color: #abc7f5; }
  479. .el-button--primary.is-plain:hover, .el-button--primary.is-plain:focus {
  480. background: #2D74E7;
  481. border-color: #2D74E7;
  482. color: #FFFFFF; }
  483. .el-button--primary.is-plain:active {
  484. background: #2968d0;
  485. border-color: #2968d0;
  486. color: #FFFFFF;
  487. outline: none; }
  488. .el-button--primary.is-plain.is-disabled, .el-button--primary.is-plain.is-disabled:hover, .el-button--primary.is-plain.is-disabled:focus, .el-button--primary.is-plain.is-disabled:active {
  489. color: #81acf1;
  490. background-color: #eaf1fd;
  491. border-color: #d5e3fa; }
  492. .el-button--success {
  493. color: #FFFFFF;
  494. background-color: #67C23A;
  495. border-color: #67C23A; }
  496. .el-button--success:hover, .el-button--success:focus {
  497. background: #85ce61;
  498. border-color: #85ce61;
  499. color: #FFFFFF; }
  500. .el-button--success:active {
  501. background: #5daf34;
  502. border-color: #5daf34;
  503. color: #FFFFFF;
  504. outline: none; }
  505. .el-button--success.is-active {
  506. background: #5daf34;
  507. border-color: #5daf34;
  508. color: #FFFFFF; }
  509. .el-button--success.is-disabled, .el-button--success.is-disabled:hover, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:active {
  510. color: #FFFFFF;
  511. background-color: #b3e19d;
  512. border-color: #b3e19d; }
  513. .el-button--success.is-plain {
  514. color: #67C23A;
  515. background: #f0f9eb;
  516. border-color: #c2e7b0; }
  517. .el-button--success.is-plain:hover, .el-button--success.is-plain:focus {
  518. background: #67C23A;
  519. border-color: #67C23A;
  520. color: #FFFFFF; }
  521. .el-button--success.is-plain:active {
  522. background: #5daf34;
  523. border-color: #5daf34;
  524. color: #FFFFFF;
  525. outline: none; }
  526. .el-button--success.is-plain.is-disabled, .el-button--success.is-plain.is-disabled:hover, .el-button--success.is-plain.is-disabled:focus, .el-button--success.is-plain.is-disabled:active {
  527. color: #a4da89;
  528. background-color: #f0f9eb;
  529. border-color: #e1f3d8; }
  530. .el-button--warning {
  531. color: #FFFFFF;
  532. background-color: #E6A23C;
  533. border-color: #E6A23C; }
  534. .el-button--warning:hover, .el-button--warning:focus {
  535. background: #ebb563;
  536. border-color: #ebb563;
  537. color: #FFFFFF; }
  538. .el-button--warning:active {
  539. background: #cf9236;
  540. border-color: #cf9236;
  541. color: #FFFFFF;
  542. outline: none; }
  543. .el-button--warning.is-active {
  544. background: #cf9236;
  545. border-color: #cf9236;
  546. color: #FFFFFF; }
  547. .el-button--warning.is-disabled, .el-button--warning.is-disabled:hover, .el-button--warning.is-disabled:focus, .el-button--warning.is-disabled:active {
  548. color: #FFFFFF;
  549. background-color: #f3d19e;
  550. border-color: #f3d19e; }
  551. .el-button--warning.is-plain {
  552. color: #E6A23C;
  553. background: #fdf6ec;
  554. border-color: #f5dab1; }
  555. .el-button--warning.is-plain:hover, .el-button--warning.is-plain:focus {
  556. background: #E6A23C;
  557. border-color: #E6A23C;
  558. color: #FFFFFF; }
  559. .el-button--warning.is-plain:active {
  560. background: #cf9236;
  561. border-color: #cf9236;
  562. color: #FFFFFF;
  563. outline: none; }
  564. .el-button--warning.is-plain.is-disabled, .el-button--warning.is-plain.is-disabled:hover, .el-button--warning.is-plain.is-disabled:focus, .el-button--warning.is-plain.is-disabled:active {
  565. color: #f0c78a;
  566. background-color: #fdf6ec;
  567. border-color: #faecd8; }
  568. .el-button--danger {
  569. color: #FFFFFF;
  570. background-color: #e7304e;
  571. border-color: #e7304e; }
  572. .el-button--danger:hover, .el-button--danger:focus {
  573. background: #ec5971;
  574. border-color: #ec5971;
  575. color: #FFFFFF; }
  576. .el-button--danger:active {
  577. background: #d02b46;
  578. border-color: #d02b46;
  579. color: #FFFFFF;
  580. outline: none; }
  581. .el-button--danger.is-active {
  582. background: #d02b46;
  583. border-color: #d02b46;
  584. color: #FFFFFF; }
  585. .el-button--danger.is-disabled, .el-button--danger.is-disabled:hover, .el-button--danger.is-disabled:focus, .el-button--danger.is-disabled:active {
  586. color: #FFFFFF;
  587. background-color: #f398a7;
  588. border-color: #f398a7; }
  589. .el-button--danger.is-plain {
  590. color: #e7304e;
  591. background: #fdeaed;
  592. border-color: #f5acb8; }
  593. .el-button--danger.is-plain:hover, .el-button--danger.is-plain:focus {
  594. background: #e7304e;
  595. border-color: #e7304e;
  596. color: #FFFFFF; }
  597. .el-button--danger.is-plain:active {
  598. background: #d02b46;
  599. border-color: #d02b46;
  600. color: #FFFFFF;
  601. outline: none; }
  602. .el-button--danger.is-plain.is-disabled, .el-button--danger.is-plain.is-disabled:hover, .el-button--danger.is-plain.is-disabled:focus, .el-button--danger.is-plain.is-disabled:active {
  603. color: #f18395;
  604. background-color: #fdeaed;
  605. border-color: #fad6dc; }
  606. .el-button--info {
  607. color: #FFFFFF;
  608. background-color: #909399;
  609. border-color: #909399; }
  610. .el-button--info:hover, .el-button--info:focus {
  611. background: #a6a9ad;
  612. border-color: #a6a9ad;
  613. color: #FFFFFF; }
  614. .el-button--info:active {
  615. background: #82848a;
  616. border-color: #82848a;
  617. color: #FFFFFF;
  618. outline: none; }
  619. .el-button--info.is-active {
  620. background: #82848a;
  621. border-color: #82848a;
  622. color: #FFFFFF; }
  623. .el-button--info.is-disabled, .el-button--info.is-disabled:hover, .el-button--info.is-disabled:focus, .el-button--info.is-disabled:active {
  624. color: #FFFFFF;
  625. background-color: #c8c9cc;
  626. border-color: #c8c9cc; }
  627. .el-button--info.is-plain {
  628. color: #909399;
  629. background: #f4f4f5;
  630. border-color: #d3d4d6; }
  631. .el-button--info.is-plain:hover, .el-button--info.is-plain:focus {
  632. background: #909399;
  633. border-color: #909399;
  634. color: #FFFFFF; }
  635. .el-button--info.is-plain:active {
  636. background: #82848a;
  637. border-color: #82848a;
  638. color: #FFFFFF;
  639. outline: none; }
  640. .el-button--info.is-plain.is-disabled, .el-button--info.is-plain.is-disabled:hover, .el-button--info.is-plain.is-disabled:focus, .el-button--info.is-plain.is-disabled:active {
  641. color: #bcbec2;
  642. background-color: #f4f4f5;
  643. border-color: #e9e9eb; }
  644. .el-button--medium {
  645. padding: 10px 20px;
  646. font-size: 14px;
  647. border-radius: 4px; }
  648. .el-button--medium.is-round {
  649. padding: 10px 20px; }
  650. .el-button--medium.is-circle {
  651. padding: 10px; }
  652. .el-button--small {
  653. padding: 9px 15px;
  654. font-size: 12px;
  655. border-radius: 3px; }
  656. .el-button--small.is-round {
  657. padding: 9px 15px; }
  658. .el-button--small.is-circle {
  659. padding: 9px; }
  660. .el-button--mini {
  661. padding: 7px 15px;
  662. font-size: 12px;
  663. border-radius: 3px; }
  664. .el-button--mini.is-round {
  665. padding: 7px 15px; }
  666. .el-button--mini.is-circle {
  667. padding: 7px; }
  668. .el-button--text {
  669. border-color: transparent;
  670. color: #2D74E7;
  671. background: transparent;
  672. padding-left: 0;
  673. padding-right: 0; }
  674. .el-button--text:hover, .el-button--text:focus {
  675. color: #5790ec;
  676. border-color: transparent;
  677. background-color: transparent; }
  678. .el-button--text:active {
  679. color: #2968d0;
  680. border-color: transparent;
  681. background-color: transparent; }
  682. .el-button--text.is-disabled, .el-button--text.is-disabled:hover, .el-button--text.is-disabled:focus {
  683. border-color: transparent; }
  684. .el-button-group {
  685. display: inline-block;
  686. vertical-align: middle; }
  687. .el-button-group::before,
  688. .el-button-group::after {
  689. display: table;
  690. content: ""; }
  691. .el-button-group::after {
  692. clear: both; }
  693. .el-button-group > .el-button {
  694. float: left;
  695. position: relative; }
  696. .el-button-group > .el-button + .el-button {
  697. margin-left: 0; }
  698. .el-button-group > .el-button.is-disabled {
  699. z-index: 1; }
  700. .el-button-group > .el-button:first-child {
  701. border-top-right-radius: 0;
  702. border-bottom-right-radius: 0; }
  703. .el-button-group > .el-button:last-child {
  704. border-top-left-radius: 0;
  705. border-bottom-left-radius: 0; }
  706. .el-button-group > .el-button:first-child:last-child {
  707. border-top-right-radius: 4px;
  708. border-bottom-right-radius: 4px;
  709. border-top-left-radius: 4px;
  710. border-bottom-left-radius: 4px; }
  711. .el-button-group > .el-button:first-child:last-child.is-round {
  712. border-radius: 20px; }
  713. .el-button-group > .el-button:first-child:last-child.is-circle {
  714. border-radius: 50%; }
  715. .el-button-group > .el-button:not(:first-child):not(:last-child) {
  716. border-radius: 0; }
  717. .el-button-group > .el-button:not(:last-child) {
  718. margin-right: -1px; }
  719. .el-button-group > .el-button:hover, .el-button-group > .el-button:focus, .el-button-group > .el-button:active {
  720. z-index: 1; }
  721. .el-button-group > .el-button.is-active {
  722. z-index: 1; }
  723. .el-button-group > .el-dropdown > .el-button {
  724. border-top-left-radius: 0;
  725. border-bottom-left-radius: 0;
  726. border-left-color: rgba(255, 255, 255, 0.5); }
  727. .el-button-group .el-button--primary:first-child {
  728. border-right-color: rgba(255, 255, 255, 0.5); }
  729. .el-button-group .el-button--primary:last-child {
  730. border-left-color: rgba(255, 255, 255, 0.5); }
  731. .el-button-group .el-button--primary:not(:first-child):not(:last-child) {
  732. border-left-color: rgba(255, 255, 255, 0.5);
  733. border-right-color: rgba(255, 255, 255, 0.5); }
  734. .el-button-group .el-button--success:first-child {
  735. border-right-color: rgba(255, 255, 255, 0.5); }
  736. .el-button-group .el-button--success:last-child {
  737. border-left-color: rgba(255, 255, 255, 0.5); }
  738. .el-button-group .el-button--success:not(:first-child):not(:last-child) {
  739. border-left-color: rgba(255, 255, 255, 0.5);
  740. border-right-color: rgba(255, 255, 255, 0.5); }
  741. .el-button-group .el-button--warning:first-child {
  742. border-right-color: rgba(255, 255, 255, 0.5); }
  743. .el-button-group .el-button--warning:last-child {
  744. border-left-color: rgba(255, 255, 255, 0.5); }
  745. .el-button-group .el-button--warning:not(:first-child):not(:last-child) {
  746. border-left-color: rgba(255, 255, 255, 0.5);
  747. border-right-color: rgba(255, 255, 255, 0.5); }
  748. .el-button-group .el-button--danger:first-child {
  749. border-right-color: rgba(255, 255, 255, 0.5); }
  750. .el-button-group .el-button--danger:last-child {
  751. border-left-color: rgba(255, 255, 255, 0.5); }
  752. .el-button-group .el-button--danger:not(:first-child):not(:last-child) {
  753. border-left-color: rgba(255, 255, 255, 0.5);
  754. border-right-color: rgba(255, 255, 255, 0.5); }
  755. .el-button-group .el-button--info:first-child {
  756. border-right-color: rgba(255, 255, 255, 0.5); }
  757. .el-button-group .el-button--info:last-child {
  758. border-left-color: rgba(255, 255, 255, 0.5); }
  759. .el-button-group .el-button--info:not(:first-child):not(:last-child) {
  760. border-left-color: rgba(255, 255, 255, 0.5);
  761. border-right-color: rgba(255, 255, 255, 0.5); }