123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- .path-faq{
- #block-contenudelapageprincipale{
- h2{
- font-family: 'Source Code Pro';
- font-size: 2rem;
- font-weight: 800;
- color: $blue-light;
- background-color: $white;
- text-transform: uppercase;
- width: fit-content;
- margin-left: 10%;
- margin-top: 8rem;
- @media (max-width: 810px){
- margin-left: 8%;
- margin-right: 1%;
- }
- }
- .block-region-content{
- display: grid;
- grid-template-columns: 1fr repeat(4, 2fr) 1fr;
- @media (max-width: 810px){
- display: flex;
- flex-direction: column;
- margin: auto;
- }
- // texte
- .block-config-pages.block-config-pages-block{
- grid-column: 2 / span 3;
- @media (max-width: 810px){
- width: 80%;
- margin: auto;
- }
- }
- // bloc bleu déposer une question
- .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
- ///////////////// à activer le 19 février /////////////////
- display: none;
- //////////////////////////////////
- grid-column: 5;
- grid-row: 1 /span 2;
- height: fit-content;
- ///////////////// à désactiver le 19 février /////////////////
- // display: flex;
- //////////////////////////////////
- flex-direction: column;
- max-width: fit-content;
- margin-left: 2rem;
- padding: 1rem;
- background-color: $blue-light;
- .field--name-field-lien{
- &:before{
- margin-top: 1rem;
- display: block;
- content: url("../images/pictos/picto_faq.svg");
- }
- text-align: center;
- a{
- font-size: 0.8rem;
- font-weight: 1000;
- color: $blue-dark;
- text-transform: uppercase;
- }
- }
- .field--name-field-description{
- p{
- display: flex;
- flex-direction: column;
- margin-top: 0;
- margin-left: 1.5rem;
- margin-right: 1.5rem;
- text-align: center;
- a{
- font-weight: 800;
- color: $white;
- font-size: 1.3rem;
- }
- &:after{
- margin-left: auto;
- padding-top: 1rem;
- display: block;
- content:url("../images/pictos/noun_Arrow_3771902.svg")
-
- }
- }
- }
- @media (max-width: 810px){
- margin: auto;
- padding: 0rem;
- .field--name-field-lien{
- &:before{
- margin-top: 1rem;
- display: block;
- content: url("../images/pictos/picto_faq_2.svg");
- }
- text-align: center;
- a{
- font-size: 0.8rem;
- font-weight: 1000;
- color: $blue-dark;
- text-transform: uppercase;
- }
- }
- }
- }
- .block-views-blockfaq-block-1{
- margin-top: 2rem;
- grid-column: 2 / span 3;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- @media (max-width: 810px){
- width: 80%;
- margin: auto;
- margin-top: 1rem;
- }
- div:first-child{
- grid-column: 1 / span 3;
- // width: 70%;
- // margin: auto;
- .node-type-question_reponse{
- border-bottom: 1px solid $blue-light;
- padding-bottom: 2rem;
- @media (max-width: 810px){
- padding-bottom: 1rem;
- }
- .field--name-title{
- display: none;
- }
-
- .field--name-field-question{
- cursor: pointer;
- p{
- font-family: 'Source Code Pro' ;
- font-weight: 500 ;
- color: $blue-dark ;
- font-size: 1.3rem;
- &:after{
- display:inline-flex;
- content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
- // justify-self: flex-end;
- float: right;
- }
- }
- :hover {
- &:after{
- display:inline-flex;
- content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
- // justify-self: flex-end;
- float: right;
-
- }
- }
- }
-
- .field--name-field-reponse{
- display: none;
- }
- .field--name-field-fichiers{
- display: none;
- span:nth-of-type(2){
- display: none;
- }
-
- .file--mime-application-pdf{
- span:nth-of-type(2){
- display: none;
- }
- ::before{
- display: inline-block;
- content: url("../images/pictos/noun_Download_file_307900.svg");
- width: 30px;
- height: 30px;
- padding-right: 0.8rem;
- }
- a{
- display: inline-flex;
- align-items: center;
- color: $black;
- font-weight: 800;
- }
- }
- }
-
- .field--name-field-liens{
- display: none;
- a{
- &:before{
- display: inline-block;
- content: url("../images/pictos/noun_External Link_674151.svg");
- width: 30px;
- height: 30px;
- padding-right: 0.8rem;
- }
- display:flex;
- flex-direction: row;
- justify-content: left;
- align-items: center;
- color: $black;
- font-weight: 800;
- }
- svg{
- display: none;
- }
- }
- .field--name-field-ress{
- display: none;
- margin-top: 0.5rem;
-
- a{
- color: $black;
- text-decoration: underline;
- font-weight: 800;
- }
- }
- .opened{
- display: block;
- }
- }
- }
- }
- }
- }
-
- }
|