libreavous/squelettes/scss/styles/_perso.scss

1486 lines
26 KiB
SCSS
Raw Normal View History

// perso
// les différences
2021-09-02 20:04:44 +02:00
.btn {
padding: 0.5em 1em;
font-weight: 500;
2021-10-03 17:54:47 +02:00
border-radius:0;
2021-09-02 20:04:44 +02:00
&:hover {
2022-02-15 22:20:11 +01:00
background: $couleurPrincipaleOn;
color: $couleurPrincipale !important;
2021-09-02 20:04:44 +02:00
}
}
span.btn {
2022-02-15 22:20:11 +01:00
cursor: text;
2021-09-02 20:04:44 +02:00
}
2021-09-13 13:45:14 +02:00
.flex {
2022-02-15 22:20:11 +01:00
width: 100%;
clear: both;
2021-09-13 13:45:14 +02:00
}
2021-09-02 20:04:44 +02:00
.page_wrapper {
2021-09-28 12:10:21 +02:00
background:$couleurPrincipale url('../images/egalizer.png') repeat-x center -300px;
2021-09-02 20:04:44 +02:00
/* background-attachment:fixed; */
2021-02-09 08:03:46 +01:00
@media ($bp-small) {
2021-09-28 12:10:21 +02:00
background:$couleurPrincipale url('../images/egalizer-480.png') repeat-x center -300px;
2021-02-09 08:03:46 +01:00
}
}
.page_header {
padding:0;
> .page_container {
background-color:$couleurSecondaire;
@include flex();
2022-02-15 22:20:11 +01:00
align-items: stretch;
}
.header_title {
min-width: 150px;
2022-02-16 23:42:17 +01:00
padding: 0.5rem 0 0.2rem;
/* background: white; */
}
2021-03-07 12:55:04 +01:00
.header_menu {
flex-grow: 2;
2021-10-03 18:25:32 +02:00
padding:0;
.nav {
padding-top:0;
2021-10-03 17:35:26 +02:00
.nav-list {
@include flex();
2022-02-15 22:20:11 +01:00
justify-content: end;
align-items: stretch;
background: $couleurPrincipale;
2021-10-03 17:35:26 +02:00
}
li {
margin:0;
}
a {
padding:1.1rem 1rem 1rem;
margin:0;
background:$couleurPrincipale !important;
border:0;
&:hover, &:active, &:focus, &.on {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipale !important;
background: $couleurPrincipaleOn !important;
2021-10-03 17:35:26 +02:00
border:0;
}
}
}
2021-03-07 12:55:04 +01:00
.liens {
2022-02-16 23:42:17 +01:00
margin-top: 3rem;
@include flex();
flex-direction: row-reverse;
align-items: end;
.btn {
padding: 0.7em 1em;
}
.sociaux_podcast {
margin: 0 0 0;
@include flex();
align-items: center;
}
.sociaux {
display: inline-block;
font-size: 1.1rem;
margin: 0 1rem 0 0;
.socicon {
background: none !important;
color: $blancTransparent;
&:hover, &:focus {
color: $couleurPrincipaleOn;
}
}
}
.formulaire_spip.formulaire_abomailman_mini_une_liste {
width: 207px;
min-height: 2.5rem;
position: relative;
margin: 0 0 0 1rem;
text-align: left;
.reponse_formulaire {
position: absolute;
top: 0;
right: 0;
margin: 0;
width: 300px;
z-index: 999;
transition: transform 0.15s ease-in-out;
&.masquer {
transform: scale(0);
}
}
}
.abonnement {
position: relative;
label {
position: relative;
font-size: 1rem;
padding-right: 2rem;
font-weight: 400;
2022-02-16 23:42:17 +01:00
width: 100%;
&:after {
@include triangle(right, white, 8px);
position: absolute;
right: 0.6rem;
top: 50%;
margin-top: -8px;
}
&:hover:after {
@include triangle(right, $couleurPrincipale, 8px);
}
}
#email {
position: absolute;
2022-02-16 23:42:17 +01:00
top: 110%;
width: 260px;
right: 0;
2022-02-16 23:42:17 +01:00
z-index: 1;
.js & {
transform: scale(0);
}
border: 2px solid $grayLighter;
transition: transform 0.15s ease-in-out;
padding: 0.3em 0.8em;
&:focus-visible { // styles firefox indesirables
outline: 0;
}
&.vu {
transform: scale(100%);
box-shadow: 0 0 5px #d0e2f3;
}
}
}
.formulaire_spip .abonnement button {
bottom: auto;
2022-02-16 23:42:17 +01:00
top: 132%;
height: 2rem;
transition: transform 0.15s ease-in-out;
.js & {
transform: scale(0);
}
&.vu {
transform: scale(100%);
}
}
2021-03-07 12:55:04 +01:00
.btn {
2022-02-16 23:42:17 +01:00
font-size: 1rem;
2021-03-07 12:55:04 +01:00
.fas:before {
font-size: 1rem;
2021-03-07 12:55:04 +01:00
}
&:hover, &:focus {
2022-02-15 22:20:11 +01:00
background: $couleurPrincipaleOn;
color: $couleurPrincipale !important;
2021-03-07 12:55:04 +01:00
.fas:before {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipale !important;
2021-03-07 12:55:04 +01:00
}
}
}
}
}
> .page_container .nav > ul .loupe a {
2021-10-03 17:35:26 +02:00
padding:0;
i.fa-search {
2022-02-15 22:20:11 +01:00
padding: 1.25rem 1.1rem 1.2rem;
background-color: $couleurPrincipale;
2021-10-03 17:35:26 +02:00
/* font-size:0.8rem; */
2022-02-15 22:20:11 +01:00
border-radius: 0;
2021-10-03 17:35:26 +02:00
/* color:white; */
}
&:focus i.fa-search, &:active i.fa-search, &:hover i.fa-search {
2022-02-15 22:20:11 +01:00
background-color: $couleurPrincipaleOn;
color: $couleurPrincipale;
}
}
}
2021-03-07 14:53:42 +01:00
.page_header_container {
align-items: flex-start;
}
2021-03-11 16:29:35 +01:00
.arbo {
@include visuallyhidden;
2021-03-07 12:55:04 +01:00
}
.encart {
2022-02-15 22:20:11 +01:00
float: right;
text-align: right;
font-size:1.1rem;
margin-left:2rem;
span {
2022-02-15 22:20:11 +01:00
font-size: 115%;
&.btn {
background:$couleurSecondaire;
2022-02-15 22:20:11 +01:00
color: white !important;
font-weight: 900;
margin: 0.6rem 0 0.3rem;
padding: 1.3rem 2rem;
&:first-letter {
2022-02-15 22:20:11 +01:00
text-transform: uppercase;
}
}
}
2021-10-12 09:31:46 +02:00
@include media($bp-xxsmall) {
2022-02-15 22:20:11 +01:00
float: none;
2021-10-12 09:31:46 +02:00
}
}
2021-09-28 22:27:51 +02:00
.bientot {
2022-02-15 22:20:11 +01:00
display: inline-block;
color: $couleurSecondaire;
font-weight: 900;
2021-09-28 22:27:51 +02:00
}
2021-09-10 12:36:03 +02:00
//----------------------------------------
// Boutons
//----------------------------------------
.button,
2021-09-10 14:15:48 +02:00
.formulaire_spip:not(.formulaire_recherche):not(.formulaire_abomailman_mini_une_liste) button,
2021-09-10 12:36:03 +02:00
.formulaire_spip input[type=submit]
{
@include bouton($couleur-boutons, #fff, $couleurPrincipaleOn);
}
2021-10-03 17:54:47 +02:00
.formulaire_spip.formulaire_recherche form, .button, .formulaire_spip:not(.formulaire_recherche):not(.formulaire_abomailman_mini_une_liste) button, .formulaire_spip input[type="submit"],
html .formulaire_spip input[type="text"] {
border-radius:0;
}
2021-09-10 12:36:03 +02:00
.sansbordure a.spip_out, a.sansbordure {
border: 0 !important;
2021-09-10 12:36:03 +02:00
}
.texte_accueil {
.page_content > article&:not(.annonce) {
margin-bottom:0;
2021-11-09 20:39:52 +01:00
padding-right:2rem;
}
2022-02-16 23:42:17 +01:00
background-color: white;
.main {
2022-02-16 23:42:17 +01:00
padding-bottom: 1rem;
}
@include media($bp-medium-up) {
.flex2 > .main {
2022-02-16 23:42:17 +01:00
max-width: 60%;
}
.flex2 > .aside {
2022-02-16 23:42:17 +01:00
max-width: 40%;
padding-left: 4rem;
@include media($bp-medium) {
padding-left:2rem;
}
}
}
}
.body__sommaire .page_main .annonce {
h1 {
margin-top:0;
}
}
.article-resume {
2022-02-15 22:20:11 +01:00
background-color: white;
2022-02-16 23:42:17 +01:00
padding: 1rem;
}
2021-09-07 11:11:19 +02:00
.article__texte {
2022-02-16 23:42:17 +01:00
margin-bottom: 3rem;
2021-09-07 11:11:19 +02:00
}
.article__interactivite {
> div {
@include flex;
> a {
margin-left:1rem;
}
}
p {
margin:0;
}
}
2021-06-10 18:05:33 +02:00
.page_main {
2022-02-16 23:42:17 +01:00
overflow: hidden;
2021-06-10 18:05:33 +02:00
}
.page_main_content {
align-items: start;
2021-09-10 12:36:03 +02:00
@include media($bp-medium-up) {
.page_article:not(.article_chronique) & {
2022-02-15 22:20:11 +01:00
background: white;
2021-09-10 12:36:03 +02:00
.page_aside {
2022-02-15 22:20:11 +01:00
margin-left: 0;
2021-09-10 12:36:03 +02:00
}
}
}
}
.composition_emissions, .composition_emission, .composition_chroniques {
.page_main_content {
flex-direction: column;
}
.page_content, .page_aside {
2021-09-02 20:04:44 +02:00
}
.page_content {
}
}
.page_content, .page_aside, .page_extra {
2021-09-02 20:04:44 +02:00
> * {
margin:0 0 2rem;
padding:1rem 4rem;
@include clearfix();
@include media($bp-medium) {
padding:1rem 2rem;
}
2021-09-02 20:04:44 +02:00
&.page_extra {
padding:0;
}
&.btn {
2022-02-15 22:20:11 +01:00
background: $couleurSecondaire;
color: white !important;
2021-09-10 12:36:03 +02:00
&:hover {
2022-02-15 22:20:11 +01:00
background: $couleurPrincipaleOn;
color: white !important;
2021-09-02 20:04:44 +02:00
}
}
}
2021-09-28 23:13:59 +02:00
> article {
padding:2rem 4rem;
@include media($bp-medium) {
padding:2rem 2rem 1rem;
}
2022-02-15 22:20:11 +01:00
background-color: white;
2021-09-28 23:13:59 +02:00
h1 {
margin:0;
}
}
2021-09-28 23:13:59 +02:00
/*.page_article & > article, .composition_emission & > article, > .texte, > .ps, .rubrique_blog & > section, > .periode,
.prochaine_emission, .derniere_emission, .page_recherche & {
background-color:white;
2021-09-28 23:13:59 +02:00
}*/
2021-09-02 20:04:44 +02:00
> .ajaxbloc {
padding-top: 0;
2021-09-28 12:10:21 +02:00
margin-top: 6rem;
2021-09-02 20:04:44 +02:00
position: relative;
.emissions > h2, .emissions > a {
2022-02-15 22:20:11 +01:00
position: absolute;
margin-top: -2.6rem;
}
.article_blog & {
margin-top:0;
padding:1rem 2rem;
2022-02-15 22:20:11 +01:00
background-color: white;
.pagination .pagination-items a, .pagination .lien_pagination a {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipale;
}
}
}
2021-09-23 22:49:32 +02:00
.composition_blog & > .content {
margin:0;
}
}
2021-03-07 12:55:04 +01:00
2021-09-13 15:53:29 +02:00
.page_content {
.page_rubrique & {
/* background-color:#fff; */
}
2021-09-23 20:31:26 +02:00
.rubrique_chroniques & .liste.articles {
2022-02-15 22:20:11 +01:00
margin-top: 3rem;
}
2021-09-13 15:53:29 +02:00
@include media($bp-medium-up) {
> * {
/* padding-right:2rem; */
2021-09-13 15:53:29 +02:00
}
}
@include media($bp-large-up) {
}
}
.page_aside {
2022-02-15 22:20:11 +01:00
background: white;
2021-09-13 15:53:29 +02:00
> ul .article-resume {
padding:0;
}
2021-09-28 12:10:21 +02:00
> * {
@include media($bp-medium-up) {
padding-left:0;
}
2021-09-13 15:53:29 +02:00
}
}
.page_extra {
2022-02-16 23:42:17 +01:00
background: white;
}
2021-06-10 18:05:33 +02:00
h2 {
font-weight:900;
}
.fl {
2022-02-15 22:20:11 +01:00
border-top: 2em solid $couleurPrincipale;
border-bottom: 2em solid $couleurPrincipale;
margin: 0 -1000px;
padding: 2em 1000px;
background: white;
2021-06-10 18:05:33 +02:00
}
.fb {
padding:2em 0;
> h2 {
margin-top:2em;
}
}
.photoapril {
margin-bottom:1em;
}
.galeriephotos {
2022-02-15 22:20:11 +01:00
float: right;
2021-09-14 12:38:39 +02:00
font-size:1.2rem;
line-height: 1.8;
}
2021-09-09 20:26:33 +02:00
.galerie_photoapril figure {
@include media($bp-large-up) {
&:first-child {
2022-02-15 22:20:11 +01:00
text-align: left;
2021-09-09 20:26:33 +02:00
}
&:last-child {
2022-02-15 22:20:11 +01:00
text-align: right;
2021-09-09 20:26:33 +02:00
}
}
}
2021-06-10 18:05:33 +02:00
.licence {
padding:1em;
line-height:1.2;
margin-top:2em;
background:$couleurBackgroundTexteBleu;
}
2021-09-23 16:33:03 +02:00
.detail_emission ul, ul.spip, li ul.spip, .sujets > ul {
@include liste-triangle;
2021-09-28 16:59:02 +02:00
margin-left:0;
}
ul.spip {
ul.spip {
margin-left:1rem;
2021-09-28 16:59:02 +02:00
}
2021-06-10 18:05:33 +02:00
}
2021-09-23 16:33:03 +02:00
2021-06-10 18:05:33 +02:00
.btn.blanc {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipale !important;
background: white;
2021-06-10 18:05:33 +02:00
border:1px solid rgba($couleurPrincipale,0.2);
2021-10-03 17:54:47 +02:00
border-radius:0;
2021-06-10 18:05:33 +02:00
&:hover {
background:$couleurPrincipaleOn;
}
&.bold {
border-color:$couleurPrincipale;
}
2021-06-10 18:05:33 +02:00
}
.article__infos {
2022-02-15 22:20:11 +01:00
position: relative;
height: auto;
width: auto;
white-space: inherit;
clip: unset;
clip-path: unset;
font-size:1em;
2022-02-15 22:20:11 +01:00
margin: -2rem 0 1rem -4rem;
2021-10-20 22:00:00 +02:00
display: flex;
align-items: center;
@include media($bp-medium) {
2022-02-15 22:20:11 +01:00
margin: -2rem -200px 0 -2rem;
2021-10-12 09:31:46 +02:00
line-height:1.2;
.emission_heroine & {
@include flex();
}
.article__date {
/* flex-grow:1; */
}
.prochaine_emission.emission_heroine & {
margin-right:0;
2021-09-14 13:02:12 +02:00
}
}
@include media($bp-small) {
2022-02-15 22:20:11 +01:00
margin: -2rem 0 0 -2rem;
}
@include media($bp-xxsmall) {
flex-wrap: wrap;
.article__date, .btn {
2022-02-15 22:20:11 +01:00
margin: 0.3rem 0 0 1rem;
}
}
2022-02-15 22:20:11 +01:00
overflow: visible;
.composition_blog & {
margin:0;
}
}
.num_emission {
2022-02-15 22:20:11 +01:00
display: inline-block;
2021-03-11 16:29:35 +01:00
width:150px;
padding:0.5rem;
margin-right:1.5rem;
@include media($bp-small) {
margin-right:0.5rem;
}
2021-03-11 16:29:35 +01:00
font-weight:700;
font-size:2.8rem;
2022-02-15 22:20:11 +01:00
text-align: center;
2021-03-11 16:29:35 +01:00
color:$couleurSecondaire;
background:$couleurBackgroundTexte;
font-family:$typo-titre;
}
2021-06-25 07:52:45 +02:00
.article__date {
display:none; /* provisoire, par simplicite */
}
2021-09-02 20:04:44 +02:00
.composition_emissions, .composition_emission, .emissions, .derniere_emission, .prochaine_emission {
.article__date {
2022-02-15 22:20:11 +01:00
display: inline;
2021-09-02 20:04:44 +02:00
font-size:1.5rem;
color:$couleurSecondaire;
font-weight:700;
font-family:$typo-titre;
2021-11-08 11:01:04 +01:00
@include media($bp-small) {
font-size:1.2rem;
}
2021-09-02 20:04:44 +02:00
}
}
.composition_blog {
.article__date {
display:inline-block;
}
.page_content, .page_aside, .page_extra {
> aside, > footer {
margin:0;
padding:0;
}
}
2021-03-11 16:29:35 +01:00
}
.liste.articles.blog {
2022-02-15 22:20:11 +01:00
background-color: white;
margin: -2rem 0;
.liste-items {
list-style:none;
margin:0 0 2rem;
.item {
border-top:1px solid $couleurPrincipale;
&:first-child {
border:0;
}
.article-resume {
padding-left:0;
padding-right:0;
}
}
}
}
2021-06-21 10:00:24 +02:00
.lecteur {
@include flex;
2022-02-15 22:20:11 +01:00
align-items: center;
margin-bottom:3rem;
2021-06-21 10:00:24 +02:00
> .podlove_wrapper {
width:76%;
}
2021-09-10 12:36:03 +02:00
@include media($bp-medium) {
flex-direction: column;
text-align: center;
margin:0 -4rem;
@include media($bp-medium) {
2021-10-07 14:39:42 +02:00
margin:0;
}
2021-09-10 12:36:03 +02:00
.telecharger {
padding:0;
margin-top:1rem;
2021-09-10 12:36:03 +02:00
}
> .podlove_wrapper {
width:100%;
}
}
2021-07-11 11:41:33 +02:00
}
.texte_aside {
width:200px;
padding:0 0 1rem 2rem;
2022-02-15 22:20:11 +01:00
text-align: center;
@include media($bp-small) {
padding:0 0 1rem;
margin:0 auto;
}
}
.telecharger {
list-style:none;
margin:0 0 0.5rem;
2022-02-15 22:20:11 +01:00
text-align: left;
@include media($bp-small) {
padding:0 0 1rem;
2021-09-14 10:11:11 +02:00
margin: 0 auto;
}
2021-07-11 11:41:33 +02:00
li {
padding:0.5rem 0 0.5rem;
2021-07-11 11:41:33 +02:00
}
.btn.podcast {
width:100%;
padding-left:2.2rem;
padding-bottom:0.3rem;
2021-07-11 11:41:33 +02:00
font-size:1.15rem;
2022-02-15 22:20:11 +01:00
text-transform: none;
&:before {
left:0.8rem;
}
2021-07-11 11:41:33 +02:00
}
}
.duree {
font-size:0.7rem;
}
2021-07-11 11:41:33 +02:00
.btn.podcast {
2022-02-15 22:20:11 +01:00
padding: 0 0.5em 0.1em 1rem;
position: relative;
text-align: left;
2021-07-11 11:41:33 +02:00
border-width:0.25em;
2022-02-15 22:20:11 +01:00
border-color: $couleurSecondaire;
color: $couleurSecondaire !important;
font-weight: 900;
font-size: 0.6rem;
text-transform: uppercase;
2021-09-23 15:15:47 +02:00
&:not(.mini):before {
2021-07-11 11:41:33 +02:00
@include triangle(right, $couleurSecondaire, 0.5em);
position: absolute;
left: 0.4rem;
2021-07-11 11:41:33 +02:00
top: 50%;
2022-02-15 22:20:11 +01:00
margin-top: -0.45em;
2021-07-11 11:41:33 +02:00
}
small {
font-size:0.7em;
font-weight:400;
}
2021-09-23 15:15:47 +02:00
&.mp3:not(.mini) {
2021-07-11 11:41:33 +02:00
border-color:$couleurPrincipale;
color:$couleurPrincipale !important;
&:before {
@include triangle(right, $couleurPrincipale, 0.5em);
}
}
&:hover, &:active, &:focus {
background:$couleurPrincipaleOn !important;
2021-07-11 11:41:33 +02:00
border-color:$couleurPrincipaleOn !important;
color:$couleurPrincipale !important;
&:before {
@include triangle(right, $couleurPrincipale, 0.5em);
}
2021-07-11 11:41:33 +02:00
}
2021-09-23 15:15:47 +02:00
&.mini {
2022-02-15 22:20:11 +01:00
background-color: white;
background-position: top !important;
2021-09-23 17:50:39 +02:00
background-size:100% !important;
2022-02-15 22:20:11 +01:00
border: 0 !important;
transition: none !important;
height: 11px;
width: 33px;
padding: 0;
2021-09-23 15:15:47 +02:00
&:before {
2022-02-15 22:20:11 +01:00
display: none;
2021-09-23 15:15:47 +02:00
}
&:hover {
2022-02-15 22:20:11 +01:00
background-color: white !important;
background-position: bottom !important;
background-size: 100% !important;
2021-09-23 15:15:47 +02:00
}
&.ogg {
2022-02-15 22:20:11 +01:00
background-image: url('img/ogg.png');
margin-left:1rem;
2021-09-23 15:15:47 +02:00
&:hover {
2022-02-15 22:20:11 +01:00
background-image: url('img/ogg.png') !important;
2021-09-23 15:15:47 +02:00
}
}
&.mp3 {
2022-02-15 22:20:11 +01:00
background-image: url('img/mp3.png');
margin-left:0.5rem;
2021-09-23 15:15:47 +02:00
&:hover {
2022-02-15 22:20:11 +01:00
background-image: url('img/mp3.png') !important;
2021-09-23 15:15:47 +02:00
}
}
}
2021-07-11 11:41:33 +02:00
}
.sujet_autre {
background:$couleurBackgroundTexte;
padding:1rem 4rem;
margin:2rem -4rem -2rem;
@include media($bp-medium) {
padding:1rem 2rem;
margin:2rem -2rem -2rem;
}
2021-09-14 12:31:30 +02:00
&.flex {
2022-02-15 22:20:11 +01:00
width: auto;
2021-09-14 12:31:30 +02:00
}
> ul {
2021-07-12 09:22:15 +02:00
@include flex;
@include vendor-prefix(flex-wrap, wrap);
> li {
2021-07-12 09:22:15 +02:00
width:50%;
&:nth-child(odd) {
padding-right:2rem;
2021-07-12 09:22:15 +02:00
}
&:nth-child(even) {
padding-left:2rem;
2021-09-28 16:59:02 +02:00
&:before {
left:1rem;
2021-09-28 16:59:02 +02:00
}
2021-07-12 09:22:15 +02:00
}
h3 {
margin:0;
}
2021-07-12 09:22:15 +02:00
}
}
// pour insertion dans le texte/chapo avant d'avoir le podcast
.chapo & {
margin-bottom: -2rem;
2022-02-15 22:20:11 +01:00
clear: both;
font-size:1rem;
> * {
font-size:1.2rem;
}
}
2021-09-08 11:29:22 +02:00
.derniere_emission & {
margin:0 -4rem;
@include media($bp-medium) {
margin:0 -2rem;
}
2022-02-15 22:20:11 +01:00
width: auto;
2021-09-08 11:29:22 +02:00
}
2021-06-21 10:00:24 +02:00
}
2021-03-07 12:55:04 +01:00
/* notation */
2021-09-29 16:21:56 +02:00
.formulaire_notation .notation_note {
2022-02-15 22:20:11 +01:00
display: inline-block;
2021-09-29 16:21:56 +02:00
}
.formulaire_jaime_jaimepas {
.note, .reponse_formulaire {
2022-02-15 22:20:11 +01:00
float: left;
}
}
div.star-rating, div.star-rating a {
2022-02-15 22:20:11 +01:00
background-image: url('img/star.png');
}
div.rating-cancel a {
2022-02-15 22:20:11 +01:00
background-image: url('img/delete.png');
}
/**/
2021-03-07 12:55:04 +01:00
.sociaux {
.socicon {
display: inline-block;
2022-02-16 23:42:17 +01:00
padding: .35em;
}
a.spip_out {
border:0;
}
}
2021-09-10 12:36:03 +02:00
a:hover .fab, a:hover .fas {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipaleOn;
2021-09-10 12:36:03 +02:00
}
/* bloc connex */
.page_connex {
2022-02-15 22:20:11 +01:00
margin: 3rem 0 0;
padding: 0 0 1rem;
2021-09-28 12:10:21 +02:00
/* background:$couleurPrincipale; */
}
.page_connex_content {
2022-02-15 22:20:11 +01:00
color: white;
.liste h2 {
2022-02-15 22:20:11 +01:00
color: white;
font-size: 1rem;
}
ul {
2022-02-15 22:20:11 +01:00
list-style: none;
margin-left: 0;
li {
2022-02-15 22:20:11 +01:00
margin: 0 0 0.5rem;
}
}
a {
border:0;
}
2021-03-07 12:55:04 +01:00
}
.article_forum {
2022-02-15 22:20:11 +01:00
background: white;
color: $couleurPrincipale;
margin: 0 0 4rem;
padding: 1rem 4rem;
@include media($bp-medium) {
2022-02-15 22:20:11 +01:00
padding: 1rem 2rem;
}
}
/**/
2021-03-11 16:29:35 +01:00
.page_footer {
.article {
@include media($bp-small-up) {
@include flex;
2022-02-15 22:20:11 +01:00
justify-content: space-between;
2021-03-11 16:29:35 +01:00
> * {
width: calc(50% - 1rem);
}
}
.article__texte, .article__chapo {
margin-bottom:2rem;
2022-02-15 22:20:11 +01:00
font-weight: 400;
strong, i, .btn {
2022-02-15 22:20:11 +01:00
font-size: 115%;
}
2021-03-11 16:29:35 +01:00
}
}
.formulaire_spip.formulaire_recherche {
/* max-width:100%; */
2021-03-11 16:29:35 +01:00
}
}
2021-06-21 10:00:24 +02:00
/* page sommaire */
.body__sommaire .page_main {
h1 {
margin: 1em 0 0.8em;
}
.emission_heroine h1 {
2021-10-03 13:39:06 +02:00
font-size: 2.4rem;
2021-10-12 09:31:46 +02:00
@include media($bp-xxsmall) {
font-size:2rem;
}
}
}
2021-09-28 12:10:21 +02:00
.emission-resume.article-resume {
2022-02-15 22:20:11 +01:00
align-items: center;
padding: 0 1rem 0 4rem;
2021-09-28 12:10:21 +02:00
margin:0;
@include media($bp-medium) {
2022-02-15 22:20:11 +01:00
padding: 0 1rem 0 2rem;
2021-09-28 12:10:21 +02:00
}
h1 {
small {
2022-02-15 22:20:11 +01:00
display: inline-block;
}
}
2021-09-28 12:10:21 +02:00
}
.derniere_emission, .liste.emissions {
padding-bottom:0;
> h2 {
2022-02-15 22:20:11 +01:00
color: white;
2021-09-28 12:10:21 +02:00
.page_recherche & {
2022-02-15 22:20:11 +01:00
padding: 0 4rem;
2021-09-28 12:10:21 +02:00
}
}
.article__infos {
margin-top:0;
.num_emission {
2022-02-15 22:20:11 +01:00
font-size: 2rem;
padding: 0.1rem 1rem;
width: auto;
}
.article__date {
font-size:1rem;
color:$couleurPrincipale;
font-weight:400;
}
.btn.blanc {
2021-09-24 23:15:58 +02:00
margin-left:1rem;
font-weight:700;
}
}
}
.derniere_emission:not(.emission_heroine) {
.emission-resume {
margin:0 -4rem;
2021-09-14 12:12:19 +02:00
@include media($bp-medium) {
margin:0 -2rem;
2021-09-14 12:12:19 +02:00
}
}
}
.derniere_emission.emission_heroine {
2022-02-15 22:20:11 +01:00
position: relative;
margin-top: -2rem;
padding: 0;
padding-left: 0 !important;
padding-right: 0 !important;
background: white;
> h2 {
color:$couleurPrincipale;
/* margin-top:-3.6rem; */
/* margin-bottom:0.65rem; */
padding-left:4rem;
@include media($bp-medium) {
/* margin-bottom: 2.05rem; */
}
@include media($bp-small) {
/* margin-bottom: 2.15rem; */
}
}
2021-10-03 18:49:50 +02:00
html:not(.composition_chroniques) & .article__infos {
2022-02-15 22:20:11 +01:00
margin-top: 0;
2021-10-03 18:49:50 +02:00
}
}
.prochaine_emission.emission_heroine {
.page_content > article& {
2022-02-15 22:20:11 +01:00
margin-bottom: 4rem;
}
}
2021-09-28 22:27:51 +02:00
.texte_content {
flex:1;
2022-02-15 22:20:11 +01:00
padding-bottom: 1rem;
2021-10-12 09:31:46 +02:00
min-height: 240px;
2021-09-28 22:27:51 +02:00
h1 {
2022-02-15 22:20:11 +01:00
font-size: 1.6rem;
2021-09-28 22:27:51 +02:00
}
h2 {
2022-02-15 22:20:11 +01:00
font-size: 1.2rem;
2021-09-28 22:27:51 +02:00
}
p.flex {
2022-02-15 22:20:11 +01:00
margin: 1rem 0;
padding-right: 2rem;
align-items: center;
2021-09-28 22:27:51 +02:00
.podcast {
2022-02-15 22:20:11 +01:00
font-size: 110%;
text-transform: none;
padding-left: 1.6rem;
2021-09-28 22:27:51 +02:00
}
}
}
2021-09-02 20:04:44 +02:00
.liste.emissions {
.cartouche {
2022-02-15 22:20:11 +01:00
margin: 0;
}
> h2 {
2022-02-15 22:20:11 +01:00
margin-bottom: 0.6rem;
}
> ul {
2022-02-15 22:20:11 +01:00
list-style: none;
padding:0;
margin:0 -4rem;
2021-09-28 12:10:21 +02:00
.page_recherche & {
2022-02-15 22:20:11 +01:00
margin: 0;
2021-09-28 12:10:21 +02:00
}
@include media($bp-medium) {
2022-02-15 22:20:11 +01:00
margin: 0 -2rem;
}
> li {
margin-bottom:2px;
}
}
li {
line-height: 1.3;
margin-bottom: 0.5rem;
> small {
2022-02-15 22:20:11 +01:00
display: inline-block;
margin-left: 0.5rem;
}
}
2021-09-28 12:10:21 +02:00
2021-09-08 11:29:22 +02:00
.pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination, .pagination .lien_pagination span {
color:white;
&.on, &:hover {
2022-02-15 22:20:11 +01:00
background: transparent !important;
color: $couleurPrincipaleOn !important;
color: $couleurPrincipale;
2021-09-08 11:29:22 +02:00
}
}
.sujet_autre {
margin: 1rem -1rem -1rem;
2022-02-15 22:20:11 +01:00
padding: 1rem;
width: auto;
2021-09-08 11:29:22 +02:00
}
}
2021-09-02 20:04:44 +02:00
.liste.emissions.chroniques {
> ul > li {
2022-02-15 22:20:11 +01:00
background-color: white;
margin-bottom: 1rem;
2021-09-02 20:04:44 +02:00
}
.emission-resume.article-resume {
/* align-items:start; */
2021-09-02 20:04:44 +02:00
}
2021-09-08 11:29:22 +02:00
2021-09-02 20:04:44 +02:00
}
.emission_heroine.emission-resume.article-resume {
margin-bottom:4rem;
padding-bottom: 2rem;
.article__infos {
margin: 0 0 0 -4rem;
2021-10-03 17:54:47 +02:00
@include media($bp-medium) {
margin: 0 0 0 -2rem;
}
}
.article__date {
2022-02-15 22:20:11 +01:00
display: inline-block;
margin-right:1rem;
font-size:1rem;
color:$couleurPrincipale;
font-weight:400;
}
.chapo {
font-size:1.2rem;
}
2021-09-14 16:37:13 +02:00
.radiolive {
clear: right;
text-align: center;
2022-02-15 22:20:11 +01:00
max-width: 100%;
margin: 0 0 1rem;
2021-09-14 16:37:13 +02:00
h4 {
2022-02-15 22:20:11 +01:00
text-align: center;
2021-09-14 16:37:13 +02:00
}
iframe {
2022-02-15 22:20:11 +01:00
min-height: 300px;
}
2021-09-14 16:37:13 +02:00
}
@include media($bp-medium) {
h1, .chapo, .sujet_principal {
2022-02-15 22:20:11 +01:00
clear: both;
}
2021-09-14 16:37:13 +02:00
.encart, .radiolive {
2022-02-15 22:20:11 +01:00
clear: both;
margin: 0 0 1rem;
2021-09-14 16:37:13 +02:00
}
}
2021-09-14 16:51:56 +02:00
@include media($bp-small) {
.radiolive {
margin: 0 -2rem;
float: none;
}
}
}
/* modele radiolive */
.radiolive {
@include clearfix();
p {
2022-02-15 22:20:11 +01:00
line-height: 1.1;
}
iframe {
2022-02-15 22:20:11 +01:00
min-height: 300px;
}
audio {
2021-10-07 14:39:42 +02:00
@include media($bp-medium) {
2022-02-15 22:20:11 +01:00
margin: 0.5rem -4rem;
width: 100%;
2021-10-07 14:39:42 +02:00
}
}
.live_audio {
@include media($bp-medium-up) {
@include flex();
2022-02-15 22:20:11 +01:00
align-items: center;
justify-content: space-between;
2021-10-07 14:39:42 +02:00
> * {
width:33%;
&:first-child {
2022-02-15 22:20:11 +01:00
text-align: left;
2021-10-07 14:39:42 +02:00
}
&:last-child {
2022-02-15 22:20:11 +01:00
text-align: right;
2021-10-07 14:39:42 +02:00
}
}
}
2022-02-15 22:20:11 +01:00
padding: 1rem;
background: $couleurSecondaire;
color: white;
text-align: center;
2021-10-07 14:39:42 +02:00
h4 {
margin:0;
2022-02-15 22:20:11 +01:00
color: white;
2021-10-07 14:39:42 +02:00
}
}
}
2021-06-21 10:00:24 +02:00
.orange {
color:$couleurSecondaire;
}
2021-06-21 10:00:24 +02:00
2021-09-08 11:29:22 +02:00
.pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination a /* spip 3 et 4 */ {
2022-02-15 22:20:11 +01:00
color: white;
.composition_blog & {
color:$couleurPrincipale;
}
}
.header_initiatives, .header_initiatives .nav, .btn-nav, .header_initiatives .btn-initiatives {
@include gradient-4(#02375b,#02375b,#02375b,#00263e);
.inclure_blocs { /* pour un var_mode=inclure sans encombre */
2022-02-15 22:20:11 +01:00
display: none;
}
}
/* centrer le lecteur audio pour SPIP3 */
.audio-wrapper {
margin: 0 auto;
}
2021-09-08 11:29:22 +02:00
2021-09-13 15:53:29 +02:00
.page_recherche, .page_plan {
2021-09-28 12:10:21 +02:00
.page_content .formulaire_spip.formulaire_recherche {
2022-02-15 22:20:11 +01:00
float: right;
padding-left: 0 !important;
padding-right: 2rem;
width: 250px;
2021-09-28 12:10:21 +02:00
}
2021-10-05 18:48:18 +02:00
.page_content {
2022-02-15 22:20:11 +01:00
background: white;
2021-10-05 18:48:18 +02:00
}
2021-09-28 12:10:21 +02:00
}
2021-09-13 15:53:29 +02:00
/* ajout Antoine - 1 */
2021-06-21 10:00:24 +02:00
/*! Plusieurs typographies sont finalement trop grosses, j'ai réduit. */
h1, .h1 {
2021-11-08 11:16:52 +01:00
/* font-size: 2.6em; */
2021-09-13 18:56:00 +02:00
a {
border:0;
}
2021-06-21 10:00:24 +02:00
}
h2 {
font-weight: 700;
}
.article-resume__titre a {
color: #2E5281;
border-bottom: inherit;
}
/*! certaines graisses sont trop forte en 700.*/
2021-09-27 14:22:30 +02:00
/*.page_header > .page_container .nav a {
2021-06-21 10:00:24 +02:00
font-weight: 500;
2021-09-27 14:22:30 +02:00
}*/
2021-06-21 10:00:24 +02:00
2022-02-15 22:20:11 +01:00
/*! Sur le menu j'ai augmenté la hauteur du bouton RSS et le champ recherche. Pour le menu avec le hover je propose de modifier le design, car le bouton bleu cyan au rollover est trop prégnant. Je convertis en filets simlple 2pt. Par contre j'ai basculé le padding sur le "li" sinon le filet sous le "a" débordait de chaque côté (voir copie-écran de la retouche css de la bannière)
2021-06-21 10:00:24 +02:00
Sur le menu, je vais voir s'il est possible de faire des filets de rollover composés de tirets et de points avec les fonctions css border-image. Ce qui ferrait un rappel du design.*/
/*! cyan ausurvol*/
.page_header .nav a:hover, .page_header .nav a.on, .page_header .nav a.active {
color: white !important;
background-color: transparent !important;
2022-02-15 22:20:11 +01:00
border-bottom: 3px solid #00c4f5;
2021-06-21 10:00:24 +02:00
}
.header_initiatives .menu-entree.sousinitiatives > ul.ouvert li {
background:#02375b;
}
2021-06-21 10:00:24 +02:00
/*! bleu charte ensuite */
.page_header .nav a.on, .page_header .nav a.active {
2022-02-15 22:20:11 +01:00
border-bottom: 3px solid #2E5281;
2021-06-21 10:00:24 +02:00
}
.formulaire_spip input[type="text"]{
min-height: 2.5em;
line-height: 1.875em;
}
/*! trop gros, j'ai réduis. */
.num_emission {
font-size: 2.3rem;
}
.nav li {
margin: 0 0.7em;
}
.page_header .nav a {
padding: 0.3em 0em 0.2em;
color: white !important;
background-color: inherit;
2022-02-15 22:20:11 +01:00
border-radius: 0;
border-bottom: 3px solid transparent;
2021-06-21 10:00:24 +02:00
}
2022-02-15 22:20:11 +01:00
/*! couleurs des liens sortants selon la maquette */
2021-06-21 10:00:24 +02:00
.formulaire_spip .abonnement button::after {
bottom: 0.8rem;
}
/*! fond du cartouche galerie selon la maquette avec ombrages*/
.fl {
background: #EEF1F5;
box-shadow: inset 0px 1px 20px rgba(0, 0, 0, 0.5);
}
/*! Polices du pied de page plus maigre */
.page_footer p {
font-size: 0.8rem;
font-weight: 200;
a, a.spip_out {
2022-02-15 22:20:11 +01:00
display: inline;
font-weight: 400;
color: white;
border-bottom-width: 1px;
}
}
/*
* ajouts Antoine 07/09
*/
/* réduction de corps de titre
*/
h3, .h3 {
font-size: 1.2em;
}
2021-10-04 09:38:09 +02:00
/* pas de graissage de corps. Dans le corps de texte, les liens "a" sont soulignés
*/
a.spip_out {
font-weight: 400;
2021-10-04 09:38:09 +02:00
color: #2E5281;
border-bottom:1px solid $couleurPrincipale;
}
/* réduction et degraissages des boutons podcats
*/
.btn.podcast {
padding: 0em 0.5em 0em 1rem;
border-width: 0.15rem;
font-weight: 700;
font-size: 0.5rem;
}
.podlove.native, .podlove .info, .podlove .progress {
font-family:$typo-titre;
color: #005184;
font-weight: 300;
}
2021-10-03 17:54:47 +02:00
.telecharger .btn.blanc {
border-width: 0.3rem;
}
.telecharger .btn.podcast {
font-size: 1rem;
font-weight: 600;
}
.btn.podcast small {
font-size: 0.6em;
font-weight: 300;
}
2021-09-14 12:22:35 +02:00
/* ajout du 14/09 */
/* titres des chroniques en corps moins gras et gros */
.chronique h3 {
font-weight: 400;
font-size: 1em;
line-height: 1.6em;
font-family: 'lato','sans-serif';
}
2021-10-04 09:38:09 +02:00
2021-09-14 12:22:35 +02:00
/* liens du footer */
.page_footer p {
line-height: 1.8em;
}
.page_footer p a, .page_footer p a.spip_out {
border-bottom: none;
}
.page_footer a:hover,.page_footer p a:hover, .page_footer p a.spip_out:hover {
color: #00c4f5;
}
.sociaux .socicon:hover {
color: #00c4f5;
}
/* pave dernière émission, calage des boutons à gauche */
.derniere_emission .texte_content p.flex, .liste.emissions .texte_content p.flex {
margin: 1rem 0;
justify-content: start;
}
.derniere_emission .texte_content p.flex a, .liste.emissions .texte_content p.flex a{
margin-right: 2rem;
}
/* repositionnement photo de l'émission (IMCOMPLET:si possible un format carré) */
.derniere_emission .photo, .liste.emissions .photo {
max-width: 250px;
}
.derniere_emission .photo .photoapril, .liste.emissions .photo .photoapril {
margin: 1em;
}
.derniere_emission .photo, .liste.emissions .photo {
background: inherit;
}
.derniere_emission .photo a, .liste.emissions .photo a {
color: #2E5281;
padding: 0;
margin-right: 1em;
}
/*
* fin
*/
2021-10-05 18:46:12 +02:00
.page_header > .page_container .nav > ul .loupe .formulaire_recherche.vu {
top: 1.4rem;
}
@media (max-width:940px) {
.page_header > .page_container {
.nav {
2022-02-16 23:42:17 +01:00
font-size: 0.95rem;
z-index: 7;
position: static;
2021-10-03 17:35:26 +02:00
> .nav-list {
2022-02-16 23:42:17 +01:00
position: absolute;
width: 100%;
top: 36px;
left: -100%;
z-index: 10;
justify-content: space-around;
&.ouvert{
left:0;
}
.loupe {
.formulaire_recherche.vu {
2022-02-16 23:42:17 +01:00
right: 50%;
2022-02-15 22:20:11 +01:00
margin-right: -160px;
max-width: 320px;
form {
padding:0.5rem;
&:before {
2022-02-15 22:20:11 +01:00
display: none;
}
}
}
}
}
}
}
.btn-nav {
2022-02-16 23:42:17 +01:00
display: block;
}
.header_initiatives {
.btn-initiatives {
2022-02-15 22:20:11 +01:00
display: block;
}
2021-10-03 17:35:26 +02:00
.nav {
2022-02-15 22:20:11 +01:00
position: absolute;
2021-10-03 17:35:26 +02:00
width:100%;
top:36px;
left:-100%;
@include vendor-prefix(transition,all 0.3s ease-in-out);
&.ouvert {
left:0;
}
ul, .initiatives {
2022-02-15 22:20:11 +01:00
display: inline;
2021-10-03 17:35:26 +02:00
}
}
}
2022-02-16 23:42:17 +01:00
.page_header .header_menu .liens {
flex-direction: column;
margin-top: 2.5rem;
.formulaire_spip.formulaire_abomailman_mini_une_liste {
margin: 0 0 0.3rem;
}
}
}
2022-02-16 23:42:17 +01:00
@media (min-width:941px) {
.page_header > .page_container .nav {
2022-02-16 23:42:17 +01:00
position: relative;
2021-09-02 20:04:44 +02:00
}
2021-06-21 10:00:24 +02:00
}
2022-02-16 23:42:17 +01:00
2021-10-03 17:35:26 +02:00
@media($bp-medium) {
.page_header > .page_container {
.nav {
2022-02-15 22:20:11 +01:00
font-size: 0.95rem;
z-index: 7;
position: static;
2021-10-03 17:35:26 +02:00
> .nav-list {
2022-02-15 22:20:11 +01:00
position: absolute;
width: 100%;
top: 36px;
left: -100%;
z-index: 10;
justify-content: space-around;
flex-wrap: wrap;
padding: 0;
2022-02-16 23:42:17 +01:00
&.ouvert {
2022-02-15 22:20:11 +01:00
left: 0;
2021-10-03 17:35:26 +02:00
}
a {
2022-02-15 22:20:11 +01:00
padding: 1.1rem 1rem 1rem;
margin: 0;
background: $couleurPrincipale !important;
2021-10-03 17:35:26 +02:00
border:0;
&:hover, &:active, &:focus, &.on {
2022-02-15 22:20:11 +01:00
color: $couleurPrincipale !important;
background: $couleurPrincipaleOn !important;
border: 0;
2021-10-03 17:35:26 +02:00
}
}
.loupe {
.formulaire_recherche.vu {
2022-02-15 22:20:11 +01:00
right: 50%;
margin-right: -160px;
max-width: 320px;
2021-10-03 17:35:26 +02:00
form {
padding:0.5rem;
&:before {
2022-02-15 22:20:11 +01:00
display: none;
2021-10-03 17:35:26 +02:00
}
}
}
}
}
}
}
}
2022-02-16 23:42:17 +01:00
@include media($bp-small) {
.page_header > .page_container .nav {
padding-top: 0;
}
.article-resume > :last-child.telecharger {
margin-bottom:1rem;
}
.page_header .header_menu .liens {
margin-top: 1.5rem;
.formulaire_spip.formulaire_abomailman_mini_une_liste {
width: 188px;
}
.abonnement label.btn {
font-size: 0.9rem;
float: right;
}
.sociaux {
margin-top: 0;
}
.sociaux_podcast {
flex-direction: column-reverse;
.sociaux {
margin: 0;
display: block;
width: 100%;
text-align: right;
}
}
.btn {
font-size: 0.9rem;
}
}
.page_header .header_title {
min-width: 100px;
}
}