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.

1293 lines
28 KiB

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