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.

828 lines
21 KiB

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