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.

1250 lines
26 KiB

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