Browse Source

Reordering button.variables for legibility

pull/1177/head
jlukic 10 years ago
parent
commit
5e70c1e290
1 changed files with 21 additions and 21 deletions
  1. 42
      src/themes/packages/default/elements/button.variables

42
src/themes/packages/default/elements/button.variables

@ -8,45 +8,37 @@
@verticalMargin: 0em; @verticalMargin: 0em;
@horizontalMargin: 0.25em; @horizontalMargin: 0.25em;
/* Style */
@backgroundColor: #E0E0E0;
@backgroundImage: none;
@verticalPadding: 0.8em;
@horizontalPadding: 1.5em;
/* Text */
@textTransform: none; @textTransform: none;
@tapColor: transparent; @tapColor: transparent;
@fontWeight: bold; @fontWeight: bold;
@textColor: rgba(0, 0, 0, 0.6); @textColor: rgba(0, 0, 0, 0.6);
@textShadow: none; @textShadow: none;
@invertedTextShadow: none; @invertedTextShadow: none;
@borderRadius: @defaultBorderRadius; @borderRadius: @defaultBorderRadius;
@borderBoxShadowColor: transparent;
@borderBoxShadowWidth: 1px;
@verticalAlign: baseline; @verticalAlign: baseline;
/* Shadow */
/* Internal Shadow */
@shadowDistance: 0em; @shadowDistance: 0em;
@shadowOffset: (@shadowDistance / 2); @shadowOffset: (@shadowDistance / 2);
@shadowBoxShadow: 0px -@shadowDistance 0px 0px @borderColor inset; @shadowBoxShadow: 0px -@shadowDistance 0px 0px @borderColor inset;
@borderBoxShadow: 0px 0px 0px @borderBoxShadowWidth @borderBoxShadowColor inset;
@backgroundColor: #E0E0E0;
@backgroundImage: none;
/* Box Shadow */
@borderBoxShadowColor: transparent;
@borderBoxShadowWidth: 1px;
@borderBoxShadow: 0px 0px 0px @borderBoxShadowWidth @borderBoxShadowColor inset;
@boxShadow: @boxShadow:
@borderBoxShadow, @borderBoxShadow,
@shadowBoxShadow @shadowBoxShadow
; ;
/* transitions */
@transition:
opacity 0.1s @transitionEasing,
background-color 0.1s @transitionEasing,
color 0.1s @transitionEasing,
box-shadow 0.1s @transitionEasing,
background 0.1s @transitionEasing
;
/* Padding */
@verticalPadding: 0.8em;
@horizontalPadding: 1.5em;
/* Icon */ /* Icon */
@iconOpacity: 0.8; @iconOpacity: 0.8;
@iconDistance: 0.4em; @iconDistance: 0.4em;
@ -60,6 +52,14 @@
@hugeLoaderPath: "@{imagePath}/loader-small.gif"; @hugeLoaderPath: "@{imagePath}/loader-small.gif";
@massiveLoaderPath: "@{imagePath}/loader-medium.gif"; @massiveLoaderPath: "@{imagePath}/loader-medium.gif";
@transition:
opacity 0.1s @transitionEasing,
background-color 0.1s @transitionEasing,
color 0.1s @transitionEasing,
box-shadow 0.1s @transitionEasing,
background 0.1s @transitionEasing
;
/*------------------- /*-------------------
Group Group
--------------------*/ --------------------*/

Loading…
Cancel
Save