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.

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