aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/assets/styles/mixins.less
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/assets/styles/mixins.less')
-rw-r--r--catalog-ui/src/assets/styles/mixins.less34
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;
+ }
+}