123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- //header
- #header-top{
- height: 3rem;
- background: white;
- }
- .header_top_left_container{
- height: 100%;
- &>div:first-child{
- height: 100%;
- }
- a[rel~='home']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../images/popsu-home-logo.png);
- }
- }
- .header_top_middle_container{
- height: 100%;
- // solution to access views container
- .views-element-container{
- height: 100%;
- &>div:first-child{
- height: 100%;
- &>div:first-child{
- height: 100%;
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- align-items: center;
- &>div:first-child{
- grid-column-start: 2;
- }
- }
-
- }
- }
- .views-row{
- text-align: center;
- display: inline-block;
- width: auto;
- a{
- text-transform: uppercase;
- text-decoration: none;
- font-weight: 600;
- }
- .views-field-title{
- display: inline-block;
- width: auto;
- padding: .2rem .5rem;
- }
-
- }
- .popsu-node-3{
- .views-field-title{
- color: $col-eur;
- &:hover{
- background: $col-eur;
- color:white;
- }
- }
- }
- .popsu-node-5{
- .views-field-title{
- color: $col-mond;
- &:hover{
- background: $col-mond;
- color:white;
- }
- }
- }
- .popsu-node-7{
- .views-field-title{
- color: $col-met;
- &:hover{
- background: $col-met;
- color:white;
- }
- }
- }
- }
- .close-block, .open-block{
- // background: red;
- cursor:pointer;
- span{
- display: block;
- width: 33px;
- height: 2px;
- position: relative;
- background: black;
- border-radius: 3px;
- z-index: 1;
- }
- }
- .close-block{
- padding-top: 1rem;
- span{
- transform-origin: center;
- }
- &>div>span:first-child{
-
- transform: translateY(57%)rotate(45deg);
- }
- &>div>span:nth-child(2){
- transform: rotate(-45deg);
- }
- }
- .open-block{
- height: 100%;
- display: grid;
- align-items: center;
- span{
- margin-bottom: 5px;
- transform-origin: 4px 0px;
- }
- }
- #header-top-right{
- .header_top_right_container{
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- background: white;
- display: none;
- grid-template-columns: 10% 25% 25% 30% 10%;
- padding: 1rem 0;
- z-index: 100;
- line-height: 2;
- nav{
- grid-column-start: 2;
- }
- // padding: 1rem .5rem 1rem .5rem;
- a{
- text-decoration: none;
- font-weight: 400;
- &:hover{
- text-decoration: underline;
- }
- }
- h2{
- font-weight: 100;
- margin-bottom: .3rem;
- }
- .is-active{
- font-weight: 800;
- }
- #block-views-block-programmes-block-2{
- .views-row{
- width: 100%;
-
- }
-
- }
- }
- }
- footer{
- background: white;
- }
- #footer-bottom{
- padding: 2rem 0;
- *{
- word-wrap: break-word;
- }
- h2{
- font-weight: 500;
- }
- .footer_bottom_left_container{
- height: 100%;
- div{
- height: 100%;
- }
- p{
- height: 100%;
- display: grid;
- }
- }
- .logo-gouv{
- height: 100%;
- display: block;
- color: transparent;
- font-size: 0;
- background: left / contain no-repeat url(../images/gouv.svg);
- }
- .logo-puca{
- height: 100%;
- display: block;
- color: transparent;
- font-size: 0;
- background: left / contain no-repeat url(../images/puca.svg);
- }
- #block-pieddepage{
- ul{
- line-height: 2;
- li{
- a{
- text-transform: uppercase;
- text-decoration: none;
- font-weight: 400;
- &:hover{
- text-decoration: underline;
- }
- }
- }
- }
- }
- .footer_bottom_right_container{
- &>div>div{
- // display: grid;
- // grid-template-columns: repeat(3,1fr);
- p{
- display: inline-block;
- a{
- min-width: 2rem;
- min-height: 2rem;
- }
- a[href*='twitter']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../images/tw.svg);
- }
- a[href*='linkedin']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../images/ln.svg);
- }
- a[href*='youtube']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../images/yt.svg);
- }
- }
- }
- }
- }
|