[TELE-1385] use staging1 as new theme staging duplicate for Staging1 (2nd)

This commit is contained in:
Daniel Muyshond 2022-07-26 16:55:26 +02:00
parent 9f8a60f19b
commit 892d3bd221
4 changed files with 8 additions and 201 deletions

View File

@ -1,196 +0,0 @@
/*
Header
*/
#toplinks {
box-shadow: $imio-box-shadow-style;
border: 0;
padding: 0.4em 1em 0.35em 1em;
right: 7em;
border-radius: 0 0 1em 1em;
}
body.has-header-background {
.site-header {
box-sizing: content-box;
min-height: 160px;
#header {
height: $imio-header-height;
border-radius: 0 0 $border-radius $border-radius;
}
#logo {
padding-top: $imio-header-logo-padding-top;
padding-left: $imio-header-logo-padding-left;
}
}
}
div#nav {
margin-bottom: ($nav-height / 4) * 3;
}
/*
Cells
*/
@if $imio-box-shadow-turned-on {
.cell, .block, .a2-block, #nav, #header {
box-shadow: $imio-box-shadow-style;
}
}
.column div.a2-block,
.gru-content div.cell,
.block {
margin-bottom: 1.7rem;
}
div.textcell {
h3, h4, h5, p, table {
margin: 1.386em 1.618rem;
}
p, table, ul, ol {
line-height: 1.4;
}
}
/* hotfix meal calendar for PP */
tbody > tr > td.jour {
height: 100px; // cell will grow since height function like min-height in table cells
}
/* iA.Citizen related (Dashboard & others)*/
@if $imio-is-iacitizen {
.dashboardcell .cell {
border: 0;
}
.column:last-child .cell {
margin-right: 1ex;
}
.dashboardcell .categories button {
padding: 0.1em 0.7em;
margin-right: 0.3em;
margin-bottom: 0.2em;
&::after {
content: " \002714";
}
&.off {
border: 1px solid $primary-color;
color: $darkened-primary-color;
background: white;
&::after {
color: white;
}
}
}
.loading {
display: none;
}
.eventitems,
.newsitems {
margin: 0 1ex;
border: 0;
box-shadow: none;
}
div.deliberations-communales {
h2:first-child {
padding-left: 0;
}
p {
margin-top: 0;
}
}
.delib,
.eventitem,
.newsitem {
display: flex;
margin: 1ex;
@media screen and (max-width: $nav-mobile-limit) {
flex-direction: column;
}
img {
border-radius: $border-radius;
flex: 0;
width: 160px;
height: 160px;
@media screen and (max-width: $nav-mobile-limit) {
margin: auto;
}
}
div {
flex: 1;
margin-left: 1em;
h3 {
margin-top: 1ex;
margin-bottom: 0;
}
h4 {
// color: $darkgray;
margin: 0;
}
p {
margin-top: 0.2em;
}
}
}
.dashboard-settings {
display: flex;
.dashboard-meta {
flex: 1;
}
.dashboard-switch {
margin-top: 1em;
input {
box-shadow: none;
background: 0;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
padding: 0;
position: relative;
border: 0;
outline: 0;
cursor: pointer;
overflow: initial;
$switch-width: 3.5em;
$switch-height: 1.5em;
$switch-slider-diameter: 1.75em;
&::after {
content: '';
width: $switch-width;
height: $switch-height;
display: inline-block;
background: rgba(196, 195, 195, .55);
border-radius: 1em;
clear: both;
transition: ease .3s;
}
&:checked::after {
background: $darkened-primary-color;
}
&::before {
content: '';
width: $switch-slider-diameter;
height: $switch-slider-diameter;
display: block;
position: absolute;
left: 0;
top: #{($switch-height - $switch-slider-diameter) / 2};
border-radius: 50%;
background: #fff;
box-shadow: 1px 1px 3px rgba(0, 0, 0, .6);
transition: ease .3s;
}
&:checked::before {
left: #{$switch-width - $switch-slider-diameter};
box-shadow: -1px 1px 3px rgba(0,0,0,.6)
}
}
}
}
}

View File

@ -8,4 +8,5 @@ $imio-header-height: 356px;
$header-logo-size: 230px 80px;
$imio-header-logo-padding-top: 44px;
$imio-header-logo-padding-left: 50px;
$link-color-footer: white;
$imio-is-iacitizen: true;

View File

@ -1,5 +1,5 @@
{
"label" : "iMio (basic · staging1)",
"label" : "iMio (basic)",
"settings" : {
"combo" : {
"COMBO_ASSET_SLOTS.update" : {
@ -90,7 +90,8 @@
}
},
"variables" : {
"pwa_display": "standalone",
"theme_color" : "#CCCCCC"
"cell_picture_size" : "520x220",
"pwa_display": "standalone",
"theme_color" : "#8e6c4f"
}
}

View File

@ -1,8 +1,9 @@
@charset "UTF-8";
@import 'vars';
@import '../includes/eo-base-imio-tuned';
@import '../includes/imio-basic-entrouvert-base';
@import "../../publik-base-theme/static/includes/publik";
@import '../includes/imio-basic-additional-custom';
@import '../imio/parent-portal';
@import 'custom';