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.

1630 lines
38 KiB

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