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.

1189 lines
26 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. Loading
  255. ---------------*/
  256. .ui.loading.button {
  257. position: relative;
  258. cursor: default;
  259. background-color: #F3F3F3 !important;
  260. color: transparent !important;
  261. text-shadow: none !important;
  262. background-image: none !important;
  263. -webkit-box-shadow: none !important;
  264. -moz-box-shadow: none !important;
  265. box-shadow: none !important;
  266. -webkit-transition: all 0s linear;
  267. -moz-transition: all 0s linear;
  268. -o-transition: all 0s linear;
  269. -ms-transition: all 0s linear;
  270. transition: all 0s linear;
  271. }
  272. .ui.loading.button:after {
  273. position: absolute;
  274. top: 0em;
  275. left: 0em;
  276. width: 100%;
  277. height: 100%;
  278. content: '';
  279. background: transparent url(../images/loader-mini.gif) no-repeat 50% 50%;
  280. }
  281. .ui.labeled.icon.loading.button .icon {
  282. background-color: transparent;
  283. -webkit-box-shadow: none;
  284. -moz-box-shadow: none;
  285. box-shadow: none;
  286. }
  287. /*-------------------
  288. Disabled
  289. --------------------*/
  290. .ui.disabled.button {
  291. cursor: default;
  292. color: #DDDDDD !important;
  293. background-color: rgba(50, 50, 50, 0.05) !important;
  294. background-image: none !important;
  295. text-shadow: none !important;
  296. -webkit-box-shadow: none !important;
  297. -moz-box-shadow: none !important;
  298. box-shadow: none !important;
  299. }
  300. /*******************************
  301. Variations
  302. *******************************/
  303. /*-------------------
  304. Floated
  305. --------------------*/
  306. .ui.left.floated.buttons,
  307. .ui.left.floated.button {
  308. float: left;
  309. margin-right: 0.25em;
  310. }
  311. .ui.right.floated.buttons,
  312. .ui.right.floated.button {
  313. float: right;
  314. margin-left: 0.25em;
  315. }
  316. /*-------------------
  317. Sizes
  318. --------------------*/
  319. .ui.buttons .button,
  320. .ui.button {
  321. font-size: 1rem;
  322. }
  323. .ui.buttons.mini .button,
  324. .ui.mini.button {
  325. font-size: 0.8125rem;
  326. padding: 0.6em 0.8em;
  327. }
  328. .ui.tiny.buttons .button,
  329. .ui.tiny.button {
  330. font-size: 0.875rem;
  331. padding: 0.6em 0.8em;
  332. }
  333. .ui.small.buttons .button,
  334. .ui.small.button {
  335. font-size: 0.875rem;
  336. }
  337. .ui.large.buttons .button,
  338. .ui.large.button {
  339. font-size: 1.125rem;
  340. }
  341. .ui.big.buttons .button,
  342. .ui.big.button {
  343. font-size: 1.25rem;
  344. }
  345. .ui.huge.buttons .button,
  346. .ui.huge.button {
  347. font-size: 1.375rem;
  348. }
  349. .ui.massive.buttons .button,
  350. .ui.massive.button {
  351. font-size: 1.5rem;
  352. font-weight: bold;
  353. }
  354. /* loading */
  355. .ui.huge.loading.button:after {
  356. background-image: url(../images/loader-small.gif);
  357. }
  358. .ui.massive.buttons .loading.button:after,
  359. .ui.gigantic.buttons .loading.button:after,
  360. .ui.massive.loading.button:after,
  361. .ui.gigantic.loading.button:after {
  362. background-image: url(../images/loader-medium.gif);
  363. }
  364. .ui.huge.loading.button:after,
  365. .ui.huge.loading.button.active:after {
  366. background-image: url(../images/loader-small.gif);
  367. }
  368. .ui.massive.buttons .loading.button:after,
  369. .ui.gigantic.buttons .loading.button:after,
  370. .ui.massive.loading.button:after,
  371. .ui.gigantic.loading.button:after,
  372. .ui.massive.buttons .loading.button.active:after,
  373. .ui.gigantic.buttons .loading.button.active:after,
  374. .ui.massive.loading.button.active:after,
  375. .ui.gigantic.loading.button.active:after {
  376. background-image: url(../images/loader-medium.gif);
  377. }
  378. /*--------------
  379. Icon Only
  380. ---------------*/
  381. .ui.icon.buttons .button,
  382. .ui.icon.button {
  383. padding: 0.8em;
  384. }
  385. .ui.icon.buttons .button > .icon,
  386. .ui.icon.button > .icon {
  387. opacity: 1;
  388. margin: 0em;
  389. vertical-align: top;
  390. }
  391. /*-------------------
  392. Basic
  393. --------------------*/
  394. .ui.basic.buttons .button,
  395. .ui.basic.button {
  396. background-color: transparent !important;
  397. background-image: none;
  398. color: #999999 !important;
  399. font-weight: normal;
  400. text-transform: none;
  401. text-shadow: none !important;
  402. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  403. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  404. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  405. }
  406. .ui.basic.buttons {
  407. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  408. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  409. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  410. -webkit-border-radius: 0.2em;
  411. -moz-border-radius: 0.2em;
  412. border-radius: 0.2em;
  413. }
  414. .ui.basic.buttons .button:hover,
  415. .ui.basic.button:hover {
  416. color: #7F7F7F !important;
  417. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
  418. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
  419. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
  420. }
  421. .ui.basic.buttons .button:active,
  422. .ui.basic.button:active {
  423. background-color: rgba(0, 0, 0, 0.02) !important;
  424. color: #7F7F7F !important;
  425. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  426. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  427. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  428. }
  429. .ui.basic.buttons .button.active,
  430. .ui.basic.button.active {
  431. background-color: rgba(0, 0, 0, 0.05);
  432. color: #7F7F7F;
  433. -webkit-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
  434. -moz-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
  435. box-shadow: 0px 0px 0px 1px #BDBDBD inset;
  436. }
  437. .ui.basic.buttons .button.active:hover,
  438. .ui.basic.button.active:hover {
  439. background-color: rgba(0, 0, 0, 0.1);
  440. }
  441. /* Basic Group */
  442. .ui.basic.buttons .button {
  443. border: none;
  444. -webkit-box-shadow: none;
  445. -moz-box-shadow: none;
  446. box-shadow: none;
  447. }
  448. .ui.basic.buttons .button:hover,
  449. .ui.basic.buttons .button:active {
  450. -webkit-box-shadow: none;
  451. -moz-box-shadow: none;
  452. box-shadow: none;
  453. }
  454. .ui.basic.buttons .button.active {
  455. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  456. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  457. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
  458. }
  459. /*--------------
  460. Labeled Icon
  461. ---------------*/
  462. .ui.labeled.icon.buttons .button,
  463. .ui.labeled.icon.button {
  464. position: relative;
  465. padding-left: 4em !important;
  466. padding-right: 1.4em !important;
  467. }
  468. .ui.labeled.icon.buttons > .button > .icon,
  469. .ui.labeled.icon.button > .icon {
  470. position: absolute;
  471. top: 0em;
  472. left: 0em;
  473. -webkit-box-sizing: border-box;
  474. -moz-box-sizing: border-box;
  475. -ms-box-sizing: border-box;
  476. box-sizing: border-box;
  477. width: 2.75em;
  478. height: 100%;
  479. padding-top: 0.8em;
  480. background-color: rgba(0, 0, 0, 0.05);
  481. text-align: center;
  482. -webkit-border-radius: 0.2em 0px 0px 0.2em;
  483. -moz-border-radius: 0.2em 0px 0px 0.2em;
  484. border-radius: 0.2em 0px 0px 0.2em;
  485. line-height: 1;
  486. -webkit-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  487. -moz-box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  488. box-shadow: -2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  489. }
  490. .ui.labeled.icon.buttons .button > .icon {
  491. -webkit-border-radius: 0em;
  492. -moz-border-radius: 0em;
  493. border-radius: 0em;
  494. }
  495. .ui.labeled.icon.buttons .button:first-child > .icon {
  496. border-top-left-radius: 0.2em;
  497. border-bottom-left-radius: 0.2em;
  498. }
  499. .ui.labeled.icon.buttons .button:last-child > .icon {
  500. border-top-right-radius: 0.2em;
  501. border-bottom-right-radius: 0.2em;
  502. }
  503. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  504. -webkit-border-radius: 0em;
  505. -moz-border-radius: 0em;
  506. border-radius: 0em;
  507. border-top-left-radius: 0.2em;
  508. }
  509. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  510. -webkit-border-radius: 0em;
  511. -moz-border-radius: 0em;
  512. border-radius: 0em;
  513. border-bottom-left-radius: 0.2em;
  514. }
  515. .ui.right.labeled.icon.button {
  516. padding-left: 1.4em !important;
  517. padding-right: 4em !important;
  518. }
  519. .ui.left.fluid.labeled.icon.button,
  520. .ui.right.fluid.labeled.icon.button {
  521. padding-left: 1.4em !important;
  522. padding-right: 1.4em !important;
  523. }
  524. .ui.right.labeled.icon.button .icon {
  525. left: auto;
  526. right: 0em;
  527. -webkit-border-radius: 0em 0.2em 0.2em 0em;
  528. -moz-border-radius: 0em 0.2em 0.2em 0em;
  529. border-radius: 0em 0.2em 0.2em 0em;
  530. -webkit-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  531. -moz-box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  532. box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
  533. }
  534. /*--------------
  535. Toggle
  536. ---------------*/
  537. /* Toggle (Modifies active state to give affordances) */
  538. .ui.toggle.buttons .active.button,
  539. .ui.buttons .button.toggle.active,
  540. .ui.button.toggle.active {
  541. background-color: #5BBD72 !important;
  542. color: #FFFFFF !important;
  543. }
  544. .ui.button.toggle.active:hover {
  545. background-color: #58CB73 !important;
  546. color: #FFFFFF !important;
  547. }
  548. /*--------------
  549. Bubbly
  550. ---------------*/
  551. .ui.circular.button {
  552. -webkit-border-radius: 10em;
  553. -moz-border-radius: 10em;
  554. border-radius: 10em;
  555. }
  556. /*--------------
  557. Attached
  558. ---------------*/
  559. .ui.attached.button {
  560. display: block;
  561. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
  562. -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
  563. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
  564. }
  565. .ui.attached.top.button {
  566. -webkit-border-radius: 0.2em 0.2em 0em 0em;
  567. -moz-border-radius: 0.2em 0.2em 0em 0em;
  568. border-radius: 0.2em 0.2em 0em 0em;
  569. }
  570. .ui.attached.bottom.button {
  571. -webkit-border-radius: 0em 0em 0.2em 0.2em;
  572. -moz-border-radius: 0em 0em 0.2em 0.2em;
  573. border-radius: 0em 0em 0.2em 0.2em;
  574. }
  575. .ui.attached.left.button {
  576. display: inline-block;
  577. border-left: none;
  578. padding-right: 0.75em;
  579. text-align: right;
  580. -webkit-border-radius: 0.2em 0em 0em 0.2em;
  581. -moz-border-radius: 0.2em 0em 0em 0.2em;
  582. border-radius: 0.2em 0em 0em 0.2em;
  583. }
  584. .ui.attached.right.button {
  585. display: inline-block;
  586. padding-left: 0.75em;
  587. text-align: left;
  588. -webkit-border-radius: 0em 0.2em 0.2em 0em;
  589. -moz-border-radius: 0em 0.2em 0.2em 0em;
  590. border-radius: 0em 0.2em 0.2em 0em;
  591. }
  592. /*-------------------
  593. Or Buttons
  594. --------------------*/
  595. .ui.buttons .or {
  596. position: relative;
  597. float: left;
  598. width: 0.3em;
  599. height: 1em;
  600. z-index: 3;
  601. }
  602. .ui.buttons .or:before {
  603. position: absolute;
  604. top: 50%;
  605. left: 50%;
  606. content: 'or';
  607. background-color: #FFFFFF;
  608. margin-top: -0.15em;
  609. margin-left: -0.9em;
  610. width: 1.8em;
  611. height: 1.8em;
  612. line-height: 1.66;
  613. color: #AAAAAA;
  614. font-style: normal;
  615. font-weight: normal;
  616. text-align: center;
  617. -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  618. -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  619. box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2) inset;
  620. -moz-border-radius: 500px;
  621. -webkit-border-radius: 500px;
  622. border-radius: 500px;
  623. -webkit-box-sizing: border-box;
  624. -moz-box-sizing: border-box;
  625. -ms-box-sizing: border-box;
  626. box-sizing: border-box;
  627. }
  628. .ui.buttons .or:after {
  629. position: absolute;
  630. top: 0em;
  631. left: 0em;
  632. content: ' ';
  633. width: 0.3em;
  634. height: 1.8em;
  635. background-color: transparent;
  636. border-top: 0.6em solid #FFFFFF;
  637. border-bottom: 0.6em solid #FFFFFF;
  638. }
  639. /* Fluid Or */
  640. .ui.fluid.buttons .or {
  641. width: 0em !important;
  642. }
  643. .ui.fluid.buttons .or:after{
  644. display: none;
  645. }
  646. /*-------------------
  647. Attached
  648. --------------------*/
  649. /* Plural Attached */
  650. .attached.ui.buttons {
  651. margin: 0px;
  652. -webkit-border-radius: 4px 4px 0px 0px;
  653. -moz-border-radius: 4px 4px 0px 0px;
  654. border-radius: 4px 4px 0px 0px;
  655. }
  656. .attached.ui.buttons .button:first-child {
  657. -webkit-border-radius: 4px 0px 0px 0px;
  658. -moz-border-radius: 4px 0px 0px 0px;
  659. border-radius: 4px 0px 0px 0px;
  660. }
  661. .attached.ui.buttons .button:last-child {
  662. -webkit-border-radius: 0px 4px 0px 0px;
  663. -moz-border-radius: 0px 4px 0px 0px;
  664. border-radius: 0px 4px 0px 0px;
  665. }
  666. /* Bottom Side */
  667. .bottom.attached.ui.buttons {
  668. margin-top: -1px;
  669. -webkit-border-radius: 0px 0px 4px 4px;
  670. -moz-border-radius: 0px 0px 4px 4px;
  671. border-radius: 0px 0px 4px 4px;
  672. }
  673. .bottom.attached.ui.buttons .button:first-child {
  674. -webkit-border-radius: 0px 0px 0px 4px;
  675. -moz-border-radius: 0px 0px 0px 4px;
  676. border-radius: 0px 0px 0px 4px;
  677. }
  678. .bottom.attached.ui.buttons .button:last-child {
  679. -webkit-border-radius: 0px 0px 4px 0px;
  680. -moz-border-radius: 0px 0px 4px 0px;
  681. border-radius: 0px 0px 4px 0px;
  682. }
  683. /* Left Side */
  684. .left.attached.ui.buttons {
  685. margin-left: -1px;
  686. -webkit-border-radius: 0px 4px 4px 0px;
  687. -moz-border-radius: 0px 4px 4px 0px;
  688. border-radius: 0px 4px 4px 0px;
  689. }
  690. .left.attached.ui.buttons .button:first-child {
  691. margin-left: -1px;
  692. -webkit-border-radius: 0px 4px 0px 0px;
  693. -moz-border-radius: 0px 4px 0px 0px;
  694. border-radius: 0px 4px 0px 0px;
  695. }
  696. .left.attached.ui.buttons .button:last-child {
  697. margin-left: -1px;
  698. -webkit-border-radius: 0px 0px 4px 0px;
  699. -moz-border-radius: 0px 0px 4px 0px;
  700. border-radius: 0px 0px 4px 0px;
  701. }
  702. /* Right Side */
  703. .right.attached.ui.buttons,
  704. .right.attached.ui.buttons .button {
  705. margin-right: -1px;
  706. -webkit-border-radius: 4px 0px 0px 4px;
  707. -moz-border-radius: 4px 0px 0px 4px;
  708. border-radius: 4px 0px 0px 4px;
  709. }
  710. .right.attached.ui.buttons .button:first-child {
  711. margin-left: -1px;
  712. -webkit-border-radius: 4px 0px 0px 0px;
  713. -moz-border-radius: 4px 0px 0px 0px;
  714. border-radius: 4px 0px 0px 0px;
  715. }
  716. .right.attached.ui.buttons .button:last-child {
  717. margin-left: -1px;
  718. -webkit-border-radius: 0px 0px 0px 4px;
  719. -moz-border-radius: 0px 0px 0px 4px;
  720. border-radius: 0px 0px 0px 4px;
  721. }
  722. /* Fluid */
  723. .ui.fluid.buttons,
  724. .ui.button.fluid,
  725. .ui.fluid.buttons > .button {
  726. display: block;
  727. width: 100%;
  728. }
  729. .ui.two.buttons > .button {
  730. width: 50%;
  731. }
  732. .ui.three.buttons > .button {
  733. width: 33.333%;
  734. }
  735. .ui.four.buttons > .button {
  736. width: 25%;
  737. }
  738. .ui.five.buttons > .button {
  739. width: 20%;
  740. }
  741. .ui.six.buttons > .button {
  742. width: 16.666%;
  743. }
  744. .ui.seven.buttons > .button {
  745. width: 14.285%;
  746. }
  747. .ui.eight.buttons > .button {
  748. width: 12.500%;
  749. }
  750. .ui.nine.buttons > .button {
  751. width: 11.11%;
  752. }
  753. .ui.ten.buttons > .button {
  754. width: 10%;
  755. }
  756. .ui.eleven.buttons > .button {
  757. width: 9.09%;
  758. }
  759. .ui.twelve.buttons > .button {
  760. width: 8.3333%;
  761. }
  762. /* Fluid Vertical Buttons */
  763. .ui.fluid.vertical.buttons,
  764. .ui.fluid.vertical.buttons > .button {
  765. width: auto;
  766. -webkit-box-sizing: border-box;
  767. -moz-box-sizing: border-box;
  768. -ms-box-sizing: border-box;
  769. box-sizing: border-box;
  770. }
  771. .ui.two.vertical.buttons > .button {
  772. height: 50%;
  773. }
  774. .ui.three.vertical.buttons > .button {
  775. height: 33.333%;
  776. }
  777. .ui.four.vertical.buttons > .button {
  778. height: 25%;
  779. }
  780. .ui.five.vertical.buttons > .button {
  781. height: 20%;
  782. }
  783. .ui.six.vertical.buttons > .button {
  784. height: 16.666%;
  785. }
  786. .ui.seven.vertical.buttons > .button {
  787. height: 14.285%;
  788. }
  789. .ui.eight.vertical.buttons > .button {
  790. height: 12.500%;
  791. }
  792. .ui.nine.vertical.buttons > .button {
  793. height: 11.11%;
  794. }
  795. .ui.ten.vertical.buttons > .button {
  796. height: 10%;
  797. }
  798. .ui.eleven.vertical.buttons > .button {
  799. height: 9.09%;
  800. }
  801. .ui.twelve.vertical.buttons > .button {
  802. height: 8.3333%;
  803. }
  804. /*-------------------
  805. Colors
  806. --------------------*/
  807. /*--- Black ---*/
  808. .ui.black.buttons .button,
  809. .ui.black.button {
  810. background-color: #5C6166;
  811. color: #FFFFFF;
  812. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  813. }
  814. .ui.black.buttons .button:hover,
  815. .ui.black.button:hover {
  816. background-color: #4C4C4C;
  817. color: #FFFFFF;
  818. }
  819. .ui.black.buttons .button:active,
  820. .ui.black.button:active {
  821. background-color: #333333;
  822. color: #FFFFFF;
  823. }
  824. /*--- Green ---*/
  825. .ui.green.buttons .button,
  826. .ui.green.button {
  827. background-color: #5BBD72;
  828. color: #FFFFFF;
  829. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  830. }
  831. .ui.green.buttons .button:hover,
  832. .ui.green.button:hover,
  833. .ui.green.buttons .active.button,
  834. .ui.green.button.active {
  835. background-color: #58cb73;
  836. color: #FFFFFF;
  837. }
  838. .ui.green.buttons .button:active,
  839. .ui.green.button:active {
  840. background-color: #4CB164;
  841. color: #FFFFFF;
  842. }
  843. /*--- Red ---*/
  844. .ui.red.buttons .button,
  845. .ui.red.button {
  846. background-color: #D95C5C;
  847. color: #FFFFFF;
  848. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  849. }
  850. .ui.red.buttons .button:hover,
  851. .ui.red.button:hover,
  852. .ui.red.buttons .active.button,
  853. .ui.red.button.active {
  854. background-color: #E75859;
  855. color: #FFFFFF;
  856. }
  857. .ui.red.buttons .button:active,
  858. .ui.red.button:active {
  859. background-color: #D24B4C;
  860. color: #FFFFFF;
  861. }
  862. /*--- Orange ---*/
  863. .ui.orange.buttons .button,
  864. .ui.orange.button {
  865. background-color: #E96633;
  866. color: #FFFFFF;
  867. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  868. }
  869. .ui.orange.buttons .button:hover,
  870. .ui.orange.button:hover,
  871. .ui.orange.buttons .active.button,
  872. .ui.orange.button.active {
  873. background-color: #FF7038;
  874. color: #FFFFFF;
  875. }
  876. .ui.orange.buttons .button:active,
  877. .ui.orange.button:active {
  878. background-color: #DA683B;
  879. color: #FFFFFF;
  880. }
  881. /*--- Blue ---*/
  882. .ui.blue.buttons .button,
  883. .ui.blue.button {
  884. background-color: #6ECFF5;
  885. color: #FFFFFF;
  886. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  887. }
  888. .ui.blue.buttons .button:hover,
  889. .ui.blue.button:hover,
  890. .ui.blue.buttons .active.button,
  891. .ui.blue.button.active {
  892. background-color: #1AB8F3;
  893. color: #FFFFFF;
  894. }
  895. .ui.blue.buttons .button:active,
  896. .ui.blue.button:active {
  897. background-color: #0AA5DF;
  898. color: #FFFFFF;
  899. }
  900. /*--- Purple ---*/
  901. .ui.purple.buttons .button,
  902. .ui.purple.button {
  903. background-color: #564F8A;
  904. color: #FFFFFF;
  905. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  906. }
  907. .ui.purple.buttons .button:hover,
  908. .ui.purple.button:hover,
  909. .ui.purple.buttons .active.button,
  910. .ui.purple.button.active {
  911. background-color: #3E3773;
  912. color: #FFFFFF;
  913. }
  914. .ui.purple.buttons .button:active,
  915. .ui.purple.button:active {
  916. background-color: #2E2860;
  917. color: #FFFFFF;
  918. }
  919. /*--- Teal ---*/
  920. .ui.teal.buttons .button,
  921. .ui.teal.button {
  922. background-color: #00B5AD;
  923. color: #FFFFFF;
  924. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  925. }
  926. .ui.teal.buttons .button:hover,
  927. .ui.teal.button:hover,
  928. .ui.teal.buttons .active.button,
  929. .ui.teal.button.active {
  930. background-color: #009A93;
  931. color: #FFFFFF;
  932. }
  933. .ui.teal.buttons .button:active,
  934. .ui.teal.button:active {
  935. background-color: #00847E;
  936. color: #FFFFFF;
  937. }
  938. /*---------------
  939. Positive
  940. ----------------*/
  941. .ui.positive.buttons .button,
  942. .ui.positive.button {
  943. background-color: #5BBD72 !important;
  944. color: #FFFFFF;
  945. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  946. }
  947. .ui.positive.buttons .button:hover,
  948. .ui.positive.button:hover,
  949. .ui.positive.buttons .active.button,
  950. .ui.positive.button.active {
  951. background-color: #58CB73 !important;
  952. color: #FFFFFF;
  953. }
  954. .ui.positive.buttons .button:active,
  955. .ui.positive.button:active {
  956. background-color: #4CB164 !important;
  957. color: #FFFFFF;
  958. }
  959. /*---------------
  960. Negative
  961. ----------------*/
  962. .ui.negative.buttons .button,
  963. .ui.negative.button {
  964. background-color: #D95C5C !important;
  965. color: #FFFFFF;
  966. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  967. }
  968. .ui.negative.buttons .button:hover,
  969. .ui.negative.button:hover,
  970. .ui.negative.buttons .active.button,
  971. .ui.negative.button.active {
  972. background-color: #E75859 !important;
  973. color: #FFFFFF;
  974. }
  975. .ui.negative.buttons .button:active,
  976. .ui.negative.button:active {
  977. background-color: #D24B4C !important;
  978. color: #FFFFFF;
  979. }
  980. /*******************************
  981. Groups
  982. *******************************/
  983. .ui.buttons {
  984. display: inline-block;
  985. vertical-align: middle;
  986. }
  987. .ui.buttons:after {
  988. content: ".";
  989. display: block;
  990. height: 0;
  991. clear: both;
  992. visibility: hidden;
  993. }
  994. .ui.buttons .button:first-child {
  995. border-left: none;
  996. }
  997. .ui.buttons .button {
  998. float: left;
  999. -webkit-border-radius: 0em;
  1000. -moz-border-radius: 0em;
  1001. border-radius: 0em;
  1002. border-left: 1px solid rgba(0, 0, 0, 0.05);
  1003. }
  1004. .ui.buttons .button:first-child {
  1005. margin-left: 0em;
  1006. border-top-left-radius: 0.2em;
  1007. border-bottom-left-radius: 0.2em;
  1008. }
  1009. .ui.buttons .button:last-child {
  1010. border-top-right-radius: 0.2em;
  1011. border-bottom-right-radius: 0.2em;
  1012. }
  1013. /* Vertical Style */
  1014. .ui.vertical.buttons {
  1015. display: inline-block;
  1016. }
  1017. .ui.vertical.buttons .button {
  1018. display: block;
  1019. float: none;
  1020. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  1021. border-left: none;
  1022. box-shadow: none;
  1023. }
  1024. .ui.vertical.buttons .button:first-child,
  1025. .ui.vertical.buttons .mini.button:first-child,
  1026. .ui.vertical.buttons .tiny.button:first-child,
  1027. .ui.vertical.buttons .small.button:first-child,
  1028. .ui.vertical.buttons .massive.button:first-child,
  1029. .ui.vertical.buttons .huge.button:first-child {
  1030. margin-top: 0px;
  1031. -moz-border-radius: 0.2em 0.2em 0px 0px;
  1032. -webkit-border-radius: 0.2em 0.2em 0px 0px;
  1033. border-radius: 0.2em 0.2em 0px 0px;
  1034. }
  1035. .ui.vertical.buttons .button:last-child,
  1036. .ui.vertical.buttons .mini.button:last-child,
  1037. .ui.vertical.buttons .tiny.button:last-child,
  1038. .ui.vertical.buttons .small.button:last-child,
  1039. .ui.vertical.buttons .massive.button:last-child,
  1040. .ui.vertical.buttons .huge.button:last-child,
  1041. .ui.vertical.buttons .gigantic.button:last-child {
  1042. -moz-border-radius: 0px 0px 0.2em 0.2em;
  1043. -webkit-border-radius: 0px 0px 0.2em 0.2em;
  1044. border-radius: 0px 0px 0.2em 0.2em;
  1045. }