Commit 4ccdbf9e authored by Olivier Valette's avatar Olivier Valette
Browse files

Initial commit

parents
/.idea/
/vendor/
/node_modules/
/var/
busters.json
\ No newline at end of file
[submodule "submodules/webapp-bundle"]
path = submodules/webapp-bundle
url = ../webapp-bundle
CHANGELOG
===================
Ce fichier est basé sur [Keep a Changelog](http://keepachangelog.com/)
et le projet utilise [Semantic Versioning](http://semver.org/).
## [En cours]
## [1.0.2] - 2019.10.01
### Update
- Mise à jour de la dépendance webapp-bundle
## [1.0.1] - 2018.01.15
### Update
- Mise à jour de la dépendance webapp-bundle
## [1.0.0] - 2018.07.12
### Ajout
- release initiale
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 26 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><path d="M12.317,29.708l-12.006,-12.081c-0.942,-0.942 0.47,-2.356 1.412,-1.413l9.572,9.584c0.387,0.388 0.706,0.264 0.706,-0.284l0,-24.124c0,-0.539 0.447,-0.992 0.999,-0.992c0.556,0 0.999,0.444 0.999,0.992l0,24.124c0,0.539 0.316,0.675 0.706,0.284l9.572,-9.584c0.942,-0.943 2.354,0.471 1.412,1.413l-11.972,12.081c-0.386,0.39 -1.013,0.39 -1.4,0Z" style="fill:#c5205d;"/></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 26 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><path d="M13.683,29.708l12.006,-12.081c0.942,-0.942 -0.47,-2.356 -1.412,-1.413l-9.572,9.584c-0.387,0.388 -0.706,0.264 -0.706,-0.284l0,-24.124c0,-0.539 -0.447,-0.992 -0.999,-0.992c-0.556,0 -0.999,0.444 -0.999,0.992l0,24.124c0,0.539 -0.316,0.675 -0.706,0.284l-9.572,-9.584c-0.942,-0.943 -2.354,0.471 -1.412,1.413l11.972,12.081c0.386,0.39 1.013,0.39 1.4,0Z" style="fill:#53bbad;"/></svg>
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 32 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g><path d="M29.703,28.338l-29.699,29.698l1.414,1.414l29.699,-29.698l-1.414,-1.414Z" style="fill:#fff;"/><path d="M1.418,0.054l29.699,29.699l-1.414,1.414l-29.699,-29.698l1.414,-1.415Z" style="fill:#fff;"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 210 194" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g id="Group">
<path id="Fill-4" d="M105.061,193.655L143.701,74.734L66.421,74.734L105.061,193.655Z" style="fill:rgb(226,67,41);"/>
<path id="Fill-8" d="M105.061,193.655L66.421,74.734L12.268,74.734L105.061,193.655Z" style="fill:rgb(252,109,38);"/>
<path id="Fill-12" d="M12.269,74.734L0.527,110.873C-0.545,114.169 0.628,117.78 3.433,119.817L105.062,193.655L12.269,74.734Z" style="fill:rgb(252,163,38);"/>
<path id="Fill-16" d="M12.269,74.734L66.422,74.734L43.149,3.109C41.952,-0.577 36.738,-0.576 35.541,3.109L12.269,74.734Z" style="fill:rgb(226,67,41);"/>
<path id="Fill-18" d="M105.061,193.655L143.701,74.734L197.854,74.734L105.061,193.655Z" style="fill:rgb(252,109,38);"/>
<path id="Fill-20" d="M197.854,74.734L209.596,110.873C210.667,114.169 209.494,117.78 206.69,119.817L105.061,193.655L197.854,74.734Z" style="fill:rgb(252,163,38);"/>
<path id="Fill-22" d="M197.854,74.734L143.701,74.734L166.974,3.109C168.171,-0.577 173.385,-0.576 174.582,3.109L197.854,74.734Z" style="fill:rgb(226,67,41);"/>
</g>
</svg>
/*
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
var jQuery = require("jquery");
(function ( $ ) {
'use strict';
var createHovers = function(hoveredClassName, highlghtedClassName) {
var $hoveredClassName = $(hoveredClassName);
var $highlghtedClassName = $(highlghtedClassName);
$hoveredClassName.hover( function() {
$highlghtedClassName.addClass('hover');
}, function() {
$highlghtedClassName.removeClass('hover');
});
}
$(function yourFunction() {
var $producer = createHovers('.cta--producer', '.banner--producer, .hero--producer');
var $diffuser = createHovers('.cta--diffuser', '.banner--diffuser, .hero--diffuser');
var $discover = createHovers('.cta--discover', '.banner--discover');
});
}( jQuery ));
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Fonts
// --------------------------------------------------
@import "../../../submodules/webapp-bundle/Resources/styles/core/fonts";
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Reset
// --------------------------------------------------
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/scaffolding";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/normalize";
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Typography
// --------------------------------------------------
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/type";
h1 {
color: $dge-primary;
margin-top: 0;
}
\ No newline at end of file
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Variables
// --------------------------------------------------
@import "../../../submodules/webapp-bundle/Resources/styles/adminlte/variables";
@import "../../../submodules/webapp-bundle/Resources/styles/settings/variables";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables";
$font-size-h1: floor(($font-size-base * 2.15)) ; // ~36px
$font-size-h2: floor(($font-size-base * 1.7)) ; // ~30px
$font-size-h3: ceil(($font-size-base * 1.5)) ; // ~24px
$headings-font-weight: 600;
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Animations
// --------------------------------------------------
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/component-animations";
@keyframes bounce{
from {transform: translateY(0);}
to {transform: translateY(-1em);}
}
@keyframes bounceX{
from {transform: translateX(0);}
to {transform: translateX(-0.25em);}
}
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
$producer-color: #53BBAD;
$diffuser-color: #C5205D;
$dark-color: #404040;
$discover-color: $dark-color;
$producer-hover-color: darken($producer-color, 5%);
$diffuser-hover-color: lighten($diffuser-color, 5%);
$discover-hover-color: darken($discover-color, 5%);
$banner-transition: 200ms;
.content--triangle {
width: 100%;
position: relative;
}
.banner {
color: #fff;
a {
color: #fff;
}
& {
transition: background $banner-transition ease;
}
&--producer {
background-color: $producer-color;
&.hover {
background-color: $producer-hover-color;
}
}
&--diffuser {
background-color: $diffuser-color;
&.hover {
background-color: $diffuser-hover-color;
}
}
&--discover {
background-color: $discover-color;
padding-top: $grid-gutter-width*3;
padding-bottom: $grid-gutter-width*2;
height:0; // fix ie v-align with flexbox...
min-height: 33vh;
vertical-align: middle;
display: flex;
justify-content: center;
align-items: center;
&.hover {
background-color: $discover-hover-color;
}
}
&--git {
background-color: #4D4D4D;
padding: $grid-gutter-width $grid-gutter-width;
text-align: center;
line-height: 1;
}
}
.banner--triangle {
position: absolute;
top: 0;
height: 100%;
width: 50%;
//box-sizing: border-box;
$triangle-height: $grid-gutter-width;
$triangle-width: 25vw;
&.banner--producer {
left: 0;
}
&.banner--diffuser {
right: 0;
}
&::before, &::after {
content: "";
position: absolute;
width: 0;
height: 0;
border-style: solid;
}
&::after {
transition: border-color $banner-transition ease;
}
&::before {
top: 0;
z-index: 100;
}
&.banner--producer::before {
right: 0;
border-width: 0 $triangle-width $triangle-height 0;
border-color: transparent white transparent transparent;
/*border-width: $triangle-height $triangle-width $triangle-height 0;
border-color: transparent white transparent transparent;*/
}
&.banner--diffuser::before {
border-width: $triangle-height $triangle-width 0 0;
border-color: white transparent transparent transparent;
}
&::after {
top: 100%;
}
&.banner--producer::after {
right: 0;
border-width: 0 $triangle-width $triangle-height 0;
border-color: transparent $producer-color transparent transparent;
}
&.banner--producer.hover::after {
border-color: transparent $producer-hover-color transparent transparent;
}
&.banner--diffuser::after {
border-width: $triangle-height $triangle-width 0 0;
border-color: $diffuser-color transparent transparent transparent;
}
&.banner--diffuser.hover::after {
border-color: $diffuser-hover-color transparent transparent transparent;
}
}
/*@keyframes bounce {
from, 20%, 53%, 80%, to {
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
transform: translate3d(0,0,0);
}
40%, 43% {
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
transform: translate3d(0, -30px, 0);
}
70% {
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
transform: translate3d(0, -15px, 0);
}
90% {
transform: translate3d(0, -4px, 0);
}
}*/
.hero {
text-align: center;
//border: 1px solid red;
align-items: stretch;
display: flex;
flex-direction: column;
justify-content: center;
//min-height: 100px+($grid-gutter-width*4);
padding: $grid-gutter-width*4 0;
min-height: 33vh;
&__title {
font-weight: 800;
text-transform: uppercase;
font-size: 32px;
color: #4D4D4D;
@media (max-width: $screen-xs-min) {
font-size: 18px;
}
}
&__image {
$width: 88px;
$height: 101px;
//////////////
opacity: 0.1;
width: $width;
height: $height;
top: 50%;
position: absolute;
left: 50%;
margin-left: -$width/2;
margin-top: -$height/2;
}
&__arrow {
$width: 26px*2.5;
$height: 30px*2.5;
//////////////
width: $width;
height: $height;
position: absolute;
left: 50%;
margin-left: -$width/2;
margin-top: -$height/2;
//transform: rotate(180deg);
top: 50%;
-webkit-backface-visibility: hidden;
transition: transform $banner-transition ease;
@media (max-width: $screen-xs-min) {
$width: 26px*2;
$height: 30px*2;
width: $width;
height: $height;
margin-left: -$width/2;
margin-top: -$height/2;
}
}
&--producer &__arrow {
margin-top: -30px*3.5;
}
&--diffuser &__arrow {
margin-top: 30px*1;
}
&.hover &__arrow {
/*animation-name: bounce;
transform-origin: center bottom;
animation-duration: 1s;
animation-fill-mode: both;*/
animation: bounce 0.35s ease infinite alternate;
}
}
\ No newline at end of file
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
//
// Buttons
// --------------------------------------------------
$discover-title-size: 36px;
$discover-subtitle-size: 26px;
.cta {
position: relative;
z-index: 10;
display: block;
text-align: center;
color: #fff;
font-size: 1.25em;
line-height: 1;
font-weight: 300;
position: relative;
/*span:first-child, span:last-child {
transition: transform 200ms ease;
}*/
&:hover, &:focus, &:active {
text-decoration: none;
color: white;
/*& > span:first-child {
transform: translate3d(-0.25em,0,0);
}
& > span:last-child {
transform: translate3d(0.25em,0,0);
}*/
}
span {
display: block;
}
span span {
display: inline;
}
&--producer, &--diffuser {
font-size: 24px;
font-style: italic;
padding: $grid-gutter-width*1.5 0;
line-height: 1;
@media (max-width: $screen-xs-min) {
font-size: 1em;
}
span b {
font-size: 36px;
text-transform: uppercase;
@media (max-width: $screen-xs-min) {
font-size: 1.5em;
}
}
}
&--discover {
font-weight: 300;
text-transform: uppercase;
line-height: 1.15;
span {
font-size: $discover-subtitle-size;
@media (max-width: $screen-xs-min) {
font-size: $discover-subtitle-size*0.75;
}
//
}
}
}
.cta-chevron {
$height: $discover-title-size + $discover-subtitle-size;
height: $height;
left: 0;
top: 15px;
position: absolute;
margin-left: -$height/1.25;
@media (max-width: $screen-xs-min) {
display: none;
}
-webkit-backface-visibility: hidden;
transition: transform 0.35s ease;
.banner--discover.hover & {
transform: translateX(-0.25em);
}
}
/*!
* This file is part of the DATAtourisme project.
* 2022
* @author Conjecto <contact@conjecto.com>
* SPDX-License-Identifier: GPL-3.0-or-later
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/
@import "../../../submodules/webapp-bundle/Resources/styles/modules/_http-error.scss";
@import "../../../submodules/webapp-bundle/Resources/styles/components/_blankslate.scss";
.http-error .blankslate h3 {
font-weight: 500;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment