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.

96 lines
2.3 KiB

  1. /*******************************
  2. Button
  3. *******************************/
  4. /*-------------------
  5. Element
  6. --------------------*/
  7. /* Shadow */
  8. @shadowDistance: 0em;
  9. @shadowOffset: (@shadowDistance / 2);
  10. @shadowBoxShadow: 0px -@shadowDistance 0px 0px @borderColor inset;
  11. @backgroundColor: #FAFAFA;
  12. @backgroundImage: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.09));
  13. @boxShadow:
  14. 0px 0px 0px 1px @borderColor inset,
  15. @shadowBoxShadow
  16. ;
  17. /* Padding */
  18. @verticalPadding: 0.8em;
  19. @horizontalPadding: 1.5em;
  20. /*-------------------
  21. Group
  22. --------------------*/
  23. @groupBoxShadow: none;
  24. @groupButtonBoxShadow:
  25. 0px 0px 0px 1px @borderColor inset,
  26. @shadowBoxShadow
  27. ;
  28. @verticalBoxShadow: 0px 0px 0px 1px @borderColor inset;
  29. @groupButtonOffset: 0px 0px 0px -1px;
  30. @verticalGroupOffset: 0px 0px -1px 0px;
  31. /*-------------------
  32. States
  33. --------------------*/
  34. /* Hovered */
  35. @hoverBackgroundColor: '';
  36. @hoverBackgroundImage: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.13));
  37. @hoverBoxShadow: '';
  38. @hoverColor: @hoveredTextColor;
  39. @iconHoverOpacity: 0.85;
  40. /* Focused */
  41. @focusBackgroundColor: '';
  42. @focusBackgroundImage: '';
  43. @focusBoxShadow:
  44. 0px 0px 1px rgba(81, 167, 232, 0.8) inset,
  45. 0px 0px 3px 2px rgba(81, 167, 232, 0.8)
  46. ;
  47. @focusColor: @hoveredTextColor;
  48. @iconFocusOpacity: 0.85;
  49. /* Pressed Down */
  50. @downBackgroundColor: #F1F1F1;
  51. @downBackgroundImage: '';
  52. @downBoxShadow:
  53. 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset,
  54. 0px 1px 4px 0px rgba(0, 0, 0, 0.1) inset !important
  55. ;
  56. @downColor: @pressedTextColor;
  57. /* Active */
  58. @activeBackgroundColor: #DADADA;
  59. @activeBackgroundImage: none;
  60. @activeColor: @selectedTextColor;
  61. @activeBoxShadow:
  62. 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset,
  63. 0px 1px 4px 0px rgba(0, 0, 0, 0.1) inset !important
  64. ;
  65. /* Active + Hovered */
  66. @activeHoverBackgroundColor: #DADADA;
  67. @activeHoverBackgroundImage: none;
  68. @activeHoverBoxShadow:
  69. 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset,
  70. 0px 1px 4px 0px rgba(0, 0, 0, 0.1) inset !important
  71. ;
  72. @activeHoverColor: @selectedTextColor;
  73. /* Loading */
  74. @loadingBackgroundColor: #FFFFFF;
  75. /*-------------------
  76. Types
  77. --------------------*/
  78. /* Labeled Icon */
  79. @labeledIconBackgroundColor: rgba(0, 0, 0, 0.05);
  80. @labeledIconLeftShadow: -1px 0px 0px 0px @labeledIconBorder inset;
  81. @labeledIconRightShadow: 1px 0px 0px 0px @labeledIconBorder inset;