From 6e93b5fe76e4e687916f5ac45615521941447031 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Mon, 14 Aug 2017 16:59:36 +0300 Subject: [PATCH] Border class helpers added. --- src/app/core/scss/partials/_helpers.scss | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/app/core/scss/partials/_helpers.scss b/src/app/core/scss/partials/_helpers.scss index da366495..c517e7d3 100644 --- a/src/app/core/scss/partials/_helpers.scss +++ b/src/app/core/scss/partials/_helpers.scss @@ -106,3 +106,44 @@ margin-top: auto !important; margin-bottom: auto !important; } + + +// Border helpers +$border-style: 1px solid rgba(0, 0, 0, 0.12); + +.border, +.b { + border: $border-style; +} + +.border-top, +.bt { + border-top: $border-style; +} + +.border-right, +.br { + border-right: $border-style; +} + +.border-bottom, +.bb { + border-bottom: $border-style; +} + +.border-left, +.bl { + border-left: $border-style; +} + +.border-horizontal, +.b-x { + border-left: $border-style; + border-right: $border-style; +} + +.border-vertical, +.by { + border-top: $border-style; + border-bottom: $border-style; +}