Browse Source

#1755 #1744, adds additional variables for loading button, makes pointer events disabled in default theme

pull/1785/head
jlukic 9 years ago
parent
commit
f1b9da3ce1
2 changed files with 9 additions and 3 deletions
  1. 5
      src/definitions/elements/button.less
  2. 7
      src/themes/default/elements/button.variables

5
src/definitions/elements/button.less

@ -134,10 +134,11 @@
.ui.loading.loading.loading.loading.loading.loading.button {
position: relative;
cursor: default;
point-events: none;
text-shadow: none !important;
color: transparent !important;
transition: all 0s linear;
opacity: @loadingOpacity;
pointer-events: @loadingPointerEvents;
transition: @loadingTransition;
}
.ui.loading.button:before {
position: absolute;

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

@ -123,7 +123,12 @@
@activeHoverBoxShadow: @activeBoxShadow;
/* Loading */
@loadingBackground: @offWhite;
@loadingOpacity: 1;
@loadingPointerEvents: none;
@loadingTransition:
all 0s linear,
opacity @transitionDuration @defaultEasing
;
/*-------------------
Types

Loading…
Cancel
Save