From 9abbd6ab1348baafb7608135c76a30f8f2caf455 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 3 Aug 2017 17:27:24 +0200 Subject: Revert "Proof of concept #5593 - inline SVG icon for icon-contacts" --- core/css/icons.scss | 22 ++++++++-------------- core/img/places/contacts-dark.svg | 1 + core/img/places/contacts.svg | 2 +- core/templates/layout.user.php | 4 +--- 4 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 core/img/places/contacts-dark.svg (limited to 'core') diff --git a/core/css/icons.scss b/core/css/icons.scss index e694d807ba5..b2702a29950 100644 --- a/core/css/icons.scss +++ b/core/css/icons.scss @@ -18,20 +18,6 @@ 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 { @@ -459,6 +445,14 @@ 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'); } diff --git a/core/img/places/contacts-dark.svg b/core/img/places/contacts-dark.svg new file mode 100644 index 00000000000..56ff262e91f --- /dev/null +++ b/core/img/places/contacts-dark.svg @@ -0,0 +1 @@ + diff --git a/core/img/places/contacts.svg b/core/img/places/contacts.svg index 56ff262e91f..4e6206db09c 100644 --- a/core/img/places/contacts.svg +++ b/core/img/places/contacts.svg @@ -1 +1 @@ - + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 8dfd86731ce..6b9db9389ba 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -107,9 +107,7 @@
- +
-- cgit v1.2.3