From 8324410578a34a2028621052d943c73e3b5ea8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 8 Nov 2017 21:05:19 +0100 Subject: [PATCH] CSS: Move icons to separate file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/icons.scss | 42 ++++++++++++++++++++++++++++++++++++++++++ css/style.scss | 45 ++------------------------------------------- 2 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 css/icons.scss diff --git a/css/icons.scss b/css/icons.scss new file mode 100644 index 000000000..efa315e08 --- /dev/null +++ b/css/icons.scss @@ -0,0 +1,42 @@ +/** + * Custom icons + */ +.icon-deck { + background-image: url('../img/deck-dark.svg'); +} + +.icon-group { + background-image: url('../../../settings/img/users.svg'); +} + +.icon-help { + background-image: url('../../../settings/img/help.svg'); +} + +.icon-add-white { + background-image: url('../img/add-white.svg'); +} + +.icon-archive { + background-image: url('../img/archive.svg'); +} + +.icon-archive-white { + background-image: url('../img/archive-white.svg'); +} + +.icon-details { + background-image: url('../img/details.svg'); +} + +.icon-details-white { + background-image: url('../img/details-white.svg'); +} + +.icon-home { + background-image: url('../../../core/img/places/home.svg'); +} + +.icon-badge { + background-image: url('../../../core/img/places/calendar-dark.svg'); +} \ No newline at end of file diff --git a/css/style.scss b/css/style.scss index dd2632d03..0cd713019 100644 --- a/css/style.scss +++ b/css/style.scss @@ -1147,48 +1147,6 @@ input.input-inline { } } -/** - * Custom icons - */ -.icon-deck { - background-image: url('../img/deck-dark.svg'); -} - -.icon-group { - background-image: url('../../../settings/img/users.svg'); -} - -.icon-help { - background-image: url('../../../settings/img/help.svg'); -} - -.icon-add-white { - background-image: url('../img/add-white.svg'); -} - -.icon-archive { - background-image: url('../img/archive.svg'); -} - -.icon-archive-white { - background-image: url('../img/archive-white.svg'); -} - -.icon-details { - background-image: url('../img/details.svg'); -} - -.icon-details-white { - background-image: url('../img/details-white.svg'); -} - -.icon-home { - background-image: url('../../../core/img/places/home.svg'); -} - -.icon-badge { - background-image: url('../../../core/img/places/calendar-dark.svg'); -} /** * Hotfix for https://github.com/angular-ui/ui-select/issues/1652 @@ -1197,4 +1155,5 @@ input.input-inline { opacity: 1 !important; } -@import 'comp-appnav.scss'; \ No newline at end of file +@import 'comp-appnav.scss'; +@import 'icons.scss'; \ No newline at end of file