summaryrefslogtreecommitdiffstats
path: root/core/css/icons.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/icons.scss')
-rw-r--r--core/css/icons.scss22
1 files changed, 14 insertions, 8 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss
index b2702a29950..e694d807ba5 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -18,6 +18,20 @@
background-position: center;
min-width: 16px;
min-height: 16px;
+ display: inline-flex;
+ align-self: center;
+ position: relative;
+}
+
+[class^='icon-'] svg,
+[class*=' icon-'] svg {
+ height: 16px;
+ width: 16px;
+ vertical-align: -3px; // counter default DOM offset
+}
+
+.icon-white svg path {
+ fill: $color-primary-text;
}
.icon-breadcrumb {
@@ -445,14 +459,6 @@ img, object, video, button, textarea, input, select {
background-image: url('../img/places/calendar-dark.svg?v=1');
}
-.icon-contacts {
- background-image: url('../img/places/contacts.svg?v=1');
-}
-
-.icon-contacts-dark {
- background-image: url('../img/places/contacts-dark.svg?v=1');
-}
-
.icon-files {
background-image: url('../img/places/files.svg?v=1');
}