[MTELETHU-4] fix logo by updating to last theme structure
This commit is contained in:
parent
065964035b
commit
12b5cc5a3b
|
@ -1,56 +1,14 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
/* logo adjustments */
|
||||
|
||||
h1#logo a img {
|
||||
max-height: 160px;
|
||||
/* Custom selection color because that can be done and it's cool */
|
||||
::selection {
|
||||
color: white;
|
||||
background-color: $primary-color;
|
||||
}
|
||||
|
||||
/* Remove border on fields validate form page */
|
||||
input[readonly], select[readonly], textarea[readonly] {
|
||||
border-width: 0;
|
||||
padding-left: 0;
|
||||
padding-top: 0;
|
||||
/* remove annoying border I can't remove with EO vars at the moment */
|
||||
div.links-list ul > li:not(:last-child) {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
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%;
|
||||
}
|
||||
|
||||
div.wcsformsofcategorycell div.description {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
a#publik-portal-agent {
|
||||
top: 30px;
|
||||
right: 6%;
|
||||
border:None
|
||||
}
|
||||
|
|
|
@ -1,67 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
/* FUNCTIONNAL CSS IN FORMS */
|
||||
/* Tableau de liste */
|
||||
form.quixote div.tableselect div.title {
|
||||
margin-bottom:-1em;
|
||||
margin-top:4em;
|
||||
}
|
||||
|
||||
form.quixote div.tableselect div.title label {
|
||||
text-decoration:underline;
|
||||
color:#03A7EA;
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
form.quixote div.tableselect div.hint {
|
||||
font-weight:italic;
|
||||
color:#03A7EA;
|
||||
}
|
||||
|
||||
form.quixote div.tableselect table {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
form.quixote div.tableselect table td {
|
||||
text-align:right;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
form.quixote div.tableselect table th {
|
||||
text-align:left;
|
||||
font-weight:normal;
|
||||
}
|
||||
/* End of Tableau de liste */
|
||||
|
||||
/* Rentre un champs invisible grace aux styles complementaires*/
|
||||
form.quixote div.hidden, div.invisible{
|
||||
display:none;
|
||||
}
|
||||
/* Rendre un titre invisible dans les formulaires grace aux styles complementaires*/
|
||||
form.quixote h3.hidden {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/*new style in forms : montant to print 'euros'*/
|
||||
div.montant > div.content::after{
|
||||
content:"€";
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
/* Afficher les checkboxs sous forme de "tableau"*/
|
||||
form.quixote div.td_chk {
|
||||
display:flex;
|
||||
width:30%;
|
||||
}
|
||||
|
||||
form.quixote div.td_chk > div.content {
|
||||
margin-left:auto;
|
||||
margin-right:0px;
|
||||
}
|
||||
/* end Afficher les checkboxs sous forme de "tableau"*/
|
||||
|
||||
form.quixote div.valign_longtext {
|
||||
min-height: 5em;
|
||||
display: flex!important;
|
||||
flex-flow: column;
|
||||
justify-content: space-between;
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
div#header {
|
||||
background-image: url("images/banner.jpg");
|
||||
background-size: $width 389px;
|
||||
background-repeat:no-repeat;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
top: 0px;
|
||||
z-index: 0;
|
||||
padding: 0 1ex; }
|
||||
|
||||
h1#logo {
|
||||
background: url("images/logo.png") 10px 10px no-repeat;
|
||||
}
|
||||
|
||||
h1#logo a {
|
||||
color: #484248;
|
||||
display: block;
|
||||
padding-top: 120px;
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
a#publik-portal-agent {
|
||||
background:$a_portal_agent_background;
|
||||
color:$a_portal_agent_color;
|
||||
top: $a_portal_agent_top;
|
||||
right: $a_portal_agent_right;
|
||||
border:$a_portal_agent_border;
|
||||
}
|
||||
|
||||
select {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
background: url("../imio/images/dropdown.png") right / 20px no-repeat #fff;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
/*Print eID mini picture next to "demarche" name*/
|
||||
#columns .wcsformsofcategorycell ul li.required-fedict-authentication a::after {
|
||||
background-color: Transparent;
|
||||
content: url("../imio/images/beid_image_mini.png");
|
||||
display: inline-block;
|
||||
height: 22px;
|
||||
@if global-variable-exists("eid_margin_left") {
|
||||
margin-left: 80%;
|
||||
} @else {
|
||||
margin-left: 105%;
|
||||
}
|
||||
|
||||
margin-top: 0.7em;
|
||||
text-align: right;
|
||||
width: 34px;
|
||||
}
|
||||
/* End Print eID...*/
|
||||
|
||||
/* Display correctly grid-1-4 when text title is on 2 lines.*/
|
||||
|
||||
|
||||
/*div#content div#rub_service > form.quixote div.grid-1-4,
|
||||
div#content div#rub_service > form.quixote div.grid-3-4
|
||||
{
|
||||
min-height: 5em;
|
||||
display: flex!important;
|
||||
flex-flow: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
/* end Display...*/
|
|
@ -0,0 +1,73 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
/*STYLE*/
|
||||
$primary-color: #D03948;
|
||||
$width: 1200px;
|
||||
$mobile-limit: 800px;
|
||||
$font-size: 16px !default;
|
||||
$button-color: white;
|
||||
$cell-entry-hover-effect: left-to-right;
|
||||
$theme2019: true;
|
||||
$link-color: $primary-color;
|
||||
$font-family: "Din";
|
||||
$border-radius: 3px;
|
||||
|
||||
/*BASKET*/
|
||||
|
||||
|
||||
/*CELL*/
|
||||
$cell-border: 0px;
|
||||
$cell-entry-hover-background: darken($primary-color, 3%);
|
||||
$cell-title-color: #333333;
|
||||
|
||||
/*FORM-BUTTON*/
|
||||
$button-hover-background-color: darken($primary-color, 8%);
|
||||
$button-background: $primary-color;
|
||||
|
||||
/*FOOTER*/
|
||||
$footer-background-color: hsl( 0, 0%, 19%);
|
||||
$footer-text-color: hsl(0, 0, 84%);
|
||||
$footer-hover-text-color: hsl(0, 0, 100%);
|
||||
|
||||
|
||||
/*HEADER*/
|
||||
$header-banner: none;
|
||||
$header-banner-image: false;
|
||||
$header-banner-height: auto;
|
||||
$header-logo: None;
|
||||
$header-logo-margin: 0 0 0 0 !default;
|
||||
$header-logo-padding: 0;
|
||||
$toplinks-border: 0;
|
||||
$toplinks-radius: 0;
|
||||
$toplinks-shadow: none;
|
||||
|
||||
/*LOGIN*/
|
||||
|
||||
|
||||
/*MENU*/
|
||||
$nav-background: #F2F2F2;
|
||||
$nav-color: #333;
|
||||
$nav-active-color: $primary-color;
|
||||
$nav-item-selected-color: #FFF;
|
||||
$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: 600;
|
|
@ -1,14 +0,0 @@
|
|||
$(function() {
|
||||
|
||||
// hide page in backoffice
|
||||
var $bo_noshowpage = $('div#summary > div.dataview .bo_noshowpage');
|
||||
$bo_noshowpage.each(function() {
|
||||
$(this).parents('div.page').eq(0).css('display','none');
|
||||
});
|
||||
|
||||
/*var $bo_noshowpage = $('div#summary > div.dataview .bo_noshowpage')
|
||||
$bo_noshowpage.each(function() {
|
||||
$(this).parent().parent().css('display','none');
|
||||
});*/
|
||||
|
||||
});
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Add var in :
|
||||
* /var/lib/wcs/tenant/site-option.cfg > [variables]
|
||||
* portal_agent_extra_css = https://COMMUNE.guichet-citoyen.be/static/imio/bo_share.css
|
||||
*
|
||||
* */
|
||||
|
||||
|
||||
div#summary > div.dataview .bo_noshow {
|
||||
display:none;
|
||||
}
|
|
@ -2,6 +2,8 @@
|
|||
"label": "Thuin",
|
||||
"variables": {
|
||||
"no_extra_js": false,
|
||||
"theme_color": "#D03947"
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#D03948",
|
||||
"favicon": "thuin/images/favicon.ico"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -1,179 +1,12 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
/*STYLE*/
|
||||
$primary-color: #D03947;
|
||||
$width: 1100px;
|
||||
$mobile-limit: 800px;
|
||||
$font-size: 16px !default;
|
||||
$button-color: white;
|
||||
//$title-background: white;
|
||||
//$title-color: white;
|
||||
$cell-entry-hover-effect: left-to-right;
|
||||
//$href-color: $title-background;
|
||||
$theme2019: true;
|
||||
|
||||
|
||||
//VOICI LA LISTE DES VARIABLES DISPONIBLES ET LEUR VALEUR PAR DEFAUT.
|
||||
//COMMENCER PAR MODIFIER LEUR VALEUR LORS DE L'APPLICATION D'UN NOUVEAU THEME.
|
||||
|
||||
/*GENERALITES*/
|
||||
//$body-background: white; VEO
|
||||
//$font-color: #333; VEO
|
||||
//$link-color: #028; VEO
|
||||
$link-color: $primary-color;
|
||||
//$font-family : sans-serif; Var E'O
|
||||
$font-family: "Din"; //!\\ : il faut bien importer la font (voir les imports en bas de la page)!
|
||||
//$width : 1000px; Var E'O
|
||||
//$footer-background: #666666; Var E'O
|
||||
//footer-color; Var E'O
|
||||
//border-radius; Var E'O
|
||||
$border-radius: 3px;
|
||||
|
||||
/*BASKET*/
|
||||
//$delete-from-basket-color: #d8297b !default;
|
||||
//$basket-button-background-color: #d8297b !default;
|
||||
//$basket-button-text-color: white !default;
|
||||
//$basket-button-background-color-hover: white !default;
|
||||
//$basket-button-text-color-hover: #d8297b !default;
|
||||
//$basket-button-border-radius: 10px !default;
|
||||
//$basket-text-color: $nav-background !default;
|
||||
|
||||
|
||||
/*CELL*/
|
||||
//$cell-background: white; Variable Entr'Ouvert
|
||||
//$cell-border: 1px solid #ccc; Variable Entr'Ouvert
|
||||
$cell-border: 0px;
|
||||
//$cell-border-radius: $border-radius; Variable Entr'Ouvert
|
||||
//$cell-color: inherit; Variable Entr'Ouvert
|
||||
//cell-entry-color: #ccc; VEO
|
||||
$cell-entry-hover-background: $primary-color;
|
||||
//$cell-links-color: #028 !default; //colour of the links, inside de cells
|
||||
//$cell-links-color: $primary-color;
|
||||
//$cell-links-color-hover: #028 !default;
|
||||
//$cell-links-bullet: None !default; //bullets for lists inside cells
|
||||
//$cell-links-bullet-color: $cell-links-color !default;
|
||||
//$cell-title-color: #FFF !default;
|
||||
//$cell-title-bg-color: $primary-color !default;
|
||||
//$cell-title-font-weight: normal !default;
|
||||
|
||||
/*form-button*/
|
||||
//$print-register-draft-button:false !default;
|
||||
//$button-hover-color: white !default;
|
||||
//$button-hover-background-color: #D8297B !default;
|
||||
$button-hover-background-color: $primary-color;
|
||||
//$button-background: #D8297B !default; VEO
|
||||
$button-background: $primary-color;
|
||||
|
||||
/*footer*/
|
||||
//$footer-background-color: #cccccc !default;
|
||||
//$footer-text-color: #676767 !default;
|
||||
//$footer-hover-text-color: black !default;
|
||||
|
||||
/*HEADER*/
|
||||
//$header-banner: url("images/banner.jpg") !default;
|
||||
$header-banner: none;
|
||||
//$header-banner-image: true !default;
|
||||
$header-banner-image: false;
|
||||
//$header-banner-width: 950px !default;
|
||||
//$header-banner-height: 15em !default;
|
||||
$header-banner-height: auto;
|
||||
//$header-logo: url("images/logo.png") 10px 10px no-repeat !default;
|
||||
$header-logo: None;
|
||||
//$header-bg-logo-position: top left !default; //positionning of background-kind logo
|
||||
//$header-logo-padding: 0 0 0 0 !default; //11.4em
|
||||
//$header-logo-display-text: true !default; //determine if "h1#logo" a is visible (true) or not (false). The clickable logo is a kind of "h1#logo a"
|
||||
//$header-logo-size: None !default; // top right bottom left.
|
||||
//$header-logo-padding: 120px 0px 0px 0px !default;
|
||||
$header-logo-padding: 0;
|
||||
//$header-logo-text-color: #484248 !default;
|
||||
//$toplinks-border-color: $primary-color !default;
|
||||
$toplinks-border: 0;
|
||||
//$toplinks-background-color: white !default;
|
||||
//$toplinks-color: #333 !default;
|
||||
//$toplinks-radius: 0 0 1em 1em !default;
|
||||
$toplinks-radius: 0;
|
||||
//$toplinks-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.16), 0px 2px 10px 0px rgba(0, 0, 0, 0.12) !default;
|
||||
$toplinks-shadow: none;
|
||||
/*LOGIN*/
|
||||
//$highlight-text-color: None !default;
|
||||
|
||||
/*MENU*/
|
||||
//$nav-background: white; VEO
|
||||
$nav-background: #F2F2F2;
|
||||
//$nav-color: black; VEO
|
||||
$nav-color: #333;
|
||||
//$nav-active-color: #005EA9; VEO
|
||||
$nav-active-color: $primary-color;
|
||||
//$nav-item-selected-color: $nav-menu-color !default;
|
||||
$nav-item-selected-color: #FFF;
|
||||
//$nav-item-selected-background: $nav-active-color;
|
||||
//$nav-item-decoration: None !default;
|
||||
//$nav-text-uppercase: false !default;
|
||||
$nav-text-uppercase: uppercase;
|
||||
//$nav-underline: false !default; Remise en question par $nav-item-hover mode
|
||||
//$nav-item-hover-mode: background; VEO - autre possibilité: bottom-border
|
||||
//$nav-item-selected-mode: background; VEO - autre possibilité : border-bottom
|
||||
//$nav-item-selected-border: 2px solid $nav-active-color;
|
||||
/*MENU RESPONSIVE*/
|
||||
//$nav-mobile-menu-item-color: black; VEO
|
||||
//$nav-mobile-menu-background: #eee; VEO
|
||||
//$nav-button-color: $nav-menu-color; VEO
|
||||
$nav-button-color: #FFF;
|
||||
//$nav-button-background: $nav-active-color; VEO
|
||||
//nav-menu-color: white; VEO
|
||||
$nav-menu-color: $primary-color;
|
||||
//$nav-mobile-menu-item-hover-background: $nav-active-color !default; VEO
|
||||
|
||||
|
||||
/*PWA*/
|
||||
//$nav-mobile-bottom-bar-height: 64px; VEO
|
||||
$nav-mobile-bottom-bar-height: 75px;
|
||||
//$nav-mobile-bottom-bar-background: white; VEO
|
||||
$nav-mobile-bottom-bar-background: $primary-color;
|
||||
//$nav-mobile-bottom-bar-color: $nav-color; VEO
|
||||
$nav-mobile-bottom-bar-color: #FFF;
|
||||
//$nav-mobile-bottom-bar-item-hover-background: $nav-item-hover-color; VEO
|
||||
$nav-mobile-bottom-bar-item-hover-background: $primary-color;
|
||||
|
||||
/*RESPONSIVE*/
|
||||
//$header-banner-width-resp: $header-banner-width !default;
|
||||
//$header-banner-height-resp: $header-banner-height !default;
|
||||
|
||||
/*SHARE*/
|
||||
/*IMIO SHARE : Affichage du message de connexion au portail av-active-colorgent*/
|
||||
//$a_portal_agent_background: None !default;
|
||||
//$a_portal_agent_color: black !default;
|
||||
//$a_portal_agent_top: 30px !default;
|
||||
//$a_portal_agent_right: 6% !default;
|
||||
//$a_portal_agent_border: None !default;
|
||||
//$hidden-description: true !default;
|
||||
$hidden-description: false;
|
||||
//$hidden-automatically-pre-filled-field-text: true !default;
|
||||
//$global-errors-background-color: #F9DEDE !default;
|
||||
//$global-errors-color: #333 !default;
|
||||
//$form-current-navpage-color: inherit !default;
|
||||
//$form-current-navpage-background-color: white !default;
|
||||
//$category-forms-hover-background-color: None !default; // $primary-color when overide is a good idea.
|
||||
//$content-cell-border: 1px solid #ccc !default; //cells are the keyword for the different block in the content
|
||||
|
||||
/*TITLE*/
|
||||
//title-background: white; VEO
|
||||
//title-color: black; VEO
|
||||
$title-color: #666;
|
||||
//$title-transform: none; VEO
|
||||
//$title-font-family: $font-family; VEO
|
||||
//$title-font-size: $font-size * 1.1; VEO
|
||||
//title-padding: 0.7rem 1rem; VEO
|
||||
$title-padding: 0.7rem 1rem 0.7rem 0;
|
||||
//$title-weight: normal; VEO
|
||||
$title-weight: bold;
|
||||
@import 'vars';
|
||||
|
||||
@import '../imio/steps-config';
|
||||
|
||||
@import '../../publik-base-theme/static/includes/publik';
|
||||
@import '../../publik-base-theme/static/includes/fonts/din';
|
||||
|
||||
|
||||
@import '../imio/form-buttons';
|
||||
@import '../imio/header';
|
||||
@import '../imio/menu';
|
||||
|
@ -184,3 +17,5 @@ $title-weight: bold;
|
|||
@import '../imio/share';
|
||||
@import '../imio/cells';
|
||||
@import '../imio/responsive';
|
||||
|
||||
@import 'custom';
|
||||
|
|
Loading…
Reference in New Issue