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.

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