263 lines
4.1 KiB
CSS
263 lines
4.1 KiB
CSS
/*
|
|
Theme Name: 100filtres
|
|
Description: Thème spécifique pour le suivi des mesures de la CCC
|
|
Author: Matt Marcha
|
|
Template: twentytwenty
|
|
Version: 0.1
|
|
*/
|
|
|
|
/** Général **/
|
|
|
|
.entry-content {
|
|
font-family: Arial, Roboto, sans-serif;
|
|
}
|
|
|
|
/** Home **/
|
|
|
|
.home header.entry-header,
|
|
.home .header-inner .toggle {
|
|
display: none;
|
|
}
|
|
|
|
.header-navigation-wrapper {
|
|
display: none;
|
|
}
|
|
|
|
.header-titles-wrapper {
|
|
max-width: 90%;
|
|
}
|
|
|
|
.header-inner,
|
|
.header-titles {
|
|
justify-content: center;
|
|
}
|
|
|
|
.header-inner {
|
|
padding: 1rem 0 2rem;
|
|
}
|
|
|
|
.home-titles-cols,
|
|
.home-titles-cols .wp-block-column{
|
|
margin-bottom: 5px !important;
|
|
}
|
|
|
|
.home-titles-cols h2 {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.home-measures-cols {
|
|
margin-top: 1em !important;
|
|
}
|
|
|
|
/*** homepage measures list **/
|
|
.mobile-home-measures-title {
|
|
display: none;
|
|
}
|
|
|
|
.measure-title {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.measure-title:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.measure-content{
|
|
display: none;
|
|
}
|
|
|
|
.measure-wrapper {
|
|
border: 2px solid;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.entry-content h3.measure-title,
|
|
.status-desc,
|
|
.measure-meta {
|
|
margin: 0;
|
|
padding: 5px 8px;
|
|
}
|
|
|
|
.entry-content h3.measure-title {
|
|
font-size: 1.4em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-desc {
|
|
text-transform: uppercase;
|
|
font-style: italic;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.status-desc p {
|
|
background-color: #0E0E0E70;
|
|
padding: 0.5em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.measure-meta {
|
|
font-size: 0.7em;
|
|
}
|
|
.measure-meta a {
|
|
font-size: 1.1em;
|
|
color: #213f52;
|
|
}
|
|
|
|
|
|
.entry-content .measure-rejected h3.measure-title,
|
|
.measure-rejected .status-desc,
|
|
.measure-rejected .measure-meta,
|
|
.measure-rejected .measure-meta a {
|
|
color: #eaeaea;
|
|
}
|
|
|
|
.measure-rejected .status-desc p {
|
|
background-color: #FFFFFF20;
|
|
}
|
|
|
|
.entry-content .measure-rejected h3.measure-title {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.measure-rejected p.measure-meta a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.measure-content .content {
|
|
padding: 5px 2%;
|
|
background-color: #FFFFFF9E;
|
|
}
|
|
|
|
/** homepage graphs ***/
|
|
|
|
.home-graph-item h3 {
|
|
font-size: 0.9em;
|
|
font-weight: 400;
|
|
margin: 0.5em 0 5px !important;
|
|
}
|
|
|
|
|
|
.progress-bar {
|
|
position: relative;
|
|
height: 1em;
|
|
z-index: 2;
|
|
}
|
|
|
|
.progress-bar.bottom {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 1em;
|
|
width: 100%;
|
|
background-color: #f0f0f0;
|
|
z-index: 0;
|
|
}
|
|
|
|
.home-graph-item p {
|
|
font-size: 1.2em;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
|
|
.progress-bar-wrapper {
|
|
position: relative;
|
|
widrh: 100%;
|
|
}
|
|
|
|
/* filters */
|
|
|
|
.filters-container {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.measure-filter {
|
|
position: relative;
|
|
display: inline-block;
|
|
background-color: #f0f0f0;
|
|
border-radius: 2em;
|
|
padding: 0 0.5em;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
|
|
.measure-filter .name {
|
|
color: #515050;
|
|
font-size: 0.6em;
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
margin-right: 25px;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.measure-filter .filter-close {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: -9px;
|
|
transform: rotate(45deg);
|
|
font-size: 2em;
|
|
color: #686868;
|
|
height: 23px;
|
|
top: -0.18em;
|
|
}
|
|
|
|
.status-title:hover,
|
|
.filter-close:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*****************
|
|
|
|
RESPONSIVE
|
|
|
|
*************/
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
.header-inner,
|
|
.header-titles {
|
|
justify-content: center;
|
|
}
|
|
|
|
body:not(.enable-search-modal) .header-titles-wrapper {
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
.header-titles-wrapper {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.site-logo a, .site-logo img {
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 780px ) {
|
|
.home-measures-cols {
|
|
max-height: 1024px;
|
|
min-height: 670px;
|
|
height: 80vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wp-block-column.measures-col {
|
|
overflow-y: scroll;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 699px ) {
|
|
.powered-by-wordpress,
|
|
.site-description {
|
|
display: inline-block !important;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 599px) {
|
|
.mobile-home-measures-title {
|
|
display: block;
|
|
}
|
|
|
|
.home-measures-title {
|
|
display: none;
|
|
}
|
|
} |