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.

2224 lines
56 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
  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. vertical-align: baseline;
  25. min-height: 1em;
  26. outline: none;
  27. border: none;
  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-color: @loadingBackgroundColor !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;
  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.button {
  474. font-size: @medium;
  475. }
  476. .ui.large.buttons .button,
  477. .ui.large.buttons .or,
  478. .ui.large.button {
  479. font-size: @large;
  480. }
  481. .ui.big.buttons .button,
  482. .ui.big.buttons .or,
  483. .ui.big.button {
  484. font-size: @big;
  485. }
  486. .ui.huge.buttons .button,
  487. .ui.huge.buttons .or,
  488. .ui.huge.button {
  489. font-size: @huge;
  490. }
  491. .ui.massive.buttons .button,
  492. .ui.massive.buttons .or,
  493. .ui.massive.button {
  494. font-size: @massive;
  495. }
  496. /* Loading Resize */
  497. .ui.huge.loading.button:after,
  498. .ui.huge.loading.button.active:after {
  499. background-image: url(@hugeLoaderPath);
  500. }
  501. .ui.massive.buttons .loading.button:after,
  502. .ui.gigantic.buttons .loading.button:after,
  503. .ui.massive.loading.button:after,
  504. .ui.gigantic.loading.button:after,
  505. .ui.massive.buttons .loading.button.active:after,
  506. .ui.gigantic.buttons .loading.button.active:after,
  507. .ui.massive.loading.button.active:after,
  508. .ui.gigantic.loading.button.active:after {
  509. background-image: url(@massiveLoaderPath);
  510. }
  511. /*--------------
  512. Icon Only
  513. ---------------*/
  514. .ui.icon.buttons .button,
  515. .ui.icon.button {
  516. padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
  517. }
  518. .ui.icon.buttons .button > .icon,
  519. .ui.icon.button > .icon {
  520. opacity: @iconButtonOpacity;
  521. margin: 0em;
  522. vertical-align: top;
  523. }
  524. .ui.icon.buttons .button > .icon,
  525. .ui.icon.button > .icon {
  526. height: 0em;
  527. }
  528. /*-------------------
  529. Basic
  530. --------------------*/
  531. .ui.basic.buttons .button,
  532. .ui.basic.button {
  533. background: @basicBackground !important;
  534. background-image: none;
  535. color: @textColor !important;
  536. font-weight: @basicFontWeight;
  537. border-radius: @basicBorderRadius;
  538. text-transform: @basicTextTransform;
  539. text-shadow: none !important;
  540. box-shadow: @basicBoxShadow;
  541. }
  542. .ui.basic.buttons .button:not(.compact),
  543. .ui.basic.button:not(.compact) {
  544. padding: @basicPadding;
  545. }
  546. .ui.basic.buttons {
  547. box-shadow: @basicGroupBoxShadow;
  548. border-radius: @borderRadius;
  549. }
  550. .ui.basic.buttons .button {
  551. border-radius: 0em;
  552. }
  553. .ui.basic.buttons .button:hover,
  554. .ui.basic.button:hover {
  555. background: @basicHoverBackground !important;
  556. color: @hoveredTextColor !important;
  557. box-shadow: @basicHoverBoxShadow;
  558. }
  559. .ui.basic.buttons .button:active,
  560. .ui.basic.button:active {
  561. background: @basicDownBackground !important;
  562. color: @pressedTextColor !important;
  563. box-shadow: @basicDownBoxShadow;
  564. }
  565. .ui.basic.buttons .button.active,
  566. .ui.basic.button.active {
  567. background: @basicActiveBackground !important;
  568. color: @basicActiveColor;
  569. box-shadow: @selectedBorderColor;
  570. }
  571. .ui.basic.buttons .button.active:hover,
  572. .ui.basic.button.active:hover {
  573. background-color: @transparentBlack;
  574. }
  575. /* Vertical */
  576. .ui.basic.buttons .button:hover {
  577. box-shadow: @basicHoverBoxShadow inset;
  578. }
  579. .ui.basic.buttons .button:active {
  580. box-shadow: @basicDownBoxShadow inset;
  581. }
  582. .ui.basic.buttons .button.active {
  583. box-shadow: @selectedBorderColor inset;
  584. }
  585. /* Standard Basic Inverted */
  586. .ui.basic.inverted.buttons .button,
  587. .ui.basic.inverted.button {
  588. background-color: transparent !important;
  589. color: @offWhite !important;
  590. box-shadow: @basicInvertedBoxShadow !important;
  591. }
  592. .ui.basic.inverted.buttons .button:hover,
  593. .ui.basic.inverted.button:hover {
  594. color: @white !important;
  595. box-shadow: @basicInvertedHoverBoxShadow !important;
  596. }
  597. .ui.basic.inverted.buttons .button:active,
  598. .ui.basic.inverted.button:active {
  599. background-color: @transparentWhite !important;
  600. color: @white !important;
  601. box-shadow: @basicInvertedDownBoxShadow !important;
  602. }
  603. .ui.basic.inverted.buttons .button.active,
  604. .ui.basic.inverted.button.active {
  605. background-color: @transparentWhite;
  606. color: @invertedTextColor;
  607. text-shadow: @invertedTextShadow;
  608. box-shadow: @basicInvertedActiveBoxShadow;
  609. }
  610. .ui.basic.inverted.buttons .button.active:hover,
  611. .ui.basic.inverted.button.active:hover {
  612. background-color: @strongTransparentWhite;
  613. box-shadow: @basicInvertedHoverBoxShadow !important;
  614. }
  615. /* Loading */
  616. .ui.basic.loading.button:after {
  617. background-color: @basicLoadingColor;
  618. border-radius: @borderRadius;
  619. }
  620. /* Basic Group */
  621. .ui.basic.buttons .button {
  622. border-left: @basicGroupBorder;
  623. box-shadow: none;
  624. }
  625. .ui.basic.vertical.buttons .button {
  626. border-left: none;
  627. }
  628. /*--------------
  629. Labeled Icon
  630. ---------------*/
  631. .ui.labeled.icon.buttons .button,
  632. .ui.labeled.icon.button {
  633. position: relative;
  634. padding-left: @labeledIconPadding !important;
  635. padding-right: @horizontalPadding !important;
  636. }
  637. .ui.labeled.icon.buttons > .button > .icon,
  638. .ui.labeled.icon.button > .icon {
  639. position: absolute;
  640. top: 0em;
  641. left: 0em;
  642. box-sizing: border-box;
  643. width: @labeledIconWidth;
  644. height: 100%;
  645. background-color: @labeledIconBackgroundColor;
  646. text-align: center;
  647. color: @labeledIconColor;
  648. border-radius: @borderRadius 0px 0px @borderRadius;
  649. line-height: 1;
  650. box-shadow: @labeledIconLeftShadow;
  651. }
  652. .ui.labeled.icon.buttons > .button > .icon:before,
  653. .ui.labeled.icon.button > .icon:before,
  654. .ui.labeled.icon.buttons > .button > .icon:after,
  655. .ui.labeled.icon.button > .icon:after {
  656. display: block;
  657. position: absolute;
  658. width: 100%;
  659. top: 50%;
  660. text-align: center;
  661. margin-top: -0.5em;
  662. }
  663. .ui.labeled.icon.buttons .button > .icon {
  664. border-radius: 0em;
  665. }
  666. .ui.labeled.icon.buttons .button:first-child > .icon {
  667. border-top-left-radius: @borderRadius;
  668. border-bottom-left-radius: @borderRadius;
  669. }
  670. .ui.labeled.icon.buttons .button:last-child > .icon {
  671. border-top-right-radius: @borderRadius;
  672. border-bottom-right-radius: @borderRadius;
  673. }
  674. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  675. border-radius: 0em;
  676. border-top-left-radius: @borderRadius;
  677. }
  678. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  679. border-radius: 0em;
  680. border-bottom-left-radius: @borderRadius;
  681. }
  682. .ui.right.labeled.icon.button {
  683. padding-right: @labeledIconPadding !important;
  684. padding-left: @horizontalPadding !important;
  685. }
  686. .ui.left.fluid.labeled.icon.button,
  687. .ui.right.fluid.labeled.icon.button {
  688. padding-left: @horizontalPadding !important;
  689. padding-right: @horizontalPadding !important;
  690. }
  691. .ui.right.labeled.icon.button > .icon {
  692. left: auto;
  693. right: 0em;
  694. border-radius: 0em @borderRadius @borderRadius 0em;
  695. box-shadow: @labeledIconRightShadow;
  696. }
  697. /*--------------
  698. Toggle
  699. ---------------*/
  700. /* Toggle (Modifies active state to give affordances) */
  701. .ui.toggle.buttons .active.button,
  702. .ui.buttons .button.toggle.active,
  703. .ui.button.toggle.active {
  704. background-color: @positiveColor !important;
  705. box-shadow: none !important;
  706. text-shadow: @invertedTextShadow;
  707. color: @invertedTextColor !important;
  708. }
  709. .ui.button.toggle.active:hover {
  710. background-color: @positiveColorHover !important;
  711. text-shadow: @invertedTextShadow;
  712. color: @invertedTextColor !important;
  713. }
  714. /*--------------
  715. Circular
  716. ---------------*/
  717. .ui.circular.button {
  718. border-radius: 10em;
  719. }
  720. /*--------------
  721. Attached
  722. ---------------*/
  723. .ui.attached.button {
  724. display: block;
  725. margin: 0em;
  726. box-shadow: @attachedBoxShadow !important;
  727. border-radius: 0em;
  728. }
  729. .ui.attached.top.button {
  730. border-radius: @borderRadius @borderRadius 0em 0em;
  731. }
  732. .ui.attached.bottom.button {
  733. border-radius: 0em 0em @borderRadius @borderRadius;
  734. }
  735. .ui.attached.left.button {
  736. display: inline-block;
  737. border-left: none;
  738. padding-right: @attachedHorizontalPadding;
  739. text-align: right;
  740. border-radius: @borderRadius 0em 0em @borderRadius;
  741. }
  742. .ui.attached.right.button {
  743. display: inline-block;
  744. padding-left: @attachedHorizontalPadding;
  745. text-align: left;
  746. border-radius: 0em @borderRadius @borderRadius 0em;
  747. }
  748. /*-------------------
  749. Or Buttons
  750. --------------------*/
  751. .ui.buttons .or {
  752. position: relative;
  753. float: left;
  754. width: @orWidth;
  755. height: @orHeight;
  756. z-index: 3;
  757. }
  758. .ui.buttons .or:before {
  759. position: absolute;
  760. top: 50%;
  761. left: 50%;
  762. content: 'or';
  763. background-color: @white;
  764. text-shadow: @invertedTextShadow;
  765. margin-top: @orVerticalOffset;
  766. margin-left: @orHorizontalOffset;
  767. width: @orCircleSize;
  768. height: @orCircleSize;
  769. line-height: @orLineHeight;
  770. color: @lightTextColor;
  771. font-style: @orTextStyle;
  772. font-weight: @orTextWeight;
  773. text-align: center;
  774. border-radius: 500em;
  775. box-shadow: @orBoxShadow;
  776. box-sizing: border-box;
  777. }
  778. .ui.buttons .or:after {
  779. position: absolute;
  780. top: 0em;
  781. left: 0em;
  782. content: ' ';
  783. background-color: transparent;
  784. width: @orWidth;
  785. height: (@orHeight + (@orSpacerHeight * 2));
  786. border-top: @orSpacerHeight solid @orSpacerColor;
  787. border-bottom: @orSpacerHeight solid @orSpacerColor;
  788. }
  789. /* Fluid Or */
  790. .ui.fluid.buttons .or {
  791. width: 0em !important;
  792. }
  793. .ui.fluid.buttons .or:after {
  794. display: none;
  795. }
  796. /*-------------------
  797. Attached
  798. --------------------*/
  799. /* Plural Attached */
  800. .attached.ui.buttons {
  801. margin: 0px;
  802. border-radius: 0em 0em 0em 0em;
  803. }
  804. .attached.ui.buttons .button {
  805. margin: 0em;
  806. }
  807. .attached.ui.buttons .button:first-child {
  808. border-radius: 0em 0em 0em 0em;
  809. }
  810. .attached.ui.buttons .button:last-child {
  811. border-radius: 0em 0em 0em 0em;
  812. }
  813. /* Bottom Side */
  814. [class*="bottom attached"].ui.buttons {
  815. margin-top: @attachedOffset;
  816. border-radius: 0em 0em @borderRadius @borderRadius;
  817. }
  818. [class*="bottom attached"].ui.buttons .button:first-child {
  819. border-radius: 0em 0em 0em @borderRadius;
  820. }
  821. [class*="bottom attached"].ui.buttons .button:last-child {
  822. border-radius: 0em 0em @borderRadius 0em;
  823. }
  824. /* Left Side */
  825. [class*="left attached"].ui.buttons {
  826. margin-left: @attachedOffset;
  827. border-radius: 0em @borderRadius @borderRadius 0em;
  828. }
  829. [class*="left attached"].ui.buttons .button:first-child {
  830. margin-left: @attachedOffset;
  831. border-radius: 0em @borderRadius 0em 0em;
  832. }
  833. [class*="left attached"].ui.buttons .button:last-child {
  834. margin-left: @attachedOffset;
  835. border-radius: 0em 0em @borderRadius 0em;
  836. }
  837. /* Right Side */
  838. [class*="right attached"].ui.buttons,
  839. [class*="right attached"].ui.buttons .button {
  840. margin-right: @attachedOffset;
  841. border-radius: @borderRadius 0em 0em @borderRadius;
  842. }
  843. [class*="right attached"].ui.buttons .button:first-child {
  844. margin-left: @attachedOffset;
  845. border-radius: @borderRadius 0em 0em 0em;
  846. }
  847. [class*="right attached"].ui.buttons .button:last-child {
  848. margin-left: @attachedOffset;
  849. border-radius: 0em 0em 0em @borderRadius;
  850. }
  851. /* Fluid */
  852. .ui.fluid.buttons,
  853. .ui.button.fluid,
  854. .ui.fluid.buttons > .button {
  855. display: block;
  856. width: 100%;
  857. }
  858. .ui.\32.buttons,
  859. .ui.two.buttons {
  860. width: 100%;
  861. }
  862. .ui.\32.buttons > .button,
  863. .ui.two.buttons > .button {
  864. width: 50%;
  865. }
  866. .ui.\33.buttons,
  867. .ui.three.buttons {
  868. width: 100%;
  869. }
  870. .ui.\33.buttons > .button,
  871. .ui.three.buttons > .button {
  872. width: 33.333%;
  873. }
  874. .ui.\34.buttons,
  875. .ui.four.buttons {
  876. width: 100%;
  877. }
  878. .ui.\34.buttons > .button,
  879. .ui.four.buttons > .button {
  880. width: 25%;
  881. }
  882. .ui.\35.buttons,
  883. .ui.five.buttons {
  884. width: 100%;
  885. }
  886. .ui.\35.buttons > .button,
  887. .ui.five.buttons > .button {
  888. width: 20%;
  889. }
  890. .ui.\36.buttons,
  891. .ui.six.buttons {
  892. width: 100%;
  893. }
  894. .ui.\36.buttons > .button,
  895. .ui.six.buttons > .button {
  896. width: 16.666%;
  897. }
  898. .ui.\37.buttons,
  899. .ui.seven.buttons {
  900. width: 100%;
  901. }
  902. .ui.\37.buttons > .button,
  903. .ui.seven.buttons > .button {
  904. width: 14.285%;
  905. }
  906. .ui.\38.buttons,
  907. .ui.eight.buttons {
  908. width: 100%;
  909. }
  910. .ui.\38.buttons > .button,
  911. .ui.eight.buttons > .button {
  912. width: 12.500%;
  913. }
  914. .ui.\39.buttons,
  915. .ui.nine.buttons {
  916. width: 100%;
  917. }
  918. .ui.\39.buttons > .button,
  919. .ui.nine.buttons > .button {
  920. width: 11.11%;
  921. }
  922. .ui.\31\30.buttons,
  923. .ui.ten.buttons {
  924. width: 100%;
  925. }
  926. .ui.\31\30.buttons > .button,
  927. .ui.ten.buttons > .button {
  928. width: 10%;
  929. }
  930. .ui.\31\31.buttons,
  931. .ui.eleven.buttons {
  932. width: 100%;
  933. }
  934. .ui.\31\31.buttons > .button,
  935. .ui.eleven.buttons > .button {
  936. width: 9.09%;
  937. }
  938. .ui.\31\32.buttons,
  939. .ui.twelve.buttons {
  940. width: 100%;
  941. }
  942. .ui.\31\32.buttons > .button,
  943. .ui.twelve.buttons > .button {
  944. width: 8.3333%;
  945. }
  946. /* Fluid Vertical Buttons */
  947. .ui.fluid.vertical.buttons,
  948. .ui.fluid.vertical.buttons > .button {
  949. display: block;
  950. width: auto;
  951. box-sizing: border-box;
  952. }
  953. .ui.\32.vertical.buttons > .button,
  954. .ui.two.vertical.buttons > .button {
  955. height: 50%;
  956. }
  957. .ui.\33.vertical.buttons > .button,
  958. .ui.three.vertical.buttons > .button {
  959. height: 33.333%;
  960. }
  961. .ui.\34.vertical.buttons > .button,
  962. .ui.four.vertical.buttons > .button {
  963. height: 25%;
  964. }
  965. .ui.\35.vertical.buttons > .button,
  966. .ui.five.vertical.buttons > .button {
  967. height: 20%;
  968. }
  969. .ui.\36.vertical.buttons > .button,
  970. .ui.six.vertical.buttons > .button {
  971. height: 16.666%;
  972. }
  973. .ui.\37.vertical.buttons > .button,
  974. .ui.seven.vertical.buttons > .button {
  975. height: 14.285%;
  976. }
  977. .ui.\38.vertical.buttons > .button,
  978. .ui.eight.vertical.buttons > .button {
  979. height: 12.500%;
  980. }
  981. .ui.\39.vertical.buttons > .button,
  982. .ui.nine.vertical.buttons > .button {
  983. height: 11.11%;
  984. }
  985. .ui.\31\30.vertical.buttons > .button,
  986. .ui.ten.vertical.buttons > .button {
  987. height: 10%;
  988. }
  989. .ui.\31\31.vertical.buttons > .button,
  990. .ui.eleven.vertical.buttons > .button {
  991. height: 9.09%;
  992. }
  993. .ui.\31\32.vertical.buttons > .button,
  994. .ui.twelve.vertical.buttons > .button {
  995. height: 8.3333%;
  996. }
  997. /*-------------------
  998. Colors
  999. --------------------*/
  1000. /*--- Black ---*/
  1001. .ui.black.buttons .button,
  1002. .ui.black.button {
  1003. background-color: @black;
  1004. color: @invertedTextColor;
  1005. text-shadow: @invertedTextShadow;
  1006. background-image: @coloredBackgroundImage;
  1007. }
  1008. .ui.black.button {
  1009. box-shadow: @coloredBoxShadow;
  1010. }
  1011. .ui.black.buttons .button:hover,
  1012. .ui.black.button:hover {
  1013. background-color: @blackHover;
  1014. color: @invertedTextColor;
  1015. text-shadow: @invertedTextShadow;
  1016. }
  1017. .ui.black.buttons .button:active,
  1018. .ui.black.button:active {
  1019. background-color: @blackDown;
  1020. color: @invertedTextColor;
  1021. text-shadow: @invertedTextShadow;
  1022. }
  1023. .ui.black.buttons .button.active,
  1024. .ui.black.buttons .button.active:active,
  1025. .ui.black.button.active,
  1026. .ui.black.button .button.active:active {
  1027. background-color: @blackActive;
  1028. color: @invertedTextColor;
  1029. text-shadow: @invertedTextShadow;
  1030. }
  1031. /* Basic */
  1032. .ui.basic.black.buttons .button,
  1033. .ui.basic.black.button {
  1034. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1035. color: @textColor !important;
  1036. }
  1037. .ui.basic.black.buttons .button:hover,
  1038. .ui.basic.black.button:hover {
  1039. background: transparent !important;
  1040. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackHover inset !important;
  1041. color: @blackHover !important;
  1042. }
  1043. .ui.basic.black.buttons .button:active,
  1044. .ui.basic.black.button:active {
  1045. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
  1046. color: @blackDown !important;
  1047. }
  1048. .ui.basic.black.buttons .button.active,
  1049. .ui.basic.black.button.active {
  1050. background: transparent !important;
  1051. box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
  1052. color: @blackDown !important;
  1053. }
  1054. /* Inverted */
  1055. .ui.inverted.black.buttons .button,
  1056. .ui.inverted.black.button {
  1057. background-color: transparent;
  1058. box-shadow: 0px 0px 0px @invertedBorderSize @solidBorderColor inset !important;
  1059. color: @invertedTextColor;
  1060. }
  1061. .ui.inverted.black.buttons .button:hover,
  1062. .ui.inverted.black.button:hover {
  1063. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1064. background-color: @lightBlack;
  1065. color: @white;
  1066. }
  1067. .ui.inverted.black.buttons .button:active,
  1068. .ui.inverted.black.button:active {
  1069. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlackDown inset !important;
  1070. background-color: @lightBlackDown;
  1071. color: @black;
  1072. }
  1073. /* Inverted Basic */
  1074. .ui.inverted.black.basic.buttons .button,
  1075. .ui.inverted.black.buttons .basic.button,
  1076. .ui.inverted.black.basic.button {
  1077. background-color: transparent;
  1078. box-shadow: @basicInvertedBoxShadow !important;
  1079. color: @white !important;
  1080. }
  1081. .ui.inverted.black.basic.buttons .button:hover,
  1082. .ui.inverted.black.buttons .basic.button:hover,
  1083. .ui.inverted.black.basic.button:hover {
  1084. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
  1085. color: @white !important;
  1086. }
  1087. .ui.inverted.black.basic.buttons .button:active,
  1088. .ui.inverted.black.buttons .basic.button:active,
  1089. .ui.inverted.black.basic.button:active {
  1090. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlackDown inset !important;
  1091. color: @lightBlackDown !important;
  1092. }
  1093. /*--- Blue ---*/
  1094. .ui.blue.buttons .button,
  1095. .ui.blue.button {
  1096. background-color: @blue;
  1097. color: @invertedTextColor;
  1098. text-shadow: @invertedTextShadow;
  1099. background-image: @coloredBackgroundImage;
  1100. }
  1101. .ui.blue.button {
  1102. box-shadow: @coloredBoxShadow;
  1103. }
  1104. .ui.blue.buttons .button:hover,
  1105. .ui.blue.button:hover {
  1106. background-color: @blueHover;
  1107. color: @invertedTextColor;
  1108. text-shadow: @invertedTextShadow;
  1109. }
  1110. .ui.blue.buttons .button:active,
  1111. .ui.blue.button:active {
  1112. background-color: @blueDown;
  1113. color: @invertedTextColor;
  1114. text-shadow: @invertedTextShadow;
  1115. }
  1116. .ui.blue.buttons .button.active,
  1117. .ui.blue.buttons .button.active:active,
  1118. .ui.blue.button.active,
  1119. .ui.blue.button .button.active:active {
  1120. background-color: @blueActive;
  1121. color: @invertedTextColor;
  1122. text-shadow: @invertedTextShadow;
  1123. }
  1124. /* Basic */
  1125. .ui.basic.blue.buttons .button,
  1126. .ui.basic.blue.button {
  1127. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1128. color: @textColor !important;
  1129. }
  1130. .ui.basic.blue.buttons .button:hover,
  1131. .ui.basic.blue.button:hover {
  1132. background: transparent !important;
  1133. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueHover inset !important;
  1134. color: @blueHover !important;
  1135. }
  1136. .ui.basic.blue.buttons .button:active,
  1137. .ui.basic.blue.button:active {
  1138. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
  1139. color: @blueDown !important;
  1140. }
  1141. .ui.basic.blue.buttons .button.active,
  1142. .ui.basic.blue.button.active {
  1143. background: transparent !important;
  1144. box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
  1145. color: @blueDown !important;
  1146. }
  1147. /* Inverted */
  1148. .ui.inverted.blue.buttons .button,
  1149. .ui.inverted.blue.button {
  1150. background-color: transparent;
  1151. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1152. color: @lightBlue;
  1153. }
  1154. .ui.inverted.blue.buttons .button:hover,
  1155. .ui.inverted.blue.button:hover {
  1156. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1157. background-color: @lightBlue;
  1158. color: @black;
  1159. }
  1160. .ui.inverted.blue.buttons .button:active,
  1161. .ui.inverted.blue.button:active {
  1162. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlueDown inset !important;
  1163. background-color: @lightBlueDown;
  1164. color: @black;
  1165. }
  1166. /* Inverted Basic */
  1167. .ui.inverted.blue.basic.buttons .button,
  1168. .ui.inverted.blue.buttons .basic.button,
  1169. .ui.inverted.blue.basic.button {
  1170. background-color: transparent;
  1171. box-shadow: @basicInvertedBoxShadow !important;
  1172. color: @white !important;
  1173. }
  1174. .ui.inverted.blue.basic.buttons .button:hover,
  1175. .ui.inverted.blue.buttons .basic.button:hover,
  1176. .ui.inverted.blue.basic.button:hover {
  1177. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
  1178. color: @lightBlue !important;
  1179. }
  1180. .ui.inverted.blue.basic.buttons .button:active,
  1181. .ui.inverted.blue.buttons .basic.button:active,
  1182. .ui.inverted.blue.basic.button:active {
  1183. box-shadow: 0px 0px 0px @invertedBorderSize @lightBlueDown inset !important;
  1184. color: @lightBlueDown !important;
  1185. }
  1186. /*--- Green ---*/
  1187. .ui.green.buttons .button,
  1188. .ui.green.button {
  1189. background-color: @green;
  1190. color: @invertedTextColor;
  1191. text-shadow: @invertedTextShadow;
  1192. background-image: @coloredBackgroundImage;
  1193. }
  1194. .ui.green.button {
  1195. box-shadow: @coloredBoxShadow;
  1196. }
  1197. .ui.green.buttons .button:hover,
  1198. .ui.green.button:hover {
  1199. background-color: @greenHover;
  1200. color: @invertedTextColor;
  1201. text-shadow: @invertedTextShadow;
  1202. }
  1203. .ui.green.buttons .button:active,
  1204. .ui.green.button:active {
  1205. background-color: @greenDown;
  1206. color: @invertedTextColor;
  1207. text-shadow: @invertedTextShadow;
  1208. }
  1209. .ui.green.buttons .button.active,
  1210. .ui.green.buttons .button.active:active,
  1211. .ui.green.button.active,
  1212. .ui.green.button .button.active:active {
  1213. background-color: @greenActive;
  1214. color: @invertedTextColor;
  1215. text-shadow: @invertedTextShadow;
  1216. }
  1217. /* Basic */
  1218. .ui.basic.green.buttons .button,
  1219. .ui.basic.green.button {
  1220. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1221. color: @textColor !important;
  1222. }
  1223. .ui.basic.green.buttons .button:hover,
  1224. .ui.basic.green.button:hover {
  1225. background: transparent !important;
  1226. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenHover inset !important;
  1227. color: @greenHover !important;
  1228. }
  1229. .ui.basic.green.buttons .button:active,
  1230. .ui.basic.green.button:active {
  1231. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
  1232. color: @greenDown !important;
  1233. }
  1234. .ui.basic.green.buttons .button.active,
  1235. .ui.basic.green.button.active {
  1236. background: transparent !important;
  1237. box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
  1238. color: @greenDown !important;
  1239. }
  1240. /* Inverted */
  1241. .ui.inverted.green.buttons .button,
  1242. .ui.inverted.green.button {
  1243. background-color: transparent;
  1244. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1245. color: @lightGreen;
  1246. }
  1247. .ui.inverted.green.buttons .button:hover,
  1248. .ui.inverted.green.button:hover {
  1249. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1250. background-color: @lightGreen;
  1251. color: @black;
  1252. }
  1253. .ui.inverted.green.buttons .button:active,
  1254. .ui.inverted.green.button:active {
  1255. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreenDown inset !important;
  1256. background-color: @lightGreenDown;
  1257. color: @black;
  1258. }
  1259. /* Inverted Basic */
  1260. .ui.inverted.green.basic.buttons .button,
  1261. .ui.inverted.green.buttons .basic.button,
  1262. .ui.inverted.green.basic.button {
  1263. background-color: transparent;
  1264. box-shadow: @basicInvertedBoxShadow !important;
  1265. color: @white !important;
  1266. }
  1267. .ui.inverted.green.basic.buttons .button:hover,
  1268. .ui.inverted.green.buttons .basic.button:hover,
  1269. .ui.inverted.green.basic.button:hover {
  1270. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
  1271. color: @lightGreen !important;
  1272. }
  1273. .ui.inverted.green.basic.buttons .button:active,
  1274. .ui.inverted.green.buttons .basic.button:active,
  1275. .ui.inverted.green.basic.button:active {
  1276. box-shadow: 0px 0px 0px @invertedBorderSize @lightGreenDown inset !important;
  1277. color: @lightGreenDown !important;
  1278. }
  1279. /*--- Orange ---*/
  1280. .ui.orange.buttons .button,
  1281. .ui.orange.button {
  1282. background-color: @orange;
  1283. color: @invertedTextColor;
  1284. text-shadow: @invertedTextShadow;
  1285. background-image: @coloredBackgroundImage;
  1286. }
  1287. .ui.orange.button {
  1288. box-shadow: @coloredBoxShadow;
  1289. }
  1290. .ui.orange.buttons .button:hover,
  1291. .ui.orange.button:hover {
  1292. background-color: @orangeHover;
  1293. color: @invertedTextColor;
  1294. text-shadow: @invertedTextShadow;
  1295. }
  1296. .ui.orange.buttons .button:active,
  1297. .ui.orange.button:active {
  1298. background-color: @orangeDown;
  1299. color: @invertedTextColor;
  1300. text-shadow: @invertedTextShadow;
  1301. }
  1302. .ui.orange.buttons .button.active,
  1303. .ui.orange.buttons .button.active:active,
  1304. .ui.orange.button.active,
  1305. .ui.orange.button .button.active:active {
  1306. background-color: @blackActive;
  1307. color: @invertedTextColor;
  1308. text-shadow: @invertedTextShadow;
  1309. }
  1310. /* Basic */
  1311. .ui.basic.orange.buttons .button,
  1312. .ui.basic.orange.button {
  1313. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1314. color: @textColor !important;
  1315. }
  1316. .ui.basic.orange.buttons .button:hover,
  1317. .ui.basic.orange.button:hover {
  1318. background: transparent !important;
  1319. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeHover inset !important;
  1320. color: @orangeHover !important;
  1321. }
  1322. .ui.basic.orange.buttons .button:active,
  1323. .ui.basic.orange.button:active {
  1324. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
  1325. color: @orangeDown !important;
  1326. }
  1327. .ui.basic.orange.buttons .button.active,
  1328. .ui.basic.orange.button.active {
  1329. background: transparent !important;
  1330. box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
  1331. color: @orangeDown !important;
  1332. }
  1333. /* Inverted */
  1334. .ui.inverted.orange.buttons .button,
  1335. .ui.inverted.orange.button {
  1336. background-color: transparent;
  1337. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1338. color: @lightOrange;
  1339. }
  1340. .ui.inverted.orange.buttons .button:hover,
  1341. .ui.inverted.orange.button:hover {
  1342. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1343. background-color: @lightOrange;
  1344. color: @black;
  1345. }
  1346. .ui.inverted.orange.buttons .button:active,
  1347. .ui.inverted.orange.button:active {
  1348. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrangeDown inset !important;
  1349. background-color: @lightOrangeDown;
  1350. color: @black;
  1351. }
  1352. /* Inverted Basic */
  1353. .ui.inverted.orange.basic.buttons .button,
  1354. .ui.inverted.orange.buttons .basic.button,
  1355. .ui.inverted.orange.basic.button {
  1356. background-color: transparent;
  1357. box-shadow: @basicInvertedBoxShadow !important;
  1358. color: @white !important;
  1359. }
  1360. .ui.inverted.orange.basic.buttons .button:hover,
  1361. .ui.inverted.orange.buttons .basic.button:hover,
  1362. .ui.inverted.orange.basic.button:hover {
  1363. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
  1364. color: @lightOrange !important;
  1365. }
  1366. .ui.inverted.orange.basic.buttons .button:active,
  1367. .ui.inverted.orange.buttons .basic.button:active,
  1368. .ui.inverted.orange.basic.button:active {
  1369. box-shadow: 0px 0px 0px @invertedBorderSize @lightOrangeDown inset !important;
  1370. color: @lightOrangeDown !important;
  1371. }
  1372. /*--- Pink ---*/
  1373. .ui.pink.buttons .button,
  1374. .ui.pink.button {
  1375. background-color: @pink;
  1376. color: @invertedTextColor;
  1377. text-shadow: @invertedTextShadow;
  1378. background-image: @coloredBackgroundImage;
  1379. }
  1380. .ui.pink.button {
  1381. box-shadow: @coloredBoxShadow;
  1382. }
  1383. .ui.pink.buttons .button:hover,
  1384. .ui.pink.button:hover {
  1385. background-color: @pinkHover;
  1386. color: @invertedTextColor;
  1387. text-shadow: @invertedTextShadow;
  1388. }
  1389. .ui.pink.buttons .button:active,
  1390. .ui.pink.button:active {
  1391. background-color: @pinkDown;
  1392. color: @invertedTextColor;
  1393. text-shadow: @invertedTextShadow;
  1394. }
  1395. .ui.pink.buttons .button.active,
  1396. .ui.pink.buttons .button.active:active,
  1397. .ui.pink.button.active,
  1398. .ui.pink.button .button.active:active {
  1399. background-color: @pinkActive;
  1400. color: @invertedTextColor;
  1401. text-shadow: @invertedTextShadow;
  1402. }
  1403. /* Basic */
  1404. .ui.basic.pink.buttons .button,
  1405. .ui.basic.pink.button {
  1406. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1407. color: @textColor !important;
  1408. }
  1409. .ui.basic.pink.buttons .button:hover,
  1410. .ui.basic.pink.button:hover {
  1411. background: transparent !important;
  1412. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkHover inset !important;
  1413. color: @pinkHover !important;
  1414. }
  1415. .ui.basic.pink.buttons .button:active,
  1416. .ui.basic.pink.button:active {
  1417. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
  1418. color: @pinkDown !important;
  1419. }
  1420. .ui.basic.pink.buttons .button.active,
  1421. .ui.basic.pink.button.active {
  1422. background: transparent !important;
  1423. box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
  1424. color: @pinkDown !important;
  1425. }
  1426. /* Inverted */
  1427. .ui.inverted.pink.buttons .button,
  1428. .ui.inverted.pink.button {
  1429. background-color: transparent;
  1430. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1431. color: @lightPink;
  1432. }
  1433. .ui.inverted.pink.buttons .button:hover,
  1434. .ui.inverted.pink.button:hover {
  1435. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1436. background-color: @lightPink;
  1437. color: @black;
  1438. }
  1439. .ui.inverted.pink.buttons .button:active,
  1440. .ui.inverted.pink.button:active {
  1441. box-shadow: 0px 0px 0px @invertedBorderSize @lightPinkDown inset !important;
  1442. background-color: @lightPinkDown;
  1443. color: @black;
  1444. }
  1445. /* Inverted Basic */
  1446. .ui.inverted.pink.basic.buttons .button,
  1447. .ui.inverted.pink.buttons .basic.button,
  1448. .ui.inverted.pink.basic.button {
  1449. background-color: transparent;
  1450. box-shadow: @basicInvertedBoxShadow !important;
  1451. color: @white !important;
  1452. }
  1453. .ui.inverted.pink.basic.buttons .button:hover,
  1454. .ui.inverted.pink.buttons .basic.button:hover,
  1455. .ui.inverted.pink.basic.button:hover {
  1456. box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
  1457. color: @lightPink !important;
  1458. }
  1459. .ui.inverted.pink.basic.buttons .button:active,
  1460. .ui.inverted.pink.buttons .basic.button:active,
  1461. .ui.inverted.pink.basic.button:active {
  1462. box-shadow: 0px 0px 0px @invertedBorderSize @lightPinkDown inset !important;
  1463. color: @lightPinkDown !important;
  1464. }
  1465. /*--- Purple ---*/
  1466. .ui.purple.buttons .button,
  1467. .ui.purple.button {
  1468. background-color: @purple;
  1469. color: @invertedTextColor;
  1470. text-shadow: @invertedTextShadow;
  1471. background-image: @coloredBackgroundImage;
  1472. }
  1473. .ui.purple.button {
  1474. box-shadow: @coloredBoxShadow;
  1475. }
  1476. .ui.purple.buttons .button:hover,
  1477. .ui.purple.button:hover {
  1478. background-color: @purpleHover;
  1479. color: @invertedTextColor;
  1480. text-shadow: @invertedTextShadow;
  1481. }
  1482. .ui.purple.buttons .button:active,
  1483. .ui.purple.button:active {
  1484. background-color: @purpleDown;
  1485. color: @invertedTextColor;
  1486. text-shadow: @invertedTextShadow;
  1487. }
  1488. .ui.purple.buttons .button.active,
  1489. .ui.purple.buttons .button.active:active,
  1490. .ui.purple.button.active,
  1491. .ui.purple.button .button.active:active {
  1492. background-color: @purpleActive;
  1493. color: @invertedTextColor;
  1494. text-shadow: @invertedTextShadow;
  1495. }
  1496. /* Basic */
  1497. .ui.basic.purple.buttons .button,
  1498. .ui.basic.purple.button {
  1499. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1500. color: @textColor !important;
  1501. }
  1502. .ui.basic.purple.buttons .button:hover,
  1503. .ui.basic.purple.button:hover {
  1504. background: transparent !important;
  1505. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleHover inset !important;
  1506. color: @purpleHover !important;
  1507. }
  1508. .ui.basic.purple.buttons .button:active,
  1509. .ui.basic.purple.button:active {
  1510. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
  1511. color: @purpleDown !important;
  1512. }
  1513. .ui.basic.purple.buttons .button.active,
  1514. .ui.basic.purple.button.active {
  1515. background: transparent !important;
  1516. box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
  1517. color: @purpleDown !important;
  1518. }
  1519. /* Inverted */
  1520. .ui.inverted.purple.buttons .button,
  1521. .ui.inverted.purple.button {
  1522. background-color: transparent;
  1523. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1524. color: @lightPurple;
  1525. }
  1526. .ui.inverted.purple.buttons .button:hover,
  1527. .ui.inverted.purple.button:hover {
  1528. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1529. background-color: @lightPurple;
  1530. color: @black;
  1531. }
  1532. .ui.inverted.purple.buttons .button:active,
  1533. .ui.inverted.purple.button:active {
  1534. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurpleDown inset !important;
  1535. background-color: @lightPurpleDown;
  1536. color: @black;
  1537. }
  1538. /* Inverted Basic */
  1539. .ui.inverted.purple.basic.buttons .button,
  1540. .ui.inverted.purple.buttons .basic.button,
  1541. .ui.inverted.purple.basic.button {
  1542. background-color: transparent;
  1543. box-shadow: @basicInvertedBoxShadow !important;
  1544. color: @white !important;
  1545. }
  1546. .ui.inverted.purple.basic.buttons .button:hover,
  1547. .ui.inverted.purple.buttons .basic.button:hover,
  1548. .ui.inverted.purple.basic.button:hover {
  1549. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
  1550. color: @lightPurple !important;
  1551. }
  1552. .ui.inverted.purple.basic.buttons .button:active,
  1553. .ui.inverted.purple.buttons .basic.button:active,
  1554. .ui.inverted.purple.basic.button:active {
  1555. box-shadow: 0px 0px 0px @invertedBorderSize @lightPurpleDown inset !important;
  1556. color: @lightPurpleDown !important;
  1557. }
  1558. /*--- Red ---*/
  1559. .ui.red.buttons .button,
  1560. .ui.red.button {
  1561. background-color: @red;
  1562. color: @invertedTextColor;
  1563. text-shadow: @invertedTextShadow;
  1564. background-image: @coloredBackgroundImage;
  1565. }
  1566. .ui.red.button {
  1567. box-shadow: @coloredBoxShadow;
  1568. }
  1569. .ui.red.buttons .button:hover,
  1570. .ui.red.button:hover {
  1571. background-color: @redHover;
  1572. color: @invertedTextColor;
  1573. text-shadow: @invertedTextShadow;
  1574. }
  1575. .ui.red.buttons .button:active,
  1576. .ui.red.button:active {
  1577. background-color: @redDown;
  1578. color: @invertedTextColor;
  1579. text-shadow: @invertedTextShadow;
  1580. }
  1581. .ui.red.buttons .button.active,
  1582. .ui.red.buttons .button.active:active,
  1583. .ui.red.button.active,
  1584. .ui.red.button .button.active:active {
  1585. background-color: @redActive;
  1586. color: @invertedTextColor;
  1587. text-shadow: @invertedTextShadow;
  1588. }
  1589. /* Basic */
  1590. .ui.basic.red.buttons .button,
  1591. .ui.basic.red.button {
  1592. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1593. color: @textColor !important;
  1594. }
  1595. .ui.basic.red.buttons .button:hover,
  1596. .ui.basic.red.button:hover {
  1597. background: transparent !important;
  1598. box-shadow: 0px 0px 0px @basicColoredBorderSize @redHover inset !important;
  1599. color: @redHover !important;
  1600. }
  1601. .ui.basic.red.buttons .button:active,
  1602. .ui.basic.red.button:active {
  1603. box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
  1604. color: @redDown !important;
  1605. }
  1606. .ui.basic.red.buttons .button.active,
  1607. .ui.basic.red.button.active {
  1608. background: transparent !important;
  1609. box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
  1610. color: @redDown !important;
  1611. }
  1612. /* Inverted */
  1613. .ui.inverted.red.buttons .button,
  1614. .ui.inverted.red.button {
  1615. background-color: transparent;
  1616. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1617. color: @lightRed;
  1618. }
  1619. .ui.inverted.red.buttons .button:hover,
  1620. .ui.inverted.red.button:hover {
  1621. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1622. background-color: @lightRed;
  1623. color: @black;
  1624. }
  1625. .ui.inverted.red.buttons .button:active,
  1626. .ui.inverted.red.button:active {
  1627. box-shadow: 0px 0px 0px @invertedBorderSize @lightRedDown inset !important;
  1628. background-color: @lightRedDown;
  1629. color: @black;
  1630. }
  1631. /* Inverted Basic */
  1632. .ui.inverted.red.basic.buttons .button,
  1633. .ui.inverted.red.buttons .basic.button,
  1634. .ui.inverted.red.basic.button {
  1635. background-color: transparent;
  1636. box-shadow: @basicInvertedBoxShadow !important;
  1637. color: @white !important;
  1638. }
  1639. .ui.inverted.red.basic.buttons .button:hover,
  1640. .ui.inverted.red.buttons .basic.button:hover,
  1641. .ui.inverted.red.basic.button:hover {
  1642. box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
  1643. color: @lightRed !important;
  1644. }
  1645. .ui.inverted.red.basic.buttons .button:active,
  1646. .ui.inverted.red.buttons .basic.button:active,
  1647. .ui.inverted.red.basic.button:active {
  1648. box-shadow: 0px 0px 0px @invertedBorderSize @lightRedDown inset !important;
  1649. color: @lightRedDown !important;
  1650. }
  1651. /*--- Teal ---*/
  1652. .ui.teal.buttons .button,
  1653. .ui.teal.button {
  1654. background-color: @teal;
  1655. color: @invertedTextColor;
  1656. text-shadow: @invertedTextShadow;
  1657. background-image: @coloredBackgroundImage;
  1658. }
  1659. .ui.teal.button {
  1660. box-shadow: @coloredBoxShadow;
  1661. }
  1662. .ui.teal.buttons .button:hover,
  1663. .ui.teal.button:hover {
  1664. background-color: @tealHover;
  1665. color: @invertedTextColor;
  1666. text-shadow: @invertedTextShadow;
  1667. }
  1668. .ui.teal.buttons .button:active,
  1669. .ui.teal.button:active {
  1670. background-color: @tealDown;
  1671. color: @invertedTextColor;
  1672. text-shadow: @invertedTextShadow;
  1673. }
  1674. .ui.teal.buttons .button.active,
  1675. .ui.teal.buttons .button.active:active,
  1676. .ui.teal.button.active,
  1677. .ui.teal.button .button.active:active {
  1678. background-color: @tealActive;
  1679. color: @invertedTextColor;
  1680. text-shadow: @invertedTextShadow;
  1681. }
  1682. /* Basic */
  1683. .ui.basic.teal.buttons .button,
  1684. .ui.basic.teal.button {
  1685. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1686. color: @textColor !important;
  1687. }
  1688. .ui.basic.teal.buttons .button:hover,
  1689. .ui.basic.teal.button:hover {
  1690. background: transparent !important;
  1691. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealHover inset !important;
  1692. color: @tealHover !important;
  1693. }
  1694. .ui.basic.teal.buttons .button:active,
  1695. .ui.basic.teal.button:active {
  1696. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
  1697. color: @tealDown !important;
  1698. }
  1699. .ui.basic.teal.buttons .button.active,
  1700. .ui.basic.teal.button.active {
  1701. background: transparent !important;
  1702. box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
  1703. color: @tealDown !important;
  1704. }
  1705. /* Inverted */
  1706. .ui.inverted.teal.buttons .button,
  1707. .ui.inverted.teal.button {
  1708. background-color: transparent;
  1709. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1710. color: @lightTeal;
  1711. }
  1712. .ui.inverted.teal.buttons .button:hover,
  1713. .ui.inverted.teal.button:hover {
  1714. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1715. background-color: @lightTeal;
  1716. color: @black;
  1717. }
  1718. .ui.inverted.teal.buttons .button:active,
  1719. .ui.inverted.teal.button:active {
  1720. box-shadow: 0px 0px 0px @invertedBorderSize @lightTealDown inset !important;
  1721. background-color: @lightTealDown;
  1722. color: @black;
  1723. }
  1724. /* Inverted Basic */
  1725. .ui.inverted.teal.basic.buttons .button,
  1726. .ui.inverted.teal.buttons .basic.button,
  1727. .ui.inverted.teal.basic.button {
  1728. background-color: transparent;
  1729. box-shadow: @basicInvertedBoxShadow !important;
  1730. color: @white !important;
  1731. }
  1732. .ui.inverted.teal.basic.buttons .button:hover,
  1733. .ui.inverted.teal.buttons .basic.button:hover,
  1734. .ui.inverted.teal.basic.button:hover {
  1735. box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
  1736. color: @lightTeal !important;
  1737. }
  1738. .ui.inverted.teal.basic.buttons .button:active,
  1739. .ui.inverted.teal.buttons .basic.button:active,
  1740. .ui.inverted.teal.basic.button:active {
  1741. box-shadow: 0px 0px 0px @invertedBorderSize @lightTealDown inset !important;
  1742. color: @lightTealDown !important;
  1743. }
  1744. /*--- Yellow ---*/
  1745. .ui.yellow.buttons .button,
  1746. .ui.yellow.button {
  1747. background-color: @yellow;
  1748. color: @invertedTextColor;
  1749. text-shadow: @invertedTextShadow;
  1750. background-image: @coloredBackgroundImage;
  1751. }
  1752. .ui.yellow.button {
  1753. box-shadow: @coloredBoxShadow;
  1754. }
  1755. .ui.yellow.buttons .button:hover,
  1756. .ui.yellow.button:hover {
  1757. background-color: @yellowHover;
  1758. color: @invertedTextColor;
  1759. text-shadow: @invertedTextShadow;
  1760. }
  1761. .ui.yellow.buttons .button:active,
  1762. .ui.yellow.button:active {
  1763. background-color: @yellowDown;
  1764. color: @invertedTextColor;
  1765. text-shadow: @invertedTextShadow;
  1766. }
  1767. .ui.yellow.buttons .button.active,
  1768. .ui.yellow.buttons .button.active:active,
  1769. .ui.yellow.button.active,
  1770. .ui.yellow.button .button.active:active {
  1771. background-color: @yellowActive;
  1772. color: @invertedTextColor;
  1773. text-shadow: @invertedTextShadow;
  1774. }
  1775. /* Basic */
  1776. .ui.basic.yellow.buttons .button,
  1777. .ui.basic.yellow.button {
  1778. box-shadow: 0px 0px 0px @basicColoredBorderSize @solidBorderColor inset !important;
  1779. color: @textColor !important;
  1780. }
  1781. .ui.basic.yellow.buttons .button:hover,
  1782. .ui.basic.yellow.button:hover {
  1783. background: transparent !important;
  1784. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowHover inset !important;
  1785. color: @yellowHover !important;
  1786. }
  1787. .ui.basic.yellow.buttons .button:active,
  1788. .ui.basic.yellow.button:active {
  1789. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
  1790. color: @yellowDown !important;
  1791. }
  1792. .ui.basic.yellow.buttons .button.active,
  1793. .ui.basic.yellow.button.active {
  1794. background: transparent !important;
  1795. box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
  1796. color: @yellowDown !important;
  1797. }
  1798. /* Inverted */
  1799. .ui.inverted.yellow.buttons .button,
  1800. .ui.inverted.yellow.button {
  1801. background-color: transparent;
  1802. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1803. color: @lightYellow;
  1804. }
  1805. .ui.inverted.yellow.buttons .button:hover,
  1806. .ui.inverted.yellow.button:hover {
  1807. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1808. background-color: @lightYellow;
  1809. color: @black;
  1810. }
  1811. .ui.inverted.yellow.buttons .button:active,
  1812. .ui.inverted.yellow.button:active {
  1813. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellowDown inset !important;
  1814. background-color: @lightYellowDown;
  1815. color: @black;
  1816. }
  1817. /* Inverted Basic */
  1818. .ui.inverted.yellow.basic.buttons .button,
  1819. .ui.inverted.yellow.buttons .basic.button,
  1820. .ui.inverted.yellow.basic.button {
  1821. background-color: transparent;
  1822. box-shadow: @basicInvertedBoxShadow !important;
  1823. color: @white !important;
  1824. }
  1825. .ui.inverted.yellow.basic.buttons .button:hover,
  1826. .ui.inverted.yellow.buttons .basic.button:hover,
  1827. .ui.inverted.yellow.basic.button:hover {
  1828. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
  1829. color: @lightYellow !important;
  1830. }
  1831. .ui.inverted.yellow.basic.buttons .button:active,
  1832. .ui.inverted.yellow.buttons .basic.button:active,
  1833. .ui.inverted.yellow.basic.button:active {
  1834. box-shadow: 0px 0px 0px @invertedBorderSize @lightYellowDown inset !important;
  1835. color: @lightYellowDown !important;
  1836. }
  1837. /*-------------------
  1838. Primary
  1839. --------------------*/
  1840. .ui.primary.buttons .button,
  1841. .ui.primary.button {
  1842. background-color: @primaryColor;
  1843. color: @invertedTextColor;
  1844. text-shadow: @invertedTextShadow;
  1845. background-image: @coloredBackgroundImage;
  1846. }
  1847. .ui.primary.button {
  1848. box-shadow: @coloredBoxShadow;
  1849. }
  1850. .ui.primary.buttons .button:hover,
  1851. .ui.primary.button:hover {
  1852. background-color: @primaryColorHover;
  1853. color: @invertedTextColor;
  1854. text-shadow: @invertedTextShadow;
  1855. }
  1856. .ui.primary.buttons .button:active,
  1857. .ui.primary.button:active {
  1858. background-color: @primaryColorDown;
  1859. color: @invertedTextColor;
  1860. text-shadow: @invertedTextShadow;
  1861. }
  1862. .ui.primary.buttons .active.button,
  1863. .ui.primary.button.active {
  1864. background-color: @primaryColorActive;
  1865. color: @invertedTextColor;
  1866. text-shadow: @invertedTextShadow;
  1867. }
  1868. /*-------------------
  1869. Secondary
  1870. --------------------*/
  1871. .ui.secondary.buttons .button,
  1872. .ui.secondary.button {
  1873. background-color: @secondaryColor;
  1874. color: @invertedTextColor;
  1875. text-shadow: @invertedTextShadow;
  1876. background-image: @coloredBackgroundImage;
  1877. }
  1878. .ui.secondary.button {
  1879. box-shadow: @coloredBoxShadow;
  1880. }
  1881. .ui.secondary.buttons .button:hover,
  1882. .ui.secondary.button:hover {
  1883. background-color: @secondaryColorHover;
  1884. color: @invertedTextColor;
  1885. text-shadow: @invertedTextShadow;
  1886. }
  1887. .ui.secondary.buttons .button:active,
  1888. .ui.secondary.button:active {
  1889. background-color: @secondaryColorDown;
  1890. color: @invertedTextColor;
  1891. text-shadow: @invertedTextShadow;
  1892. }
  1893. .ui.secondary.buttons .active.button,
  1894. .ui.secondary.button.active {
  1895. background-color: @secondaryColorActive;
  1896. color: @invertedTextColor;
  1897. text-shadow: @invertedTextShadow;
  1898. }
  1899. /*---------------
  1900. Positive
  1901. ----------------*/
  1902. .ui.positive.buttons .button,
  1903. .ui.positive.button {
  1904. background-color: @positiveColor !important;
  1905. color: @invertedTextColor;
  1906. text-shadow: @invertedTextShadow;
  1907. background-image: @coloredBackgroundImage;
  1908. }
  1909. .ui.positive.button {
  1910. box-shadow: @coloredBoxShadow;
  1911. }
  1912. .ui.positive.buttons .button:hover,
  1913. .ui.positive.button:hover,
  1914. .ui.positive.buttons .active.button,
  1915. .ui.positive.button.active {
  1916. background-color: @positiveColorHover !important;
  1917. color: @invertedTextColor;
  1918. text-shadow: @invertedTextShadow;
  1919. }
  1920. .ui.positive.buttons .button:active,
  1921. .ui.positive.button:active {
  1922. background-color: @positiveColorDown !important;
  1923. color: @invertedTextColor;
  1924. text-shadow: @invertedTextShadow;
  1925. }
  1926. .ui.positive.buttons .button.active,
  1927. .ui.positive.buttons .button.active:active,
  1928. .ui.positive.button.active,
  1929. .ui.positive.button .button.active:active {
  1930. background-color: @positiveColorActive;
  1931. color: @invertedTextColor;
  1932. text-shadow: @invertedTextShadow;
  1933. }
  1934. /*---------------
  1935. Negative
  1936. ----------------*/
  1937. .ui.negative.buttons .button,
  1938. .ui.negative.button {
  1939. background-color: @negativeColor !important;
  1940. color: @invertedTextColor;
  1941. text-shadow: @invertedTextShadow;
  1942. background-image: @coloredBackgroundImage;
  1943. }
  1944. .ui.negative.button {
  1945. box-shadow: @coloredBoxShadow;
  1946. }
  1947. .ui.negative.buttons .button:hover,
  1948. .ui.negative.button:hover,
  1949. .ui.negative.buttons .active.button,
  1950. .ui.negative.button.active {
  1951. background-color: @negativeColorHover !important;
  1952. color: @invertedTextColor;
  1953. text-shadow: @invertedTextShadow;
  1954. }
  1955. .ui.negative.buttons .button:active,
  1956. .ui.negative.button:active {
  1957. background-color: @negativeColorDown !important;
  1958. color: @invertedTextColor;
  1959. text-shadow: @invertedTextShadow;
  1960. }
  1961. .ui.negative.buttons .button.active,
  1962. .ui.negative.buttons .button.active:active,
  1963. .ui.negative.button.active,
  1964. .ui.negative.button .button.active:active {
  1965. background-color: @negativeColorActive;
  1966. color: @invertedTextColor;
  1967. text-shadow: @invertedTextShadow;
  1968. }
  1969. /*******************************
  1970. Groups
  1971. *******************************/
  1972. .ui.buttons {
  1973. display: inline-block;
  1974. vertical-align: middle;
  1975. margin: @verticalMargin @horizontalMargin 0em 0em;
  1976. }
  1977. .ui.buttons:after {
  1978. content: ".";
  1979. display: block;
  1980. height: 0;
  1981. clear: both;
  1982. visibility: hidden;
  1983. }
  1984. .ui.buttons .button:first-child {
  1985. border-left: none;
  1986. }
  1987. .ui.buttons:not(.basic):not(.inverted) {
  1988. box-shadow: @groupBoxShadow;
  1989. }
  1990. .ui.buttons > .ui.button:not(.basic):not(.inverted),
  1991. .ui.buttons:not(.basic):not(.inverted) > .button {
  1992. box-shadow: @groupButtonBoxShadow;
  1993. }
  1994. .ui.buttons .button {
  1995. margin: 0em;
  1996. float: left;
  1997. border-radius: 0em;
  1998. margin: @groupButtonOffset;
  1999. }
  2000. .ui.buttons .button:first-child {
  2001. margin-left: 0em;
  2002. border-top-left-radius: @borderRadius;
  2003. border-bottom-left-radius: @borderRadius;
  2004. }
  2005. .ui.buttons .button:last-child {
  2006. border-top-right-radius: @borderRadius;
  2007. border-bottom-right-radius: @borderRadius;
  2008. }
  2009. /* Vertical Style */
  2010. .ui.vertical.buttons {
  2011. display: inline-block;
  2012. }
  2013. .ui.vertical.buttons .button {
  2014. display: block;
  2015. float: none;
  2016. margin: @verticalGroupOffset;
  2017. box-shadow: @verticalBoxShadow;
  2018. }
  2019. .ui.vertical.buttons .button:first-child,
  2020. .ui.vertical.buttons .mini.button:first-child,
  2021. .ui.vertical.buttons .tiny.button:first-child,
  2022. .ui.vertical.buttons .small.button:first-child,
  2023. .ui.vertical.buttons .massive.button:first-child,
  2024. .ui.vertical.buttons .huge.button:first-child {
  2025. border-radius: @borderRadius @borderRadius 0px 0px;
  2026. }
  2027. .ui.vertical.buttons .button:last-child,
  2028. .ui.vertical.buttons .mini.button:last-child,
  2029. .ui.vertical.buttons .tiny.button:last-child,
  2030. .ui.vertical.buttons .small.button:last-child,
  2031. .ui.vertical.buttons .massive.button:last-child,
  2032. .ui.vertical.buttons .huge.button:last-child,
  2033. .ui.vertical.buttons .gigantic.button:last-child {
  2034. margin-bottom: 0px;
  2035. border-radius: 0px 0px @borderRadius @borderRadius;
  2036. }
  2037. .loadUIOverrides();