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.

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