Browse Source

Add additional background variables to button

flex-list
jlukic 9 years ago
parent
commit
9ff0d90d6a
2 changed files with 3 additions and 4 deletions
  1. 4
      src/definitions/elements/button.less
  2. 3
      src/themes/default/elements/button.variables

4
src/definitions/elements/button.less

@ -33,7 +33,7 @@
outline: none; outline: none;
border: none; border: none;
vertical-align: @verticalAlign; vertical-align: @verticalAlign;
background-color: @backgroundColor;
background: @background;
color: @textColor; color: @textColor;
font-family: @fontFamily; font-family: @fontFamily;
@ -49,7 +49,6 @@
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
background-image: @backgroundImage;
border-radius: @borderRadius; border-radius: @borderRadius;
box-shadow: @boxShadow; box-shadow: @boxShadow;
@ -644,7 +643,6 @@
.ui.basic.buttons .button, .ui.basic.buttons .button,
.ui.basic.button { .ui.basic.button {
background: @basicBackground !important; background: @basicBackground !important;
background-image: none;
color: @basicTextColor !important; color: @basicTextColor !important;
font-weight: @basicFontWeight; font-weight: @basicFontWeight;
border-radius: @basicBorderRadius; border-radius: @basicBorderRadius;

3
src/themes/default/elements/button.variables

@ -12,6 +12,7 @@
/* Style */ /* Style */
@backgroundColor: #E0E1E2; @backgroundColor: #E0E1E2;
@backgroundImage: none; @backgroundImage: none;
@background: @backgroundColor @backgroundImage;
@verticalPadding: 0.7857142em; @verticalPadding: 0.7857142em;
@horizontalPadding: 1.5em; @horizontalPadding: 1.5em;
@ -182,7 +183,7 @@
@basicTextColor: @textColor; @basicTextColor: @textColor;
@basicColoredBorderSize: 2px; @basicColoredBorderSize: 2px;
@basicBackground: transparent;
@basicBackground: transparent none;
@basicFontWeight: normal; @basicFontWeight: normal;
@basicBorder: 1px solid @borderColor; @basicBorder: 1px solid @borderColor;
@basicBoxShadow: 0px 0px 0px @basicBorderSize @borderColor inset; @basicBoxShadow: 0px 0px 0px @basicBorderSize @borderColor inset;

Loading…
Cancel
Save