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.

1615 lines
38 KiB

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