Browse Source

Fix #1677 disabled button inside basic button group, add global disabled border color

pull/1698/merge
jlukic 9 years ago
parent
commit
bd59995160
3 changed files with 9 additions and 2 deletions
  1. 6
      src/definitions/elements/button.less
  2. 4
      src/themes/default/elements/button.variables
  3. 1
      src/themes/default/globals/site.variables

6
src/definitions/elements/button.less

@ -211,6 +211,11 @@
pointer-events: none; pointer-events: none;
} }
/* Basic Group With Disabled */
.ui.basic.buttons .ui.disabled.button {
border-color: @disabledBorderColor;
}
/******************************* /*******************************
Types Types
*******************************/ *******************************/
@ -714,6 +719,7 @@
} }
/*-------------- /*--------------
Labeled Icon Labeled Icon
---------------*/ ---------------*/

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

@ -223,8 +223,8 @@
/* Basic Group */ /* Basic Group */
@basicGroupBorder: 1px solid @borderColor;
@basicGroupBoxShadow: 0px 0px 0px 1px @borderColor;
@basicGroupBorder: @basicBorderSize solid @borderColor;
@basicGroupBoxShadow: 0px 0px 0px @basicBorderSize @borderColor;
/*------------------- /*-------------------
Variations Variations

1
src/themes/default/globals/site.variables

@ -351,6 +351,7 @@
@borderColor : rgba(39, 41, 43, 0.15); @borderColor : rgba(39, 41, 43, 0.15);
@selectedBorderColor : rgba(39, 41, 43, 0.3); @selectedBorderColor : rgba(39, 41, 43, 0.3);
@disabledBorderColor : rgba(39, 41, 43, 0.5);
@solidBorderColor : #D4D4D5; @solidBorderColor : #D4D4D5;
@solidSelectedBorderColor : #BEBEBF; @solidSelectedBorderColor : #BEBEBF;

Loading…
Cancel
Save