diff options
author | Michael Lando <ml636r@att.com> | 2018-07-29 16:13:45 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-07-29 16:20:34 +0300 |
commit | 5b593496b8f1b8e8be8d7d2dbcc223332e65a49b (patch) | |
tree | 2f9dfc45191e723da69cf74be7829784e9741b94 /catalog-ui/src/assets/styles/mixins.less | |
parent | 9200382f2ce7b4bb729aa287d0878004b2d2b4f9 (diff) |
re base code
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5
Issue-ID: SDC-1566
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/src/assets/styles/mixins.less')
-rw-r--r-- | catalog-ui/src/assets/styles/mixins.less | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/catalog-ui/src/assets/styles/mixins.less b/catalog-ui/src/assets/styles/mixins.less index b55d4fd794..e71f3444aa 100644 --- a/catalog-ui/src/assets/styles/mixins.less +++ b/catalog-ui/src/assets/styles/mixins.less @@ -219,3 +219,37 @@ -ms-user-select: text; user-select: text; } + + +.square-icon() { + display: inline-block; + background-color: @main_color_a; + padding: 0; + margin: 0; + margin-right: 7px; + width: 2em; + height: 2em; + border-radius: 1px; + + &::before { + display: block; + content: ""; + color: @main_color_p; + text-align: center; + line-height: 2em; + width: calc(100% - 2px); + height: calc(100% - 2px); + } + + &.small { + font-size: 14px; + } + + &.medium { + font-size: 20px; + } + + &.large { + font-size: 30px; + } +} |