From 414d889f3f18da8bd5348679e2fab2dbc2089cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20Deutschl=C3=A4nder?= Date: Tue, 6 Dec 2016 15:55:55 +0100 Subject: [PATCH] fontello classes cannot be extended with current less compiler --- css/area_nav-usertools.less | 6 +- css/base_fonts.less | 224 +++++++++++++++++++++++++++++++-- css/base_mixins.less | 5 +- fonts/icons/fontello-codes.css | 37 ------ style.ini | 1 + 5 files changed, 225 insertions(+), 48 deletions(-) delete mode 100644 fonts/icons/fontello-codes.css diff --git a/css/area_nav-usertools.less b/css/area_nav-usertools.less index 189990a..9510f75 100644 --- a/css/area_nav-usertools.less +++ b/css/area_nav-usertools.less @@ -15,8 +15,12 @@ font-size: .8rem; } a{ - .profile; + .fontello(); + &.register{ + + } } + } } } diff --git a/css/base_fonts.less b/css/base_fonts.less index 5f3142e..450595d 100755 --- a/css/base_fonts.less +++ b/css/base_fonts.less @@ -16,17 +16,225 @@ /* icon font */ .setIconFontFace('fontello','fontello'); -.icon, [class^="icon-"], [class*=" icon-"], -.profile, -.log-in, -.log-out{ +.icon, [class^="icon-"], [class*=" icon-"]{ .fontello(); } /* custom icon font */ -@import (less) "../fonts/icons/fontello-codes.css"; - -.profile{ - .icon-user; +.icon-user{ + &::before { + content: '\e800'; + } +} +.icon-logout{ + &::before { + content: '\e801'; + } } +.icon-login{ + &::before { + content: '\e802'; + } +} + +.icon-clipboard{ + &::before { + content: '\e803'; + } +} + +.icon-emo-happy { + &::before { + content: '\e804'; + } +} + +.icon-emo-wink { + &::before { + content: '\e805'; + } +} + +.icon-emo-unhappy { + &::before { + content: '\e806'; + } +} + +.icon-emo-sleep{ + &::before { + content: '\e807'; + } +} + +.icon-emo-thumbsup { + &::before { + content: '\e808'; + } +} + +.icon-clock{ + &::before { + content: '\e809'; + } +} + +.icon-link{ + &::before { + content: '\e80a'; + } +} + +.icon-bell{ + &::before { + content: '\e80b'; + } +} + +.icon-emo-grin{ + :before { + content: '\e80c'; + } +} + +.icon-emo-angry{ + &::before { + content: '\e80d'; + } +} + +.icon-mail{ + &::before { + content: '\e80e'; + } +} + +.icon-emo-cry { + &::before { + content: '\e80f'; + } +} + +.icon-cloud{ + &::before { + content: '\e810'; + } +} + +.icon-emo-squint{ + &::before { + content: '\e811'; + } +} + +.icon-emo-laugh{ + &::before { + content: '\e812'; + } +} + +.icon-emo-wink2{ + &::before { + content: '\e813'; + } +} + +.icon-cloud-1{ + &::before { + content: '\e814'; + } +} + +.icon-home-outline{ + &::before { + content: '\e815'; + } +} + +.icon-home() { + &::before { + content: '\e816'; + } +} + +.icon-puzzle-1{ + &::before { + content: '\e817'; + } +} + +.icon-cog-alt{ + &::before { + content: '\e818'; + } +} + +.icon-cog{ + &::before { + content: '\e819'; + } +} + +.icon-help{ + &::before { + content: '\e81a'; + } +} + +.icon-bookmark-empty{ + &::before { + content: '\f097'; + } +} + +.icon-menu{ + &::before { + content: '\f0c9'; + } +} + +.icon-sitemap{ + &::before { + content: '\f0e8'; + } +} + +.icon-doc-text{ + &::before { + content: '\f0f6'; + } +} + +.icon-smile{ + &::before { + content: '\f118'; + } +} + +.icon-frown{ + &::before { + content: '\f119'; + } +} + +.icon-meh { + &::before { + content: '\f11a'; + } +} + +.icon-puzzle { + &::before { + content: '\f12e'; + } +} + +.icon-file-pdf{ + &::before { + content: '\f1c1'; + } +} + + + diff --git a/css/base_mixins.less b/css/base_mixins.less index e34ea1a..24fd603 100644 --- a/css/base_mixins.less +++ b/css/base_mixins.less @@ -28,8 +28,9 @@ } .fontello(){ - &:before{ - font-family: "topmeteo"; + + &::before{ + font-family: "fontello"; font-style: normal; font-weight: normal; speak: none; diff --git a/fonts/icons/fontello-codes.css b/fonts/icons/fontello-codes.css deleted file mode 100644 index 419e274..0000000 --- a/fonts/icons/fontello-codes.css +++ /dev/null @@ -1,37 +0,0 @@ - -.icon-user:before { content: '\e800'; } -.icon-logout:before { content: '\e801'; } -.icon-login:before { content: '\e802'; } /* '' */ -.icon-clipboard:before { content: '\e803'; } /* '' */ -.icon-emo-happy:before { content: '\e804'; } /* '' */ -.icon-emo-wink:before { content: '\e805'; } /* '' */ -.icon-emo-unhappy:before { content: '\e806'; } /* '' */ -.icon-emo-sleep:before { content: '\e807'; } /* '' */ -.icon-emo-thumbsup:before { content: '\e808'; } /* '' */ -.icon-clock:before { content: '\e809'; } /* '' */ -.icon-link:before { content: '\e80a'; } /* '' */ -.icon-bell:before { content: '\e80b'; } /* '' */ -.icon-emo-grin:before { content: '\e80c'; } /* '' */ -.icon-emo-angry:before { content: '\e80d'; } /* '' */ -.icon-mail:before { content: '\e80e'; } /* '' */ -.icon-emo-cry:before { content: '\e80f'; } /* '' */ -.icon-cloud:before { content: '\e810'; } /* '' */ -.icon-emo-squint:before { content: '\e811'; } /* '' */ -.icon-emo-laugh:before { content: '\e812'; } /* '' */ -.icon-emo-wink2:before { content: '\e813'; } /* '' */ -.icon-cloud-1:before { content: '\e814'; } /* '' */ -.icon-home-outline:before { content: '\e815'; } /* '' */ -.icon-home:before { content: '\e816'; } /* '' */ -.icon-puzzle-1:before { content: '\e817'; } /* '' */ -.icon-cog-alt:before { content: '\e818'; } /* '' */ -.icon-cog:before { content: '\e819'; } /* '' */ -.icon-help:before { content: '\e81a'; } /* '' */ -.icon-bookmark-empty:before { content: '\f097'; } /* '' */ -.icon-menu:before { content: '\f0c9'; } /* '' */ -.icon-sitemap:before { content: '\f0e8'; } /* '' */ -.icon-doc-text:before { content: '\f0f6'; } /* '' */ -.icon-smile:before { content: '\f118'; } /* '' */ -.icon-frown:before { content: '\f119'; } /* '' */ -.icon-meh:before { content: '\f11a'; } /* '' */ -.icon-puzzle:before { content: '\f12e'; } /* '' */ -.icon-file-pdf:before { content: '\f1c1'; } /* '' */ \ No newline at end of file diff --git a/style.ini b/style.ini index ca7342e..652927b 100755 --- a/style.ini +++ b/style.ini @@ -51,6 +51,7 @@ css/base.less = all css/base_mixins.less = all +css/base_fontello-codes.less = all css/base_fonts.less = all css/base_structure.less = all css/base_design.less = all