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.

1802 lines
43 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
  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: middle;
  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. }
  47. /*******************************
  48. States
  49. *******************************/
  50. /*--------------
  51. Hover
  52. ---------------*/
  53. .ui.button:hover {
  54. background-color: @hoverBackgroundColor;
  55. background-image: @hoverBackgroundImage;
  56. color: @hoverColor;
  57. }
  58. .ui.button:hover .icon {
  59. opacity: @iconHoverOpacity;
  60. }
  61. /*--------------
  62. Focus
  63. ---------------*/
  64. .ui.button:focus {
  65. background-color: @focusBackgroundColor;
  66. background-image: @focusBackgroundImage;
  67. box-shadow: @focusBoxShadow;
  68. color: @focusColor;
  69. }
  70. .ui.button:focus .icon {
  71. opacity: @iconFocusOpacity;
  72. }
  73. /*--------------
  74. Down
  75. ---------------*/
  76. .ui.button:active,
  77. .ui.active.button:active {
  78. background-color: @downBackgroundColor;
  79. background-image: @downBackgroundImage;
  80. color: @downColor;
  81. box-shadow: @downBoxShadow;
  82. }
  83. /*--------------
  84. Active
  85. ---------------*/
  86. .ui.active.button {
  87. background-color: @activeBackgroundColor;
  88. background-image: @activeBackgroundImage;
  89. box-shadow: @activeBoxShadow;
  90. color: @activeColor;
  91. }
  92. .ui.button.active:hover {
  93. background-color: @activeHoverBackgroundColor;
  94. background-image: @activeHoverBackgroundImage;
  95. color: @activeHoverColor;
  96. }
  97. .ui.button.active:active {
  98. background-color: @activeBackgroundColor;
  99. background-image: @activeBackgroundImage;
  100. }
  101. /*--------------
  102. Loading
  103. ---------------*/
  104. .ui.loading.button {
  105. position: relative;
  106. cursor: default;
  107. background-color: @loadingBackgroundColor !important;
  108. text-shadow: none !important;
  109. color: transparent !important;
  110. transition: all 0s linear;
  111. box-shadow: @boxShadow;
  112. }
  113. .ui.loading.button:after {
  114. position: absolute;
  115. top: 0em;
  116. left: 0em;
  117. width: 100%;
  118. height: 100%;
  119. content: '';
  120. background: transparent url(@loaderPath) no-repeat 50% 50%;
  121. }
  122. .ui.labeled.icon.loading.button .icon {
  123. background-color: transparent;
  124. box-shadow: none;
  125. }
  126. /*-------------------
  127. Disabled
  128. --------------------*/
  129. .ui.buttons .disabled.button,
  130. .ui.disabled.button,
  131. .ui.disabled.button:hover,
  132. .ui.disabled.button.active {
  133. cursor: default;
  134. background-color: @lightGrey !important;
  135. color: @lightTextColor !important;
  136. opacity: @disabledOpacity !important;
  137. background-image: none !important;
  138. box-shadow: none !important;
  139. pointer-events: none;
  140. }
  141. /*******************************
  142. Types
  143. *******************************/
  144. /*-------------------
  145. Animated
  146. --------------------*/
  147. .ui.animated.button {
  148. position: relative;
  149. overflow: hidden;
  150. }
  151. .ui.animated.button .visible.content {
  152. position: relative;
  153. }
  154. .ui.animated.button .hidden.content {
  155. position: absolute;
  156. width: 100%;
  157. }
  158. /* Horizontal */
  159. .ui.animated.button .visible.content,
  160. .ui.animated.button .hidden.content {
  161. transition: right @animationDuration @animationEasing 0s;
  162. }
  163. .ui.animated.button .visible.content {
  164. left: auto;
  165. right: 0%;
  166. }
  167. .ui.animated.button .hidden.content {
  168. top: 50%;
  169. left: auto;
  170. right: -100%;
  171. margin-top: -0.5em;
  172. }
  173. .ui.animated.button:hover .visible.content {
  174. left: auto;
  175. right: 200%;
  176. }
  177. .ui.animated.button:hover .hidden.content {
  178. left: auto;
  179. right: 0%;
  180. }
  181. /* Vertical */
  182. .ui.vertical.animated.button .visible.content,
  183. .ui.vertical.animated.button .hidden.content {
  184. transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
  185. }
  186. .ui.vertical.animated.button .visible.content {
  187. transform: translateY(0%);
  188. right: auto;
  189. }
  190. .ui.vertical.animated.button .hidden.content {
  191. top: -100%;
  192. left: 0%;
  193. right: auto;
  194. }
  195. .ui.vertical.animated.button:hover .visible.content {
  196. transform: translateY(200%);
  197. right: auto;
  198. }
  199. .ui.vertical.animated.button:hover .hidden.content {
  200. top: 50%;
  201. right: auto;
  202. }
  203. /* Fade */
  204. .ui.fade.animated.button .visible.content,
  205. .ui.fade.animated.button .hidden.content {
  206. transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
  207. }
  208. .ui.fade.animated.button .visible.content {
  209. left: auto;
  210. right: auto;
  211. opacity: 1;
  212. transform: scale(1);
  213. }
  214. .ui.fade.animated.button .hidden.content {
  215. opacity: 0;
  216. left: 0%;
  217. right: auto;
  218. transform: scale(@fadeScaleHigh);
  219. }
  220. .ui.fade.animated.button:hover .visible.content {
  221. left: auto;
  222. right: auto;
  223. opacity: 0;
  224. transform: scale(@fadeScaleLow);
  225. }
  226. .ui.fade.animated.button:hover .hidden.content {
  227. left: 0%;
  228. right: auto;
  229. opacity: 1;
  230. transform: scale(1);
  231. }
  232. /*-------------------
  233. Inverted
  234. --------------------*/
  235. .ui.inverted.button {
  236. box-shadow: 0px 0px 0px 2px @white inset !important;
  237. background: transparent none;
  238. color: @white;
  239. text-shadow: none !important;
  240. }
  241. .ui.inverted.buttons .button {
  242. margin: @invertedGroupButtonOffset;
  243. }
  244. .ui.inverted.buttons .button:first-child {
  245. margin-left: 0em;
  246. }
  247. .ui.inverted.vertical.buttons .button {
  248. margin: @invertedVerticalGroupButtonOffset;
  249. }
  250. .ui.inverted.vertical.buttons .button:first-child {
  251. margin-top: 0em;
  252. }
  253. .ui.inverted.buttons .button:hover {
  254. position: relative;
  255. }
  256. .ui.inverted.button:hover {
  257. background: @white none;
  258. box-shadow: 0px 0px 0px 2px @white inset !important;
  259. color: @textColor;
  260. }
  261. /*-------------------
  262. Primary
  263. --------------------*/
  264. .ui.primary.buttons .button,
  265. .ui.primary.button {
  266. background-color: @primaryColor;
  267. color: @invertedTextColor;
  268. text-shadow: @invertedTextShadow;
  269. background-image: @coloredBackgroundImage;
  270. }
  271. .ui.primary.button {
  272. box-shadow: @coloredBoxShadow;
  273. }
  274. .ui.primary.buttons .button:hover,
  275. .ui.primary.button:hover {
  276. background-color: @primaryColorHover;
  277. color: @invertedTextColor;
  278. text-shadow: @invertedTextShadow;
  279. }
  280. .ui.primary.buttons .button:active,
  281. .ui.primary.button:active {
  282. background-color: @primaryColorDown;
  283. color: @invertedTextColor;
  284. text-shadow: @invertedTextShadow;
  285. }
  286. .ui.primary.buttons .active.button,
  287. .ui.primary.button.active {
  288. background-color: @primaryColorActive;
  289. color: @invertedTextColor;
  290. text-shadow: @invertedTextShadow;
  291. }
  292. /*-------------------
  293. Secondary
  294. --------------------*/
  295. .ui.secondary.buttons .button,
  296. .ui.secondary.button {
  297. background-color: @secondaryColor;
  298. color: @invertedTextColor;
  299. text-shadow: @invertedTextShadow;
  300. background-image: @coloredBackgroundImage;
  301. }
  302. .ui.secondary.button {
  303. box-shadow: @coloredBoxShadow;
  304. }
  305. .ui.secondary.buttons .button:hover,
  306. .ui.secondary.button:hover {
  307. background-color: @secondaryColorHover;
  308. color: @invertedTextColor;
  309. text-shadow: @invertedTextShadow;
  310. }
  311. .ui.secondary.buttons .button:active,
  312. .ui.secondary.button:active {
  313. background-color: @secondaryColorDown;
  314. color: @invertedTextColor;
  315. text-shadow: @invertedTextShadow;
  316. }
  317. .ui.secondary.buttons .active.button,
  318. .ui.secondary.button.active {
  319. background-color: @secondaryColorActive;
  320. color: @invertedTextColor;
  321. text-shadow: @invertedTextShadow;
  322. }
  323. /*-------------------
  324. Social
  325. --------------------*/
  326. /* Facebook */
  327. .ui.facebook.button {
  328. background-color: @facebookColor;
  329. color: @invertedTextColor;
  330. text-shadow: @invertedTextShadow;
  331. background-image: @coloredBackgroundImage;
  332. box-shadow: @coloredBoxShadow;
  333. }
  334. .ui.facebook.button:hover {
  335. background-color: @facebookHoverColor;
  336. color: @invertedTextColor;
  337. text-shadow: @invertedTextShadow;
  338. }
  339. .ui.facebook.button:active {
  340. background-color: @facebookDownColor;
  341. color: @invertedTextColor;
  342. text-shadow: @invertedTextShadow;
  343. }
  344. /* Twitter */
  345. .ui.twitter.button {
  346. background-color: @twitterColor;
  347. color: @invertedTextColor;
  348. text-shadow: @invertedTextShadow;
  349. background-image: @coloredBackgroundImage;
  350. box-shadow: @coloredBoxShadow;
  351. }
  352. .ui.twitter.button:hover {
  353. background-color: @twitterHoverColor;
  354. color: @invertedTextColor;
  355. text-shadow: @invertedTextShadow;
  356. }
  357. .ui.twitter.button:active {
  358. background-color: @twitterDownColor;
  359. color: @invertedTextColor;
  360. text-shadow: @invertedTextShadow;
  361. }
  362. /* Google Plus */
  363. .ui.google.plus.button {
  364. background-color: @googlePlusColor;
  365. color: @invertedTextColor;
  366. text-shadow: @invertedTextShadow;
  367. background-image: @coloredBackgroundImage;
  368. box-shadow: @coloredBoxShadow;
  369. }
  370. .ui.google.plus.button:hover {
  371. background-color: @googlePlusHoverColor;
  372. color: @invertedTextColor;
  373. text-shadow: @invertedTextShadow;
  374. }
  375. .ui.google.plus.button:active {
  376. background-color: @googlePlusDownColor;
  377. color: @invertedTextColor;
  378. text-shadow: @invertedTextShadow;
  379. }
  380. /* Linked In */
  381. .ui.linkedin.button {
  382. background-color: @linkedInColor;
  383. color: @invertedTextColor;
  384. text-shadow: @invertedTextShadow;
  385. }
  386. .ui.linkedin.button:hover {
  387. background-color: @linkedInHoverColor;
  388. color: @invertedTextColor;
  389. text-shadow: @invertedTextShadow;
  390. }
  391. .ui.linkedin.button:active {
  392. background-color: @linkedInDownColor;
  393. color: @invertedTextColor;
  394. text-shadow: @invertedTextShadow;
  395. }
  396. /* YouTube */
  397. .ui.youtube.button {
  398. background-color: @youtubeColor;
  399. color: @invertedTextColor;
  400. text-shadow: @invertedTextShadow;
  401. background-image: @coloredBackgroundImage;
  402. box-shadow: @coloredBoxShadow;
  403. }
  404. .ui.youtube.button:hover {
  405. background-color: @youtubeHoverColor;
  406. color: @invertedTextColor;
  407. text-shadow: @invertedTextShadow;
  408. }
  409. .ui.youtube.button:active {
  410. background-color: @youtubeDownColor;
  411. color: @invertedTextColor;
  412. text-shadow: @invertedTextShadow;
  413. }
  414. /* Instagram */
  415. .ui.instagram.button {
  416. background-color: @instagramColor;
  417. color: @invertedTextColor;
  418. text-shadow: @invertedTextShadow;
  419. background-image: @coloredBackgroundImage;
  420. box-shadow: @coloredBoxShadow;
  421. }
  422. .ui.instagram.button:hover {
  423. background-color: @instagramHoverColor;
  424. color: @invertedTextColor;
  425. text-shadow: @invertedTextShadow;
  426. }
  427. .ui.instagram.button:active {
  428. background-color: @instagramDownColor;
  429. color: @invertedTextColor;
  430. text-shadow: @invertedTextShadow;
  431. }
  432. /* Pinterest */
  433. .ui.pinterest.button {
  434. background-color: @pinterestColor;
  435. color: @invertedTextColor;
  436. text-shadow: @invertedTextShadow;
  437. background-image: @coloredBackgroundImage;
  438. box-shadow: @coloredBoxShadow;
  439. }
  440. .ui.pinterest.button:hover {
  441. background-color: @pinterestHoverColor;
  442. color: @invertedTextColor;
  443. text-shadow: @invertedTextShadow;
  444. }
  445. .ui.pinterest.button:active {
  446. background-color: @pinterestDownColor;
  447. color: @invertedTextColor;
  448. text-shadow: @invertedTextShadow;
  449. }
  450. /* VK */
  451. .ui.vk.button {
  452. background-color: #4D7198;
  453. color: @white;
  454. background-image: @coloredBackgroundImage;
  455. box-shadow: @coloredBoxShadow;
  456. }
  457. .ui.vk.button:hover {
  458. background-color: @vkHoverColor;
  459. color: @white;
  460. }
  461. .ui.vk.button:active {
  462. background-color: @vkDownColor;
  463. color: @white;
  464. }
  465. /*--------------
  466. Icon
  467. ---------------*/
  468. .ui.button > .icon {
  469. opacity: @iconOpacity;
  470. margin: @iconMargin;
  471. transition: @iconTransition;
  472. vertical-align: @iconVerticalAlign;
  473. }
  474. .ui.button > .right.icon {
  475. margin: @rightIconMargin;
  476. }
  477. /*******************************
  478. Variations
  479. *******************************/
  480. /*-------------------
  481. Floated
  482. --------------------*/
  483. .ui.left.floated.buttons,
  484. .ui.left.floated.button {
  485. float: left;
  486. margin-left: 0em;
  487. margin-right: @floatedMargin;
  488. }
  489. .ui.right.floated.buttons,
  490. .ui.right.floated.button {
  491. float: right;
  492. margin-right: 0em;
  493. margin-left: @floatedMargin;
  494. }
  495. /*-------------------
  496. Compact
  497. --------------------*/
  498. .ui.compact.buttons .button,
  499. .ui.compact.button {
  500. padding: @compactVerticalPadding @compactHorizontalPadding ( @compactVerticalPadding + @shadowOffset );
  501. }
  502. .ui.compact.icon.buttons .button,
  503. .ui.compact.icon.button {
  504. padding: @compactVerticalPadding @compactVerticalPadding ( @compactVerticalPadding + @shadowOffset );
  505. }
  506. .ui.compact.labeled.icon.buttons .button,
  507. .ui.compact.labeled.icon.button {
  508. padding: @compactVerticalPadding (@compactHorizontalPadding + @labeledIconWidth) ( @compactVerticalPadding + @shadowOffset );
  509. }
  510. .ui.compact.labeled.icon.buttons > .button > .icon,
  511. .ui.compact.labeled.icon.button > .icon {
  512. padding-top: (@compactVerticalPadding + @iconOffset) !important;
  513. }
  514. /*-------------------
  515. Sizes
  516. --------------------*/
  517. .ui.mini.buttons .button,
  518. .ui.mini.buttons .or,
  519. .ui.mini.button {
  520. font-size: @mini;
  521. }
  522. .ui.tiny.buttons .button,
  523. .ui.tiny.buttons .or,
  524. .ui.tiny.button {
  525. font-size: @tiny;
  526. }
  527. .ui.small.buttons .button,
  528. .ui.small.buttons .or,
  529. .ui.small.button {
  530. font-size: @small;
  531. }
  532. .ui.buttons .button,
  533. .ui.button {
  534. font-size: @medium;
  535. }
  536. .ui.large.buttons .button,
  537. .ui.large.buttons .or,
  538. .ui.large.button {
  539. font-size: @large;
  540. }
  541. .ui.big.buttons .button,
  542. .ui.big.buttons .or,
  543. .ui.big.button {
  544. font-size: @big;
  545. }
  546. .ui.huge.buttons .button,
  547. .ui.huge.buttons .or,
  548. .ui.huge.button {
  549. font-size: @huge;
  550. }
  551. .ui.massive.buttons .button,
  552. .ui.massive.buttons .or,
  553. .ui.massive.button {
  554. font-size: @massive;
  555. }
  556. /* Or resize */
  557. .ui.tiny.buttons .or:before,
  558. .ui.mini.buttons .or:before {
  559. width: 1.45em;
  560. height: 1.55em;
  561. line-height: 1.4;
  562. margin-left: -0.725em;
  563. margin-top: -0.25em;
  564. }
  565. .ui.tiny.buttons .or:after,
  566. .ui.mini.buttons .or:after {
  567. height: 1.45em;
  568. }
  569. /* Loading Resize */
  570. .ui.huge.loading.button:after,
  571. .ui.huge.loading.button.active:after {
  572. background-image: url(@hugeLoaderPath);
  573. }
  574. .ui.massive.buttons .loading.button:after,
  575. .ui.gigantic.buttons .loading.button:after,
  576. .ui.massive.loading.button:after,
  577. .ui.gigantic.loading.button:after,
  578. .ui.massive.buttons .loading.button.active:after,
  579. .ui.gigantic.buttons .loading.button.active:after,
  580. .ui.massive.loading.button.active:after,
  581. .ui.gigantic.loading.button.active:after {
  582. background-image: url(@massiveLoaderPath);
  583. }
  584. /*--------------
  585. Icon Only
  586. ---------------*/
  587. .ui.icon.buttons .button,
  588. .ui.icon.button {
  589. padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
  590. }
  591. .ui.icon.buttons .button > .icon,
  592. .ui.icon.button > .icon {
  593. opacity: @iconButtonOpacity;
  594. margin: 0em;
  595. }
  596. .ui.icon.buttons .button > .icon,
  597. .ui.icon.button > .icon {
  598. height: 0em;
  599. vertical-align: top;
  600. }
  601. /*-------------------
  602. Basic
  603. --------------------*/
  604. .ui.basic.buttons .button,
  605. .ui.basic.button {
  606. background-color: transparent !important;
  607. background-image: none;
  608. color: @textColor !important;
  609. font-weight: normal;
  610. text-transform: none;
  611. text-shadow: none !important;
  612. box-shadow: @basicBoxShadow;
  613. }
  614. .ui.basic.labeled.icon.button > .icon {
  615. padding-top: (@verticalPadding + @iconOffset) !important;
  616. }
  617. .ui.basic.buttons {
  618. box-shadow: @basicGroupBoxShadow;
  619. border-radius: @borderRadius;
  620. }
  621. .ui.basic.buttons .button:hover,
  622. .ui.basic.button:hover {
  623. background: @basicHoverBackground !important;
  624. color: @selectedTextColor !important;
  625. box-shadow: @basicHoverBoxShadow;
  626. }
  627. .ui.basic.buttons .button:active,
  628. .ui.basic.button:active {
  629. background: @basicDownBackground !important;
  630. color: @selectedTextColor !important;
  631. box-shadow: @basicDownBoxShadow;
  632. }
  633. .ui.basic.buttons .button.active,
  634. .ui.basic.button.active {
  635. background: @basicActiveBackground !important;
  636. color: @basicActiveColor;
  637. box-shadow: @selectedBorderColor;
  638. }
  639. .ui.basic.buttons .button.active:hover,
  640. .ui.basic.button.active:hover {
  641. background-color: @transparentBlack;
  642. }
  643. /* Vertical */
  644. .ui.basic.buttons .button:hover {
  645. box-shadow: @basicHoverBoxShadow inset;
  646. }
  647. .ui.basic.buttons .button:active {
  648. box-shadow: @basicDownBoxShadow inset;
  649. }
  650. .ui.basic.buttons .button.active {
  651. box-shadow: @selectedBorderColor inset;
  652. }
  653. /* Inverted */
  654. .ui.basic.inverted.buttons .button,
  655. .ui.basic.inverted.button {
  656. background-color: transparent !important;
  657. color: @offWhite !important;
  658. box-shadow: @basicInvertedBoxShadow !important;
  659. }
  660. .ui.basic.inverted.buttons .button:hover,
  661. .ui.basic.inverted.button:hover {
  662. color: @white !important;
  663. box-shadow: @basicInvertedHoverBoxShadow !important;
  664. }
  665. .ui.basic.inverted.buttons .button:active,
  666. .ui.basic.inverted.button:active {
  667. background-color: @transparentWhite !important;
  668. color: @white !important;
  669. box-shadow: @basicInvertedDownBoxShadow !important;
  670. }
  671. .ui.basic.inverted.buttons .button.active,
  672. .ui.basic.inverted.button.active {
  673. background-color: @transparentWhite;
  674. color: @invertedTextColor;
  675. text-shadow: @invertedTextShadow;
  676. box-shadow: @basicInvertedActiveBoxShadow;
  677. }
  678. .ui.basic.inverted.buttons .button.active:hover,
  679. .ui.basic.inverted.button.active:hover {
  680. background-color: @strongTransparentWhite;
  681. box-shadow: @basicInvertedHoverBoxShadow !important;
  682. }
  683. /* Loading */
  684. .ui.basic.loading.button:after {
  685. background-color: @basicLoadingColor;
  686. border-radius: @borderRadius;
  687. }
  688. /* Basic Group */
  689. .ui.basic.buttons .button {
  690. border-left: @basicGroupBorder;
  691. box-shadow: none;
  692. }
  693. .ui.basic.vertical.buttons .button {
  694. border-left: none;
  695. }
  696. /*--------------
  697. Labeled Icon
  698. ---------------*/
  699. .ui.labeled.icon.buttons .button,
  700. .ui.labeled.icon.button {
  701. position: relative;
  702. padding-left: @labeledIconPadding !important;
  703. padding-right: @horizontalPadding !important;
  704. }
  705. .ui.labeled.icon.buttons > .button > .icon,
  706. .ui.labeled.icon.button > .icon {
  707. position: absolute;
  708. top: 0em;
  709. left: 0em;
  710. box-sizing: border-box;
  711. width: @labeledIconWidth;
  712. height: 100%;
  713. padding-top: (@verticalPadding + @iconOffset);
  714. background-color: @labeledIconBackgroundColor;
  715. text-align: center;
  716. color: @labeledIconColor;
  717. border-radius: @borderRadius 0px 0px @borderRadius;
  718. line-height: 1;
  719. box-shadow: @labeledIconLeftShadow;
  720. }
  721. .ui.labeled.icon.buttons .button > .icon {
  722. border-radius: 0em;
  723. }
  724. .ui.labeled.icon.buttons .button:first-child > .icon {
  725. border-top-left-radius: @borderRadius;
  726. border-bottom-left-radius: @borderRadius;
  727. }
  728. .ui.labeled.icon.buttons .button:last-child > .icon {
  729. border-top-right-radius: @borderRadius;
  730. border-bottom-right-radius: @borderRadius;
  731. }
  732. .ui.vertical.labeled.icon.buttons .button:first-child > .icon {
  733. border-radius: 0em;
  734. border-top-left-radius: @borderRadius;
  735. }
  736. .ui.vertical.labeled.icon.buttons .button:last-child > .icon {
  737. border-radius: 0em;
  738. border-bottom-left-radius: @borderRadius;
  739. }
  740. .ui.right.labeled.icon.button {
  741. padding-right: @labeledIconPadding !important;
  742. padding-left: @horizontalPadding !important;
  743. }
  744. .ui.left.fluid.labeled.icon.button,
  745. .ui.right.fluid.labeled.icon.button {
  746. padding-left: @horizontalPadding !important;
  747. padding-right: @horizontalPadding !important;
  748. }
  749. .ui.right.labeled.icon.button .icon {
  750. left: auto;
  751. right: 0em;
  752. border-radius: 0em @borderRadius @borderRadius 0em;
  753. box-shadow: @labeledIconRightShadow;
  754. }
  755. /*--------------
  756. Toggle
  757. ---------------*/
  758. /* Toggle (Modifies active state to give affordances) */
  759. .ui.toggle.buttons .active.button,
  760. .ui.buttons .button.toggle.active,
  761. .ui.button.toggle.active {
  762. background-color: @positiveColor !important;
  763. box-shadow: none !important;
  764. text-shadow: @invertedTextShadow;
  765. color: @invertedTextColor !important;
  766. }
  767. .ui.button.toggle.active:hover {
  768. background-color: @positiveColorHover !important;
  769. text-shadow: @invertedTextShadow;
  770. color: @invertedTextColor !important;
  771. }
  772. /*--------------
  773. Circular
  774. ---------------*/
  775. .ui.circular.button {
  776. border-radius: 10em;
  777. }
  778. /*--------------
  779. Attached
  780. ---------------*/
  781. .ui.attached.button {
  782. display: block;
  783. margin: 0em;
  784. box-shadow: @attachedBoxShadow !important;
  785. }
  786. .ui.attached.top.button {
  787. border-radius: @borderRadius @borderRadius 0em 0em;
  788. }
  789. .ui.attached.bottom.button {
  790. border-radius: 0em 0em @borderRadius @borderRadius;
  791. }
  792. .ui.attached.left.button {
  793. display: inline-block;
  794. border-left: none;
  795. padding-right: @attachedHorizontalPadding;
  796. text-align: right;
  797. border-radius: @borderRadius 0em 0em @borderRadius;
  798. }
  799. .ui.attached.right.button {
  800. display: inline-block;
  801. padding-left: @attachedHorizontalPadding;
  802. text-align: left;
  803. border-radius: 0em @borderRadius @borderRadius 0em;
  804. }
  805. /*-------------------
  806. Or Buttons
  807. --------------------*/
  808. .ui.buttons .or {
  809. position: relative;
  810. float: left;
  811. width: @orWidth;
  812. height: @orHeight;
  813. z-index: 3;
  814. }
  815. .ui.buttons .or:before {
  816. position: absolute;
  817. top: 50%;
  818. left: 50%;
  819. content: 'or';
  820. background-color: @white;
  821. text-shadow: @invertedTextShadow;
  822. margin-top: @orVerticalOffset;
  823. margin-left: @orHorizontalOffset;
  824. width: @orCircleSize;
  825. height: @orCircleSize;
  826. line-height: @orLineHeight;
  827. color: @lightTextColor;
  828. font-style: @orTextStyle;
  829. font-weight: @orTextWeight;
  830. text-align: center;
  831. border-radius: 500em;
  832. box-shadow: @orBoxShadow;
  833. box-sizing: border-box;
  834. }
  835. .ui.buttons .or:after {
  836. position: absolute;
  837. top: 0em;
  838. left: 0em;
  839. content: ' ';
  840. background-color: transparent;
  841. width: @orWidth;
  842. height: (@orHeight + (@orSpacerHeight * 2));
  843. border-top: @orSpacerHeight solid @orSpacerColor;
  844. border-bottom: @orSpacerHeight solid @orSpacerColor;
  845. }
  846. /* Fluid Or */
  847. .ui.fluid.buttons .or {
  848. width: 0em !important;
  849. }
  850. .ui.fluid.buttons .or:after{
  851. display: none;
  852. }
  853. /*-------------------
  854. Attached
  855. --------------------*/
  856. /* Plural Attached */
  857. .attached.ui.buttons {
  858. margin: 0px;
  859. border-radius: @borderRadius @borderRadius 0em 0em;
  860. }
  861. .attached.ui.buttons .button:first-child {
  862. border-radius: @borderRadius 0em 0em 0em;
  863. }
  864. .attached.ui.buttons .button:last-child {
  865. border-radius: 0em @borderRadius 0em 0em;
  866. }
  867. /* Bottom Side */
  868. .bottom.attached.ui.buttons {
  869. margin-top: @attachedOffset;
  870. border-radius: 0em 0em @borderRadius @borderRadius;
  871. }
  872. .bottom.attached.ui.buttons .button:first-child {
  873. border-radius: 0em 0em 0em @borderRadius;
  874. }
  875. .bottom.attached.ui.buttons .button:last-child {
  876. border-radius: 0em 0em @borderRadius 0em;
  877. }
  878. /* Left Side */
  879. .left.attached.ui.buttons {
  880. margin-left: @attachedOffset;
  881. border-radius: 0em @borderRadius @borderRadius 0em;
  882. }
  883. .left.attached.ui.buttons .button:first-child {
  884. margin-left: @attachedOffset;
  885. border-radius: 0em @borderRadius 0em 0em;
  886. }
  887. .left.attached.ui.buttons .button:last-child {
  888. margin-left: @attachedOffset;
  889. border-radius: 0em 0em @borderRadius 0em;
  890. }
  891. /* Right Side */
  892. .right.attached.ui.buttons,
  893. .right.attached.ui.buttons .button {
  894. margin-right: @attachedOffset;
  895. border-radius: @borderRadius 0em 0em @borderRadius;
  896. }
  897. .right.attached.ui.buttons .button:first-child {
  898. margin-left: @attachedOffset;
  899. border-radius: @borderRadius 0em 0em 0em;
  900. }
  901. .right.attached.ui.buttons .button:last-child {
  902. margin-left: @attachedOffset;
  903. border-radius: 0em 0em 0em @borderRadius;
  904. }
  905. /* Fluid */
  906. .ui.fluid.buttons,
  907. .ui.button.fluid,
  908. .ui.fluid.buttons > .button {
  909. display: block;
  910. width: 100%;
  911. }
  912. .ui.\32.buttons > .button,
  913. .ui.two.buttons > .button {
  914. width: 50%;
  915. }
  916. .ui.\33.buttons > .button,
  917. .ui.three.buttons > .button {
  918. width: 33.333%;
  919. }
  920. .ui.\34.buttons > .button,
  921. .ui.four.buttons > .button {
  922. width: 25%;
  923. }
  924. .ui.\35.buttons > .button,
  925. .ui.five.buttons > .button {
  926. width: 20%;
  927. }
  928. .ui.\36.buttons > .button,
  929. .ui.six.buttons > .button {
  930. width: 16.666%;
  931. }
  932. .ui.\37.buttons > .button,
  933. .ui.seven.buttons > .button {
  934. width: 14.285%;
  935. }
  936. .ui.\38.buttons > .button,
  937. .ui.eight.buttons > .button {
  938. width: 12.500%;
  939. }
  940. .ui.\39.buttons > .button,
  941. .ui.nine.buttons > .button {
  942. width: 11.11%;
  943. }
  944. .ui.\31\30.buttons > .button,
  945. .ui.ten.buttons > .button {
  946. width: 10%;
  947. }
  948. .ui.\31\31.buttons > .button,
  949. .ui.eleven.buttons > .button {
  950. width: 9.09%;
  951. }
  952. .ui.\31\32.buttons > .button,
  953. .ui.twelve.buttons > .button {
  954. width: 8.3333%;
  955. }
  956. /* Fluid Vertical Buttons */
  957. .ui.fluid.vertical.buttons,
  958. .ui.fluid.vertical.buttons > .button {
  959. display: block;
  960. width: auto;
  961. box-sizing: border-box;
  962. }
  963. .ui.\32.vertical.buttons > .button,
  964. .ui.two.vertical.buttons > .button {
  965. height: 50%;
  966. }
  967. .ui.\33.vertical.buttons > .button,
  968. .ui.three.vertical.buttons > .button {
  969. height: 33.333%;
  970. }
  971. .ui.\34.vertical.buttons > .button,
  972. .ui.four.vertical.buttons > .button {
  973. height: 25%;
  974. }
  975. .ui.\35.vertical.buttons > .button,
  976. .ui.five.vertical.buttons > .button {
  977. height: 20%;
  978. }
  979. .ui.\36.vertical.buttons > .button,
  980. .ui.six.vertical.buttons > .button {
  981. height: 16.666%;
  982. }
  983. .ui.\37.vertical.buttons > .button,
  984. .ui.seven.vertical.buttons > .button {
  985. height: 14.285%;
  986. }
  987. .ui.\38.vertical.buttons > .button,
  988. .ui.eight.vertical.buttons > .button {
  989. height: 12.500%;
  990. }
  991. .ui.\39.vertical.buttons > .button,
  992. .ui.nine.vertical.buttons > .button {
  993. height: 11.11%;
  994. }
  995. .ui.\31\30.vertical.buttons > .button,
  996. .ui.ten.vertical.buttons > .button {
  997. height: 10%;
  998. }
  999. .ui.\31\31.vertical.buttons > .button,
  1000. .ui.eleven.vertical.buttons > .button {
  1001. height: 9.09%;
  1002. }
  1003. .ui.\31\32.vertical.buttons > .button,
  1004. .ui.twelve.vertical.buttons > .button {
  1005. height: 8.3333%;
  1006. }
  1007. /*-------------------
  1008. Colors
  1009. --------------------*/
  1010. /*--- Black ---*/
  1011. .ui.black.buttons .button,
  1012. .ui.black.button {
  1013. background-color: @black;
  1014. color: @invertedTextColor;
  1015. text-shadow: @invertedTextShadow;
  1016. background-image: @coloredBackgroundImage;
  1017. }
  1018. .ui.black.button {
  1019. box-shadow: @coloredBoxShadow;
  1020. }
  1021. .ui.black.buttons .button:hover,
  1022. .ui.black.button:hover {
  1023. background-color: @blackHover;
  1024. color: @invertedTextColor;
  1025. text-shadow: @invertedTextShadow;
  1026. }
  1027. .ui.black.buttons .button:active,
  1028. .ui.black.button:active {
  1029. background-color: @blackDown;
  1030. color: @invertedTextColor;
  1031. text-shadow: @invertedTextShadow;
  1032. }
  1033. .ui.black.buttons .button.active,
  1034. .ui.black.buttons .button.active:active,
  1035. .ui.black.button.active,
  1036. .ui.black.button .button.active:active {
  1037. background-color: @blackActive;
  1038. color: @invertedTextColor;
  1039. text-shadow: @invertedTextShadow;
  1040. }
  1041. /* Inverted */
  1042. .ui.inverted.black.buttons .button,
  1043. .ui.inverted.black.button {
  1044. background-color: transparent;
  1045. box-shadow: 0px 0px 0px 2px @lightBlack inset !important;
  1046. color: #FFFFFF;
  1047. }
  1048. .ui.inverted.black.buttons .button:hover,
  1049. .ui.inverted.black.button:hover {
  1050. box-shadow: 0px 0px 0px 2px @black inset !important;
  1051. background-color: @black;
  1052. color: @white;
  1053. }
  1054. .ui.inverted.black.basic.buttons .button,
  1055. .ui.inverted.black.buttons .basic.button,
  1056. .ui.inverted.black.basic.button {
  1057. background-color: transparent;
  1058. box-shadow: @basicInvertedBoxShadow !important;
  1059. color: @white;
  1060. }
  1061. .ui.inverted.black.basic.buttons .button:hover,
  1062. .ui.inverted.black.buttons .basic.button:hover,
  1063. .ui.inverted.black.basic.button:hover {
  1064. box-shadow: 0px 0px 0px 2px @lightBlack inset !important;
  1065. color: @white !important;
  1066. }
  1067. /*--- Blue ---*/
  1068. .ui.blue.buttons .button,
  1069. .ui.blue.button {
  1070. background-color: @blue;
  1071. color: @invertedTextColor;
  1072. text-shadow: @invertedTextShadow;
  1073. background-image: @coloredBackgroundImage;
  1074. }
  1075. .ui.blue.button {
  1076. box-shadow: @coloredBoxShadow;
  1077. }
  1078. .ui.blue.buttons .button:hover,
  1079. .ui.blue.button:hover {
  1080. background-color: @blueHover;
  1081. color: @invertedTextColor;
  1082. text-shadow: @invertedTextShadow;
  1083. }
  1084. .ui.blue.buttons .button:active,
  1085. .ui.blue.button:active {
  1086. background-color: @blueDown;
  1087. color: @invertedTextColor;
  1088. text-shadow: @invertedTextShadow;
  1089. }
  1090. .ui.blue.buttons .button.active,
  1091. .ui.blue.buttons .button.active:active,
  1092. .ui.blue.button.active,
  1093. .ui.blue.button .button.active:active {
  1094. background-color: @blueActive;
  1095. color: @invertedTextColor;
  1096. text-shadow: @invertedTextShadow;
  1097. }
  1098. /* Inverted */
  1099. .ui.inverted.blue.buttons .button,
  1100. .ui.inverted.blue.button {
  1101. background-color: transparent;
  1102. box-shadow: 0px 0px 0px 2px @lightBlue inset !important;
  1103. color: @white;
  1104. }
  1105. .ui.inverted.blue.buttons .button:hover,
  1106. .ui.inverted.blue.button:hover {
  1107. box-shadow: 0px 0px 0px 2px @blue inset !important;
  1108. background-color: @blue;
  1109. color: @white;
  1110. }
  1111. .ui.inverted.blue.basic.buttons .button,
  1112. .ui.inverted.blue.buttons .basic.button,
  1113. .ui.inverted.blue.basic.button {
  1114. background-color: transparent;
  1115. box-shadow: @basicInvertedBoxShadow !important;
  1116. color: @white;
  1117. }
  1118. .ui.inverted.blue.basic.buttons .button:hover,
  1119. .ui.inverted.blue.buttons .basic.button:hover,
  1120. .ui.inverted.blue.basic.button:hover {
  1121. box-shadow: 0px 0px 0px 2px @lightBlue inset !important;
  1122. color: @lightBlue !important;
  1123. }
  1124. /*--- Green ---*/
  1125. .ui.green.buttons .button,
  1126. .ui.green.button {
  1127. background-color: @green;
  1128. color: @invertedTextColor;
  1129. text-shadow: @invertedTextShadow;
  1130. background-image: @coloredBackgroundImage;
  1131. }
  1132. .ui.green.button {
  1133. box-shadow: @coloredBoxShadow;
  1134. }
  1135. .ui.green.buttons .button:hover,
  1136. .ui.green.button:hover {
  1137. background-color: @greenHover;
  1138. color: @invertedTextColor;
  1139. text-shadow: @invertedTextShadow;
  1140. }
  1141. .ui.green.buttons .button:active,
  1142. .ui.green.button:active {
  1143. background-color: @greenDown;
  1144. color: @invertedTextColor;
  1145. text-shadow: @invertedTextShadow;
  1146. }
  1147. .ui.green.buttons .button.active,
  1148. .ui.green.buttons .button.active:active,
  1149. .ui.green.button.active,
  1150. .ui.green.button .button.active:active {
  1151. background-color: @greenActive;
  1152. color: @invertedTextColor;
  1153. text-shadow: @invertedTextShadow;
  1154. }
  1155. /* Inverted */
  1156. .ui.inverted.green.buttons .button,
  1157. .ui.inverted.green.button {
  1158. background-color: transparent;
  1159. box-shadow: 0px 0px 0px 2px @lightGreen inset !important;
  1160. color: @white;
  1161. }
  1162. .ui.inverted.green.buttons .button:hover,
  1163. .ui.inverted.green.button:hover {
  1164. box-shadow: 0px 0px 0px 2px @green inset !important;
  1165. background-color: @green;
  1166. color: @white;
  1167. }
  1168. .ui.inverted.green.basic.buttons .button,
  1169. .ui.inverted.green.buttons .basic.button,
  1170. .ui.inverted.green.basic.button {
  1171. background-color: transparent;
  1172. box-shadow: @basicInvertedBoxShadow !important;
  1173. color: @white;
  1174. }
  1175. .ui.inverted.green.basic.buttons .button:hover,
  1176. .ui.inverted.green.buttons .basic.button:hover,
  1177. .ui.inverted.green.basic.button:hover {
  1178. box-shadow: 0px 0px 0px 2px @lightGreen inset !important;
  1179. color: @lightGreen !important;
  1180. }
  1181. /*--- Orange ---*/
  1182. .ui.orange.buttons .button,
  1183. .ui.orange.button {
  1184. background-color: @orange;
  1185. color: @invertedTextColor;
  1186. text-shadow: @invertedTextShadow;
  1187. background-image: @coloredBackgroundImage;
  1188. }
  1189. .ui.orange.button {
  1190. box-shadow: @coloredBoxShadow;
  1191. }
  1192. .ui.orange.buttons .button:hover,
  1193. .ui.orange.button:hover {
  1194. background-color: @orangeHover;
  1195. color: @invertedTextColor;
  1196. text-shadow: @invertedTextShadow;
  1197. }
  1198. .ui.orange.buttons .button:active,
  1199. .ui.orange.button:active {
  1200. background-color: @orangeDown;
  1201. color: @invertedTextColor;
  1202. text-shadow: @invertedTextShadow;
  1203. }
  1204. .ui.orange.buttons .button.active,
  1205. .ui.orange.buttons .button.active:active,
  1206. .ui.orange.button.active,
  1207. .ui.orange.button .button.active:active {
  1208. background-color: @blackActive;
  1209. color: @invertedTextColor;
  1210. text-shadow: @invertedTextShadow;
  1211. }
  1212. /* Inverted */
  1213. .ui.inverted.orange.buttons .button,
  1214. .ui.inverted.orange.button {
  1215. background-color: transparent;
  1216. box-shadow: 0px 0px 0px 2px @lightOrange inset !important;
  1217. color: @white;
  1218. }
  1219. .ui.inverted.orange.buttons .button:hover,
  1220. .ui.inverted.orange.button:hover {
  1221. box-shadow: 0px 0px 0px 2px @lightOrange inset !important;
  1222. background-color: @lightOrange;
  1223. color: @white;
  1224. }
  1225. .ui.inverted.orange.basic.buttons .button,
  1226. .ui.inverted.orange.buttons .basic.button,
  1227. .ui.inverted.orange.basic.button {
  1228. background-color: transparent;
  1229. box-shadow: @basicInvertedBoxShadow !important;
  1230. color: @white;
  1231. }
  1232. .ui.inverted.orange.basic.buttons .button:hover,
  1233. .ui.inverted.orange.buttons .basic.button:hover,
  1234. .ui.inverted.orange.basic.button:hover {
  1235. box-shadow: 0px 0px 0px 2px @lightOrange inset !important;
  1236. color: @lightOrange !important;
  1237. }
  1238. /*--- Pink ---*/
  1239. .ui.pink.buttons .button,
  1240. .ui.pink.button {
  1241. background-color: @pink;
  1242. color: @invertedTextColor;
  1243. text-shadow: @invertedTextShadow;
  1244. background-image: @coloredBackgroundImage;
  1245. }
  1246. .ui.pink.button {
  1247. box-shadow: @coloredBoxShadow;
  1248. }
  1249. .ui.pink.buttons .button:hover,
  1250. .ui.pink.button:hover {
  1251. background-color: @pinkHover;
  1252. color: @invertedTextColor;
  1253. text-shadow: @invertedTextShadow;
  1254. }
  1255. .ui.pink.buttons .button:active,
  1256. .ui.pink.button:active {
  1257. background-color: @pinkDown;
  1258. color: @invertedTextColor;
  1259. text-shadow: @invertedTextShadow;
  1260. }
  1261. .ui.pink.buttons .button.active,
  1262. .ui.pink.buttons .button.active:active,
  1263. .ui.pink.button.active,
  1264. .ui.pink.button .button.active:active {
  1265. background-color: @pinkActive;
  1266. color: @invertedTextColor;
  1267. text-shadow: @invertedTextShadow;
  1268. }
  1269. /* Inverted */
  1270. .ui.inverted.pink.buttons .button,
  1271. .ui.inverted.pink.button {
  1272. background-color: transparent;
  1273. box-shadow: 0px 0px 0px 2px @lightPink inset !important;
  1274. color: @white;
  1275. }
  1276. .ui.inverted.pink.buttons .button:hover,
  1277. .ui.inverted.pink.button:hover {
  1278. box-shadow: 0px 0px 0px 2px @lightPink inset !important;
  1279. background-color: @lightPink;
  1280. color: @white;
  1281. }
  1282. .ui.inverted.pink.basic.buttons .button,
  1283. .ui.inverted.pink.buttons .basic.button,
  1284. .ui.inverted.pink.basic.button {
  1285. background-color: transparent;
  1286. box-shadow: @basicInvertedBoxShadow !important;
  1287. color: @white;
  1288. }
  1289. .ui.inverted.pink.basic.buttons .button:hover,
  1290. .ui.inverted.pink.buttons .basic.button:hover,
  1291. .ui.inverted.pink.basic.button:hover {
  1292. box-shadow: 0px 0px 0px 2px @lightPink inset !important;
  1293. color: @lightPink !important;
  1294. }
  1295. /*--- Purple ---*/
  1296. .ui.purple.buttons .button,
  1297. .ui.purple.button {
  1298. background-color: @purple;
  1299. color: @invertedTextColor;
  1300. text-shadow: @invertedTextShadow;
  1301. background-image: @coloredBackgroundImage;
  1302. }
  1303. .ui.purple.button {
  1304. box-shadow: @coloredBoxShadow;
  1305. }
  1306. .ui.purple.buttons .button:hover,
  1307. .ui.purple.button:hover {
  1308. background-color: @purpleHover;
  1309. color: @invertedTextColor;
  1310. text-shadow: @invertedTextShadow;
  1311. }
  1312. .ui.purple.buttons .button:active,
  1313. .ui.purple.button:active {
  1314. background-color: @purpleDown;
  1315. color: @invertedTextColor;
  1316. text-shadow: @invertedTextShadow;
  1317. }
  1318. .ui.purple.buttons .button.active,
  1319. .ui.purple.buttons .button.active:active,
  1320. .ui.purple.button.active,
  1321. .ui.purple.button .button.active:active {
  1322. background-color: @purpleActive;
  1323. color: @invertedTextColor;
  1324. text-shadow: @invertedTextShadow;
  1325. }
  1326. /* Inverted */
  1327. .ui.inverted.purple.buttons .button,
  1328. .ui.inverted.purple.button {
  1329. background-color: transparent;
  1330. box-shadow: 0px 0px 0px 2px @lightPurple inset !important;
  1331. color: @white;
  1332. }
  1333. .ui.inverted.purple.buttons .button:hover,
  1334. .ui.inverted.purple.button:hover {
  1335. box-shadow: 0px 0px 0px 2px @lightPurple inset !important;
  1336. background-color: @lightPurple;
  1337. color: @white;
  1338. }
  1339. .ui.inverted.purple.basic.buttons .button,
  1340. .ui.inverted.purple.buttons .basic.button,
  1341. .ui.inverted.purple.basic.button {
  1342. background-color: transparent;
  1343. box-shadow: @basicInvertedBoxShadow !important;
  1344. color: @white;
  1345. }
  1346. .ui.inverted.purple.basic.buttons .button:hover,
  1347. .ui.inverted.purple.buttons .basic.button:hover,
  1348. .ui.inverted.purple.basic.button:hover {
  1349. box-shadow: 0px 0px 0px 2px @lightPurple inset !important;
  1350. color: @lightPurple !important;
  1351. }
  1352. /*--- Red ---*/
  1353. .ui.red.buttons .button,
  1354. .ui.red.button {
  1355. background-color: @red;
  1356. color: @invertedTextColor;
  1357. text-shadow: @invertedTextShadow;
  1358. background-image: @coloredBackgroundImage;
  1359. }
  1360. .ui.red.button {
  1361. box-shadow: @coloredBoxShadow;
  1362. }
  1363. .ui.red.buttons .button:hover,
  1364. .ui.red.button:hover {
  1365. background-color: @redHover;
  1366. color: @invertedTextColor;
  1367. text-shadow: @invertedTextShadow;
  1368. }
  1369. .ui.red.buttons .button:active,
  1370. .ui.red.button:active {
  1371. background-color: @redDown;
  1372. color: @invertedTextColor;
  1373. text-shadow: @invertedTextShadow;
  1374. }
  1375. .ui.red.buttons .button.active,
  1376. .ui.red.buttons .button.active:active,
  1377. .ui.red.button.active,
  1378. .ui.red.button .button.active:active {
  1379. background-color: @redActive;
  1380. color: @invertedTextColor;
  1381. text-shadow: @invertedTextShadow;
  1382. }
  1383. /* Inverted */
  1384. .ui.inverted.red.buttons .button,
  1385. .ui.inverted.red.button {
  1386. background-color: transparent;
  1387. box-shadow: 0px 0px 0px 2px @lightRed inset !important;
  1388. color: @white;
  1389. }
  1390. .ui.inverted.red.buttons .button:hover,
  1391. .ui.inverted.red.button:hover {
  1392. box-shadow: 0px 0px 0px 2px @lightRed inset !important;
  1393. background-color: @lightRed;
  1394. color: @white;
  1395. }
  1396. .ui.inverted.red.basic.buttons .button,
  1397. .ui.inverted.red.buttons .basic.button,
  1398. .ui.inverted.red.basic.button {
  1399. background-color: transparent;
  1400. box-shadow: @basicInvertedBoxShadow !important;
  1401. color: @white;
  1402. }
  1403. .ui.inverted.red.basic.buttons .button:hover,
  1404. .ui.inverted.red.buttons .basic.button:hover,
  1405. .ui.inverted.red.basic.button:hover {
  1406. box-shadow: 0px 0px 0px 2px @lightRed inset !important;
  1407. color: @lightRed !important;
  1408. }
  1409. /*--- Teal ---*/
  1410. .ui.teal.buttons .button,
  1411. .ui.teal.button {
  1412. background-color: @teal;
  1413. color: @invertedTextColor;
  1414. text-shadow: @invertedTextShadow;
  1415. background-image: @coloredBackgroundImage;
  1416. }
  1417. .ui.teal.button {
  1418. box-shadow: @coloredBoxShadow;
  1419. }
  1420. .ui.teal.buttons .button:hover,
  1421. .ui.teal.button:hover {
  1422. background-color: @tealHover;
  1423. color: @invertedTextColor;
  1424. text-shadow: @invertedTextShadow;
  1425. }
  1426. .ui.teal.buttons .button:active,
  1427. .ui.teal.button:active {
  1428. background-color: @tealDown;
  1429. color: @invertedTextColor;
  1430. text-shadow: @invertedTextShadow;
  1431. }
  1432. .ui.teal.buttons .button.active,
  1433. .ui.teal.buttons .button.active:active,
  1434. .ui.teal.button.active,
  1435. .ui.teal.button .button.active:active {
  1436. background-color: @tealActive;
  1437. color: @invertedTextColor;
  1438. text-shadow: @invertedTextShadow;
  1439. }
  1440. /* Inverted */
  1441. .ui.inverted.teal.buttons .button,
  1442. .ui.inverted.teal.button {
  1443. background-color: transparent;
  1444. box-shadow: 0px 0px 0px 2px @lightTeal inset !important;
  1445. color: @white;
  1446. }
  1447. .ui.inverted.teal.buttons .button:hover,
  1448. .ui.inverted.teal.button:hover {
  1449. box-shadow: 0px 0px 0px 2px @lightTeal inset !important;
  1450. background-color: @lightTeal;
  1451. color: @white;
  1452. }
  1453. .ui.inverted.teal.basic.buttons .button,
  1454. .ui.inverted.teal.buttons .basic.button,
  1455. .ui.inverted.teal.basic.button {
  1456. background-color: transparent;
  1457. box-shadow: @basicInvertedBoxShadow !important;
  1458. color: @white;
  1459. }
  1460. .ui.inverted.teal.basic.buttons .button:hover,
  1461. .ui.inverted.teal.buttons .basic.button:hover,
  1462. .ui.inverted.teal.basic.button:hover {
  1463. box-shadow: 0px 0px 0px 2px @lightTeal inset !important;
  1464. color: @lightTeal !important;
  1465. }
  1466. /*--- Yellow ---*/
  1467. .ui.yellow.buttons .button,
  1468. .ui.yellow.button {
  1469. background-color: @yellow;
  1470. color: @invertedTextColor;
  1471. text-shadow: @invertedTextShadow;
  1472. background-image: @coloredBackgroundImage;
  1473. }
  1474. .ui.yellow.button {
  1475. box-shadow: @coloredBoxShadow;
  1476. }
  1477. .ui.yellow.buttons .button:hover,
  1478. .ui.yellow.button:hover {
  1479. background-color: @yellowHover;
  1480. color: @invertedTextColor;
  1481. text-shadow: @invertedTextShadow;
  1482. }
  1483. .ui.yellow.buttons .button:active,
  1484. .ui.yellow.button:active {
  1485. background-color: @yellowDown;
  1486. color: @invertedTextColor;
  1487. text-shadow: @invertedTextShadow;
  1488. }
  1489. .ui.yellow.buttons .button.active,
  1490. .ui.yellow.buttons .button.active:active,
  1491. .ui.yellow.button.active,
  1492. .ui.yellow.button .button.active:active {
  1493. background-color: @yellowActive;
  1494. color: @invertedTextColor;
  1495. text-shadow: @invertedTextShadow;
  1496. }
  1497. /* Inverted */
  1498. .ui.inverted.yellow.buttons .button,
  1499. .ui.inverted.yellow.button {
  1500. background-color: transparent;
  1501. box-shadow: 0px 0px 0px 2px @lightYellow inset !important;
  1502. color: @white;
  1503. }
  1504. .ui.inverted.yellow.buttons .button:hover,
  1505. .ui.inverted.yellow.button:hover {
  1506. box-shadow: 0px 0px 0px 2px @lightYellow inset !important;
  1507. background-color: @lightYellow;
  1508. color: @white;
  1509. }
  1510. .ui.inverted.yellow.basic.buttons .button,
  1511. .ui.inverted.yellow.buttons .basic.button,
  1512. .ui.inverted.yellow.basic.button {
  1513. background-color: transparent;
  1514. box-shadow: @basicInvertedBoxShadow !important;
  1515. color: @white;
  1516. }
  1517. .ui.inverted.yellow.basic.buttons .button:hover,
  1518. .ui.inverted.yellow.buttons .basic.button:hover,
  1519. .ui.inverted.yellow.basic.button:hover {
  1520. box-shadow: 0px 0px 0px 2px @lightYellow inset !important;
  1521. color: @lightYellow !important;
  1522. }
  1523. /*---------------
  1524. Positive
  1525. ----------------*/
  1526. .ui.positive.buttons .button,
  1527. .ui.positive.button {
  1528. background-color: @positiveColor !important;
  1529. color: @invertedTextColor;
  1530. text-shadow: @invertedTextShadow;
  1531. background-image: @coloredBackgroundImage;
  1532. }
  1533. .ui.positive.button {
  1534. box-shadow: @coloredBoxShadow;
  1535. }
  1536. .ui.positive.buttons .button:hover,
  1537. .ui.positive.button:hover,
  1538. .ui.positive.buttons .active.button,
  1539. .ui.positive.button.active {
  1540. background-color: @positiveColorHover !important;
  1541. color: @invertedTextColor;
  1542. text-shadow: @invertedTextShadow;
  1543. }
  1544. .ui.positive.buttons .button:active,
  1545. .ui.positive.button:active {
  1546. background-color: @positiveColorDown !important;
  1547. color: @invertedTextColor;
  1548. text-shadow: @invertedTextShadow;
  1549. }
  1550. .ui.positive.buttons .button.active,
  1551. .ui.positive.buttons .button.active:active,
  1552. .ui.positive.button.active,
  1553. .ui.positive.button .button.active:active {
  1554. background-color: @positiveColorActive;
  1555. color: @invertedTextColor;
  1556. text-shadow: @invertedTextShadow;
  1557. }
  1558. /*---------------
  1559. Negative
  1560. ----------------*/
  1561. .ui.negative.buttons .button,
  1562. .ui.negative.button {
  1563. background-color: @negativeColor !important;
  1564. color: @invertedTextColor;
  1565. text-shadow: @invertedTextShadow;
  1566. background-image: @coloredBackgroundImage;
  1567. }
  1568. .ui.negative.button {
  1569. box-shadow: @coloredBoxShadow;
  1570. }
  1571. .ui.negative.buttons .button:hover,
  1572. .ui.negative.button:hover,
  1573. .ui.negative.buttons .active.button,
  1574. .ui.negative.button.active {
  1575. background-color: @negativeColorHover !important;
  1576. color: @invertedTextColor;
  1577. text-shadow: @invertedTextShadow;
  1578. }
  1579. .ui.negative.buttons .button:active,
  1580. .ui.negative.button:active {
  1581. background-color: @negativeColorDown !important;
  1582. color: @invertedTextColor;
  1583. text-shadow: @invertedTextShadow;
  1584. }
  1585. .ui.negative.buttons .button.active,
  1586. .ui.negative.buttons .button.active:active,
  1587. .ui.negative.button.active,
  1588. .ui.negative.button .button.active:active {
  1589. background-color: @negativeColorActive;
  1590. color: @invertedTextColor;
  1591. text-shadow: @invertedTextShadow;
  1592. }
  1593. /*******************************
  1594. Groups
  1595. *******************************/
  1596. .ui.buttons {
  1597. display: inline-block;
  1598. vertical-align: middle;
  1599. margin: @verticalMargin @horizontalMargin 0em 0em;
  1600. }
  1601. .ui.buttons:after {
  1602. content: ".";
  1603. display: block;
  1604. height: 0;
  1605. clear: both;
  1606. visibility: hidden;
  1607. }
  1608. .ui.buttons .button:first-child {
  1609. border-left: none;
  1610. }
  1611. .ui.buttons .button {
  1612. margin: 0em;
  1613. float: left;
  1614. border-radius: 0em;
  1615. margin: @groupButtonOffset;
  1616. }
  1617. .ui.buttons .button:first-child {
  1618. margin-left: 0em;
  1619. border-top-left-radius: @borderRadius;
  1620. border-bottom-left-radius: @borderRadius;
  1621. }
  1622. .ui.buttons .button:last-child {
  1623. border-top-right-radius: @borderRadius;
  1624. border-bottom-right-radius: @borderRadius;
  1625. }
  1626. /* Vertical Style */
  1627. .ui.vertical.buttons {
  1628. display: inline-block;
  1629. }
  1630. .ui.vertical.buttons .button {
  1631. display: block;
  1632. float: none;
  1633. margin: @verticalGroupOffset;
  1634. box-shadow: @verticalBoxShadow;
  1635. }
  1636. .ui.vertical.buttons .button:first-child,
  1637. .ui.vertical.buttons .mini.button:first-child,
  1638. .ui.vertical.buttons .tiny.button:first-child,
  1639. .ui.vertical.buttons .small.button:first-child,
  1640. .ui.vertical.buttons .massive.button:first-child,
  1641. .ui.vertical.buttons .huge.button:first-child {
  1642. border-radius: @borderRadius @borderRadius 0px 0px;
  1643. }
  1644. .ui.vertical.buttons .button:last-child,
  1645. .ui.vertical.buttons .mini.button:last-child,
  1646. .ui.vertical.buttons .tiny.button:last-child,
  1647. .ui.vertical.buttons .small.button:last-child,
  1648. .ui.vertical.buttons .massive.button:last-child,
  1649. .ui.vertical.buttons .huge.button:last-child,
  1650. .ui.vertical.buttons .gigantic.button:last-child {
  1651. margin-bottom: 0px;
  1652. border-radius: 0px 0px @borderRadius @borderRadius;
  1653. }
  1654. .loadUIOverrides();