button.css 22 KB

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