diff --git a/src/definitions/elements/divider.less b/src/definitions/elements/divider.less index e29d339b3a..ed8be85b7a 100755 --- a/src/definitions/elements/divider.less +++ b/src/definitions/elements/divider.less @@ -17,6 +17,9 @@ @import (multiple) "../../theme.config"; +@notHorizontal: if(@variationDividerHorizontal, e(":not(.horizontal)")); +@notVertical: if(@variationDividerVertical, e(":not(.vertical)")); + /******************************* Divider *******************************/ @@ -37,7 +40,7 @@ Basic --------------- */ -.ui.divider:not(.vertical):not(.horizontal) { +.ui.divider@{notVertical}@{notHorizontal} { border-top: @shadowWidth @borderStyle @shadowColor; border-bottom: @highlightWidth @borderStyle @highlightColor; }