Browse Source

Fixing image label

pull/1009/head
jlukic 10 years ago
parent
commit
6e1d77c0dd
2 changed files with 7 additions and 6 deletions
  1. 3
      src/definitions/elements/label.less
  2. 10
      src/themes/packages/default/elements/label.variables

3
src/definitions/elements/label.less

@ -142,6 +142,7 @@ a.ui.label {
vertical-align: baseline;
text-transform: none;
border-radius: @circularRadius;
box-shadow: @imageLabelBoxShadow;
}
.ui.image.label img {
@ -149,7 +150,7 @@ a.ui.label {
height: @imageLabelImageHeight;
margin: -@verticalPadding @horizontalPadding -@verticalPadding -@horizontalPadding;
vertical-align: top;
border-radius: @borderRadius 0em 0em @borderRadius;
border-radius: @circularRadius;
}
/*******************************

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

@ -18,7 +18,7 @@
@backgroundColor: #E8E8E8;
@backgroundImage: none;
@labelTextColor: @textColor;
@labelTextColor: rgba(0, 0, 0, 0.65);
@verticalPadding: 0.8em;
@horizontalPadding: 0.8em;
@ -37,7 +37,7 @@
@detailOpacity: 0.8;
@detailIconDistance: 0.25em;
@detailMargin: 0.5em;
@detailMargin: 1em;
@deleteMargin: 0.5em;
@ -46,9 +46,9 @@
--------------------*/
@imageLabelBackgroundColor: @backgroundColor;
@imageLabelBorderRadius: @circularRadius;
@imageLabelImageHeight: (1em + @verticalPadding * 2);
@imageLabelBoxShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
@imageLabelBoxShadow: none;
/*-------------------
@ -87,7 +87,7 @@
/* Corner */
@cornerSizeRatio: 1.2;
@cornerTriangleSize: 2.5em;
@cornerTextWidth: 2.5em;
@cornerTextWidth: 3em;
@cornerTextSize: 0.7em;
@cornerIconSize: 0.7em;

Loading…
Cancel
Save