335 lines
5.3 KiB
CSS
Executable file
335 lines
5.3 KiB
CSS
Executable file
/*
|
|
Theme Name: 100filtres
|
|
Description: Thème spécifique pour le suivi des mesures de la CCC
|
|
Author: Matt Marcha
|
|
Template: twentytwenty
|
|
Version: 1.0
|
|
*/
|
|
|
|
/** Général **/
|
|
|
|
.entry-content {
|
|
font-family: Arial, Roboto, sans-serif;
|
|
}
|
|
|
|
/** Footer **/
|
|
|
|
.powered-by-wordpress {
|
|
display: none;
|
|
}
|
|
|
|
/** 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,
|
|
.mobile-home-measures-label{
|
|
display: none;
|
|
}
|
|
|
|
.measure-title {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.measure-title:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.measure-content{
|
|
display: none;
|
|
}
|
|
|
|
.measure-wrapper {
|
|
border: 2px solid;
|
|
border-bottom: 0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.entry-content h3.measure-title,
|
|
.status-desc,
|
|
.measure-meta {
|
|
margin: 0;
|
|
padding: 5px 5px;
|
|
}
|
|
|
|
.entry-content h3.measure-title {
|
|
position: relative;
|
|
padding-right: 40px;
|
|
font-size: 1.4em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.entry-content h3.measure-title::after {
|
|
content: "+";
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: 5px;
|
|
color: white;
|
|
text-align: center;
|
|
font-weight: 900;
|
|
font-size: 40px;
|
|
width: 24px;
|
|
height: 24px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.entry-content h3.measure-title.open::after {
|
|
content: "-";
|
|
}
|
|
|
|
.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 .rejected h3.measure-title,
|
|
.rejected .status-desc,
|
|
.rejected .measure-meta,
|
|
.rejected .measure-meta a {
|
|
color: #eaeaea;
|
|
}
|
|
|
|
.rejected .status-desc p {
|
|
background-color: #FFFFFF20;
|
|
}
|
|
|
|
.entry-content .rejected h3.measure-title {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.rejected p.measure-meta a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.measure-content .content {
|
|
padding: 1em 2% 5px 2%;
|
|
background-color: #FFFFFF9E;
|
|
}
|
|
|
|
|
|
.measure-wrapper[style*="display: none;"] + hr {
|
|
display: none;
|
|
}
|
|
|
|
.measure-content .wp-block-separator {
|
|
margin: 0.5em auto;
|
|
}
|
|
|
|
/** Filters graph & selection ***/
|
|
|
|
.filters-cats-label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* filters */
|
|
|
|
.filters-container {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.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 {
|
|
margin-bottom: .2em;
|
|
font-size: .8em;
|
|
}
|
|
|
|
|
|
.status-title:hover,
|
|
.filter-close:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* search */
|
|
.search-container {
|
|
position: relative;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.search-container::before {
|
|
content: "\f179";
|
|
font-family: "dashicons";
|
|
display: block;
|
|
font-size: 32px;
|
|
color: #686868;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
margin: auto;
|
|
width: 51px;
|
|
height: 51px;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-container input {
|
|
padding-left: 51px;
|
|
border-radius: 30px;
|
|
border: 1px solid #686868;
|
|
}
|
|
|
|
.search-container #measure-search-reset {
|
|
position: absolute;
|
|
background-color: transparent;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
margin: auto;
|
|
padding: 0;
|
|
color: #686868;
|
|
}
|
|
|
|
.search-container #measure-search-reset span {
|
|
font-size: 2em;
|
|
display: inline;
|
|
}
|
|
|
|
.search-container #measure-search-reset:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.search-container input:placeholder-shown + #measure-search-reset {
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
/*****************
|
|
|
|
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,
|
|
.mobile-home-measures-label {
|
|
display: block;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.home-measures-title,
|
|
.home-measures-title + p {
|
|
display: none;
|
|
}
|
|
}
|