--- /dev/null
+<?php
+
+class Cubedesigners_Form_CMS_Recommendation extends Cubedesigners_Form_CMS_Twocolumns
+{
+
+ public function init()
+ {
+ parent::init();
+
+ $cv = new CubeIT_Form_Element_Markitup('contract_vehicles');
+ $cv->setLabel('Contract Vehicles');
+ $this->addElement($cv);
+
+ $cv = new CubeIT_Form_Element_Markitup('company_information');
+ $cv->setLabel('Company information');
+ $this->addElement($cv);
+
+ $cv = new CubeIT_Form_Element_Markitup('contract_contact');
+ $cv->setLabel('Who to contact');
+ $this->addElement($cv);
+ }
+
+}
--- /dev/null
+<?php
+
+$this->headScript()->addScriptAndStyle('recommendation');
+echo $this->twocols();
+echo $this->textLayer($this->contract_vehicles, 'blue pb-4vw pt-4vw');
+echo $this->textLayer($this->company_information, 'company_information small-margin-paragraphs pb-4vw');
+echo $this->textLayer($this->contract_contact, 'blue pb-4vw pt-4vw');
\ No newline at end of file
--- /dev/null
+TO_LOAD_ONCE[TO_LOAD_ONCE.length] = 'load_recommendations();';
+
+function load_recommendations() {
+ $('.company_information a').each(function () {
+ let t = $(this).text();
+ $(this).addClass('animated-arrow').addClass('discreet');
+ $(this).html('<span class="the-arrow -left"><span class="shaft"></span></span><span class="main"><span class="text">' + t + '</span><span class="the-arrow -right"><span class="shaft"></span></span>');
+ });
+}
\ No newline at end of file
@content-max-width: 1920px;
@small : ~"screen and (max-width: 1024px)";
-// Todo: replace variables properly
@roboto: 'Raleway', sans-serif;
@Klavika: 'Raleway', sans-serif;
@yellow: #469ef6;
@black: #242323;
@blue: #0d4d8e;
+@lightblue: #469ef6;
@import "01-mixins";
@import "02-utilities";
}
}
- &.animated-arrow {
- text-transform: uppercase;
- }
-
&.arrow-link {
.link(@black, @yellow);
display: inline-block;
+++ /dev/null
-@import "00-constants";
-
-.citation {
- background-color: #eeeff3;
- padding: 70px 0;
- margin-bottom: 50px;
-
- blockquote {
- font-size: 32px;
- font-style: italic;
- font-family: @Klavika;
- line-height: 1.2;
- text-align: center;
- margin: 0 auto;
- width: 80%;
- max-width: 800px;
-
-// white-space: pre-line;
-
- @media screen and (max-width: 1048px) {
-// white-space: normal;
-
- }
- }
-}
-
-.citation-author {
- font-size: 18px;
- margin-top: 15px;
-}
\ No newline at end of file
color: #242323;
padding-bottom: 50px;
padding-left: 60px;
- background-image: url('../images/picto_footer_mail.svg');
+ background-image: url('/images/picto_footer_mail.svg');
}
.bureau {
float: left;
@arrow-head-width: 8px;
@arrow-head-thickness: @shaft-thickness;
-
-// Todo: check why colour of right-hand arrow is glitchy on mouseout. See original codepen - maybe related to using currentColor...
-
-
// The Arrow
.the-arrow {
width: @shaft-width;
// Animated Arrow Button
.animated-arrow {
+ text-transform: uppercase;
+
+ &.discreet{
+ text-transform: none;
+ text-decoration: none;
+ }
display: inline-block;
//color: currentColor;
//font-size: 1.25em;
--- /dev/null
+@import "00-constants";
+
+h4 {
+ margin: 12px 0;
+}
+
+h3{
+ margin-bottom: 2em;
+}
+
+.blue a {
+ color: @lightblue;
+}
+
+.small-margin-paragraphs p {
+ margin: 5px 0 !important;
+}
\ No newline at end of file