You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

955 lines
23 KiB

  1. /*
  2. * # Semantic Button
  3. * http://github.com/quirkyinc/semantic
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. * Released: April 17 2013
  11. */
  12. /*******************************
  13. Button
  14. *******************************/
  15. /* Prototype */
  16. .ui.button {
  17. cursor: pointer;
  18. display: inline-block;
  19. vertical-align: middle;
  20. min-height: 1em;
  21. outline: none;
  22. border: none;
  23. background-color: #EDEDED;
  24. color: #999999;
  25. padding: 0.8em 1.5em;
  26. font-size: 1rem;
  27. text-transform: uppercase;
  28. line-height: 1;
  29. font-weight: bold;
  30. font-style: normal;
  31. text-align: center;
  32. text-shadow: none;
  33. -webkit-border-radius: 0.3125em;
  34. -moz-border-radius: 0.3125em;
  35. border-radius: 0.3125em;
  36. -webkit-box-shadow: 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset;
  37. -moz-box-shadow: 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset;
  38. box-shadow: 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset;
  39. -webkit-user-select: none;
  40. -moz-user-select: none;
  41. -ms-user-select: none;
  42. user-select: none;
  43. -webkit-box-sizing: border-box;
  44. -moz-box-sizing: border-box;
  45. -ms-box-sizing: border-box;
  46. box-sizing: border-box;
  47. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  48. -webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  49. -moz-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  50. -o-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  51. -ms-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  52. transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  53. }
  54. /*--------------
  55. Icon
  56. ---------------*/
  57. .ui.button > .icon {
  58. margin-right: 0.5em;
  59. line-height: 1;
  60. -webkit-transition: opacity 0.1s ease
  61. ;
  62. -moz-transition: opacity 0.1s ease
  63. ;
  64. -o-transition: opacity 0.1s ease
  65. ;
  66. -ms-transition: opacity 0.1s ease
  67. ;
  68. transition: opacity 0.1s ease
  69. ;
  70. }
  71. /*******************************
  72. States
  73. *******************************/
  74. /*--------------
  75. Active
  76. ---------------*/
  77. .ui.buttons .button.active,
  78. .ui.button.active {
  79. opacity: 1 !important;
  80. background-color: #E6E6E6;
  81. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.05)));
  82. background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  83. background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  84. background-image: -o-linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  85. background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  86. -webkit-box-shadow: 0em 0.125em 0.125em 0em rgba(0, 0, 0, 0.1) inset;
  87. -moz-box-shadow: 0em 0.125em 0.125em 0em rgba(0, 0, 0, 0.1) inset;
  88. box-shadow: 0em 0.125em 0.125em 0em rgba(0, 0, 0, 0.1) inset;
  89. }
  90. .ui.buttons .button.active,
  91. .ui.buttons .button.active a,
  92. .ui.button.active,
  93. .ui.button.active a {
  94. color: #666666;
  95. }
  96. /*--------------
  97. Hover
  98. ---------------*/
  99. .ui.button:hover,
  100. .ui.button.hover {
  101. opacity: 1 !important;
  102. background-color: #DEDEDE;
  103. color: #777777;
  104. }
  105. .ui.button:hover .icon,
  106. .ui.button.hover .icon {
  107. opacity: 0.85;
  108. }
  109. /*--------------
  110. Down (:active)
  111. ---------------*/
  112. /* Down */
  113. .ui.button:active,
  114. .ui.button.down {
  115. opacity: 1 !important;
  116. background-color: #D8D8D8;
  117. color: #777777;
  118. -webkit-box-shadow: 0em 0em 0.125em 1px rgba(0, 0, 0, 0.1) inset;
  119. -moz-box-shadow: 0em 0em 0.125em 1px rgba(0, 0, 0, 0.1) inset;
  120. box-shadow: 0em 0em 0.125em 1px rgba(0, 0, 0, 0.1) inset;
  121. }
  122. /*--------------
  123. Error
  124. ---------------*/
  125. .ui.button.error,
  126. .ui.button.error.hover,
  127. .ui.button.error.down {
  128. cursor: default;
  129. position: relative !important;
  130. background-color: #D95C5C !important;
  131. color: transparent !important;
  132. text-shadow: none;
  133. -webkit-transition: all 0s linear;
  134. -moz-transition: all 0s linear;
  135. -o-transition: all 0s linear;
  136. -ms-transition: all 0s linear;
  137. transition: all 0s linear;
  138. }
  139. .ui.button.error .icon {
  140. opacity: 1;
  141. color: #FFFFFF;
  142. }
  143. .ui.button.error:after {
  144. position: absolute;
  145. left: 50%;
  146. content: "Error";
  147. margin-left: -1.8em;
  148. color: #FFFFFF;
  149. -webkit-animation: button-text 0.5s;
  150. -moz-animation: button-text 0.5s;
  151. -ms-animation: button-text 0.5s;
  152. -o-animation: button-text 0.5s;
  153. animation: button-text 0.5s;
  154. }
  155. .ui.button.error .icon:before {
  156. font-family: 'Icons';
  157. content: '\26a0';
  158. }
  159. /*--------------
  160. Success
  161. ---------------*/
  162. .ui.button.success,
  163. .ui.button.success.hover,
  164. .ui.button.success.down {
  165. position: relative !important;
  166. background-color: #5BBD72 !important;
  167. color: transparent !important;
  168. }
  169. .ui.button.success .icon {
  170. opacity: 1;
  171. color: #FFFFFF;
  172. }
  173. .ui.button.success .icon:before {
  174. font-family: 'Icons';
  175. content: '\2611';
  176. }
  177. .ui.button.success:after {
  178. position: absolute;
  179. left: 50%;
  180. content: "Success";
  181. margin-left: -2em;
  182. color: #FFFFFF;
  183. -webkit-animation: button-text 0.5s;
  184. -moz-animation: button-text 0.5s;
  185. -ms-animation: button-text 0.5s;
  186. -o-animation: button-text 0.5s;
  187. animation: button-text 0.5s;
  188. }
  189. @-webkit-keyframes button-text {
  190. 0% {
  191. -webkit-transform: translateY(100%);
  192. opacity: 0;
  193. }
  194. 100% {
  195. opacity: 1;
  196. -webkit-transform: translateY(0);
  197. }
  198. }
  199. @-moz-keyframes button-text {
  200. 0% {
  201. -moz-transform: translateY(100%);
  202. opacity: 0;
  203. }
  204. 100% {
  205. opacity: 1;
  206. -moz-transform: translateY(0);
  207. }
  208. }
  209. @keyframes button-text {
  210. 0% {
  211. transform: translateY(100%);
  212. opacity: 0;
  213. }
  214. 100% {
  215. opacity: 1;
  216. transform: translateY(0);
  217. }
  218. }
  219. /*--------------
  220. Loading
  221. ---------------*/
  222. .ui.button.loading,
  223. .ui.button.loading.hover {
  224. position: relative;
  225. cursor: default;
  226. background-color: #F3F3F3 !important;
  227. color: transparent !important;
  228. text-shadow: none !important;
  229. background-image: none !important;
  230. -webkit-box-shadow: none !important;
  231. -moz-box-shadow: none !important;
  232. -webkit-transition: all 0s linear;
  233. -moz-transition: all 0s linear;
  234. -o-transition: all 0s linear;
  235. -ms-transition: all 0s linear;
  236. transition: all 0s linear;
  237. }
  238. .ui.button.loading:after {
  239. position: absolute;
  240. top: 0em;
  241. left: 0em;
  242. width: 100%;
  243. height: 100%;
  244. content: '';
  245. background: transparent url(../images/loader-mini.gif) no-repeat 50% 50%;
  246. }
  247. .ui.labeled.icon.button.loading .icon {
  248. background-color: transparent;
  249. -webkit-box-shadow: none;
  250. -moz-box-shadow: none;
  251. box-shadow: none;
  252. }
  253. /*-------------------
  254. Disabled
  255. --------------------*/
  256. .ui.button.disabled,
  257. .ui.button.disabled.hover,
  258. .ui.button.disabled.down {
  259. cursor: default;
  260. color: #DDDDDD;
  261. background-color: rgba(50, 50, 50, 0.05) !important;
  262. background-image: none !important;
  263. text-shadow: none !important;
  264. -webkit-box-shadow: none !important;
  265. -moz-box-shadow: none !important;
  266. box-shadow: none !important;
  267. }
  268. /*******************************
  269. Variations
  270. *******************************/
  271. /*--- Black ---*/
  272. .ui.buttons.black .button,
  273. .ui.button.black {
  274. background-color: #5C6166;
  275. color: #FFFFFF;
  276. }
  277. .ui.buttons.black .button.hover,
  278. .ui.buttons.black .button:hover,
  279. .ui.button.black.hover,
  280. .ui.button.black:hover {
  281. background-color: #4C4C4C;
  282. color: #FFFFFF;
  283. }
  284. .ui.buttons.black .button.down,
  285. .ui.buttons.black .button:active,
  286. .ui.button.black.down,
  287. .ui.button.black:active {
  288. background-color: #333333;
  289. color: #FFFFFF;
  290. }
  291. /*--- Green ---*/
  292. .ui.buttons.green .button,
  293. .ui.button.green {
  294. background-color: #A1CF64;
  295. color: #FFFFFF;
  296. }
  297. .ui.buttons.green .button.hover,
  298. .ui.buttons.green .button:hover,
  299. .ui.button.green.hover,
  300. .ui.button.green:hover,
  301. .ui.buttons.green .button.active,
  302. .ui.button.green.active {
  303. background-color: #89B84C;
  304. color: #FFFFFF;
  305. }
  306. .ui.buttons.green .button.down,
  307. .ui.buttons.green .button:active,
  308. .ui.button.green.down,
  309. .ui.button.green:active {
  310. background-color: #7AAA3D;
  311. color: #FFFFFF;
  312. }
  313. /*--- Red ---*/
  314. .ui.buttons.red .button,
  315. .ui.button.red {
  316. background-color: #EF4D6D;
  317. color: #FFFFFF;
  318. }
  319. .ui.buttons.red .button.hover,
  320. .ui.buttons.red .button:hover,
  321. .ui.button.red.hover,
  322. .ui.button.red:hover,
  323. .ui.buttons.red .button.active,
  324. .ui.button.red.active {
  325. background-color: #DE3859;
  326. color: #FFFFFF;
  327. }
  328. .ui.buttons.red .button.down,
  329. .ui.buttons.red .button:active,
  330. .ui.button.red.down,
  331. .ui.button.red:active {
  332. background-color: #CD2D4D;
  333. color: #FFFFFF;
  334. }
  335. /*--- Blue ---*/
  336. .ui.buttons.blue .button,
  337. .ui.button.blue {
  338. background-color: #6ECFF5;
  339. color: #FFFFFF;
  340. }
  341. .ui.buttons.blue .button.hover,
  342. .ui.buttons.blue .button:hover,
  343. .ui.button.blue.hover,
  344. .ui.button.blue:hover,
  345. .ui.buttons.blue .button.active,
  346. .ui.button.blue.active {
  347. background-color: #1AB8F3;
  348. color: #FFFFFF;
  349. }
  350. .ui.buttons.blue .button.down,
  351. .ui.buttons.blue .button:active,
  352. .ui.button.blue.down,
  353. .ui.button.blue:active {
  354. background-color: #0AA5DF;
  355. color: #FFFFFF;
  356. }
  357. /*--- Purple ---*/
  358. .ui.buttons.purple .button,
  359. .ui.button.purple {
  360. background-color: #564F8A;
  361. color: #FFFFFF;
  362. }
  363. .ui.buttons.purple .button.hover,
  364. .ui.buttons.purple .button:hover,
  365. .ui.button.purple.hover,
  366. .ui.button.purple:hover,
  367. .ui.buttons.purple .button.active,
  368. .ui.button.purple.active {
  369. background-color: #3E3773;
  370. color: #FFFFFF;
  371. }
  372. .ui.buttons.purple .button.down,
  373. .ui.buttons.purple .button:active,
  374. .ui.button.purple.down,
  375. .ui.button.purple:active {
  376. background-color: #2E2860;
  377. color: #FFFFFF;
  378. }
  379. /*--- Teal ---*/
  380. .ui.buttons.teal .button,
  381. .ui.button.teal {
  382. background-color: #00B5AD;
  383. color: #FFFFFF;
  384. }
  385. .ui.buttons.teal .button.hover,
  386. .ui.buttons.teal .button:hover,
  387. .ui.button.teal.hover,
  388. .ui.button.teal:hover,
  389. .ui.buttons.teal .button.active,
  390. .ui.button.teal.active {
  391. background-color: #009A93;
  392. color: #FFFFFF;
  393. }
  394. .ui.buttons.teal .button.down,
  395. .ui.buttons.teal .button:active,
  396. .ui.button.teal.down,
  397. .ui.button.teal:active {
  398. background-color: #00847E;
  399. color: #FFFFFF;
  400. }
  401. /*---------------
  402. Positive
  403. ----------------*/
  404. .ui.buttons.positive .button,
  405. .ui.button.positive {
  406. background-color: #A1CF64 !important;
  407. color: #FFFFFF;
  408. }
  409. .ui.buttons.positive .button.hover,
  410. .ui.buttons.positive .button:hover,
  411. .ui.button.positive.hover,
  412. .ui.button.positive:hover,
  413. .ui.buttons.positive .button.active,
  414. .ui.button.positive.active {
  415. background-color: #89B84C !important;
  416. color: #FFFFFF;
  417. }
  418. .ui.buttons.positive .button.down,
  419. .ui.buttons.positive .button:active,
  420. .ui.button.positive.down,
  421. .ui.button.positive:active {
  422. background-color: #7AAA3D !important;
  423. color: #FFFFFF;
  424. }
  425. /*---------------
  426. Negative
  427. ----------------*/
  428. .ui.buttons.negative .button,
  429. .ui.button.negative {
  430. background-color: #EF4D6D !important;
  431. color: #FFFFFF;
  432. }
  433. .ui.buttons.negative .button.hover,
  434. .ui.buttons.negative .button:hover,
  435. .ui.button.negative.hover,
  436. .ui.button.negative:hover,
  437. .ui.buttons.negative .button.active,
  438. .ui.button.negative.active {
  439. background-color: #DE3859 !important;
  440. color: #FFFFFF;
  441. }
  442. .ui.buttons.negative .button.down,
  443. .ui.buttons.negative .button:active,
  444. .ui.button.negative.down,
  445. .ui.button.negative:active {
  446. background-color: #CD2D4D !important;
  447. color: #FFFFFF;
  448. }
  449. /*-------------------
  450. Sizes
  451. --------------------*/
  452. .ui.buttons .button,
  453. .ui.button {
  454. font-size: 1rem;
  455. }
  456. .ui.buttons.mini .button,
  457. .ui.mini.button {
  458. font-size: 0.8rem;
  459. padding: 0.6em 0.8em;
  460. }
  461. .ui.tiny.buttons .button,
  462. .ui.tiny.button {
  463. font-size: 0.9rem;
  464. padding: 0.6em 0.8em;
  465. }
  466. .ui.small.buttons .button,
  467. .ui.small.button {
  468. font-size: 0.9rem;
  469. }
  470. .ui.large.buttons .button,
  471. .ui.large.button {
  472. font-size: 1.125rem;
  473. }
  474. .ui.big.buttons .button,
  475. .ui.big.button {
  476. font-size: 1.25rem;
  477. }
  478. .ui.huge.buttons .button,
  479. .ui.huge.button {
  480. font-size: 1.375rem;
  481. padding-left: 2em;
  482. padding-right: 2em;
  483. }
  484. .ui.massive.buttons .button,
  485. .ui.massive.button {
  486. font-size: 1.5rem;
  487. font-weight: bold;
  488. padding-left: 2.5em;
  489. padding-right: 2.5em;
  490. }
  491. /* loading */
  492. .ui.huge.button.loading:after {
  493. background-image: url(../images/loader-small.gif);
  494. }
  495. .ui.massive.buttons .button.loading:after,
  496. .ui.gigantic.buttons .button.loading:after,
  497. .ui.massive.button.loading:after,
  498. .ui.gigantic.button.loading:after {
  499. background-image: url(../images/loader-medium.gif);
  500. }
  501. .ui.huge.button.loading:after,
  502. .ui.huge.button.loading.active:after {
  503. background-image: url(../images/loader-small.gif);
  504. }
  505. .ui.massive.buttons .button.loading:after,
  506. .ui.gigantic.buttons .button.loading:after,
  507. .ui.massive.button.loading:after,
  508. .ui.gigantic.button.loading:after,
  509. .ui.massive.buttons .button.loading.active:after,
  510. .ui.gigantic.buttons .button.loading.active:after,
  511. .ui.massive.button.loading.active:after,
  512. .ui.gigantic.button.loading.active:after {
  513. background-image: url(../images/loader-medium.gif);
  514. }
  515. /*--------------
  516. Icon Only
  517. ---------------*/
  518. .ui.icon.buttons .button,
  519. .ui.icon.button {
  520. padding: 0.8em;
  521. }
  522. .ui.icon.buttons .button > .icon,
  523. .ui.icon.button > .icon {
  524. opacity: 1;
  525. margin: 0em;
  526. vertical-align: top;
  527. }
  528. /*-------------------
  529. Ordinality
  530. --------------------*/
  531. .ui.buttons.secondary .button,
  532. .ui.secondary.button {
  533. font-weight: normal;
  534. text-transform: none;
  535. opacity: 1;
  536. }
  537. /*--- Tertiary ---*/
  538. .ui.buttons.tertiary .button,
  539. .ui.tertiary.button {
  540. background-color: transparent;
  541. background-image: none;
  542. color: #999999;
  543. font-weight: normal;
  544. text-transform: none;
  545. text-shadow: none;
  546. box-shadow: none;
  547. }
  548. .ui.buttons.tertiary .button:first-child {
  549. border-left: none;
  550. }
  551. .ui.button.tertiary.active {
  552. opacity: 0.9 !important;
  553. }
  554. .ui.button.tertiary.hover,
  555. .ui.button.tertiary:hover {
  556. opacity: 0.8 !important;
  557. }
  558. .ui.button.tertiary.down,
  559. .ui.button.tertiary:active {
  560. opacity: 1 !important;
  561. }
  562. /*--------------
  563. Labeled Icon
  564. ---------------*/
  565. .ui.labeled.icon.buttons .button,
  566. .ui.labeled.icon.button {
  567. position: relative;
  568. padding-left: 4em !important;
  569. padding-right: 1.4em !important;
  570. }
  571. .ui.labeled.icon.buttons > .button > .icon,
  572. .ui.labeled.icon.button > .icon {
  573. position: absolute;
  574. top: 0em;
  575. left: 0em;
  576. -webkit-box-sizing: border-box;
  577. -moz-box-sizing: border-box;
  578. -ms-box-sizing: border-box;
  579. box-sizing: border-box;
  580. width: 2.75em;
  581. height: 100%;
  582. padding-top: 0.8em;
  583. background-color: rgba(0, 0, 0, 0.05);
  584. text-align: center;
  585. -webkit-border-radius: 0.3125em 0px 0px 0.3125em;
  586. -moz-border-radius: 0.3125em 0px 0px 0.3125em;
  587. border-radius: 0.3125em 0px 0px 0.3125em;
  588. line-height: 1;
  589. -webkit-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  590. -moz-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  591. box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  592. }
  593. .ui.labeled.icon.buttons .button > .icon {
  594. -webkit-border-radius: 0em;
  595. -moz-border-radius: 0em;
  596. border-radius: 0em;
  597. }
  598. .ui.labeled.icon.buttons .button:first-child > .icon {
  599. border-top-left-radius: 0.3125em;
  600. border-bottom-left-radius: 0.3125em;
  601. }
  602. .ui.labeled.icon.buttons .button:last-child > .icon {
  603. border-top-right-radius: 0.3125em;
  604. border-bottom-right-radius: 0.3125em;
  605. }
  606. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  607. -webkit-border-radius: 0em;
  608. -moz-border-radius: 0em;
  609. border-radius: 0em;
  610. border-top-left-radius: 0.3125em;
  611. }
  612. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  613. -webkit-border-radius: 0em;
  614. -moz-border-radius: 0em;
  615. border-radius: 0em;
  616. border-bottom-left-radius: 0.3125em;
  617. }
  618. .ui.right.labeled.icon.button {
  619. padding-left: 1.4em !important;
  620. padding-right: 4em !important;
  621. }
  622. .ui.right.labeled.icon.button .icon {
  623. left: auto;
  624. right: 0em;
  625. }
  626. /*--------------
  627. Toggle
  628. ---------------*/
  629. /* Toggle (Modifies active state to give affordances) */
  630. .ui.toggle.buttons .button.active,
  631. .ui.buttons .button.toggle.active,
  632. .ui.button.toggle.active {
  633. background-color: #BBF0A9;
  634. color: #1C8C21;
  635. }
  636. .ui.buttons.toggle .ui.button.active.hover,
  637. .ui.buttons .ui.button.toggle.active.hover,
  638. .ui.button.toggle.active.hover {
  639. color: #FFFFFF;
  640. background-color: #BBF0A9;
  641. }
  642. /*--------------
  643. Bubbly
  644. ---------------*/
  645. .ui.circular.button {
  646. -webkit-border-radius: 10em;
  647. -moz-border-radius: 10em;
  648. border-radius: 10em;
  649. }
  650. /*--------------
  651. Attached
  652. ---------------*/
  653. .ui.button.attached {
  654. display: block;
  655. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  656. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  657. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  658. }
  659. .ui.button.attached.top {
  660. -webkit-border-radius: 0.3125em 0.3125em 0em 0em;
  661. -moz-border-radius: 0.3125em 0.3125em 0em 0em;
  662. border-radius: 0.3125em 0.3125em 0em 0em;
  663. }
  664. .ui.button.attached.bottom {
  665. -webkit-border-radius: 0em 0em 0.3125em 0.3125em;
  666. -moz-border-radius: 0em 0em 0.3125em 0.3125em;
  667. border-radius: 0em 0em 0.3125em 0.3125em;
  668. }
  669. .ui.button.attached.left {
  670. display: inline-block;
  671. border-left: none;
  672. padding-right: 0.75em;
  673. text-align: right;
  674. -webkit-border-radius: 0.3125em 0em 0em 0.3125em;
  675. -moz-border-radius: 0.3125em 0em 0em 0.3125em;
  676. border-radius: 0.3125em 0em 0em 0.3125em;
  677. }
  678. .ui.button.attached.right {
  679. display: inline-block;
  680. padding-left: 0.75em;
  681. text-align: left;
  682. -webkit-border-radius: 0em 0.3125em 0.3125em 0em;
  683. -moz-border-radius: 0em 0.3125em 0.3125em 0em;
  684. border-radius: 0em 0.3125em 0.3125em 0em;
  685. }
  686. /*-------------------
  687. Or Buttons
  688. --------------------*/
  689. .ui.buttons .or {
  690. position: relative;
  691. float: left;
  692. width: 0.3em;
  693. height: 1em;
  694. }
  695. .ui.buttons .or:before {
  696. position: absolute;
  697. top: 50%;
  698. left: 50%;
  699. content: 'or';
  700. background-color: #FFFFFF;
  701. margin-top: -0.15em;
  702. margin-left: -0.9em;
  703. width: 1.8em;
  704. height: 1.8em;
  705. line-height: 1.66;
  706. color: #AAAAAA;
  707. font-style: normal;
  708. font-weight: normal;
  709. text-align: center;
  710. -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  711. -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  712. box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  713. -moz-border-radius: 500px;
  714. -webkit-border-radius: 500px;
  715. border-radius: 500px;
  716. -webkit-box-sizing: border-box;
  717. -moz-box-sizing: border-box;
  718. -ms-box-sizing: border-box;
  719. box-sizing: border-box;
  720. }
  721. .ui.buttons .or:after {
  722. position: absolute;
  723. top: 0em;
  724. left: 0em;
  725. content: ' ';
  726. width: 0.3em;
  727. height: 1.8em;
  728. background-color: transparent;
  729. border-top: 0.6em solid #FFFFFF;
  730. border-bottom: 0.6em solid #FFFFFF;
  731. }
  732. /* Fluid Or */
  733. .ui.fluid.buttons .or {
  734. width: 0em !important;
  735. }
  736. .ui.fluid.buttons .or:after {
  737. display: none;
  738. }
  739. /*-------------------
  740. Attached
  741. --------------------*/
  742. /* Plural Attached */
  743. .attached.ui.buttons {
  744. margin: 0px;
  745. -webkit-border-radius: 4px 4px 0px 0px;
  746. -moz-border-radius: 4px 4px 0px 0px;
  747. border-radius: 4px 4px 0px 0px;
  748. }
  749. .attached.ui.buttons .button:first-child {
  750. -webkit-border-radius: 4px 0px 0px 0px;
  751. -moz-border-radius: 4px 0px 0px 0px;
  752. border-radius: 4px 0px 0px 0px;
  753. }
  754. .attached.ui.buttons .button:last-child {
  755. -webkit-border-radius: 0px 4px 0px 0px;
  756. -moz-border-radius: 0px 4px 0px 0px;
  757. border-radius: 0px 4px 0px 0px;
  758. }
  759. /* Bottom Side */
  760. .bottom.attached.ui.buttons {
  761. margin-top: -1px;
  762. -webkit-border-radius: 0px 0px 4px 4px;
  763. -moz-border-radius: 0px 0px 4px 4px;
  764. border-radius: 0px 0px 4px 4px;
  765. }
  766. .bottom.attached.ui.buttons .button:first-child {
  767. -webkit-border-radius: 0px 0px 0px 4px;
  768. -moz-border-radius: 0px 0px 0px 4px;
  769. border-radius: 0px 0px 0px 4px;
  770. }
  771. .bottom.attached.ui.buttons .button:last-child {
  772. -webkit-border-radius: 0px 0px 4px 0px;
  773. -moz-border-radius: 0px 0px 4px 0px;
  774. border-radius: 0px 0px 4px 0px;
  775. }
  776. /* Left Side */
  777. .left.attached.ui.buttons {
  778. margin-left: -1px;
  779. -webkit-border-radius: 0px 4px 4px 0px;
  780. -moz-border-radius: 0px 4px 4px 0px;
  781. border-radius: 0px 4px 4px 0px;
  782. }
  783. .left.attached.ui.buttons .button:first-child {
  784. margin-left: -1px;
  785. -webkit-border-radius: 0px 4px 0px 0px;
  786. -moz-border-radius: 0px 4px 0px 0px;
  787. border-radius: 0px 4px 0px 0px;
  788. }
  789. .left.attached.ui.buttons .button:last-child {
  790. margin-left: -1px;
  791. -webkit-border-radius: 0px 0px 4px 0px;
  792. -moz-border-radius: 0px 0px 4px 0px;
  793. border-radius: 0px 0px 4px 0px;
  794. }
  795. /* Right Side */
  796. .right.attached.ui.buttons,
  797. .right.attached.ui.buttons .button {
  798. margin-right: -1px;
  799. -webkit-border-radius: 4px 0px 0px 4px;
  800. -moz-border-radius: 4px 0px 0px 4px;
  801. border-radius: 4px 0px 0px 4px;
  802. }
  803. .right.attached.ui.buttons .button:first-child {
  804. margin-left: -1px;
  805. -webkit-border-radius: 4px 0px 0px 0px;
  806. -moz-border-radius: 4px 0px 0px 0px;
  807. border-radius: 4px 0px 0px 0px;
  808. }
  809. .right.attached.ui.buttons .button:last-child {
  810. margin-left: -1px;
  811. -webkit-border-radius: 0px 0px 0px 4px;
  812. -moz-border-radius: 0px 0px 0px 4px;
  813. border-radius: 0px 0px 0px 4px;
  814. }
  815. /* Fluid */
  816. .ui.fluid.buttons,
  817. .ui.button.fluid,
  818. .ui.fluid.buttons > .button {
  819. display: block;
  820. width: 100%;
  821. }
  822. .ui.two.buttons > .button {
  823. width: 50%;
  824. }
  825. .ui.three.buttons > .button {
  826. width: 33.333%;
  827. }
  828. .ui.four.buttons > .button {
  829. width: 25%;
  830. }
  831. .ui.five.buttons > .button {
  832. width: 20%;
  833. }
  834. .ui.six.buttons > .button {
  835. width: 16.666%;
  836. }
  837. .ui.seven.buttons > .button {
  838. width: 14.285%;
  839. }
  840. .ui.eight.buttons > .button {
  841. width: 12.500%;
  842. }
  843. .ui.nine.buttons > .button {
  844. width: 11.11%;
  845. }
  846. .ui.ten.buttons > .button {
  847. width: 10%;
  848. }
  849. .ui.eleven.buttons > .button {
  850. width: 9.09%;
  851. }
  852. .ui.twelve.buttons > .button {
  853. width: 8.3333%;
  854. }
  855. /* Fluid Vertical Buttons */
  856. .ui.fluid.vertical.buttons,
  857. .ui.fluid.vertical.buttons > .button {
  858. width: auto;
  859. -webkit-box-sizing: border-box;
  860. -moz-box-sizing: border-box;
  861. -ms-box-sizing: border-box;
  862. box-sizing: border-box;
  863. }
  864. .ui.two.vertical.buttons > .button {
  865. height: 50%;
  866. }
  867. .ui.three.vertical.buttons > .button {
  868. height: 33.333%;
  869. }
  870. .ui.four.vertical.buttons > .button {
  871. height: 25%;
  872. }
  873. .ui.five.vertical.buttons > .button {
  874. height: 20%;
  875. }
  876. .ui.six.vertical.buttons > .button {
  877. height: 16.666%;
  878. }
  879. .ui.seven.vertical.buttons > .button {
  880. height: 14.285%;
  881. }
  882. .ui.eight.vertical.buttons > .button {
  883. height: 12.500%;
  884. }
  885. .ui.nine.vertical.buttons > .button {
  886. height: 11.11%;
  887. }
  888. .ui.ten.vertical.buttons > .button {
  889. height: 10%;
  890. }
  891. .ui.eleven.vertical.buttons > .button {
  892. height: 9.09%;
  893. }
  894. .ui.twelve.vertical.buttons > .button {
  895. height: 8.3333%;
  896. }
  897. /*******************************
  898. Groups
  899. *******************************/
  900. .ui.buttons:after {
  901. content: ".";
  902. display: block;
  903. height: 0;
  904. clear: both;
  905. visibility: hidden;
  906. }
  907. .ui.buttons .button {
  908. float: left;
  909. -webkit-border-radius: 0em;
  910. -moz-border-radius: 0em;
  911. border-radius: 0em;
  912. border-left: 1px solid rgba(0, 0, 0, 0.05);
  913. }
  914. .ui.buttons .button:first-child {
  915. margin-left: 0em;
  916. border-top-left-radius: 0.3125em;
  917. border-bottom-left-radius: 0.3125em;
  918. }
  919. .ui.buttons .button:last-child {
  920. border-top-right-radius: 0.3125em;
  921. border-bottom-right-radius: 0.3125em;
  922. }
  923. /* Vertical Style */
  924. .ui.buttons.vertical {
  925. display: inline-block;
  926. }
  927. .ui.buttons.vertical .button {
  928. display: block;
  929. float: none;
  930. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  931. border-left: none;
  932. box-shadow: none;
  933. }
  934. .ui.buttons.vertical .button:first-child,
  935. .ui.buttons.vertical .mini.button:first-child,
  936. .ui.buttons.vertical .tiny.button:first-child,
  937. .ui.buttons.vertical .small.button:first-child,
  938. .ui.buttons.vertical .massive.button:first-child,
  939. .ui.buttons.vertical .huge.button:first-child {
  940. margin-top: 0px;
  941. -moz-border-radius: 0.3125em 0.3125em 0px 0px;
  942. -webkit-border-radius: 0.3125em 0.3125em 0px 0px;
  943. border-radius: 0.3125em 0.3125em 0px 0px;
  944. }
  945. .ui.buttons.vertical .button:last-child,
  946. .ui.buttons.vertical .mini.button:last-child,
  947. .ui.buttons.vertical .tiny.button:last-child,
  948. .ui.buttons.vertical .small.button:last-child,
  949. .ui.buttons.vertical .massive.button:last-child,
  950. .ui.buttons.vertical .huge.button:last-child,
  951. .ui.buttons.vertical .gigantic.button:last-child {
  952. -moz-border-radius: 0px 0px 0.3125em 0.3125em;
  953. -webkit-border-radius: 0px 0px 0.3125em 0.3125em;
  954. border-radius: 0px 0px 0.3125em 0.3125em;
  955. }