Browse Source

Update to google theme, fix input button alignment

pull/1139/merge
jlukic 10 years ago
parent
commit
495d1162d2
3 changed files with 12 additions and 4 deletions
  1. 2
      src/definitions/elements/input.less
  2. 4
      src/themes/packages/google/elements/button.overrides
  3. 10
      src/themes/packages/google/elements/button.variables

2
src/definitions/elements/input.less

@ -328,7 +328,7 @@
.ui.action.input > .button,
.ui.action.input > .buttons {
display: table-cell;
vertical-align: top;
vertical-align: middle;
white-space: nowrap;
}
.ui.action.input > .button > .icon,

4
src/themes/packages/google/elements/button.overrides

@ -16,4 +16,8 @@
0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset,
0px 2px 3px 0px rgba(0, 0, 0, 0.3) !important
;
}
.ui.buttons > .button:hover,
.ui.buttons > .button.active {
position: static !important;
}

10
src/themes/packages/google/elements/button.variables

@ -56,15 +56,19 @@
Variations
--------------------*/
@labeledIconBackgroundColor: transparent;
@labeledIconWidth: 2em;
@coloredBackgroundImage : @subtleGradient;
@coloredBoxShadow : 0px 0px 0px 1px rgba(0, 0, 0, 0.25) inset;
@primaryColor : #4184F3;
@primaryBoxShadow : 0px 0px 0px 1px #0157E4 inset;
@secondaryColor : #EEEEEE;
@secondaryTextColor : @textColor;
@secondaryBoxShadow : @borderBoxShadow;
@secondaryColor : #EEEEEE;
@secondaryBackgroundImage : @backgroundImage;
@secondaryTextColor : @textColor;
@secondaryBoxShadow : @borderBoxShadow;
@positiveColor: #3D9400;
@negativeColor: #D34836;

Loading…
Cancel
Save