diff --git a/web/themes/custom/reha/dist/css/bundle.css b/web/themes/custom/reha/dist/css/bundle.css index d0c2bce..fb997e4 100644 --- a/web/themes/custom/reha/dist/css/bundle.css +++ b/web/themes/custom/reha/dist/css/bundle.css @@ -1016,6 +1016,30 @@ aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--colla margin-bottom: 1rem; border-bottom: black solid 1px; } +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--name-field-fichiers, +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--type-file { + border: none; +} +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--name-field-fichiers:hover, +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--type-file:hover { + background-color: white !important; +} +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--name-field-fichiers .field__items .field__item, +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--type-file .field__items .field__item { + text-transform: uppercase; + padding-bottom: 0rem; + padding-left: 0.6rem; + padding-right: 0.6rem; + border: solid black 1px; + margin-bottom: 1rem; + background-color: rgb(255, 255, 255); + font-size: 0.9rem; + width: fit-content; +} +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--name-field-fichiers .field__items .field__item:hover, +aside.layout-sidebar-second .view-current-user-doc-profile .profile--type--collaborateur .field--type-file .field__items .field__item:hover { + background-color: #fdc300; +} aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage, aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement, aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier { @@ -1030,6 +1054,23 @@ aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dos align-items: center; flex-direction: row; } +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage > div:nth-child(1) .field__item .paragraph--type--dossier, +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement > div:nth-child(1) .field__item .paragraph--type--dossier, +aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier > div:nth-child(1) .field__item .paragraph--type--dossier { + padding-left: 10%; +} +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers, +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers, +aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers { + text-transform: none; + border: none; + padding-left: 10%; +} +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2), +aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2), +aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier > div:nth-child(1) .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2) { + display: none; +} aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage > div:nth-child(1)::before, aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement > div:nth-child(1)::before, aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier > div:nth-child(1)::before { @@ -1040,23 +1081,6 @@ aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dos padding-right: 1rem; align-items: center; } -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage .field__item .paragraph--type--dossier, -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement .field__item .paragraph--type--dossier, -aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier .field__item .paragraph--type--dossier { - padding-left: 10%; -} -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage .field__item .paragraph--type--dossier .field--name-field-fichiers, -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement .field__item .paragraph--type--dossier .field--name-field-fichiers, -aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier .field__item .paragraph--type--dossier .field--name-field-fichiers { - text-transform: none; - border: none; - padding-left: 10%; -} -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2), -aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2), -aside.layout-sidebar-second .view-current-user-doc-profile .paragraph--type--dossier .field__item .paragraph--type--dossier .field--name-field-fichiers span:nth-of-type(2) { - display: none; -} aside.layout-sidebar-second footer.view-footer { margin-top: 3rem; text-transform: uppercase; @@ -1084,6 +1108,10 @@ aside.layout-sidebar-second footer.view-footer :hover { background-color: #fdc300; } +.field--name-field-dossier-de-pilotage > div:nth-child(2) > div:nth-child(1) > div:nth-child(2):hover { + background-color: none !important; +} + /* Slider */ .slick-loading .slick-list { background: #fff url("./ajax-loader.gif") center center no-repeat; @@ -2450,7 +2478,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div } .block-views-blockactus-block-1 h2 { width: 80%; - font-size: 2rem; + font-size: 1.2rem; font-weight: 900; margin-left: 10%; padding-top: 1rem; @@ -2523,6 +2551,9 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div padding-top: 0; font-weight: 600; } +.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu .infos-content .field--name-field-sous-titre { + font-size: 1.2rem; +} .block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu .body-content { display: none; } diff --git a/web/themes/custom/reha/scss/pages/home/_home-view-actualites.scss b/web/themes/custom/reha/scss/pages/home/_home-view-actualites.scss index 90720d1..8a1304f 100644 --- a/web/themes/custom/reha/scss/pages/home/_home-view-actualites.scss +++ b/web/themes/custom/reha/scss/pages/home/_home-view-actualites.scss @@ -3,7 +3,7 @@ padding-bottom: 3rem; h2{ width: 80%; - font-size: 2rem; + font-size: 1.2rem; font-weight: 900; margin-left: 10%; padding-top: 1rem; @@ -65,6 +65,10 @@ padding-top: 0; font-weight: 600; } + .field--name-field-sous-titre{ + font-size: 1.2rem; + } + } .body-content{ display: none; diff --git a/web/themes/custom/reha/scss/partials/_aside.scss b/web/themes/custom/reha/scss/partials/_aside.scss index 83baa8b..33e1385 100644 --- a/web/themes/custom/reha/scss/partials/_aside.scss +++ b/web/themes/custom/reha/scss/partials/_aside.scss @@ -111,6 +111,33 @@ aside.layout-sidebar-second{ margin-bottom: 1rem; border-bottom: black solid 1px; } + .field--name-field-fichiers, + .field--type-file{ + &:hover{ + background-color: white !important; + } + border: none; + .field__items{ + + .field__item{ + text-transform: uppercase; + padding-bottom: 0rem; + padding-left: 0.6rem; + padding-right: 0.6rem; + border: solid black 1px; + margin-bottom: 1rem; + background-color: rgb(255, 255, 255); + font-size: 0.9rem; + width: fit-content; + + &:hover{ + background-color: $yellow-puca; + } + } + } + + } + } .field--name-field-dossier-de-pilotage, @@ -123,6 +150,20 @@ aside.layout-sidebar-second{ display: flex; align-items: center; flex-direction: row; + + .field__item{ + .paragraph--type--dossier{ + padding-left: 10%; + .field--name-field-fichiers{ + text-transform: none; + border: none; + padding-left: 10%; + span:nth-of-type(2){ + display: none; + } + } + } + } } > div:nth-child(1)::before{ @@ -133,19 +174,7 @@ aside.layout-sidebar-second{ padding-right: 1rem; align-items: center; } - .field__item{ - .paragraph--type--dossier{ - padding-left: 10%; - .field--name-field-fichiers{ - text-transform: none; - border: none; - padding-left: 10%; - span:nth-of-type(2){ - display: none; - } - } - } - } + } } @@ -174,3 +203,8 @@ aside.layout-sidebar-second{ } } +.field--name-field-dossier-de-pilotage > div:nth-child(2) > div:nth-child(1) > div:nth-child(2){ + &:hover{ + background-color: none !important; + } +} \ No newline at end of file