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.

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