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.

1249 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 0em 0.4em;
  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.185rem 0em rgba(0, 0, 0, 0.1) inset
  38. ;
  39. -moz-box-shadow:
  40. 0em -0.185rem 0em rgba(0, 0, 0, 0.1) inset
  41. ;
  42. box-shadow:
  43. 0em -0.185rem 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. width: auto;
  817. -webkit-box-sizing: border-box;
  818. -moz-box-sizing: border-box;
  819. -ms-box-sizing: border-box;
  820. box-sizing: border-box;
  821. }
  822. .ui.two.vertical.buttons > .button {
  823. height: 50%;
  824. }
  825. .ui.three.vertical.buttons > .button {
  826. height: 33.333%;
  827. }
  828. .ui.four.vertical.buttons > .button {
  829. height: 25%;
  830. }
  831. .ui.five.vertical.buttons > .button {
  832. height: 20%;
  833. }
  834. .ui.six.vertical.buttons > .button {
  835. height: 16.666%;
  836. }
  837. .ui.seven.vertical.buttons > .button {
  838. height: 14.285%;
  839. }
  840. .ui.eight.vertical.buttons > .button {
  841. height: 12.500%;
  842. }
  843. .ui.nine.vertical.buttons > .button {
  844. height: 11.11%;
  845. }
  846. .ui.ten.vertical.buttons > .button {
  847. height: 10%;
  848. }
  849. .ui.eleven.vertical.buttons > .button {
  850. height: 9.09%;
  851. }
  852. .ui.twelve.vertical.buttons > .button {
  853. height: 8.3333%;
  854. }
  855. /*-------------------
  856. Colors
  857. --------------------*/
  858. /*--- White ---*/
  859. .ui.white.buttons .button,
  860. .ui.white.button {
  861. background-color: #FFFFFF;
  862. }
  863. .ui.white.buttons .button:hover,
  864. .ui.white.button:hover {
  865. background-color: #A4A4A4;
  866. }
  867. /*--- Black ---*/
  868. .ui.black.buttons .button,
  869. .ui.black.button {
  870. background-color: #5C6166;
  871. color: #FFFFFF;
  872. }
  873. .ui.black.buttons .button:hover,
  874. .ui.black.button:hover {
  875. background-color: #4C4C4C;
  876. color: #FFFFFF;
  877. }
  878. .ui.black.buttons .button:active,
  879. .ui.black.button:active {
  880. background-color: #333333;
  881. color: #FFFFFF;
  882. }
  883. /*--- Green ---*/
  884. .ui.green.buttons .button,
  885. .ui.green.button {
  886. background-color: #5BBD72;
  887. color: #FFFFFF;
  888. }
  889. .ui.green.buttons .button:hover,
  890. .ui.green.button:hover,
  891. .ui.green.buttons .active.button,
  892. .ui.green.button.active {
  893. background-color: #58cb73;
  894. color: #FFFFFF;
  895. }
  896. .ui.green.buttons .button:active,
  897. .ui.green.button:active {
  898. background-color: #4CB164;
  899. color: #FFFFFF;
  900. }
  901. /*--- Red ---*/
  902. .ui.red.buttons .button,
  903. .ui.red.button {
  904. background-color: #D95C5C;
  905. color: #FFFFFF;
  906. }
  907. .ui.red.buttons .button:hover,
  908. .ui.red.button:hover,
  909. .ui.red.buttons .active.button,
  910. .ui.red.button.active {
  911. background-color: #E75859;
  912. color: #FFFFFF;
  913. }
  914. .ui.red.buttons .button:active,
  915. .ui.red.button:active {
  916. background-color: #D24B4C;
  917. color: #FFFFFF;
  918. }
  919. /*--- Orange ---*/
  920. .ui.orange.buttons .button,
  921. .ui.orange.button {
  922. background-color: #E96633;
  923. color: #FFFFFF;
  924. }
  925. .ui.orange.buttons .button:hover,
  926. .ui.orange.button:hover,
  927. .ui.orange.buttons .active.button,
  928. .ui.orange.button.active {
  929. background-color: #FF7038;
  930. color: #FFFFFF;
  931. }
  932. .ui.orange.buttons .button:active,
  933. .ui.orange.button:active {
  934. background-color: #DA683B;
  935. color: #FFFFFF;
  936. }
  937. /*--- Blue ---*/
  938. .ui.blue.buttons .button,
  939. .ui.blue.button {
  940. background-color: #6ECFF5;
  941. color: #FFFFFF;
  942. }
  943. .ui.blue.buttons .button:hover,
  944. .ui.blue.button:hover,
  945. .ui.blue.buttons .active.button,
  946. .ui.blue.button.active {
  947. background-color: #1AB8F3;
  948. color: #FFFFFF;
  949. }
  950. .ui.blue.buttons .button:active,
  951. .ui.blue.button:active {
  952. background-color: #0AA5DF;
  953. color: #FFFFFF;
  954. }
  955. /*--- Purple ---*/
  956. .ui.purple.buttons .button,
  957. .ui.purple.button {
  958. background-color: #564F8A;
  959. color: #FFFFFF;
  960. }
  961. .ui.purple.buttons .button:hover,
  962. .ui.purple.button:hover,
  963. .ui.purple.buttons .active.button,
  964. .ui.purple.button.active {
  965. background-color: #3E3773;
  966. color: #FFFFFF;
  967. }
  968. .ui.purple.buttons .button:active,
  969. .ui.purple.button:active {
  970. background-color: #2E2860;
  971. color: #FFFFFF;
  972. }
  973. /*--- Teal ---*/
  974. .ui.teal.buttons .button,
  975. .ui.teal.button {
  976. background-color: #00B5AD;
  977. color: #FFFFFF;
  978. }
  979. .ui.teal.buttons .button:hover,
  980. .ui.teal.button:hover,
  981. .ui.teal.buttons .active.button,
  982. .ui.teal.button.active {
  983. background-color: #009A93;
  984. color: #FFFFFF;
  985. }
  986. .ui.teal.buttons .button:active,
  987. .ui.teal.button:active {
  988. background-color: #00847E;
  989. color: #FFFFFF;
  990. }
  991. /*---------------
  992. Positive
  993. ----------------*/
  994. .ui.positive.buttons .button,
  995. .ui.positive.button {
  996. background-color: #5BBD72 !important;
  997. color: #FFFFFF;
  998. }
  999. .ui.positive.buttons .button:hover,
  1000. .ui.positive.button:hover,
  1001. .ui.positive.buttons .active.button,
  1002. .ui.positive.button.active {
  1003. background-color: #58CB73 !important;
  1004. color: #FFFFFF;
  1005. }
  1006. .ui.positive.buttons .button:active,
  1007. .ui.positive.button:active {
  1008. background-color: #4CB164 !important;
  1009. color: #FFFFFF;
  1010. }
  1011. /*---------------
  1012. Negative
  1013. ----------------*/
  1014. .ui.negative.buttons .button,
  1015. .ui.negative.button {
  1016. background-color: #D95C5C !important;
  1017. color: #FFFFFF;
  1018. }
  1019. .ui.negative.buttons .button:hover,
  1020. .ui.negative.button:hover,
  1021. .ui.negative.buttons .active.button,
  1022. .ui.negative.button.active {
  1023. background-color: #E75859 !important;
  1024. color: #FFFFFF;
  1025. }
  1026. .ui.negative.buttons .button:active,
  1027. .ui.negative.button:active {
  1028. background-color: #D24B4C !important;
  1029. color: #FFFFFF;
  1030. }
  1031. /*******************************
  1032. Groups
  1033. *******************************/
  1034. .ui.buttons {
  1035. display: inline-block;
  1036. vertical-align: middle;
  1037. }
  1038. .ui.buttons:after {
  1039. content: ".";
  1040. display: block;
  1041. height: 0;
  1042. clear: both;
  1043. visibility: hidden;
  1044. }
  1045. .ui.buttons .button:first-child {
  1046. border-left: none;
  1047. }
  1048. .ui.buttons .button {
  1049. float: left;
  1050. -webkit-border-radius: 0em;
  1051. -moz-border-radius: 0em;
  1052. border-radius: 0em;
  1053. border-left: 1px solid rgba(0, 0, 0, 0.05);
  1054. }
  1055. .ui.buttons .button:first-child {
  1056. margin-left: 0em;
  1057. border-top-left-radius: 0.2em;
  1058. border-bottom-left-radius: 0.2em;
  1059. }
  1060. .ui.buttons .button:last-child {
  1061. border-top-right-radius: 0.2em;
  1062. border-bottom-right-radius: 0.2em;
  1063. }
  1064. /* Vertical Style */
  1065. .ui.vertical.buttons {
  1066. display: inline-block;
  1067. }
  1068. .ui.vertical.buttons .button {
  1069. display: block;
  1070. float: none;
  1071. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  1072. border-left: none;
  1073. box-shadow: none;
  1074. }
  1075. .ui.vertical.buttons .button:first-child,
  1076. .ui.vertical.buttons .mini.button:first-child,
  1077. .ui.vertical.buttons .tiny.button:first-child,
  1078. .ui.vertical.buttons .small.button:first-child,
  1079. .ui.vertical.buttons .massive.button:first-child,
  1080. .ui.vertical.buttons .huge.button:first-child {
  1081. margin-top: 0px;
  1082. -moz-border-radius: 0.2em 0.2em 0px 0px;
  1083. -webkit-border-radius: 0.2em 0.2em 0px 0px;
  1084. border-radius: 0.2em 0.2em 0px 0px;
  1085. }
  1086. .ui.vertical.buttons .button:last-child,
  1087. .ui.vertical.buttons .mini.button:last-child,
  1088. .ui.vertical.buttons .tiny.button:last-child,
  1089. .ui.vertical.buttons .small.button:last-child,
  1090. .ui.vertical.buttons .massive.button:last-child,
  1091. .ui.vertical.buttons .huge.button:last-child,
  1092. .ui.vertical.buttons .gigantic.button:last-child {
  1093. -moz-border-radius: 0px 0px 0.2em 0.2em;
  1094. -webkit-border-radius: 0px 0px 0.2em 0.2em;
  1095. border-radius: 0px 0px 0.2em 0.2em;
  1096. }