Browse Source

Fix loading styles to descend from site.variables for buttons, add back in conditional text fixes

pull/1191/head
jlukic 10 years ago
parent
commit
838ee42d48
2 changed files with 8 additions and 3 deletions
  1. 9
      src/definitions/elements/button.less
  2. 2
      src/themes/default/elements/button.variables

9
src/definitions/elements/button.less

@ -186,10 +186,10 @@
}
.ui.basic.loading.button:not(.inverted):before {
border-color-top: @loaderFillColor;
border-color: @loaderFillColor;
}
.ui.basic.loading.button:not(.inverted):after {
border-color-top: @loaderLineColor;
border-top-color: @loaderLineColor;
}
/*-------------------
@ -877,9 +877,9 @@
}
.ui.buttons .or:before {
position: absolute;
content: @orText;
top: 50%;
left: 50%;
content: 'or';
background-color: @orBackgroundColor;
text-shadow: @orTextShadow;
@ -899,6 +899,9 @@
border-radius: 500em;
box-shadow: @orBoxShadow;
}
.ui.buttons .or[data-text]:before {
content: attr(data-text);
}
/* Fluid Or */
.ui.fluid.buttons .or {

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

@ -122,6 +122,8 @@
--------------------*/
/* Or */
@orText: 'or';
@orGap: 0.3em;
@orHeight: (@verticalPadding * 2) + 1em;

Loading…
Cancel
Save