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.

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