Compare commits

...

11 Commits

Author SHA1 Message Date
Thomas Jund e2ede0064e villeneuve-dascq: patch header back home link url (#44689)
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit Details
gitea/publik-base-theme/pipeline/head Something is wrong with the build of this commit Details
2020-07-03 18:05:47 +02:00
Thomas Jund 7f8174fad6 villeneuve-dascq: ajust styles of meetings_table prev/next buttons (#44597) 2020-07-03 18:05:42 +02:00
Thomas Jund 49dfb1e18c villeneuve-dascq: move header baseline outside logo link (#44590) 2020-07-03 18:05:35 +02:00
Thomas Jund cde7bb80e2 villeneuve-dascq: add styles for notices child links (#44583) 2020-07-03 18:05:29 +02:00
Thomas Jund 74e2bc55a6 villeneuve-dascq: ajust wcs "title widget" font weight (#44582) 2020-07-03 18:05:24 +02:00
Thomas Jund 60fabdc986 villeneuve-dascq: improve "top-bandeau" layout on desktop (#44572)
* increase carrousel height,
* carrousel layout more responsive,
* vertical align for tracking-code-cell content,
2020-07-03 18:05:15 +02:00
Thomas Jund 2654010d8a villeneuve-dascq: replace footer skyline image (#44571) 2020-07-03 18:04:54 +02:00
Frédéric Péters 9de209f879 toodego: fix display of image file widget (#44553) 2020-06-29 21:25:42 +02:00
Frédéric Péters 03950dd141 toodego: remove support for backlink identifiers (#44554) 2020-06-29 21:25:42 +02:00
Thomas Jund 47f117db14 rename folder region-reunion to la-reunion-region (#41534) 2020-06-27 17:14:22 +02:00
Thomas Jund be19d6aac7 roannais-icitoyen: restore nav toggle (#44480)
toggle stop working after #43414
2020-06-26 11:41:47 +02:00
13 changed files with 78 additions and 806 deletions

View File

@ -1,5 +1,5 @@
{
"label": "Région Réunion",
"label": "La Réunion (région)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#00579e",

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -215,6 +215,12 @@ div.gru-nav {
+ ul {
display: none;
}
&.toggled + ul {
display: block;
}
+ ul {
margin: 0;
text-transform: uppercase;
font-size: $fz-small;

View File

@ -644,7 +644,11 @@ div#nav span.badge::after {
}
}
#backlink, .backlink {
.cell.backlink p {
margin: 0;
}
.backlink a, a.backlink {
color: black;
background: url(img/back-arrow.png) 0 5px no-repeat;
padding-left: 40px;
@ -654,7 +658,7 @@ div#nav span.badge::after {
font-family: Oswald;
font-weight: 400;
@media screen and (max-width: $desktop-limit) {
margin-top: 2rem;
margin-top: 0rem;
margin-left: 1rem;
}
&:hover {
@ -665,6 +669,10 @@ div#nav span.badge::after {
}
}
.cell.backlink + #content {
margin-top: 1rem;
}
a#collectivity-services {
text-transform: uppercase;
background: white;

View File

@ -19,6 +19,7 @@ div.file-upload-widget {
&::before {
content: "";
background: url(img/photo-add.png) 50% 0px no-repeat;
box-sizing: content-box;
height: 40px;
}
}

View File

@ -81,19 +81,36 @@ input, textarea, select {
#messages li.success, .successnotice,
#messages li.info, .infonotice {
color: white;
a {
color: inherit;
font-weight: bold;
border-bottom: 2px solid hsla(0, 0%, 100%, .4);
&:hover {
text-decoration: none;
border-bottom: 2px solid hsla(0, 0%, 100%, .8);
}
}
}
div.meetings_table {
& > div {
}
div.head {
border-bottom: 2px solid $primary-color;
font-weight: 900;
}
button {
button.next,
button.prev {
height: 2.8em;
flex: 0 0 2.8em;
border: 2px solid white;
box-shadow: 0 0 0 3px $button-background;
// arrow: use background image instead UTF8 charater
text-indent: -1000em;
background-repeat: no-repeat;
background-size: 1em;
background-position: center;
@include arrowIcon($property: "background-image");
&:hover, &:focus {
box-shadow: 0 0 0 3px $primary-color, 0px 0px 10px #777 !important;
}
@ -102,6 +119,10 @@ div.meetings_table {
border: 2px solid white;
box-shadow: 0 0 0 3px grayscale($button-background);
}
&.prev {
transform: rotate(0.5turn);
}
}
div span {
@ -200,7 +221,7 @@ div.cell {
}
}
div.carrousel-nav {
top: $theme-gutter-mobile*2;
top: $theme-gutter-mobile*3;
left: $theme-gutter-mobile*2;
width: auto;
@media ($min-desktop-viewport) {
@ -226,7 +247,7 @@ div.cell {
background-size: 1.5rem;
@include arrowIcon($property: background-image);
top: $theme-gutter;
top: $theme-gutter-mobile*2;
right: $theme-page-padding;
&::after {
content: none;
@ -416,39 +437,38 @@ div#main-content-wrapper,
padding: 0 !important;
flex: 1;
font-size: $fz-h5;
color: $primary-color;
display: flex;
align-items: center;
font-weight: 800;
// Logo
a {
font-weight: 800;
display: block;
box-sizing: content-box;
display: flex;
align-items: center;
height: $header-height-desktop;
background: url(img/vascq-logo-couleur.png) no-repeat;
background-position: left top 5px;
padding-left: 220px;
background-size: 220px auto;
margin-right: $theme-gutter-mobile;
text-indent: -10000em;
@media ($max-mobile-viewport) {
height: $header-height-mobile;
padding-left: 110px;
background-size: 110px auto;
background-position: left center;
width: 0;
text-indent: -10000em;
}
}
// baseline
.theme-header--baseline {
padding: 0.6em 0 0.4em;
padding-left: $theme-half-gutter;
border-left: 1px solid;
// separator
&::after {
content: "";
display: inline-block;
height: 2em;
width: 1px;
order: -1;
margin: $theme-half-gutter;
background-color: $primary-color;
@media ($max-mobile-viewport) {
@include sr-only();
}
}
}
@ -664,11 +684,16 @@ div.gru-nav {
margin-right: $theme-gutter-mobile;
margin-left: $theme-gutter-mobile;
}
@media ($min-desktop-viewport) {
display: flex;
align-items: center;
}
}
.carrousel {
// stretch all flex space
@media ($min-desktop-viewport) {
position: relative;
padding-top: 38%;
> div {
position: absolute;
top: 0;
@ -684,9 +709,6 @@ div.gru-nav {
// Desktop layout
@media ($min-desktop-viewport) {
display: flex;
& > .cell:first-child {
flex: 1 0 auto;
}
& > .cell:last-child {
flex: 0 0 calc( (100% - #{$theme-gutter}) / 3 );
@media (min-width: $width + 1) {
@ -694,6 +716,9 @@ div.gru-nav {
}
}
& > .cell:first-child {
flex: 1 0 auto;
}
}
}
@ -917,7 +942,7 @@ body.no-overflow {
h3 {
font-size: $fz-h4;
font-weight: 900;
font-weight: 700;
color: $primary-color;
}
// buttons icons & colors

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 80 KiB

View File

@ -1,9 +1,18 @@
{% extends "combo/page_template.html" %}
{% load combo static %}
{% block header-title %}
<h1 id="logo">
<a accesskey="1" href="{% firstof logo_link_url portal_url '/' %}" alt="Villeneuve d'Ascq">Retour villeneuvedascq.fr</a>
<span class="theme-header--baseline">
{% firstof global_title site_title "Compte Citoyen" %}
</span>
</h1>
{% endblock %}
{% block user-info %}
<span class="theme-back-home">
<a href="{{site_base}}" title="retour à l'accueil">Accueil</a>
<a href="{{portal_url}}" title="retour à l'accueil">Accueil</a>
</span>
{{ block.super }}
{% endblock %}
@ -32,7 +41,7 @@
{% block footer %}
<div class="footer-imgs">
<img class="logo-blanc" src="{{site_base}}{% static "" %}{{css_variant}}/img/vasqc-logo-blanc.png">
<img class="skyline" src="{{site_base}}{% static "" %}{{css_variant}}/img/skyline.svg" >
<img class="skyline" src="{{site_base}}{% static "" %}{{css_variant}}/img/skyline-blanc.png" >
</div>
{{ block.super }}
{% endblock %}