123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876 |
- // page centre de ressources
- // & ressource simple
- // ressourceS
- .path-centre-de-ressources{
-
- .programme-1{
- color: $col-1;
- .views-field-field-programme{
- .field-content{
- background: $col-1;
- color:white;
- }
- }
-
- }
- .programme-2{
- color: $col-2;
- .views-field-field-programme{
- .field-content{
- background: $col-2;
- color:white;
- }
- }
- }
- .programme-3{
- color: $col-eur;
- .views-field-field-programme{
- .field-content{
- background: $col-eur;
- color:white;
- }
- }
- }
- .programme-4{
- color: $col-1;
- .views-field-field-programme{
- .field-content{
- background: $col-1;
- color:white;
- }
- }
- }
- .programme-5{
- color: $col-mond;
- .views-field-field-programme{
- .field-content{
- background: $col-mond;
- color:white;
- }
-
- }
- }
- .programme-6{
- color: $col-ter;
- .views-field-field-programme{
- .field-content{
- background: $col-ter;
- color:white;
- }
- }
- }
- .programme-7{
- color: $col-met;
- .views-field-field-programme{
- .field-content{
- background: $col-met;
- color:white;
- }
- }
- }
- .programme-883{
- color: $col-transition;
- .views-field-field-programme{
- .field-content{
- background: $col-transition;
- color:white;
- }
- }
- }
- .programme-878{
- color: $col-exode;
- .views-field-field-programme{
- .field-content{
- background: $col-exode;
- color:white;
- }
- }
- }
- /// end colo
- main{
- flex: 0 0 100%;
- max-width: 100%;
- }
- background-color: $bck-col;
- header{
- background: $trame;
- margin-bottom: 0;
- .slick-track{
- display: flex !important;
- align-items: center;
- }
- .slick-list{
- overflow: inherit;
- }
- .slick-slide{
- margin: 0 1rem;
-
-
-
- .views-row:not(.type-74){
- text-transform: uppercase;
- display: grid !important;
- grid-template-columns: 40% 60%;
- grid-auto-rows: min-content;
-
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- background-color: rgb(255, 255, 255);
-
- width: 100% !important;
- padding: .3rem;
-
- .views-field:not(:first-child){
- padding: 0 0 0 .4rem;
- }
- .views-field-field-image{
- grid-row: 2/span 5;
- }
- .views-field-field-edition{
- grid-column: 2;
- grid-row: 6;
- }
- .views-field-field-auteurs{
- font-weight: 600;
- grid-column: 2;
- grid-row: 3;
- }
-
- .views-field-field-programme{
- margin-top: -.8rem;
- grid-row: 1 / span 1;
- grid-column: 1 / span 2;
- .field-content{
- font-weight: 600;
- display: inline-block;
- width: auto;
- color: white;
- padding: .15rem .3rem;
- margin-bottom: 1rem;
- }
-
- }
-
- .views-field-field-type-de-ressource{
- text-transform: uppercase;
- font-weight: 600;
- margin-bottom: .5rem;
- font-size: $font-small;
-
- grid-row: 2 / span 1;
- grid-column: 2 / span 1;
- }
- .views-field-title{
- font-style: italic;
- grid-row: 4 / span 1;
- grid-column: 2 / span 1;
-
- }
- .views-field-field-sous-titre{
- margin-bottom: 1rem;
- grid-row: 5 / span 1;
- grid-column: 2 / span 1;
- align-self: baseline;
- }
- .views-field-field-theme{
- text-transform: uppercase;
- grid-row: 7 / span 1;
- grid-column: 1 / span 2;
- font-size: $font-small;
- .field-content{
- color:black;
- }
-
- }
- }
- .type-74{
- text-transform: uppercase;
- display: grid !important;
- grid-template-columns: 1fr;
- grid-auto-rows: min-content;
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- background-color: rgb(255, 255, 255);
- // background-clip: content-box;
- width: 100% !important;
- padding: .3rem;
- .views-field:not(:first-child){
- padding: 0 0 0 .4rem;
- }
- .views-field-field-image{
- grid-row: 2;
- img{
- width: 80%;
- }
- // margin-top: -1.5rem;
- }
-
-
- .views-field-field-programme{
- margin-top: -.8rem;
- // grid-column: 1 / span 2;
- .field-content{
- font-weight: 600;
- display: inline-block;
- width: auto;
- color: white;
- padding: .15rem .3rem;
- margin-bottom: 1rem;
- }
-
- }
- .views-field-field-theme{
- text-transform: uppercase;
- .field-content{
- color:black;
- }
- }
- .views-field-field-type-de-ressource{
- text-transform: uppercase;
- font-weight: 600;
- margin-bottom: .5rem;
- font-size: $font-small;
-
- // grid-row: 2 / span 1;
- // grid-column: 2 / span 1;
- }
- .views-field-title{
- font-style: italic;
- // grid-row: 3 / span 1;
- // grid-column: 2 / span 1;
-
- }
-
- .views-field-field-sous-titre{
- margin-bottom: 1rem;
- // grid-row: 4 / span 1;
- // grid-column: 2 / span 1;
- align-self: baseline;
- }
- .views-field-field-theme{
- text-transform: uppercase;
- // grid-row: 5 / span 1;
- // grid-column: 1 / span 2;
- font-size: $font-small;
- text-align: right;
- }
- }
- }
- .slick-slider{
- overflow: hidden;
- display: none;
- }
- .slick-arrow{
- position: absolute;
- height: 100%;
- cursor: pointer;
- z-index: 100;
- // background-color: white;
- opacity: 0.2;
- transition: opacity 250ms;
- width: 10%;
- &:hover{
- opacity: .5;
- }
- }
- .slick-next{
- right: 0;
- top: 0;
- }
-
-
- }
- .content_container{
- &>div>h2:first-child{
- text-align: center;
- background: $trame;
- padding: 1rem 0;
- }
- }
-
- form{
- background: $trame;
- display: grid;
- padding: 1rem 0 1rem 0;
- //margin-top: -3rem;
- column-gap: 1rem;
- grid-template-columns: calc(10% - 3em) repeat(4, 20%);
- @include breakpoint(small down) {
- display: block;
- padding: 1rem ;
- }
- &>div:first-child{
- grid-column-start: 2;
- }
- .form-item-combine{
- grid-row: 1 / span 1 ;
- grid-column-start: 2;
- }
- .form-item-programme{
-
- grid-column-start: 2;
- }
- .form-item-field-collections-target-id{
- grid-column-start: 2;
- }
- .form-item-items-per-page{
- grid-column-start: 3;
- }
- select, input{
- display: inline-block;
- width: auto;
- width: 100%;
- font-size: $font-normal;
- padding: .3rem 1rem;
- height: auto;
- }
- div{
- display: inline-block;
- width: auto;
- // padding: .5rem 1rem;
- }
- .form-actions{
- grid-column: 4 / span 2;
- display: grid;
- grid-template-columns: repeat(2, minmax(0,1fr) );
- align-items: center;
- column-gap: 1rem;
- input{
- background-color: transparent;
- border: solid 1px black;
- box-shadow: none;
- // &:first-child{
- // // margin-right: .5rem;
- // }
- // &:last-child{
- // // margin-left: .5rem;
- // }
- }
- }
- }
- .views-view-grid{
- margin-top: 3rem;
- .views-row{
- display: grid;
- column-gap: 1rem;
- row-gap: 1rem;
- grid-template-columns: calc(10% - 3em) repeat(3, 27.3%);
- align-items: flex-start;
- .views-col:first-child{
- grid-column-start: 2;
- @include breakpoint(small down) {
- grid-column-start: 1;
- }
- }
- @include breakpoint(small down) {
- grid-template-columns: repeat(1, 88%);
- column-gap: 0;
- padding: 0 0 0 1.5rem;
- }
- }
- .views-col:not(.type-74){
- display: grid;
- grid-template-columns: 40% 60%;
- grid-auto-rows: min-content;
-
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- background-color: rgb(255, 255, 255);
-
- width: 100% !important;
- padding: .3rem;
- .views-field:not(:first-child){
- padding: 0 0 0 .4rem;
- }
- .views-field-field-image{
- grid-row: 2/span 5;
- }
- .views-field-field-edition{
- grid-column: 2;
- grid-row: 6;
- }
- .views-field-field-auteurs{
- font-weight: 600;
- grid-column: 2;
- grid-row: 3;
- }
-
- .views-field-field-programme{
- margin-top: -.8rem;
- grid-row: 1 / span 1;
- grid-column: 1 / span 2;
- .field-content{
- font-weight: 600;
- display: inline-block;
- width: auto;
- color: white;
- padding: .15rem .3rem;
- margin-bottom: 1rem;
- }
-
- }
-
- .views-field-field-type-de-ressource{
- text-transform: uppercase;
- font-weight: 600;
- margin-bottom: .5rem;
- font-size: $font-small;
- grid-row: 2 / span 1;
- grid-column: 2 / span 1;
- }
- .views-field-title{
- font-style: italic;
- grid-row: 4 / span 1;
- grid-column: 2 / span 1;
-
- }
- .views-field-field-sous-titre{
- margin-bottom: 1rem;
- grid-row: 5 / span 1;
- grid-column: 2 / span 1;
- align-self: baseline;
- }
- .views-field-field-theme{
- text-transform: uppercase;
- grid-row: 7 / span 1;
- grid-column: 1 / span 2;
- font-size: $font-small;
- .field-content{
- color:black;
- }
- }
- }
- .type-74{
- display: grid;
- grid-template-columns: 1fr;
- grid-auto-rows: min-content;
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- background-color: rgb(255, 255, 255);
- // background-clip: content-box;
- width: 100% !important;
- padding: .3rem;
- .views-field:not(:first-child){
- padding: 0 0 0 .4rem;
- }
- .views-field-field-image{
- grid-row: 2;
- // margin-top: -1.5rem;
- }
-
- .views-field-field-programme{
- margin-top: -.7rem;
- grid-row: 1 / span 1;
- // grid-column: 1 / span 2;
- .field-content{
- font-weight: 600;
- display: inline-block;
- width: auto;
- color: white;
- padding: .15rem .3rem;
- margin-bottom: 1rem;
- }
-
- }
- .views-field-field-theme{
- text-transform: uppercase;
- .field-content{
- color:black;
- }
- }
- .views-field-field-type-de-ressource{
- text-transform: uppercase;
- font-weight: 600;
- margin-bottom: .5rem;
- font-size: $font-small;
- margin-top: .3rem;
- // grid-row: 2 / span 1;
- // grid-column: 2 / span 1;
- }
- .views-field-title{
- font-style: italic;
- // grid-row: 3 / span 1;
- // grid-column: 2 / span 1;
-
- }
- .views-field-field-sous-titre{
- margin-bottom: 1rem;
- // grid-row: 4 / span 1;
- // grid-column: 2 / span 1;
- align-self: baseline;
- }
- .views-field-field-theme{
- text-transform: uppercase;
- // grid-row: 5 / span 1;
- // grid-column: 1 / span 2;
- font-size: $font-small;
- text-align: right;
- }
- }
-
- }
- nav{
- display: grid;
- align-items: center;
- justify-items: center;
- }
-
- .js-pager__items{
- text-align: center;
-
- li{
- display: inline-block;
- float: left;
- margin: 0 .2rem;
- }
- }
- }
- ///////// ressource single
- .page-node-type-ressource{
- &.programme-1{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-1 !important;
- }
- }
- .field_programme div{
- background: $col-1 ;
- }
- }
- &.programme-2{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-2 !important;
- }
- }
- .field_programme div{
- background: $col-2 ;
- }
- }
- &.programme-3{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-eur !important;
- }
- }
- .field_programme div{
- background: $col-eur ;
-
- }
- }
- &.programme-4{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-1;
- }
- }
- .field_programme div{
- background:$col-1 ;
-
- }
- }
-
- &.programme-5{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-mond !important;
- }
- }
- .field_programme div{
- background: $col-mond ;
- }
- }
- &.programme-6{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-ter !important;
- }
- }
- .field_programme div{
- background: $col-ter ;
- }
- }
- &.programme-7{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-met !important;
- }
- }
- .field_programme div{
- background: $col-met ;
- }
- }
- &.programme-883{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-transition !important;
- }
- }
- .field_programme div{
- background: $col-transition ;
- }
- }
- &.programme-878{
- .block-region-second{
- h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource,.field_collections{
- color: $col-exode !important;
- }
- }
- .field_programme div{
- background: $col-exode ;
- }
- }
- // Copy from themes
- // .block-region-first{
- // // .field_programme{
- // // display: none;
- // // }
- // // #programme_toc-block_10{
- // // .views-row{
- // // padding-left: 1rem;
- // // }
- // // }
- // // @include breakpoint(small down) {
- // // text-align: center;
- // // }
- // // position: absolute;
-
- // // top: 0;
- // // left: 0;
- // padding: 1rem 1.5rem ;
- // .body{
-
- // cursor: pointer;
- // transition: all 250ms;
- // text-decoration: none;
- // // &:hover{
- // // padding: 0 0 0 .3rem;
-
- // // }
- // a{
- // font-family: "duke";
- // font-size: $font-large;
- // }
- // }
- // }
- // Copy from themes end
- .block-region-second{
- // display: grid;
- // grid-template-columns: repeat(10, 8%);
- padding-bottom: 3rem;
- // align-items: center;
- // grid-column-gap: 2%;
-
- .field_programme div{
- display: inline-block;
- // background: gray;
- color: white;
- font-weight: 600;
- padding: .3rem .5rem;
- margin-bottom: 1rem;
- a{
- text-decoration: none;
- }
- }
-
- // ///
- #node\:title{
- margin: 0;
- font-size: calc($font-large - 0.4rem);
- line-height: 1.3;
- font-weight: 300;
- font-style: italic;
- margin-bottom: 1rem;
- margin: 0;
-
- }
- // #node\:field_sous_titre{
- // grid-row: auto / span 2;
- // grid-column: 4 / span 6;
- // }
- #node\:field_image{
- float: left;
- width: 40%;
- margin: -1rem 1rem 1.5rem 0;
- }
- #node\:field_auteurs{
-
- // margin-top: 2rem;
- .field_auteurs{
- font-weight: 600;
- font-size: $font-medium;
- p{
- position: relative;
- float: left;
- margin-right: .4rem;
- display: contents;
- }
- }
- }
- #node\:body{
- clear: both;
- }
- // #node\:field_videos{
- // margin-top: 2rem;
- // grid-column: 1 / span 10;
- // // grid-row: 6;
- // grid-row: auto / span 1;
- // }
-
- #node\:field_type_de_ressource{
- // grid-row: 1;
- font-size: $font-small;
- font-weight: 600;
- padding: .3rem .5rem;
- text-transform: uppercase;
- padding-left: calc(40% + 1rem);
- }
- // #node\:field_programme{
- // margin-bottom: 1rem;
- // // grid-row: 1;
- // grid-row: auto / span 1;
- // grid-column: 1 / span 3;
- // }
- // #node\:field_date_de_parution{
- // //grid-row: 4;
- // grid-row: auto / span 1;
- // grid-column: 4/ span 6 ;
- // font-size: $font-medium;
- // }
- // #node\:field_collections{
- // //grid-row: 5;
- // grid-row: 3 / span 1;
- // grid-column: 4 / span 6;
- // font-size: $font-medium;
- // }
- // #node\:field_sous_titre{
- // grid-row: auto / span 1;
- // grid-column: 4/ span 6 ;
- // font-size: $font-medium;
- // }
- #node\:field_theme{
-
- vertical-align: bottom;
- display: inline-block;
- margin-top: 1rem;
- a{
- text-decoration: none;
- }
- }
- }
- .block-region-third{
- #node\:field_lien{
- text-transform: uppercase;
- font-weight: 500;
- margin-top: 0;
- .field_lien{
- >div{
- padding: 0;
- }
- }
- >div{
- word-wrap: break-word;
- padding: 0;
- }
- a{
- display: block;
- margin: 0 auto;
- background: #000;
- color: #fff;
- font-family: trueno;
- font-weight: 500;
- //padding: .3rem .7rem;
- font-size: .45rem;
- text-decoration: none;
- text-transform: uppercase;
- }
-
- }
- #collection-block_1{
- &>div{
- padding: 0;
- }
- .views-row{
- font-size: $font-small;
- padding: 0 2rem 0 0;
- }
- .views-field-name{
- font-weight: 600;
- margin: 0;
- padding: 0;
- a{
- text-decoration: none;
- }
- }
- }
- #node\:field_evenements_lies{
- .field_evenements_lies{
- color: black !important;
- // padding-left: .3rem;
- }
- }
- #node\:field_lien{
- .field_lien{
- a{
- background: transparent;
- color: black;
- svg{
- visibility: hidden;
- }
- }
- }
- }
- }
- }
- //spec ressources vidéo
- .page-node-type-ressource{
- .ressources-video{
- #node\:field_image{
- display: none;
- }
- #node\:field_type_de_ressource{
- padding: 0;
- }
- #node\:field_videos{
- margin: 0rem 0 1rem 0;
- }
- }
- }
|