From 05e7b323e5ebe3eef44f20e4a6092918e96c671a Mon Sep 17 00:00:00 2001 From: jlukic Date: Sun, 24 Aug 2014 13:27:36 -0400 Subject: [PATCH] Fixes inverted divider color css specificity, fixes bug in vertical divider --- src/definitions/elements/divider.less | 25 +++++++++++-------- .../default/elements/divider.variables | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/definitions/elements/divider.less b/src/definitions/elements/divider.less index 8a301ec70..4d3ef112b 100755 --- a/src/definitions/elements/divider.less +++ b/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; } /*-------------- diff --git a/src/themes/packages/default/elements/divider.variables b/src/themes/packages/default/elements/divider.variables index deb05bb6c..705eb5035 100755 --- a/src/themes/packages/default/elements/divider.variables +++ b/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);