Browse Source

Fix image label format

pull/2209/head
jlukic 9 years ago
parent
commit
1fd1b404a0
2 changed files with 6 additions and 6 deletions
  1. 2
      src/definitions/elements/label.less
  2. 10
      src/themes/default/elements/label.variables

2
src/definitions/elements/label.less

@ -168,7 +168,7 @@ a.ui.label {
height: @imageLabelImageHeight;
margin: @imageLabelImageMargin;
border-radius: @imageLabelBorderRadius;
border-radius: @imageLabelImageBorderRadius;
}
.ui.image.label .detail {

10
src/themes/default/elements/label.variables

@ -56,19 +56,19 @@
/* Image Label */
@imageLabelBackground: @backgroundColor;
@imageLabelBorderRadius: @circularRadius;
@imageLabelVerticalPadding: @verticalPadding;
@imageLabelHorizontalPadding: @horizontalPadding;
@imageLabelTextDistance: 0.5em;
@imageLabelDetailDistance: @imageLabelTextDistance;
@imageLabelBorderRadius: @borderRadius;
@imageLabelBoxShadow: none;
@imageLabelDetailBackground: @strongTransparentBlack;
/* Computed Values */
@imageLabelImageHeight: (1em + @verticalPadding * 2);
@imageLabelPadding: @imageLabelVerticalPadding @imageLabelHorizontalPadding @imageLabelVerticalPadding @imageLabelTextDistance;
@imageLabelImageMargin: -@verticalPadding @imageLabelTextDistance -@verticalPadding -@imageLabelTextDistance;
@imageLabelImageBorderRadius: @imageLabelBorderRadius 0em 0em @imageLabelBorderRadius;
@imageLabelImageHeight: (1em + @verticalPadding * 2);
@imageLabelDetailBackground: @strongTransparentBlack;
@imageLabelDetailPadding: @imageLabelVerticalPadding @imageLabelHorizontalPadding;
@imageLabelDetailMargin: -@imageLabelVerticalPadding -@imageLabelHorizontalPadding -@imageLabelVerticalPadding @imageLabelDetailDistance;

Loading…
Cancel
Save