From: soufiane Date: Thu, 26 Feb 2026 13:51:07 +0000 (+0100) Subject: wip #8018 @2:00 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0fc5a8a3aabb7804b28ad7035d2fc929ed84fb94;p=fluidbook-v3.git wip #8018 @2:00 --- diff --git a/framework/application/Bootstrap.php b/framework/application/Bootstrap.php index 2f6e779..d35bd6a 100644 --- a/framework/application/Bootstrap.php +++ b/framework/application/Bootstrap.php @@ -27,6 +27,7 @@ class Bootstrap extends CubeIT_Bootstrap $templates['agences'] = 'Agences'; $templates['faq'] = 'FAQ'; $templates['blog'] = 'Blog'; + $templates['accessibility'] = 'Accessibilité'; $templates = array_merge($templates, parent::getCMSTemplates()); return $templates; } diff --git a/framework/application/forms/CMS/Accessibility.php b/framework/application/forms/CMS/Accessibility.php new file mode 100644 index 0000000..dd448f2 --- /dev/null +++ b/framework/application/forms/CMS/Accessibility.php @@ -0,0 +1,29 @@ +setLabel('Détails'); + $this->addSubForm($details, 'details'); + + $features_standard_title = new CubeIT_Form_Element_Textarea('features_standard_title'); + $features_standard_title->setLabel('Titre pour "Fonctionnalités standard"'); + $features_standard_title->setAttrib('rows', 3); + $this->addElement($features_standard_title); + + $features_standard = new Fluidbook_Form_CMS_Sub_Features_Features(); + $features_standard->setLegend('Fonctionnalités standard'); + $this->addSubForm($features_standard, 'features_standard'); + + $features_title = new CubeIT_Form_Element_Textarea('features_title'); + $features_title->setLabel('Titre pour "Fonctionnalités spécifiques"'); + $features_title->setAttrib('rows', 3); + $this->addElement($features_title); + + $features = new Fluidbook_Form_CMS_Sub_Features_Features(); + $features->setLegend('Fonctionnalités spécifiques'); + $this->addSubForm($features, 'features'); + } +} \ No newline at end of file diff --git a/framework/application/views/scripts/templates/accessibility.phtml b/framework/application/views/scripts/templates/accessibility.phtml new file mode 100644 index 0000000..45e56ef --- /dev/null +++ b/framework/application/views/scripts/templates/accessibility.phtml @@ -0,0 +1,13 @@ +headScript()->addFeatherlight('1.6.1'); +$this->headScript()->addScriptAndStyle('410-features'); +$this->headScript()->addScriptAndStyle('420-features-details'); + +$res = $this->introBlock($this->intro); +$res .= $this->featureDetails($this->details); +$res .= $this->featuresSection($this->features_standard_title, $this->features_standard); +$res .= $this->featuresSection($this->features_title, $this->features); +$res .= $this->contactFooter(); + +echo $res; diff --git a/less/420-features-details.less b/less/420-features-details.less index ae7a8fb..35df9e1 100644 --- a/less/420-features-details.less +++ b/less/420-features-details.less @@ -21,14 +21,9 @@ h3 { font-family: @playfair; + text-transform: uppercase; font-weight: 500; margin-bottom: 15px; - font-size: 40px; - line-height: 45px; - @media @m900 { - font-size: 2.17em; - line-height: normal; - } } } @@ -136,4 +131,15 @@ } } - +.elearning, +.accessibilite { + #featureDetails article .content h3 { + font-size: 40px; + line-height: 45px; + text-transform: initial; + @media @m900 { + font-size: 2.17em; + line-height: normal; + } + } +} \ No newline at end of file