Updated icons class
authorThierry Florac <thierry.florac@onf.fr>
Wed, 25 Apr 2018 17:32:29 +0200
changeset 538 0bd011d47c0b
parent 537 21152756d312
child 539 59eded400bb8
Updated icons class
src/pyams_content/component/paragraph/header.py
src/pyams_content/component/paragraph/html.py
src/pyams_content/component/paragraph/zmi/header.py
src/pyams_content/component/paragraph/zmi/html.py
--- a/src/pyams_content/component/paragraph/header.py	Wed Apr 25 17:03:56 2018 +0200
+++ b/src/pyams_content/component/paragraph/header.py	Wed Apr 25 17:32:29 2018 +0200
@@ -43,7 +43,7 @@
 class HeaderParagraph(RenderedContentMixin, BaseParagraph):
     """Header paragraph"""
 
-    icon_class = 'fa-header'
+    icon_class = 'fa-download fa-rotate-180'
     icon_hint = _("Header")
 
     @property
--- a/src/pyams_content/component/paragraph/html.py	Wed Apr 25 17:03:56 2018 +0200
+++ b/src/pyams_content/component/paragraph/html.py	Wed Apr 25 17:32:29 2018 +0200
@@ -102,7 +102,7 @@
 class HTMLParagraph(BaseParagraph):
     """HTML paragraph"""
 
-    icon_class = 'fa-html5'
+    icon_class = 'fa-font'
     icon_hint = _("Rich text")
 
     body = FieldProperty(IHTMLParagraph['body'])
--- a/src/pyams_content/component/paragraph/zmi/header.py	Wed Apr 25 17:03:56 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/header.py	Wed Apr 25 17:32:29 2018 +0200
@@ -50,7 +50,7 @@
     """Header paragraph add menu"""
 
     label = _("Header...")
-    label_css_class = 'fa fa-fw fa-header'
+    label_css_class = 'fa fa-fw fa-download fa-rotate-180'
     url = 'add-header-paragraph.html'
     paragraph_type = HEADER_PARAGRAPH_TYPE
 
@@ -61,7 +61,7 @@
     """Header paragraph add form"""
 
     legend = _("Add new header paragraph")
-    icon_css_class = 'fa fa-fw fa-header'
+    icon_css_class = 'fa fa-fw fa-download fa-rotate-180'
 
     fields = field.Fields(IHeaderParagraph).select('header', 'renderer')
     ajax_handler = 'add-header-paragraph.json'
@@ -93,7 +93,7 @@
     prefix = 'header_properties.'
 
     legend = _("Edit header paragraph properties")
-    icon_css_class = 'fa fa-fw fa-header'
+    icon_css_class = 'fa fa-fw fa-download fa-rotate-180'
 
     fields = field.Fields(IHeaderParagraph).select('header', 'renderer')
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/html.py	Wed Apr 25 17:03:56 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/html.py	Wed Apr 25 17:32:29 2018 +0200
@@ -192,7 +192,7 @@
     """Rich text paragraph add menu"""
 
     label = _("Rich text...")
-    label_css_class = 'fa fa-fw fa-html5'
+    label_css_class = 'fa fa-fw fa-font'
     url = 'add-html-paragraph.html'
     paragraph_type = HTML_PARAGRAPH_TYPE
 
@@ -204,7 +204,7 @@
 
     legend = _("Add new rich text paragraph")
     dialog_class = 'modal-max'
-    icon_css_class = 'fa fa-fw fa-html5'
+    icon_css_class = 'fa fa-fw fa-font'
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
@@ -239,7 +239,7 @@
 
     legend = _("Edit rich text paragraph properties")
     dialog_class = 'modal-max'
-    icon_css_class = 'fa fa-fw fa-html5'
+    icon_css_class = 'fa fa-fw fa-font'
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'