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.

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