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