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.

1388 lines
27 KiB

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