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.

2357 lines
61 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Button
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. @type : 'element';
  15. @element : 'button';
  16. @import '../../semantic.config';
  17. /*******************************
  18. Button
  19. *******************************/
  20. /* Prototype */
  21. .ui.button {
  22. cursor: pointer;
  23. display: inline-block;
  24. min-height: 1em;
  25. outline: none;
  26. border: none;
  27. vertical-align: @verticalAlign;
  28. background-color: @backgroundColor;
  29. color: @textColor;
  30. margin: 0em @horizontalMargin @verticalMargin 0em;
  31. padding: @verticalPadding @horizontalPadding (@verticalPadding + @shadowOffset);
  32. font-family: @pageFont;
  33. text-transform: @textTransform;
  34. text-shadow: @textShadow;
  35. font-weight: @fontWeight;
  36. line-height: 1;
  37. font-style: normal;
  38. text-align: center;
  39. text-decoration: none;
  40. background-image: @backgroundImage;
  41. border-radius: @borderRadius;
  42. box-shadow: @boxShadow;
  43. user-select: none;
  44. box-sizing: border-box;
  45. transition: @transition;
  46. -webkit-tap-highlight-color: @tapColor;
  47. }
  48. /*******************************
  49. States
  50. *******************************/
  51. /*--------------
  52. Hover
  53. ---------------*/
  54. .ui.button:hover {
  55. background-color: @hoverBackgroundColor;
  56. background-image: @hoverBackgroundImage;
  57. color: @hoverColor;
  58. }
  59. .ui.button:hover .icon {
  60. opacity: @iconHoverOpacity;
  61. }
  62. /*--------------
  63. Focus
  64. ---------------*/
  65. .ui.button:focus {
  66. background-color: @focusBackgroundColor;
  67. background-image: @focusBackgroundImage;
  68. box-shadow: @focusBoxShadow;
  69. color: @focusColor;
  70. }
  71. .ui.button:focus .icon {
  72. opacity: @iconFocusOpacity;
  73. }
  74. /*--------------
  75. Down
  76. ---------------*/
  77. .ui.button:active,
  78. .ui.active.button:active {
  79. background-color: @downBackgroundColor;
  80. background-image: @downBackgroundImage;
  81. color: @downColor;
  82. box-shadow: @downBoxShadow;
  83. }
  84. /*--------------
  85. Active
  86. ---------------*/
  87. .ui.active.button {
  88. background-color: @activeBackgroundColor;
  89. background-image: @activeBackgroundImage;
  90. box-shadow: @activeBoxShadow;
  91. color: @activeColor;
  92. }
  93. .ui.button.active:hover {
  94. background-color: @activeHoverBackgroundColor;
  95. background-image: @activeHoverBackgroundImage;
  96. color: @activeHoverColor;
  97. }
  98. .ui.button.active:active {
  99. background-color: @activeBackgroundColor;
  100. background-image: @activeBackgroundImage;
  101. }
  102. /*--------------
  103. Loading
  104. ---------------*/
  105. .ui.loading.button {
  106. position: relative;
  107. cursor: default;
  108. background: @loadingBackground !important;
  109. text-shadow: none !important;
  110. color: transparent !important;
  111. transition: all 0s linear;
  112. box-shadow: @boxShadow;
  113. }
  114. .ui.loading.button:after {
  115. position: absolute;
  116. top: 0em;
  117. left: 0em;
  118. width: 100%;
  119. height: 100%;
  120. content: '';
  121. background: transparent url(@loaderPath) no-repeat 50% 50%;
  122. }
  123. .ui.labeled.icon.loading.button .icon {
  124. background-color: transparent;
  125. box-shadow: none;
  126. }
  127. /*-------------------
  128. Disabled
  129. --------------------*/
  130. .ui.buttons .disabled.button,
  131. .ui.disabled.button,
  132. .ui.disabled.button:hover,
  133. .ui.disabled.button.active {
  134. cursor: default;
  135. background-color: @lightGrey !important;
  136. color: @lightTextColor !important;
  137. opacity: @disabledOpacity !important;
  138. background-image: none !important;
  139. box-shadow: none !important;
  140. pointer-events: none;
  141. }
  142. /*******************************
  143. Types
  144. *******************************/
  145. /*-------------------
  146. Animated
  147. --------------------*/
  148. .ui.animated.button {
  149. position: relative;
  150. overflow: hidden;
  151. padding-right: 0em !important;
  152. }
  153. .ui.animated.button .content {
  154. will-change: transform, opacity;
  155. }
  156. .ui.animated.button .visible.content {
  157. position: relative;
  158. margin-right: @horizontalPadding;
  159. }
  160. .ui.animated.button .hidden.content {
  161. position: absolute;
  162. width: 100%;
  163. }
  164. /* Horizontal */
  165. .ui.animated.button .visible.content,
  166. .ui.animated.button .hidden.content {
  167. transition: right @animationDuration @animationEasing 0s;
  168. }
  169. .ui.animated.button .visible.content {
  170. left: auto;
  171. right: 0%;
  172. }
  173. .ui.animated.button .hidden.content {
  174. top: 50%;
  175. left: auto;
  176. right: -100%;
  177. margin-top: -0.5em;
  178. }
  179. .ui.animated.button:hover .visible.content {
  180. left: auto;
  181. right: 200%;
  182. }
  183. .ui.animated.button:hover .hidden.content {
  184. left: auto;
  185. right: 0%;
  186. }
  187. /* Vertical */
  188. .ui.vertical.animated.button .visible.content,
  189. .ui.vertical.animated.button .hidden.content {
  190. transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
  191. }
  192. .ui.vertical.animated.button .visible.content {
  193. transform: translateY(0%);
  194. right: auto;
  195. }
  196. .ui.vertical.animated.button .hidden.content {
  197. top: -50%;
  198. left: 0%;
  199. right: auto;
  200. }
  201. .ui.vertical.animated.button:hover .visible.content {
  202. transform: translateY(200%);
  203. right: auto;
  204. }
  205. .ui.vertical.animated.button:hover .hidden.content {
  206. top: 50%;
  207. right: auto;
  208. }
  209. /* Fade */
  210. .ui.fade.animated.button .visible.content,
  211. .ui.fade.animated.button .hidden.content {
  212. transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
  213. }
  214. .ui.fade.animated.button .visible.content {
  215. left: auto;
  216. right: auto;
  217. opacity: 1;
  218. transform: scale(1);
  219. }
  220. .ui.fade.animated.button .hidden.content {
  221. opacity: 0;
  222. left: 0%;
  223. right: auto;
  224. transform: scale(@fadeScaleHigh);
  225. }
  226. .ui.fade.animated.button:hover .visible.content {
  227. left: auto;
  228. right: auto;
  229. opacity: 0;
  230. transform: scale(@fadeScaleLow);
  231. }
  232. .ui.fade.animated.button:hover .hidden.content {
  233. left: 0%;
  234. right: auto;
  235. opacity: 1;
  236. transform: scale(1);
  237. }
  238. /*-------------------
  239. Inverted
  240. --------------------*/
  241. .ui.inverted.button {
  242. box-shadow: 0px 0px 0px @invertedBorderSize @white inset !important;
  243. background: transparent none;
  244. color: @white;
  245. text-shadow: none !important;
  246. }
  247. .ui.inverted.buttons .button {
  248. margin: @invertedGroupButtonOffset;
  249. }
  250. .ui.inverted.buttons .button:first-child {
  251. margin-left: 0em;
  252. }
  253. .ui.inverted.vertical.buttons .button {
  254. margin: @invertedVerticalGroupButtonOffset;
  255. }
  256. .ui.inverted.vertical.buttons .button:first-child {
  257. margin-top: 0em;
  258. }
  259. .ui.inverted.buttons .button:hover {
  260. position: relative;
  261. }
  262. .ui.inverted.button:hover {
  263. background: @white;
  264. box-shadow: 0px 0px 0px @invertedBorderSize @white inset !important;
  265. color: @hoverColor;
  266. }
  267. /*-------------------
  268. Social
  269. --------------------*/
  270. /* Facebook */
  271. .ui.facebook.button {
  272. background-color: @facebookColor;
  273. color: @invertedTextColor;
  274. text-shadow: @invertedTextShadow;
  275. background-image: @coloredBackgroundImage;
  276. box-shadow: @coloredBoxShadow;
  277. }
  278. .ui.facebook.button:hover {
  279. background-color: @facebookHoverColor;
  280. color: @invertedTextColor;
  281. text-shadow: @invertedTextShadow;
  282. }
  283. .ui.facebook.button:active {
  284. background-color: @facebookDownColor;
  285. color: @invertedTextColor;
  286. text-shadow: @invertedTextShadow;
  287. }
  288. /* Twitter */
  289. .ui.twitter.button {
  290. background-color: @twitterColor;
  291. color: @invertedTextColor;
  292. text-shadow: @invertedTextShadow;
  293. background-image: @coloredBackgroundImage;
  294. box-shadow: @coloredBoxShadow;
  295. }
  296. .ui.twitter.button:hover {
  297. background-color: @twitterHoverColor;
  298. color: @invertedTextColor;
  299. text-shadow: @invertedTextShadow;
  300. }
  301. .ui.twitter.button:active {
  302. background-color: @twitterDownColor;
  303. color: @invertedTextColor;
  304. text-shadow: @invertedTextShadow;
  305. }
  306. /* Google Plus */
  307. .ui.google.plus.button {
  308. background-color: @googlePlusColor;
  309. color: @invertedTextColor;
  310. text-shadow: @invertedTextShadow;
  311. background-image: @coloredBackgroundImage;
  312. box-shadow: @coloredBoxShadow;
  313. }
  314. .ui.google.plus.button:hover {
  315. background-color: @googlePlusHoverColor;
  316. color: @invertedTextColor;
  317. text-shadow: @invertedTextShadow;
  318. }
  319. .ui.google.plus.button:active {
  320. background-color: @googlePlusDownColor;
  321. color: @invertedTextColor;
  322. text-shadow: @invertedTextShadow;
  323. }
  324. /* Linked In */
  325. .ui.linkedin.button {
  326. background-color: @linkedInColor;
  327. color: @invertedTextColor;
  328. text-shadow: @invertedTextShadow;
  329. }
  330. .ui.linkedin.button:hover {
  331. background-color: @linkedInHoverColor;
  332. color: @invertedTextColor;
  333. text-shadow: @invertedTextShadow;
  334. }
  335. .ui.linkedin.button:active {
  336. background-color: @linkedInDownColor;
  337. color: @invertedTextColor;
  338. text-shadow: @invertedTextShadow;
  339. }
  340. /* YouTube */
  341. .ui.youtube.button {
  342. background-color: @youtubeColor;
  343. color: @invertedTextColor;
  344. text-shadow: @invertedTextShadow;
  345. background-image: @coloredBackgroundImage;
  346. box-shadow: @coloredBoxShadow;
  347. }
  348. .ui.youtube.button:hover {
  349. background-color: @youtubeHoverColor;
  350. color: @invertedTextColor;
  351. text-shadow: @invertedTextShadow;
  352. }
  353. .ui.youtube.button:active {
  354. background-color: @youtubeDownColor;
  355. color: @invertedTextColor;
  356. text-shadow: @invertedTextShadow;
  357. }
  358. /* Instagram */
  359. .ui.instagram.button {
  360. background-color: @instagramColor;
  361. color: @invertedTextColor;
  362. text-shadow: @invertedTextShadow;
  363. background-image: @coloredBackgroundImage;
  364. box-shadow: @coloredBoxShadow;
  365. }
  366. .ui.instagram.button:hover {
  367. background-color: @instagramHoverColor;
  368. color: @invertedTextColor;
  369. text-shadow: @invertedTextShadow;
  370. }
  371. .ui.instagram.button:active {
  372. background-color: @instagramDownColor;
  373. color: @invertedTextColor;
  374. text-shadow: @invertedTextShadow;
  375. }
  376. /* Pinterest */
  377. .ui.pinterest.button {
  378. background-color: @pinterestColor;
  379. color: @invertedTextColor;
  380. text-shadow: @invertedTextShadow;
  381. background-image: @coloredBackgroundImage;
  382. box-shadow: @coloredBoxShadow;
  383. }
  384. .ui.pinterest.button:hover {
  385. background-color: @pinterestHoverColor;
  386. color: @invertedTextColor;
  387. text-shadow: @invertedTextShadow;
  388. }
  389. .ui.pinterest.button:active {
  390. background-color: @pinterestDownColor;
  391. color: @invertedTextColor;
  392. text-shadow: @invertedTextShadow;
  393. }
  394. /* VK */
  395. .ui.vk.button {
  396. background-color: #4D7198;
  397. color: @white;
  398. background-image: @coloredBackgroundImage;
  399. box-shadow: @coloredBoxShadow;
  400. }
  401. .ui.vk.button:hover {
  402. background-color: @vkHoverColor;
  403. color: @white;
  404. }
  405. .ui.vk.button:active {
  406. background-color: @vkDownColor;
  407. color: @white;
  408. }
  409. /*--------------
  410. Icon
  411. ---------------*/
  412. .ui.button > .icon {
  413. opacity: @iconOpacity;
  414. margin: @iconMargin;
  415. transition: @iconTransition;
  416. vertical-align: @iconVerticalAlign;
  417. }
  418. .ui.button > .right.icon {
  419. margin: @rightIconMargin;
  420. }
  421. /*******************************
  422. Variations
  423. *******************************/
  424. /*-------------------
  425. Floated
  426. --------------------*/
  427. .ui[class*="left floated"].buttons,
  428. .ui[class*="left floated"].button {
  429. float: left;
  430. margin-left: 0em;
  431. margin-right: @floatedMargin;
  432. }
  433. .ui[class*="right floated"].buttons,
  434. .ui[class*="right floated"].button {
  435. float: right;
  436. margin-right: 0em;
  437. margin-left: @floatedMargin;
  438. }
  439. /*-------------------
  440. Compact
  441. --------------------*/
  442. .ui.compact.buttons .button,
  443. .ui.compact.button {
  444. padding: @compactVerticalPadding @compactHorizontalPadding ( @compactVerticalPadding + @shadowOffset );
  445. }
  446. .ui.compact.icon.buttons .button,
  447. .ui.compact.icon.button {
  448. padding: @compactVerticalPadding @compactVerticalPadding ( @compactVerticalPadding + @shadowOffset );
  449. }
  450. .ui.compact.labeled.icon.buttons .button,
  451. .ui.compact.labeled.icon.button {
  452. padding: @compactVerticalPadding (@compactHorizontalPadding + @labeledIconWidth) ( @compactVerticalPadding + @shadowOffset );
  453. }
  454. /*-------------------
  455. Sizes
  456. --------------------*/
  457. .ui.mini.buttons .button,
  458. .ui.mini.buttons .or,
  459. .ui.mini.button {
  460. font-size: @mini;
  461. }
  462. .ui.tiny.buttons .button,
  463. .ui.tiny.buttons .or,
  464. .ui.tiny.button {
  465. font-size: @tiny;
  466. }
  467. .ui.small.buttons .button,
  468. .ui.small.buttons .or,
  469. .ui.small.button {
  470. font-size: @small;
  471. }
  472. .ui.buttons .button,
  473. .ui.buttons .or,
  474. .ui.button {
  475. font-size: @medium;
  476. }
  477. .ui.large.buttons .button,
  478. .ui.large.buttons .or,
  479. .ui.large.button {
  480. font-size: @large;
  481. }
  482. .ui.big.buttons .button,
  483. .ui.big.buttons .or,
  484. .ui.big.button {
  485. font-size: @big;
  486. }
  487. .ui.huge.buttons .button,
  488. .ui.huge.buttons .or,
  489. .ui.huge.button {
  490. font-size: @huge;
  491. }
  492. .ui.massive.buttons .button,
  493. .ui.massive.buttons .or,
  494. .ui.massive.button {
  495. font-size: @massive;
  496. }
  497. /* Loading Resize */
  498. .ui.huge.loading.button:after,
  499. .ui.huge.loading.button.active:after {
  500. background-image: url(@hugeLoaderPath);
  501. }
  502. .ui.massive.buttons .loading.button:after,
  503. .ui.gigantic.buttons .loading.button:after,
  504. .ui.massive.loading.button:after,
  505. .ui.gigantic.loading.button:after,
  506. .ui.massive.buttons .loading.button.active:after,
  507. .ui.gigantic.buttons .loading.button.active:after,
  508. .ui.massive.loading.button.active:after,
  509. .ui.gigantic.loading.button.active:after {
  510. background-image: url(@massiveLoaderPath);
  511. }
  512. /*--------------
  513. Icon Only
  514. ---------------*/
  515. .ui.icon.buttons .button,
  516. .ui.icon.button {
  517. padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
  518. }
  519. .ui.icon.buttons .button > .icon,
  520. .ui.icon.button > .icon {
  521. opacity: @iconButtonOpacity;
  522. margin: 0em;
  523. vertical-align: baseline;
  524. height: 0em;
  525. }
  526. /*-------------------
  527. Basic
  528. --------------------*/
  529. .ui.basic.buttons .button,
  530. .ui.basic.button {
  531. background: @basicBackground !important;
  532. background-image: none;
  533. color: @textColor !important;
  534. font-weight: @basicFontWeight;
  535. border-radius: @basicBorderRadius;
  536. text-transform: @basicTextTransform;
  537. text-shadow: none !important;
  538. box-shadow: @basicBoxShadow;
  539. }
  540. .ui.basic.buttons {
  541. box-shadow: @basicGroupBoxShadow;
  542. border-radius: @borderRadius;
  543. }
  544. .ui.basic.buttons .button {
  545. border-radius: 0em;
  546. }
  547. .ui.basic.buttons .button:hover,
  548. .ui.basic.button:hover {
  549. background: @basicHoverBackground !important;
  550. color: @hoveredTextColor !important;
  551. box-shadow: @basicHoverBoxShadow;
  552. }
  553. .ui.basic.buttons .button:active,
  554. .ui.basic.button:active {
  555. background: @basicDownBackground !important;
  556. color: @pressedTextColor !important;
  557. box-shadow: @basicDownBoxShadow;
  558. }
  559. .ui.basic.buttons .button.active,
  560. .ui.basic.button.active {
  561. background: @basicActiveBackground !important;
  562. color: @basicActiveColor;
  563. box-shadow: @selectedBorderColor;
  564. }
  565. .ui.basic.buttons .button.active:hover,
  566. .ui.basic.button.active:hover {
  567. background-color: @transparentBlack;
  568. }
  569. /* Vertical */
  570. .ui.basic.buttons .button:hover {
  571. box-shadow: @basicHoverBoxShadow inset;
  572. }
  573. .ui.basic.buttons .button:active {
  574. box-shadow: @basicDownBoxShadow inset;
  575. }
  576. .ui.basic.buttons .button.active {
  577. box-shadow: @selectedBorderColor inset;
  578. }
  579. /* Standard Basic Inverted */
  580. .ui.basic.inverted.buttons .button,
  581. .ui.basic.inverted.button {
  582. background-color: transparent !important;
  583. color: @offWhite !important;
  584. box-shadow: @basicInvertedBoxShadow !important;
  585. }
  586. .ui.basic.inverted.buttons .button:hover,
  587. .ui.basic.inverted.button:hover {
  588. color: @white !important;
  589. box-shadow: @basicInvertedHoverBoxShadow !important;
  590. }
  591. .ui.basic.inverted.buttons .button:active,
  592. .ui.basic.inverted.button:active {
  593. background-color: @transparentWhite !important;
  594. color: @white !important;
  595. box-shadow: @basicInvertedDownBoxShadow !important;
  596. }
  597. .ui.basic.inverted.buttons .button.active,
  598. .ui.basic.inverted.button.active {
  599. background-color: @transparentWhite;
  600. color: @invertedTextColor;
  601. text-shadow: @invertedTextShadow;
  602. box-shadow: @basicInvertedActiveBoxShadow;
  603. }
  604. .ui.basic.inverted.buttons .button.active:hover,
  605. .ui.basic.inverted.button.active:hover {
  606. background-color: @strongTransparentWhite;
  607. box-shadow: @basicInvertedHoverBoxShadow !important;
  608. }
  609. /* Loading */
  610. .ui.basic.loading.button:after {
  611. background-color: @basicLoadingColor;
  612. border-radius: @borderRadius;
  613. }
  614. /* Basic Group */
  615. .ui.basic.buttons .button {
  616. border-left: @basicGroupBorder;
  617. box-shadow: none;
  618. }
  619. .ui.basic.vertical.buttons .button {
  620. border-left: none;
  621. }
  622. /*--------------
  623. Labeled Icon
  624. ---------------*/
  625. .ui.labeled.icon.buttons .button,
  626. .ui.labeled.icon.button {
  627. position: relative;
  628. padding-left: @labeledIconPadding !important;
  629. padding-right: @horizontalPadding !important;
  630. }
  631. .ui.labeled.icon.buttons > .button > .icon,
  632. .ui.labeled.icon.button > .icon {
  633. position: absolute;
  634. top: 0em;
  635. left: 0em;
  636. box-sizing: border-box;
  637. width: @labeledIconWidth;
  638. height: 100%;
  639. background-color: @labeledIconBackgroundColor;
  640. text-align: center;
  641. color: @labeledIconColor;
  642. border-radius: @borderRadius 0px 0px @borderRadius;
  643. line-height: 1;
  644. box-shadow: @labeledIconLeftShadow;
  645. }
  646. .ui.labeled.icon.buttons > .button > .icon:before,
  647. .ui.labeled.icon.button > .icon:before,
  648. .ui.labeled.icon.buttons > .button > .icon:after,
  649. .ui.labeled.icon.button > .icon:after {
  650. display: block;
  651. position: absolute;
  652. width: 100%;
  653. top: 50%;
  654. text-align: center;
  655. margin-top: -0.5em;
  656. }
  657. .ui.labeled.icon.buttons .button > .icon {
  658. border-radius: 0em;
  659. }
  660. .ui.labeled.icon.buttons .button:first-child > .icon {
  661. border-top-left-radius: @borderRadius;
  662. border-bottom-left-radius: @borderRadius;
  663. }
  664. .ui.labeled.icon.buttons .button:last-child > .icon {
  665. border-top-right-radius: @borderRadius;
  666. border-bottom-right-radius: @borderRadius;
  667. }
  668. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  669. border-radius: 0em;
  670. border-top-left-radius: @borderRadius;
  671. }
  672. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  673. border-radius: 0em;
  674. border-bottom-left-radius: @borderRadius;
  675. }
  676. .ui.right.labeled.icon.button {
  677. padding-right: @labeledIconPadding !important;
  678. padding-left: @horizontalPadding !important;
  679. }
  680. .ui.left.fluid.labeled.icon.button,
  681. .ui.right.fluid.labeled.icon.button {
  682. padding-left: @horizontalPadding !important;
  683. padding-right: @horizontalPadding !important;
  684. }
  685. .ui.right.labeled.icon.button > .icon {
  686. left: auto;
  687. right: 0em;
  688. border-radius: 0em @borderRadius @borderRadius 0em;
  689. box-shadow: @labeledIconRightShadow;
  690. }
  691. /*--------------
  692. Toggle
  693. ---------------*/
  694. /* Toggle (Modifies active state to give affordances) */
  695. .ui.toggle.buttons .active.button,
  696. .ui.buttons .button.toggle.active,
  697. .ui.button.toggle.active {
  698. background-color: @positiveColor !important;
  699. box-shadow: none !important;
  700. text-shadow: @invertedTextShadow;
  701. color: @invertedTextColor !important;
  702. }
  703. .ui.button.toggle.active:hover {
  704. background-color: @positiveColorHover !important;
  705. text-shadow: @invertedTextShadow;
  706. color: @invertedTextColor !important;
  707. }
  708. /*--------------
  709. Circular
  710. ---------------*/
  711. .ui.circular.button {
  712. border-radius: 10em;
  713. }
  714. /*--------------
  715. Attached
  716. ---------------*/
  717. .ui.attached.button {
  718. display: block;
  719. margin: 0em;
  720. box-shadow: @attachedBoxShadow !important;
  721. border-radius: 0em;
  722. }
  723. .ui.attached.top.button {
  724. border-radius: @borderRadius @borderRadius 0em 0em;
  725. }
  726. .ui.attached.bottom.button {
  727. border-radius: 0em 0em @borderRadius @borderRadius;
  728. }
  729. .ui.attached.left.button {
  730. display: inline-block;
  731. border-left: none;
  732. padding-right: @attachedHorizontalPadding;
  733. text-align: right;
  734. border-radius: @borderRadius 0em 0em @borderRadius;
  735. }
  736. .ui.attached.right.button {
  737. display: inline-block;
  738. padding-left: @attachedHorizontalPadding;
  739. text-align: left;
  740. border-radius: 0em @borderRadius @borderRadius 0em;
  741. }
  742. /*-------------------
  743. Or Buttons
  744. --------------------*/
  745. .ui.buttons .or {
  746. position: relative;
  747. float: left;
  748. width: @orGap;
  749. height: @orHeight;
  750. z-index: 3;
  751. }
  752. .ui.buttons .or:before {
  753. position: absolute;
  754. top: 50%;
  755. left: 50%;
  756. content: 'or';
  757. background-color: @orBackgroundColor;
  758. text-shadow: @orTextShadow;
  759. margin-top: @orVerticalOffset;
  760. margin-left: @orHorizontalOffset;
  761. width: @orCircleSize;
  762. height: @orCircleSize;
  763. line-height: @orLineHeight;
  764. color: @orTextColor;
  765. font-style: @orTextStyle;
  766. font-weight: @orTextWeight;
  767. text-align: center;
  768. border-radius: 500em;
  769. box-shadow: @orBoxShadow;
  770. box-sizing: border-box;
  771. }
  772. /* Fluid Or */
  773. .ui.fluid.buttons .or {
  774. width: 0em !important;
  775. }
  776. .ui.fluid.buttons .or:after {
  777. display: none;
  778. }
  779. /*-------------------
  780. Attached
  781. --------------------*/
  782. /* Plural Attached */
  783. .attached.ui.buttons {
  784. margin: 0px;
  785. border-radius: 0em 0em 0em 0em;
  786. }
  787. .attached.ui.buttons .button {
  788. margin: 0em;
  789. }
  790. .attached.ui.buttons .button:first-child {
  791. border-radius: 0em 0em 0em 0em;
  792. }
  793. .attached.ui.buttons .button:last-child {
  794. border-radius: 0em 0em 0em 0em;
  795. }
  796. /* Top Side */
  797. [class*="top attached"].ui.buttons {
  798. margin-bottom: @attachedOffset;
  799. border-radius: @borderRadius @borderRadius 0em 0em;
  800. }
  801. [class*="top attached"].ui.buttons .button:first-child {
  802. border-radius: @borderRadius 0em 0em 0em;
  803. }
  804. [class*="top attached"].ui.buttons .button:last-child {
  805. border-radius: 0em @borderRadius 0em 0em;
  806. }
  807. /* Bottom Side */
  808. [class*="bottom attached"].ui.buttons {
  809. margin-top: @attachedOffset;
  810. border-radius: 0em 0em @borderRadius @borderRadius;
  811. }
  812. [class*="bottom attached"].ui.buttons .button:first-child {
  813. border-radius: 0em 0em 0em @borderRadius;
  814. }
  815. [class*="bottom attached"].ui.buttons .button:last-child {
  816. border-radius: 0em 0em @borderRadius 0em;
  817. }
  818. /* Left Side */
  819. [class*="left attached"].ui.buttons {
  820. margin-left: @attachedOffset;
  821. border-radius: 0em @borderRadius @borderRadius 0em;
  822. }
  823. [class*="left attached"].ui.buttons .button:first-child {
  824. margin-left: @attachedOffset;
  825. border-radius: 0em @borderRadius 0em 0em;
  826. }
  827. [class*="left attached"].ui.buttons .button:last-child {
  828. margin-left: @attachedOffset;
  829. border-radius: 0em 0em @borderRadius 0em;
  830. }
  831. /* Right Side */
  832. [class*="right attached"].ui.buttons,
  833. [class*="right attached"].ui.buttons .button {
  834. margin-right: @attachedOffset;
  835. border-radius: @borderRadius 0em 0em @borderRadius;
  836. }
  837. [class*="right attached"].ui.buttons .button:first-child {
  838. margin-left: @attachedOffset;
  839. border-radius: @borderRadius 0em 0em 0em;
  840. }
  841. [class*="right attached"].ui.buttons .button:last-child {
  842. margin-left: @attachedOffset;
  843. border-radius: 0em 0em 0em @borderRadius;
  844. }
  845. /* Fluid */
  846. .ui.fluid.buttons,
  847. .ui.button.fluid,
  848. .ui.fluid.buttons > .button {
  849. display: block;
  850. width: 100%;
  851. }
  852. .ui.\32.buttons,
  853. .ui.two.buttons {
  854. width: 100%;
  855. }
  856. .ui.\32.buttons > .button,
  857. .ui.two.buttons > .button {
  858. width: 50%;
  859. }
  860. .ui.\33.buttons,
  861. .ui.three.buttons {
  862. width: 100%;
  863. }
  864. .ui.\33.buttons > .button,
  865. .ui.three.buttons > .button {
  866. width: 33.333%;
  867. }
  868. .ui.\34.buttons,
  869. .ui.four.buttons {
  870. width: 100%;
  871. }
  872. .ui.\34.buttons > .button,
  873. .ui.four.buttons > .button {
  874. width: 25%;
  875. }
  876. .ui.\35.buttons,
  877. .ui.five.buttons {
  878. width: 100%;
  879. }
  880. .ui.\35.buttons > .button,
  881. .ui.five.buttons > .button {
  882. width: 20%;
  883. }
  884. .ui.\36.buttons,
  885. .ui.six.buttons {
  886. width: 100%;
  887. }
  888. .ui.\36.buttons > .button,
  889. .ui.six.buttons > .button {
  890. width: 16.666%;
  891. }
  892. .ui.\37.buttons,
  893. .ui.seven.buttons {
  894. width: 100%;
  895. }
  896. .ui.\37.buttons > .button,
  897. .ui.seven.buttons > .button {
  898. width: 14.285%;
  899. }
  900. .ui.\38.buttons,
  901. .ui.eight.buttons {
  902. width: 100%;
  903. }
  904. .ui.\38.buttons > .button,
  905. .ui.eight.buttons > .button {
  906. width: 12.500%;
  907. }
  908. .ui.\39.buttons,
  909. .ui.nine.buttons {
  910. width: 100%;
  911. }
  912. .ui.\39.buttons > .button,
  913. .ui.nine.buttons > .button {
  914. width: 11.11%;
  915. }
  916. .ui.\31\30.buttons,
  917. .ui.ten.buttons {
  918. width: 100%;
  919. }
  920. .ui.\31\30.buttons > .button,
  921. .ui.ten.buttons > .button {
  922. width: 10%;
  923. }
  924. .ui.\31\31.buttons,
  925. .ui.eleven.buttons {
  926. width: 100%;
  927. }
  928. .ui.\31\31.buttons > .button,
  929. .ui.eleven.buttons > .button {
  930. width: 9.09%;
  931. }
  932. .ui.\31\32.buttons,
  933. .ui.twelve.buttons {
  934. width: 100%;
  935. }
  936. .ui.\31\32.buttons > .button,
  937. .ui.twelve.buttons > .button {
  938. width: 8.3333%;
  939. }
  940. /* Fluid Vertical Buttons */
  941. .ui.fluid.vertical.buttons,
  942. .ui.fluid.vertical.buttons > .button {
  943. display: block;
  944. width: auto;
  945. box-sizing: border-box;
  946. }
  947. .ui.\32.vertical.buttons > .button,
  948. .ui.two.vertical.buttons > .button {
  949. height: 50%;
  950. }
  951. .ui.\33.vertical.buttons > .button,
  952. .ui.three.vertical.buttons > .button {
  953. height: 33.333%;
  954. }
  955. .ui.\34.vertical.buttons > .button,
  956. .ui.four.vertical.buttons > .button {
  957. height: 25%;
  958. }
  959. .ui.\35.vertical.buttons > .button,
  960. .ui.five.vertical.buttons > .button {
  961. height: 20%;
  962. }
  963. .ui.\36.vertical.buttons > .button,
  964. .ui.six.vertical.buttons > .button {
  965. height: 16.666%;
  966. }
  967. .ui.\37.vertical.buttons > .button,
  968. .ui.seven.vertical.buttons > .button {
  969. height: 14.285%;
  970. }
  971. .ui.\38.vertical.buttons > .button,
  972. .ui.eight.vertical.buttons > .button {
  973. height: 12.500%;
  974. }
  975. .ui.\39.vertical.buttons > .button,
  976. .ui.nine.vertical.buttons > .button {
  977. height: 11.11%;
  978. }
  979. .ui.\31\30.vertical.buttons > .button,
  980. .ui.ten.vertical.buttons > .button {
  981. height: 10%;
  982. }
  983. .ui.\31\31.vertical.buttons > .button,
  984. .ui.eleven.vertical.buttons > .button {
  985. height: 9.09%;
  986. }
  987. .ui.\31\32.vertical.buttons > .button,
  988. .ui.twelve.vertical.buttons > .button {
  989. height: 8.3333%;
  990. }
  991. /*-------------------
  992. Colors
  993. --------------------*/
  994. /*--- Black ---*/
  995. .ui.black.buttons .button,
  996. .ui.black.button {
  997. background-color: @black;
  998. color: @invertedTextColor;
  999. text-shadow: @invertedTextShadow;
  1000. background-image: @coloredBackgroundImage;
  1001. }
  1002. .ui.black.button {
  1003. box-shadow: @coloredBoxShadow;
  1004. }
  1005. .ui.black.buttons .button:hover,
  1006. .ui.black.button:hover {
  1007. background-color: @blackHover;
  1008. color: @invertedTextColor;
  1009. text-shadow: @invertedTextShadow;
  1010. }
  1011. .ui.black.buttons .button:active,
  1012. .ui.black.button:active {
  1013. background-color: @blackDown;
  1014. color: @invertedTextColor;
  1015. text-shadow: @invertedTextShadow;
  1016. }
  1017. .ui.black.buttons .button.active,
  1018. .ui.black.buttons .button.active:active,
  1019. .ui.black.button.active,
  1020. .ui.black.button .button.active:active {
  1021. background-color: @blackActive;
  1022. color: @invertedTextColor;
  1023. text-shadow: @invertedTextShadow;
  1024. }
  1025. /* Basic */
  1026. .ui.basic.black.buttons .button,
  1027. .ui.basic.black.button {
  1028. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1029. color: @textColor !important;
  1030. }
  1031. .ui.basic.black.buttons .button:hover,
  1032. .ui.basic.black.button:hover {
  1033. background: transparent !important;
  1034. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackHover inset !important;
  1035. color: @blackHover !important;
  1036. }
  1037. .ui.basic.black.buttons .button:active,
  1038. .ui.basic.black.button:active {
  1039. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
  1040. color: @blackDown !important;
  1041. }
  1042. .ui.basic.black.buttons .button.active,
  1043. .ui.basic.black.button.active {
  1044. background: transparent !important;
  1045. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
  1046. color: @blackDown !important;
  1047. }
  1048. .ui.buttons > .basic.black.button:not(:first-child) {
  1049. margin-left: -@basicColoredBorderSize;
  1050. }
  1051. /* Inverted */
  1052. .ui.inverted.black.buttons .button,
  1053. .ui.inverted.black.button {
  1054. background-color: transparent;
  1055. box-shadow: 0px 0px 0px @invertedBorderSize @solidBorderColor inset !important;
  1056. color: @invertedTextColor;
  1057. }
  1058. .ui.inverted.black.buttons .button:hover,
  1059. .ui.inverted.black.button:hover {
  1060. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1061. background-color: @lightBlack;
  1062. color: @white;
  1063. }
  1064. .ui.inverted.black.buttons .button.active,
  1065. .ui.inverted.black.button.active {
  1066. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1067. background-color: @lightBlack;
  1068. color: @white;
  1069. }
  1070. .ui.inverted.black.buttons .button:active,
  1071. .ui.inverted.black.button:active {
  1072. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlackDown inset !important;
  1073. background-color: @lightBlackDown;
  1074. color: @white;
  1075. }
  1076. /* Inverted Basic */
  1077. .ui.inverted.black.basic.buttons .button,
  1078. .ui.inverted.black.buttons .basic.button,
  1079. .ui.inverted.black.basic.button {
  1080. background-color: transparent;
  1081. box-shadow: @basicInvertedBoxShadow !important;
  1082. color: @white !important;
  1083. }
  1084. .ui.inverted.black.basic.buttons .button:hover,
  1085. .ui.inverted.black.buttons .basic.button:hover,
  1086. .ui.inverted.black.basic.button:hover {
  1087. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1088. color: @white !important;
  1089. }
  1090. .ui.inverted.black.basic.buttons .button.active,
  1091. .ui.inverted.black.buttons .basic.button.active,
  1092. .ui.inverted.black.basic.button.active {
  1093. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1094. color: @white !important;
  1095. }
  1096. .ui.inverted.black.basic.buttons .button:active,
  1097. .ui.inverted.black.buttons .basic.button:active,
  1098. .ui.inverted.black.basic.button:active {
  1099. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlackDown inset !important;
  1100. color: @white !important;
  1101. }
  1102. /*--- Blue ---*/
  1103. .ui.blue.buttons .button,
  1104. .ui.blue.button {
  1105. background-color: @blue;
  1106. color: @invertedTextColor;
  1107. text-shadow: @invertedTextShadow;
  1108. background-image: @coloredBackgroundImage;
  1109. }
  1110. .ui.blue.button {
  1111. box-shadow: @coloredBoxShadow;
  1112. }
  1113. .ui.blue.buttons .button:hover,
  1114. .ui.blue.button:hover {
  1115. background-color: @blueHover;
  1116. color: @invertedTextColor;
  1117. text-shadow: @invertedTextShadow;
  1118. }
  1119. .ui.blue.buttons .button:active,
  1120. .ui.blue.button:active {
  1121. background-color: @blueDown;
  1122. color: @invertedTextColor;
  1123. text-shadow: @invertedTextShadow;
  1124. }
  1125. .ui.blue.buttons .button.active,
  1126. .ui.blue.buttons .button.active:active,
  1127. .ui.blue.button.active,
  1128. .ui.blue.button .button.active:active {
  1129. background-color: @blueActive;
  1130. color: @invertedTextColor;
  1131. text-shadow: @invertedTextShadow;
  1132. }
  1133. /* Basic */
  1134. .ui.basic.blue.buttons .button,
  1135. .ui.basic.blue.button {
  1136. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1137. color: @textColor !important;
  1138. }
  1139. .ui.basic.blue.buttons .button:hover,
  1140. .ui.basic.blue.button:hover {
  1141. background: transparent !important;
  1142. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueHover inset !important;
  1143. color: @blueHover !important;
  1144. }
  1145. .ui.basic.blue.buttons .button:active,
  1146. .ui.basic.blue.button:active {
  1147. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
  1148. color: @blueDown !important;
  1149. }
  1150. .ui.basic.blue.buttons .button.active,
  1151. .ui.basic.blue.button.active {
  1152. background: transparent !important;
  1153. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
  1154. color: @blueDown !important;
  1155. }
  1156. .ui.buttons > .basic.blue.button:not(:first-child) {
  1157. margin-left: -@basicColoredBorderSize;
  1158. }
  1159. /* Inverted */
  1160. .ui.inverted.blue.buttons .button,
  1161. .ui.inverted.blue.button {
  1162. background-color: transparent;
  1163. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1164. color: @lightBlue;
  1165. }
  1166. .ui.inverted.blue.buttons .button:hover,
  1167. .ui.inverted.blue.button:hover {
  1168. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1169. background-color: @lightBlue;
  1170. color: @white;
  1171. }
  1172. .ui.inverted.blue.buttons .button.active,
  1173. .ui.inverted.blue.button.active {
  1174. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1175. background-color: @lightBlue;
  1176. color: @white;
  1177. }
  1178. .ui.inverted.blue.buttons .button:active,
  1179. .ui.inverted.blue.button:active {
  1180. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlueDown inset !important;
  1181. background-color: @lightBlueDown;
  1182. color: @white;
  1183. }
  1184. /* Inverted Basic */
  1185. .ui.inverted.blue.basic.buttons .button,
  1186. .ui.inverted.blue.buttons .basic.button,
  1187. .ui.inverted.blue.basic.button {
  1188. background-color: transparent;
  1189. box-shadow: @basicInvertedBoxShadow !important;
  1190. color: @white !important;
  1191. }
  1192. .ui.inverted.blue.basic.buttons .button:hover,
  1193. .ui.inverted.blue.buttons .basic.button:hover,
  1194. .ui.inverted.blue.basic.button:hover {
  1195. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1196. color: @lightBlue !important;
  1197. }
  1198. .ui.inverted.blue.basic.buttons .button.active,
  1199. .ui.inverted.blue.buttons .basic.button.active,
  1200. .ui.inverted.blue.basic.button.active {
  1201. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1202. color: @lightBlue !important;
  1203. }
  1204. .ui.inverted.blue.basic.buttons .button:active,
  1205. .ui.inverted.blue.buttons .basic.button:active,
  1206. .ui.inverted.blue.basic.button:active {
  1207. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlueDown inset !important;
  1208. color: @lightBlue !important;
  1209. }
  1210. /*--- Green ---*/
  1211. .ui.green.buttons .button,
  1212. .ui.green.button {
  1213. background-color: @green;
  1214. color: @invertedTextColor;
  1215. text-shadow: @invertedTextShadow;
  1216. background-image: @coloredBackgroundImage;
  1217. }
  1218. .ui.green.button {
  1219. box-shadow: @coloredBoxShadow;
  1220. }
  1221. .ui.green.buttons .button:hover,
  1222. .ui.green.button:hover {
  1223. background-color: @greenHover;
  1224. color: @invertedTextColor;
  1225. text-shadow: @invertedTextShadow;
  1226. }
  1227. .ui.green.buttons .button:active,
  1228. .ui.green.button:active {
  1229. background-color: @greenDown;
  1230. color: @invertedTextColor;
  1231. text-shadow: @invertedTextShadow;
  1232. }
  1233. .ui.green.buttons .button.active,
  1234. .ui.green.buttons .button.active:active,
  1235. .ui.green.button.active,
  1236. .ui.green.button .button.active:active {
  1237. background-color: @greenActive;
  1238. color: @invertedTextColor;
  1239. text-shadow: @invertedTextShadow;
  1240. }
  1241. /* Basic */
  1242. .ui.basic.green.buttons .button,
  1243. .ui.basic.green.button {
  1244. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1245. color: @textColor !important;
  1246. }
  1247. .ui.basic.green.buttons .button:hover,
  1248. .ui.basic.green.button:hover {
  1249. background: transparent !important;
  1250. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenHover inset !important;
  1251. color: @greenHover !important;
  1252. }
  1253. .ui.basic.green.buttons .button:active,
  1254. .ui.basic.green.button:active {
  1255. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
  1256. color: @greenDown !important;
  1257. }
  1258. .ui.basic.green.buttons .button.active,
  1259. .ui.basic.green.button.active {
  1260. background: transparent !important;
  1261. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
  1262. color: @greenDown !important;
  1263. }
  1264. .ui.buttons > .basic.green.button:not(:first-child) {
  1265. margin-left: -@basicColoredBorderSize;
  1266. }
  1267. /* Inverted */
  1268. .ui.inverted.green.buttons .button,
  1269. .ui.inverted.green.button {
  1270. background-color: transparent;
  1271. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1272. color: @lightGreen;
  1273. }
  1274. .ui.inverted.green.buttons .button:hover,
  1275. .ui.inverted.green.button:hover {
  1276. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1277. background-color: @lightGreen;
  1278. color: @white;
  1279. }
  1280. .ui.inverted.green.buttons .button.active,
  1281. .ui.inverted.green.button.active {
  1282. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1283. background-color: @lightGreen;
  1284. color: @white;
  1285. }
  1286. .ui.inverted.green.buttons .button:active,
  1287. .ui.inverted.green.button:active {
  1288. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreenDown inset !important;
  1289. background-color: @lightGreenDown;
  1290. color: @white;
  1291. }
  1292. /* Inverted Basic */
  1293. .ui.inverted.green.basic.buttons .button,
  1294. .ui.inverted.green.buttons .basic.button,
  1295. .ui.inverted.green.basic.button {
  1296. background-color: transparent;
  1297. box-shadow: @basicInvertedBoxShadow !important;
  1298. color: @white !important;
  1299. }
  1300. .ui.inverted.green.basic.buttons .button:hover,
  1301. .ui.inverted.green.buttons .basic.button:hover,
  1302. .ui.inverted.green.basic.button:hover {
  1303. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1304. color: @lightGreen !important;
  1305. }
  1306. .ui.inverted.green.basic.buttons .button.active,
  1307. .ui.inverted.green.buttons .basic.button.active,
  1308. .ui.inverted.green.basic.button.active {
  1309. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1310. color: @lightGreen !important;
  1311. }
  1312. .ui.inverted.green.basic.buttons .button:active,
  1313. .ui.inverted.green.buttons .basic.button:active,
  1314. .ui.inverted.green.basic.button:active {
  1315. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreenDown inset !important;
  1316. color: @lightGreen !important;
  1317. }
  1318. /*--- Orange ---*/
  1319. .ui.orange.buttons .button,
  1320. .ui.orange.button {
  1321. background-color: @orange;
  1322. color: @invertedTextColor;
  1323. text-shadow: @invertedTextShadow;
  1324. background-image: @coloredBackgroundImage;
  1325. }
  1326. .ui.orange.button {
  1327. box-shadow: @coloredBoxShadow;
  1328. }
  1329. .ui.orange.buttons .button:hover,
  1330. .ui.orange.button:hover {
  1331. background-color: @orangeHover;
  1332. color: @invertedTextColor;
  1333. text-shadow: @invertedTextShadow;
  1334. }
  1335. .ui.orange.buttons .button:active,
  1336. .ui.orange.button:active {
  1337. background-color: @orangeDown;
  1338. color: @invertedTextColor;
  1339. text-shadow: @invertedTextShadow;
  1340. }
  1341. .ui.orange.buttons .button.active,
  1342. .ui.orange.buttons .button.active:active,
  1343. .ui.orange.button.active,
  1344. .ui.orange.button .button.active:active {
  1345. background-color: @blackActive;
  1346. color: @invertedTextColor;
  1347. text-shadow: @invertedTextShadow;
  1348. }
  1349. /* Basic */
  1350. .ui.basic.orange.buttons .button,
  1351. .ui.basic.orange.button {
  1352. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1353. color: @textColor !important;
  1354. }
  1355. .ui.basic.orange.buttons .button:hover,
  1356. .ui.basic.orange.button:hover {
  1357. background: transparent !important;
  1358. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeHover inset !important;
  1359. color: @orangeHover !important;
  1360. }
  1361. .ui.basic.orange.buttons .button:active,
  1362. .ui.basic.orange.button:active {
  1363. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
  1364. color: @orangeDown !important;
  1365. }
  1366. .ui.basic.orange.buttons .button.active,
  1367. .ui.basic.orange.button.active {
  1368. background: transparent !important;
  1369. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
  1370. color: @orangeDown !important;
  1371. }
  1372. .ui.buttons > .basic.orange.button:not(:first-child) {
  1373. margin-left: -@basicColoredBorderSize;
  1374. }
  1375. /* Inverted */
  1376. .ui.inverted.orange.buttons .button,
  1377. .ui.inverted.orange.button {
  1378. background-color: transparent;
  1379. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1380. color: @lightOrange;
  1381. }
  1382. .ui.inverted.orange.buttons .button:hover,
  1383. .ui.inverted.orange.button:hover {
  1384. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1385. background-color: @lightOrange;
  1386. color: @white;
  1387. }
  1388. .ui.inverted.orange.buttons .button.active,
  1389. .ui.inverted.orange.button.active {
  1390. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1391. background-color: @lightOrange;
  1392. color: @white;
  1393. }
  1394. .ui.inverted.orange.buttons .button:active,
  1395. .ui.inverted.orange.button:active {
  1396. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrangeDown inset !important;
  1397. background-color: @lightOrangeDown;
  1398. color: @white;
  1399. }
  1400. /* Inverted Basic */
  1401. .ui.inverted.orange.basic.buttons .button,
  1402. .ui.inverted.orange.buttons .basic.button,
  1403. .ui.inverted.orange.basic.button {
  1404. background-color: transparent;
  1405. box-shadow: @basicInvertedBoxShadow !important;
  1406. color: @white !important;
  1407. }
  1408. .ui.inverted.orange.basic.buttons .button:hover,
  1409. .ui.inverted.orange.buttons .basic.button:hover,
  1410. .ui.inverted.orange.basic.button:hover {
  1411. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1412. color: @lightOrange !important;
  1413. }
  1414. .ui.inverted.orange.basic.buttons .button.active,
  1415. .ui.inverted.orange.buttons .basic.button.active,
  1416. .ui.inverted.orange.basic.button.active {
  1417. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1418. color: @lightOrange !important;
  1419. }
  1420. .ui.inverted.orange.basic.buttons .button:active,
  1421. .ui.inverted.orange.buttons .basic.button:active,
  1422. .ui.inverted.orange.basic.button:active {
  1423. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrangeDown inset !important;
  1424. color: @lightOrange !important;
  1425. }
  1426. /*--- Pink ---*/
  1427. .ui.pink.buttons .button,
  1428. .ui.pink.button {
  1429. background-color: @pink;
  1430. color: @invertedTextColor;
  1431. text-shadow: @invertedTextShadow;
  1432. background-image: @coloredBackgroundImage;
  1433. }
  1434. .ui.pink.button {
  1435. box-shadow: @coloredBoxShadow;
  1436. }
  1437. .ui.pink.buttons .button:hover,
  1438. .ui.pink.button:hover {
  1439. background-color: @pinkHover;
  1440. color: @invertedTextColor;
  1441. text-shadow: @invertedTextShadow;
  1442. }
  1443. .ui.pink.buttons .button:active,
  1444. .ui.pink.button:active {
  1445. background-color: @pinkDown;
  1446. color: @invertedTextColor;
  1447. text-shadow: @invertedTextShadow;
  1448. }
  1449. .ui.pink.buttons .button.active,
  1450. .ui.pink.buttons .button.active:active,
  1451. .ui.pink.button.active,
  1452. .ui.pink.button .button.active:active {
  1453. background-color: @pinkActive;
  1454. color: @invertedTextColor;
  1455. text-shadow: @invertedTextShadow;
  1456. }
  1457. /* Basic */
  1458. .ui.basic.pink.buttons .button,
  1459. .ui.basic.pink.button {
  1460. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1461. color: @textColor !important;
  1462. }
  1463. .ui.basic.pink.buttons .button:hover,
  1464. .ui.basic.pink.button:hover {
  1465. background: transparent !important;
  1466. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkHover inset !important;
  1467. color: @pinkHover !important;
  1468. }
  1469. .ui.basic.pink.buttons .button:active,
  1470. .ui.basic.pink.button:active {
  1471. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
  1472. color: @pinkDown !important;
  1473. }
  1474. .ui.basic.pink.buttons .button.active,
  1475. .ui.basic.pink.button.active {
  1476. background: transparent !important;
  1477. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
  1478. color: @pinkDown !important;
  1479. }
  1480. .ui.buttons > .basic.pink.button:not(:first-child) {
  1481. margin-left: -@basicColoredBorderSize;
  1482. }
  1483. /* Inverted */
  1484. .ui.inverted.pink.buttons .button,
  1485. .ui.inverted.pink.button {
  1486. background-color: transparent;
  1487. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1488. color: @lightPink;
  1489. }
  1490. .ui.inverted.pink.buttons .button:hover,
  1491. .ui.inverted.pink.button:hover {
  1492. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1493. background-color: @lightPink;
  1494. color: @white;
  1495. }
  1496. .ui.inverted.pink.buttons .button.active,
  1497. .ui.inverted.pink.button.active {
  1498. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1499. background-color: @lightPink;
  1500. color: @white;
  1501. }
  1502. .ui.inverted.pink.buttons .button:active,
  1503. .ui.inverted.pink.button:active {
  1504. box-shadow: 0px 0px 0px @invertedBorderSize @lightPinkDown inset !important;
  1505. background-color: @lightPinkDown;
  1506. color: @white;
  1507. }
  1508. /* Inverted Basic */
  1509. .ui.inverted.pink.basic.buttons .button,
  1510. .ui.inverted.pink.buttons .basic.button,
  1511. .ui.inverted.pink.basic.button {
  1512. background-color: transparent;
  1513. box-shadow: @basicInvertedBoxShadow !important;
  1514. color: @white !important;
  1515. }
  1516. .ui.inverted.pink.basic.buttons .button:hover,
  1517. .ui.inverted.pink.buttons .basic.button:hover,
  1518. .ui.inverted.pink.basic.button:hover {
  1519. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1520. color: @lightPink !important;
  1521. }
  1522. .ui.inverted.pink.basic.buttons .button.active,
  1523. .ui.inverted.pink.buttons .basic.button.active,
  1524. .ui.inverted.pink.basic.button.active {
  1525. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1526. color: @lightPink !important;
  1527. }
  1528. .ui.inverted.pink.basic.buttons .button:active,
  1529. .ui.inverted.pink.buttons .basic.button:active,
  1530. .ui.inverted.pink.basic.button:active {
  1531. box-shadow: 0px 0px 0px @invertedBorderSize @lightPinkDown inset !important;
  1532. color: @lightPink !important;
  1533. }
  1534. /*--- Purple ---*/
  1535. .ui.purple.buttons .button,
  1536. .ui.purple.button {
  1537. background-color: @purple;
  1538. color: @invertedTextColor;
  1539. text-shadow: @invertedTextShadow;
  1540. background-image: @coloredBackgroundImage;
  1541. }
  1542. .ui.purple.button {
  1543. box-shadow: @coloredBoxShadow;
  1544. }
  1545. .ui.purple.buttons .button:hover,
  1546. .ui.purple.button:hover {
  1547. background-color: @purpleHover;
  1548. color: @invertedTextColor;
  1549. text-shadow: @invertedTextShadow;
  1550. }
  1551. .ui.purple.buttons .button:active,
  1552. .ui.purple.button:active {
  1553. background-color: @purpleDown;
  1554. color: @invertedTextColor;
  1555. text-shadow: @invertedTextShadow;
  1556. }
  1557. .ui.purple.buttons .button.active,
  1558. .ui.purple.buttons .button.active:active,
  1559. .ui.purple.button.active,
  1560. .ui.purple.button .button.active:active {
  1561. background-color: @purpleActive;
  1562. color: @invertedTextColor;
  1563. text-shadow: @invertedTextShadow;
  1564. }
  1565. /* Basic */
  1566. .ui.basic.purple.buttons .button,
  1567. .ui.basic.purple.button {
  1568. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1569. color: @textColor !important;
  1570. }
  1571. .ui.basic.purple.buttons .button:hover,
  1572. .ui.basic.purple.button:hover {
  1573. background: transparent !important;
  1574. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleHover inset !important;
  1575. color: @purpleHover !important;
  1576. }
  1577. .ui.basic.purple.buttons .button:active,
  1578. .ui.basic.purple.button:active {
  1579. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
  1580. color: @purpleDown !important;
  1581. }
  1582. .ui.basic.purple.buttons .button.active,
  1583. .ui.basic.purple.button.active {
  1584. background: transparent !important;
  1585. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
  1586. color: @purpleDown !important;
  1587. }
  1588. .ui.buttons > .basic.purple.button:not(:first-child) {
  1589. margin-left: -@basicColoredBorderSize;
  1590. }
  1591. /* Inverted */
  1592. .ui.inverted.purple.buttons .button,
  1593. .ui.inverted.purple.button {
  1594. background-color: transparent;
  1595. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1596. color: @lightPurple;
  1597. }
  1598. .ui.inverted.purple.buttons .button:hover,
  1599. .ui.inverted.purple.button:hover {
  1600. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1601. background-color: @lightPurple;
  1602. color: @black;
  1603. }
  1604. .ui.inverted.purple.buttons .button.active,
  1605. .ui.inverted.purple.button.active {
  1606. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1607. background-color: @lightPurple;
  1608. color: @black;
  1609. }
  1610. .ui.inverted.purple.buttons .button:active,
  1611. .ui.inverted.purple.button:active {
  1612. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurpleDown inset !important;
  1613. background-color: @lightPurpleDown;
  1614. color: @black;
  1615. }
  1616. /* Inverted Basic */
  1617. .ui.inverted.purple.basic.buttons .button,
  1618. .ui.inverted.purple.buttons .basic.button,
  1619. .ui.inverted.purple.basic.button {
  1620. background-color: transparent;
  1621. box-shadow: @basicInvertedBoxShadow !important;
  1622. color: @white !important;
  1623. }
  1624. .ui.inverted.purple.basic.buttons .button:hover,
  1625. .ui.inverted.purple.buttons .basic.button:hover,
  1626. .ui.inverted.purple.basic.button:hover {
  1627. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1628. color: @lightPurple !important;
  1629. }
  1630. .ui.inverted.purple.basic.buttons .button.active,
  1631. .ui.inverted.purple.buttons .basic.button.active,
  1632. .ui.inverted.purple.basic.button.active {
  1633. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1634. color: @lightPurple !important;
  1635. }
  1636. .ui.inverted.purple.basic.buttons .button:active,
  1637. .ui.inverted.purple.buttons .basic.button:active,
  1638. .ui.inverted.purple.basic.button:active {
  1639. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurpleDown inset !important;
  1640. color: @lightPurple !important;
  1641. }
  1642. /*--- Red ---*/
  1643. .ui.red.buttons .button,
  1644. .ui.red.button {
  1645. background-color: @red;
  1646. color: @invertedTextColor;
  1647. text-shadow: @invertedTextShadow;
  1648. background-image: @coloredBackgroundImage;
  1649. }
  1650. .ui.red.button {
  1651. box-shadow: @coloredBoxShadow;
  1652. }
  1653. .ui.red.buttons .button:hover,
  1654. .ui.red.button:hover {
  1655. background-color: @redHover;
  1656. color: @invertedTextColor;
  1657. text-shadow: @invertedTextShadow;
  1658. }
  1659. .ui.red.buttons .button:active,
  1660. .ui.red.button:active {
  1661. background-color: @redDown;
  1662. color: @invertedTextColor;
  1663. text-shadow: @invertedTextShadow;
  1664. }
  1665. .ui.red.buttons .button.active,
  1666. .ui.red.buttons .button.active:active,
  1667. .ui.red.button.active,
  1668. .ui.red.button .button.active:active {
  1669. background-color: @redActive;
  1670. color: @invertedTextColor;
  1671. text-shadow: @invertedTextShadow;
  1672. }
  1673. /* Basic */
  1674. .ui.basic.red.buttons .button,
  1675. .ui.basic.red.button {
  1676. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1677. color: @textColor !important;
  1678. }
  1679. .ui.basic.red.buttons .button:hover,
  1680. .ui.basic.red.button:hover {
  1681. background: transparent !important;
  1682. box-shadow: 0px 0px 0px @basicColoredBorderSize @redHover inset !important;
  1683. color: @redHover !important;
  1684. }
  1685. .ui.basic.red.buttons .button:active,
  1686. .ui.basic.red.button:active {
  1687. box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
  1688. color: @redDown !important;
  1689. }
  1690. .ui.basic.red.buttons .button.active,
  1691. .ui.basic.red.button.active {
  1692. background: transparent !important;
  1693. box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
  1694. color: @redDown !important;
  1695. }
  1696. .ui.buttons > .basic.red.button:not(:first-child) {
  1697. margin-left: -@basicColoredBorderSize;
  1698. }
  1699. /* Inverted */
  1700. .ui.inverted.red.buttons .button,
  1701. .ui.inverted.red.button {
  1702. background-color: transparent;
  1703. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1704. color: @lightRed;
  1705. }
  1706. .ui.inverted.red.buttons .button:hover,
  1707. .ui.inverted.red.button:hover {
  1708. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1709. background-color: @lightRed;
  1710. color: @white;
  1711. }
  1712. .ui.inverted.red.buttons .button.active,
  1713. .ui.inverted.red.button.active {
  1714. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1715. background-color: @lightRed;
  1716. color: @white;
  1717. }
  1718. .ui.inverted.red.buttons .button:active,
  1719. .ui.inverted.red.button:active {
  1720. box-shadow: 0px 0px 0px @invertedBorderSize @lightRedDown inset !important;
  1721. background-color: @lightRedDown;
  1722. color: @white;
  1723. }
  1724. /* Inverted Basic */
  1725. .ui.inverted.red.basic.buttons .button,
  1726. .ui.inverted.red.buttons .basic.button,
  1727. .ui.inverted.red.basic.button {
  1728. background-color: transparent;
  1729. box-shadow: @basicInvertedBoxShadow !important;
  1730. color: @white !important;
  1731. }
  1732. .ui.inverted.red.basic.buttons .button:hover,
  1733. .ui.inverted.red.buttons .basic.button:hover,
  1734. .ui.inverted.red.basic.button:hover {
  1735. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1736. color: @lightRed !important;
  1737. }
  1738. .ui.inverted.red.basic.buttons .button.active,
  1739. .ui.inverted.red.buttons .basic.button.active,
  1740. .ui.inverted.red.basic.button.active {
  1741. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1742. color: @lightRed !important;
  1743. }
  1744. .ui.inverted.red.basic.buttons .button:active,
  1745. .ui.inverted.red.buttons .basic.button:active,
  1746. .ui.inverted.red.basic.button:active {
  1747. box-shadow: 0px 0px 0px @invertedBorderSize @lightRedDown inset !important;
  1748. color: @lightRed !important;
  1749. }
  1750. /*--- Teal ---*/
  1751. .ui.teal.buttons .button,
  1752. .ui.teal.button {
  1753. background-color: @teal;
  1754. color: @invertedTextColor;
  1755. text-shadow: @invertedTextShadow;
  1756. background-image: @coloredBackgroundImage;
  1757. }
  1758. .ui.teal.button {
  1759. box-shadow: @coloredBoxShadow;
  1760. }
  1761. .ui.teal.buttons .button:hover,
  1762. .ui.teal.button:hover {
  1763. background-color: @tealHover;
  1764. color: @invertedTextColor;
  1765. text-shadow: @invertedTextShadow;
  1766. }
  1767. .ui.teal.buttons .button:active,
  1768. .ui.teal.button:active {
  1769. background-color: @tealDown;
  1770. color: @invertedTextColor;
  1771. text-shadow: @invertedTextShadow;
  1772. }
  1773. .ui.teal.buttons .button.active,
  1774. .ui.teal.buttons .button.active:active,
  1775. .ui.teal.button.active,
  1776. .ui.teal.button .button.active:active {
  1777. background-color: @tealActive;
  1778. color: @invertedTextColor;
  1779. text-shadow: @invertedTextShadow;
  1780. }
  1781. /* Basic */
  1782. .ui.basic.teal.buttons .button,
  1783. .ui.basic.teal.button {
  1784. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1785. color: @textColor !important;
  1786. }
  1787. .ui.basic.teal.buttons .button:hover,
  1788. .ui.basic.teal.button:hover {
  1789. background: transparent !important;
  1790. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealHover inset !important;
  1791. color: @tealHover !important;
  1792. }
  1793. .ui.basic.teal.buttons .button:active,
  1794. .ui.basic.teal.button:active {
  1795. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
  1796. color: @tealDown !important;
  1797. }
  1798. .ui.basic.teal.buttons .button.active,
  1799. .ui.basic.teal.button.active {
  1800. background: transparent !important;
  1801. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
  1802. color: @tealDown !important;
  1803. }
  1804. .ui.buttons > .basic.teal.button:not(:first-child) {
  1805. margin-left: -@basicColoredBorderSize;
  1806. }
  1807. /* Inverted */
  1808. .ui.inverted.teal.buttons .button,
  1809. .ui.inverted.teal.button {
  1810. background-color: transparent;
  1811. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1812. color: @lightTeal;
  1813. }
  1814. .ui.inverted.teal.buttons .button:hover,
  1815. .ui.inverted.teal.button:hover {
  1816. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1817. background-color: @lightTeal;
  1818. color: @black;
  1819. }
  1820. .ui.inverted.teal.buttons .button.active,
  1821. .ui.inverted.teal.button.active {
  1822. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1823. background-color: @lightTeal;
  1824. color: @black;
  1825. }
  1826. .ui.inverted.teal.buttons .button:active,
  1827. .ui.inverted.teal.button:active {
  1828. box-shadow: 0px 0px 0px @invertedBorderSize @lightTealDown inset !important;
  1829. background-color: @lightTealDown;
  1830. color: @black;
  1831. }
  1832. /* Inverted Basic */
  1833. .ui.inverted.teal.basic.buttons .button,
  1834. .ui.inverted.teal.buttons .basic.button,
  1835. .ui.inverted.teal.basic.button {
  1836. background-color: transparent;
  1837. box-shadow: @basicInvertedBoxShadow !important;
  1838. color: @white !important;
  1839. }
  1840. .ui.inverted.teal.basic.buttons .button:hover,
  1841. .ui.inverted.teal.buttons .basic.button:hover,
  1842. .ui.inverted.teal.basic.button:hover {
  1843. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1844. color: @lightTeal !important;
  1845. }
  1846. .ui.inverted.teal.basic.buttons .button.active,
  1847. .ui.inverted.teal.buttons .basic.button.active,
  1848. .ui.inverted.teal.basic.button.active {
  1849. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1850. color: @lightTeal !important;
  1851. }
  1852. .ui.inverted.teal.basic.buttons .button:active,
  1853. .ui.inverted.teal.buttons .basic.button:active,
  1854. .ui.inverted.teal.basic.button:active {
  1855. box-shadow: 0px 0px 0px @invertedBorderSize @lightTealDown inset !important;
  1856. color: @lightTeal !important;
  1857. }
  1858. /*--- Yellow ---*/
  1859. .ui.yellow.buttons .button,
  1860. .ui.yellow.button {
  1861. background-color: @yellow;
  1862. color: @invertedTextColor;
  1863. text-shadow: @invertedTextShadow;
  1864. background-image: @coloredBackgroundImage;
  1865. }
  1866. .ui.yellow.button {
  1867. box-shadow: @coloredBoxShadow;
  1868. }
  1869. .ui.yellow.buttons .button:hover,
  1870. .ui.yellow.button:hover {
  1871. background-color: @yellowHover;
  1872. color: @invertedTextColor;
  1873. text-shadow: @invertedTextShadow;
  1874. }
  1875. .ui.yellow.buttons .button:active,
  1876. .ui.yellow.button:active {
  1877. background-color: @yellowDown;
  1878. color: @invertedTextColor;
  1879. text-shadow: @invertedTextShadow;
  1880. }
  1881. .ui.yellow.buttons .button.active,
  1882. .ui.yellow.buttons .button.active:active,
  1883. .ui.yellow.button.active,
  1884. .ui.yellow.button .button.active:active {
  1885. background-color: @yellowActive;
  1886. color: @invertedTextColor;
  1887. text-shadow: @invertedTextShadow;
  1888. }
  1889. /* Basic */
  1890. .ui.basic.yellow.buttons .button,
  1891. .ui.basic.yellow.button {
  1892. box-shadow: 0px 0px 0px @basicColoredBorderSize @borderColor inset !important;
  1893. color: @textColor !important;
  1894. }
  1895. .ui.basic.yellow.buttons .button:hover,
  1896. .ui.basic.yellow.button:hover {
  1897. background: transparent !important;
  1898. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowHover inset !important;
  1899. color: @yellowHover !important;
  1900. }
  1901. .ui.basic.yellow.buttons .button:active,
  1902. .ui.basic.yellow.button:active {
  1903. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
  1904. color: @yellowDown !important;
  1905. }
  1906. .ui.basic.yellow.buttons .button.active,
  1907. .ui.basic.yellow.button.active {
  1908. background: transparent !important;
  1909. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
  1910. color: @yellowDown !important;
  1911. }
  1912. .ui.buttons > .basic.yellow.button:not(:first-child) {
  1913. margin-left: -@basicColoredBorderSize;
  1914. }
  1915. /* Inverted */
  1916. .ui.inverted.yellow.buttons .button,
  1917. .ui.inverted.yellow.button {
  1918. background-color: transparent;
  1919. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1920. color: @lightYellow;
  1921. }
  1922. .ui.inverted.yellow.buttons .button:hover,
  1923. .ui.inverted.yellow.button:hover {
  1924. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1925. background-color: @lightYellow;
  1926. color: @black;
  1927. }
  1928. .ui.inverted.yellow.buttons .button.active,
  1929. .ui.inverted.yellow.button.active {
  1930. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1931. background-color: @lightYellow;
  1932. color: @black;
  1933. }
  1934. .ui.inverted.yellow.buttons .button:active,
  1935. .ui.inverted.yellow.button:active {
  1936. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellowDown inset !important;
  1937. background-color: @lightYellowDown;
  1938. color: @black;
  1939. }
  1940. /* Inverted Basic */
  1941. .ui.inverted.yellow.basic.buttons .button,
  1942. .ui.inverted.yellow.buttons .basic.button,
  1943. .ui.inverted.yellow.basic.button {
  1944. background-color: transparent;
  1945. box-shadow: @basicInvertedBoxShadow !important;
  1946. color: @white !important;
  1947. }
  1948. .ui.inverted.yellow.basic.buttons .button:hover,
  1949. .ui.inverted.yellow.buttons .basic.button:hover,
  1950. .ui.inverted.yellow.basic.button:hover {
  1951. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1952. color: @lightYellow !important;
  1953. }
  1954. .ui.inverted.yellow.basic.buttons .button.active,
  1955. .ui.inverted.yellow.buttons .basic.button.active,
  1956. .ui.inverted.yellow.basic.button.active {
  1957. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1958. color: @lightYellow !important;
  1959. }
  1960. .ui.inverted.yellow.basic.buttons .button:active,
  1961. .ui.inverted.yellow.buttons .basic.button:active,
  1962. .ui.inverted.yellow.basic.button:active {
  1963. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellowDown inset !important;
  1964. color: @lightYellow !important;
  1965. }
  1966. /*-------------------
  1967. Primary
  1968. --------------------*/
  1969. .ui.primary.buttons .button,
  1970. .ui.primary.button {
  1971. background-color: @primaryColor;
  1972. color: @invertedTextColor;
  1973. text-shadow: @invertedTextShadow;
  1974. background-image: @coloredBackgroundImage;
  1975. }
  1976. .ui.primary.button {
  1977. box-shadow: @coloredBoxShadow;
  1978. }
  1979. .ui.primary.buttons .button:hover,
  1980. .ui.primary.button:hover {
  1981. background-color: @primaryColorHover;
  1982. color: @invertedTextColor;
  1983. text-shadow: @invertedTextShadow;
  1984. }
  1985. .ui.primary.buttons .button:active,
  1986. .ui.primary.button:active {
  1987. background-color: @primaryColorDown;
  1988. color: @invertedTextColor;
  1989. text-shadow: @invertedTextShadow;
  1990. }
  1991. .ui.primary.buttons .active.button,
  1992. .ui.primary.button.active {
  1993. background-color: @primaryColorActive;
  1994. color: @invertedTextColor;
  1995. text-shadow: @invertedTextShadow;
  1996. }
  1997. /*-------------------
  1998. Secondary
  1999. --------------------*/
  2000. .ui.secondary.buttons .button,
  2001. .ui.secondary.button {
  2002. background-color: @secondaryColor;
  2003. color: @invertedTextColor;
  2004. text-shadow: @invertedTextShadow;
  2005. background-image: @coloredBackgroundImage;
  2006. }
  2007. .ui.secondary.button {
  2008. box-shadow: @coloredBoxShadow;
  2009. }
  2010. .ui.secondary.buttons .button:hover,
  2011. .ui.secondary.button:hover {
  2012. background-color: @secondaryColorHover;
  2013. color: @invertedTextColor;
  2014. text-shadow: @invertedTextShadow;
  2015. }
  2016. .ui.secondary.buttons .button:active,
  2017. .ui.secondary.button:active {
  2018. background-color: @secondaryColorDown;
  2019. color: @invertedTextColor;
  2020. text-shadow: @invertedTextShadow;
  2021. }
  2022. .ui.secondary.buttons .active.button,
  2023. .ui.secondary.button.active {
  2024. background-color: @secondaryColorActive;
  2025. color: @invertedTextColor;
  2026. text-shadow: @invertedTextShadow;
  2027. }
  2028. /*---------------
  2029. Positive
  2030. ----------------*/
  2031. .ui.positive.buttons .button,
  2032. .ui.positive.button {
  2033. background-color: @positiveColor !important;
  2034. color: @invertedTextColor;
  2035. text-shadow: @invertedTextShadow;
  2036. background-image: @coloredBackgroundImage;
  2037. }
  2038. .ui.positive.button {
  2039. box-shadow: @coloredBoxShadow;
  2040. }
  2041. .ui.positive.buttons .button:hover,
  2042. .ui.positive.button:hover,
  2043. .ui.positive.buttons .active.button,
  2044. .ui.positive.button.active {
  2045. background-color: @positiveColorHover !important;
  2046. color: @invertedTextColor;
  2047. text-shadow: @invertedTextShadow;
  2048. }
  2049. .ui.positive.buttons .button:active,
  2050. .ui.positive.button:active {
  2051. background-color: @positiveColorDown !important;
  2052. color: @invertedTextColor;
  2053. text-shadow: @invertedTextShadow;
  2054. }
  2055. .ui.positive.buttons .button.active,
  2056. .ui.positive.buttons .button.active:active,
  2057. .ui.positive.button.active,
  2058. .ui.positive.button .button.active:active {
  2059. background-color: @positiveColorActive;
  2060. color: @invertedTextColor;
  2061. text-shadow: @invertedTextShadow;
  2062. }
  2063. /*---------------
  2064. Negative
  2065. ----------------*/
  2066. .ui.negative.buttons .button,
  2067. .ui.negative.button {
  2068. background-color: @negativeColor !important;
  2069. color: @invertedTextColor;
  2070. text-shadow: @invertedTextShadow;
  2071. background-image: @coloredBackgroundImage;
  2072. }
  2073. .ui.negative.button {
  2074. box-shadow: @coloredBoxShadow;
  2075. }
  2076. .ui.negative.buttons .button:hover,
  2077. .ui.negative.button:hover,
  2078. .ui.negative.buttons .active.button,
  2079. .ui.negative.button.active {
  2080. background-color: @negativeColorHover !important;
  2081. color: @invertedTextColor;
  2082. text-shadow: @invertedTextShadow;
  2083. }
  2084. .ui.negative.buttons .button:active,
  2085. .ui.negative.button:active {
  2086. background-color: @negativeColorDown !important;
  2087. color: @invertedTextColor;
  2088. text-shadow: @invertedTextShadow;
  2089. }
  2090. .ui.negative.buttons .button.active,
  2091. .ui.negative.buttons .button.active:active,
  2092. .ui.negative.button.active,
  2093. .ui.negative.button .button.active:active {
  2094. background-color: @negativeColorActive;
  2095. color: @invertedTextColor;
  2096. text-shadow: @invertedTextShadow;
  2097. }
  2098. /*******************************
  2099. Groups
  2100. *******************************/
  2101. .ui.buttons {
  2102. display: inline-block;
  2103. vertical-align: middle;
  2104. margin: @verticalMargin @horizontalMargin 0em 0em;
  2105. }
  2106. .ui.buttons > .button:hover,
  2107. .ui.buttons > .button.active {
  2108. position: relative;
  2109. }
  2110. .ui.buttons:after {
  2111. content: ".";
  2112. display: block;
  2113. height: 0;
  2114. clear: both;
  2115. visibility: hidden;
  2116. }
  2117. .ui.buttons .button:first-child {
  2118. border-left: none;
  2119. }
  2120. .ui.buttons:not(.basic):not(.inverted) {
  2121. box-shadow: @groupBoxShadow;
  2122. }
  2123. .ui.buttons > .ui.button:not(.basic):not(.inverted),
  2124. .ui.buttons:not(.basic):not(.inverted) > .button {
  2125. box-shadow: @groupButtonBoxShadow;
  2126. }
  2127. .ui.buttons .button {
  2128. margin: 0em;
  2129. float: left;
  2130. border-radius: 0em;
  2131. margin: @groupButtonOffset;
  2132. }
  2133. .ui.buttons .button:first-child {
  2134. margin-left: 0em;
  2135. border-top-left-radius: @borderRadius;
  2136. border-bottom-left-radius: @borderRadius;
  2137. }
  2138. .ui.buttons .button:last-child {
  2139. border-top-right-radius: @borderRadius;
  2140. border-bottom-right-radius: @borderRadius;
  2141. }
  2142. /* Vertical Style */
  2143. .ui.vertical.buttons {
  2144. display: inline-block;
  2145. }
  2146. .ui.vertical.buttons .button {
  2147. display: block;
  2148. float: none;
  2149. margin: @verticalGroupOffset;
  2150. box-shadow: @verticalBoxShadow;
  2151. }
  2152. .ui.vertical.buttons .button:first-child,
  2153. .ui.vertical.buttons .mini.button:first-child,
  2154. .ui.vertical.buttons .tiny.button:first-child,
  2155. .ui.vertical.buttons .small.button:first-child,
  2156. .ui.vertical.buttons .massive.button:first-child,
  2157. .ui.vertical.buttons .huge.button:first-child {
  2158. border-radius: @borderRadius @borderRadius 0px 0px;
  2159. }
  2160. .ui.vertical.buttons .button:last-child,
  2161. .ui.vertical.buttons .mini.button:last-child,
  2162. .ui.vertical.buttons .tiny.button:last-child,
  2163. .ui.vertical.buttons .small.button:last-child,
  2164. .ui.vertical.buttons .massive.button:last-child,
  2165. .ui.vertical.buttons .huge.button:last-child,
  2166. .ui.vertical.buttons .gigantic.button:last-child {
  2167. margin-bottom: 0px;
  2168. border-radius: 0px 0px @borderRadius @borderRadius;
  2169. }
  2170. .loadUIOverrides();