villerslebouillet : 2019 theme init

This commit is contained in:
Daniel Muyshond 2019-11-29 16:17:59 +01:00
parent 4a889d0af1
commit 1ac54c87d8
10 changed files with 96 additions and 146 deletions

View File

@ -1,57 +1,8 @@
@charset "UTF-8";
/* Remove border on fields validate form page */
input[readonly], select[readonly], textarea[readonly] {
border-width: 0;
padding-left: 0;
padding-top: 0;
@charset "UTF-8";
/* nav border radius sticky banner fix */
div.gru-nav {
border-radius: 0 0 3px 3px;
}
a {
color:#205c90;
}
body {
background-image: url("images/bg.png");
background-repeat:no-repeat;
background-attachment: fixed;
background-position:top left;
}
div#rub_service div.category ul > li > a, div#services > ul > li > ul > li > a, div#account-management ul > li > a, div.links-list ul > li > a, div.menucell ul > li > a, div.wcsformcell > li > a, div.categoriescell ul > li > a, div.wcsformsofcategorycell ul > li > a, div.wcscurrentdraftscell ul > li > a, div.wcscurrentformscell ul > li > a {
border-bottom: None;
}
div#rub_service div.category h3, #content div.a2-block h2, #content div.block h2, div.links-list h2, div#services > ul > li > strong > a, #content div.textcell h2:first-child, #content div.cell h2:first-child, div#tracking-code h3, div#rub_service h2 {
background-color: #d8297b;
}
/*Good gormat for Last list item*/
form li:last-child {
border-top: None!important; /*1px solid black;*/
/*display: block;*/
font-size: 1em;
margin-top: 0em;
padding-top: 0em;
width: 98%;
}
/*Current selected page : good font color */
div#steps ol li.current {
background: white none repeat scroll 0 0;
border: 0 none;
color: #D8297B;
}
div.wcsformsofcategorycell div.description {
display:none;
}
a#publik-portal-agent {
top: 30px;
right: 6%;
border:None
div.gru-nav > ul > li:first-child > a {
border-radius: 0px 0 0 3px;
}

View File

@ -0,0 +1,79 @@
@charset "UTF-8";
/*STYLE*/
$primary-color: hsl(359, 89%, 42%);
$width: 1200px;
$mobile-limit: 800px;
$font-size: 18px !default;
$button-color: white;
$cell-entry-hover-effect: left-to-right;
$theme2019: true;
$link-color: $primary-color;
$font-family: "Din"; //!\\ : il faut bien importer la font (voir les imports en bas de la page)!
$border-radius: 3px;
/*BASKET*/
/*CELL*/
$cell-border: 0px;
$cell-entry-color: white;
$cell-entry-hover-background: hsl(44, 100%, 49%);
$cell-links-color: hsl(210, 23%, 19%);
$cell-links-color-hover: hsl(210, 23%, 19%);
$cell-links-bg-color: white;
/*FORM-BUTTON*/
$button-hover-background-color: darken($primary-color, 8%);
$button-background: $primary-color;
/*FOOTER*/
/*HEADER*/
$header-banner: none;
$header-banner-image: true;
$header-banner-height: auto;
$header-logo: None;
$header-logo-margin: 1.7em 0 0 0.2em !default;
$header-logo-padding: 0;
$toplinks-border: 0;
$toplinks-radius: 0;
$toplinks-shadow: none;
/*LOGIN*/
// hsl(44, 100%, 49%) rouge
// hsl(210, 23%, 19%) anthracite
// hsl(359, 89%, 42%) rouge
/*MENU*/
$nav-background: hsl(44, 100%, 49%);
$nav-color: hsl(210, 23%, 19%);
$nav-active-color: hsl(359, 89%, 42%);
$nav-item-selected-color: #FFF;
$nav-item-selected-background: hsl(359, 89%, 42%);
$nav-text-uppercase: uppercase;
/*MENU RESPONSIVE*/
$nav-button-color: #FFF;
$nav-menu-color: $primary-color;
/*PWA*/
$nav-mobile-bottom-bar-height: 75px;
$nav-mobile-bottom-bar-background: $primary-color;
$nav-mobile-bottom-bar-color: #FFF;
$nav-mobile-bottom-bar-item-hover-background: $primary-color;
/*RESPONSIVE*/
/*SHARE*/
$hidden-description: false;
/*TITLE*/
$title-color: #525252;
$title-padding: 1em 0em 1em 0.8em;
$title-weight: bold;

View File

@ -2,6 +2,8 @@
"label": "Villers-le-Bouillet",
"variables": {
"no_extra_js": false,
"theme_color": "#DBCCBC"
"pwa_display": "standalone",
"theme_color": "F4B60D",
"favicon": "villerslebouillet/images/favicon.ico"
}
}
}

View File

@ -1,67 +1,5 @@
$(function() {
$.getScript('/static/imio/common.js', function() {
});
/* similar demands */
if ($('#map-similar').length) {
var geojsonMarkerOptions = {
radius: 8,
fillColor: "#ff2000",
color: "#000",
weight: 1,
opacity: 1,
fillOpacity: 0.8
};
$(document).on('wcs:maps-ready', function() {
$('.qommon-map').each(function() {
var $map_widget = $(this);
var map = $map_widget[0].leaflet_map;
var geojson_url = $('#similar').data('geojson-url');
var counter = 1;
var geo_json = null;
$(map).on('zoomend moveend', function() {
var similar_list = $('#similar-list');
similar_list.empty();
map.eachLayer(function(layer){
if (layer instanceof L.Marker && map.getBounds().contains(layer.getLatLng())) {
if (layer.feature && layer.feature.properties.counter) {
var gnm_url = $('body').data('gnm-url');
var feature_html = '<div><span class="marker-counter">' +
layer.feature.properties.counter + '</span> ' +
'<span class="type-probleme">' + layer.feature.properties.type_probleme + '</span> ' +
'<span class="message">' + layer.feature.properties.message + '</span> ' +
'<span class="datetime">Signalé ' + layer.feature.properties.datetime + '</span>' +
'<a class="plus1" href="' + gnm_url + 'gnm/plusone/?ref=' + layer.feature.properties.reference + '">Je confirme</a></div>';
$(feature_html).appendTo(similar_list);
}
}
});
});
if (geojson_data) {
var geo_json = L.geoJson(geojson_data,
{
pointToLayer: function (feature, latlng) {
var markerStyles = "background-color: #292E48; font-size: 80%;";
marker = L.divIcon({
iconAnchor: [0, 0],
popupAnchor: [5, -45],
html: '<span style="' + markerStyles + '"><i class="leaflet-marker-icon ' +
'" style="color: white; font-family: inherit; font-weight: bold;' +
'">' + counter + '</i></span>'
});
feature.properties.counter = counter;
counter += 1;
return L.marker(latlng, {icon: marker});
}
});
geo_json.addTo(map);
$(map).trigger('moveend');
}
});
});
}
}); /* end */

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,39 +1,19 @@
@charset "UTF-8";
$primary-color: #D8297B;
$width: 950px;
$mobile-limit: 800px;
$font-size: 13px !default;
$font-family: sans-serif !default;
$nav-background: #CCCCCC;
$nav-color: #333333;
$nav-active-color: transparent;
$nav-item-selected-color: white;
$border-radius: 3px;
$button-background: #d8297b;
$button-color: white;
$title-background: $nav-item-selected-color;
$title-color: white;
$cell-entry-hover-effect: left-to-right;
$href-color: $title-background;
$highlight-text-color: $primary-color;
/*IMIO SHARE : Affichage du message de connexion au portail agent*/
$a_portal_agent_background: None;
$a_portal_agent_color: black;
$a_portal_agent_top: 30px;
$a_portal_agent_right: 6%;
$a_portal_agent_border: None;
/*end IMIO SHARE*/
@import 'vars';
@import '../../publik-base-theme/static/includes/publik';
@import '../../publik-base-theme/static/includes/font-din';
@import '../imio/form-buttons';
@import '../imio/header';
@import '../imio/menu';
@import '../imio/login';
@import '../imio/basket';
@import '../imio/basketv2';
@import '../imio/footer';
@import '../imio/extra';
@import '../imio/share';
/*@import 'custom';*/
@import '../imio/cells';
@import '../imio/responsive';
@import 'custom';