From adbc60ce40406a730abf4926688710fc9aa87cab Mon Sep 17 00:00:00 2001 From: dmh Date: Thu, 9 Jun 2016 15:27:30 +0300 Subject: [PATCH] [FIX] add font smoothing to slider and inverted elements --- dev/styles/main/appearance/wrapperStyle/blueMountainWrp.less | 1 + dev/styles/main/appearance/wrapperStyle/inverse.less | 1 + dev/styles/main/appearance/wrapperStyle/saturatedInverse.less | 1 + dev/styles/main/contentElements/slider.less | 3 ++- dev/templates/pages/index.hbs | 2 -- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dev/styles/main/appearance/wrapperStyle/blueMountainWrp.less b/dev/styles/main/appearance/wrapperStyle/blueMountainWrp.less index 24ee78a..fa35019 100644 --- a/dev/styles/main/appearance/wrapperStyle/blueMountainWrp.less +++ b/dev/styles/main/appearance/wrapperStyle/blueMountainWrp.less @@ -23,6 +23,7 @@ .blue-mountain-wrp p { color: shade(@main-text-color, 100%); + -webkit-font-smoothing: antialiased; } .blue-mountain-wrp { diff --git a/dev/styles/main/appearance/wrapperStyle/inverse.less b/dev/styles/main/appearance/wrapperStyle/inverse.less index 5ee9b3c..8886678 100644 --- a/dev/styles/main/appearance/wrapperStyle/inverse.less +++ b/dev/styles/main/appearance/wrapperStyle/inverse.less @@ -20,6 +20,7 @@ .inverse p { color: tint(@main-text-color, 90%); + -webkit-font-smoothing: antialiased; } .inverse { diff --git a/dev/styles/main/appearance/wrapperStyle/saturatedInverse.less b/dev/styles/main/appearance/wrapperStyle/saturatedInverse.less index 9380835..9f4e161 100644 --- a/dev/styles/main/appearance/wrapperStyle/saturatedInverse.less +++ b/dev/styles/main/appearance/wrapperStyle/saturatedInverse.less @@ -20,6 +20,7 @@ .saturated-inverse p { color: tint(@main-text-color, 90%); + -webkit-font-smoothing: antialiased; } .saturated-inverse { diff --git a/dev/styles/main/contentElements/slider.less b/dev/styles/main/contentElements/slider.less index 3272676..9c8e92f 100644 --- a/dev/styles/main/contentElements/slider.less +++ b/dev/styles/main/contentElements/slider.less @@ -28,6 +28,7 @@ font-weight: 300; font-size: 20px; color: tint(@main-color, 90%); + -webkit-font-smoothing: antialiased } .img-slider__caption-header{ @@ -36,7 +37,7 @@ color: tint(@main-color, 90%); margin-top: 10px; font-weight: 400; - + -webkit-font-smoothing: antialiased } .img-slider__caption-p{ diff --git a/dev/templates/pages/index.hbs b/dev/templates/pages/index.hbs index 526f02e..4cedb24 100644 --- a/dev/templates/pages/index.hbs +++ b/dev/templates/pages/index.hbs @@ -330,7 +330,6 @@ externalLink: false #just add link (http://link.com) instead of "false" to use t }}
-
{{ renderContent 'iconTextButton' headerLeftIcon="rocket" header="Content element 1" @@ -338,7 +337,6 @@ externalLink: false #just add link (http://link.com) instead of "false" to use t buttonName="Read more" btnAsLink=true }} -
{{ renderContent 'iconTextButton'