Browse Source

Fixes inverted divider color css specificity, fixes bug in vertical divider

pull/1063/head
jlukic 10 years ago
parent
commit
05e7b323e5
2 changed files with 16 additions and 11 deletions
  1. 25
      src/definitions/elements/divider.less
  2. 2
      src/themes/packages/default/elements/divider.variables

25
src/definitions/elements/divider.less

@ -46,6 +46,14 @@
border-bottom: @highlightWidth solid @highlightColor;
}
/*--------------
Coupling
---------------*/
.ui.grid > .ui.divider {
font-size: 1rem;
}
/*--------------
Horizontal
@ -93,15 +101,12 @@
top: 50%;
left: 50%;
width: @verticalDividerMargin;
margin: 0rem;
padding: 0em;
width: auto;
height: 50%;
line-height: 0em;
padding: 0em;
border: none;
height: 0em;
background-color: transparent;
text-align: center;
}
@ -164,11 +169,11 @@
.ui.divider.inverted,
.ui.divider.inverted:after,
.ui.divider.inverted:before {
border-top-color: @invertedShadowColor;
border-bottom-color: @invertedHighlightColor;
border-top-color: @invertedShadowColor !important;
border-bottom-color: @invertedHighlightColor !important;
border-left-color: @invertedShadowColor;
border-right-color: @invertedHighlightColor;
border-left-color: @invertedShadowColor !important;
border-right-color: @invertedHighlightColor !important;
}
/*--------------

2
src/themes/packages/default/elements/divider.variables

@ -9,7 +9,7 @@
@dividerMargin: 1rem;
@highlightWidth: 1px;
@highlightColor: rgba(255, 255, 255, 0.8);
@highlightColor: rgba(255, 255, 255, 0.2);
@shadowWidth: 1px;
@shadowColor: rgba(0, 0, 0, 0.1);

Loading…
Cancel
Save