mise à jour du nouveau design partie 1
This commit is contained in:
parent
6b2db11968
commit
83a0bb9436
1 changed files with 37 additions and 22 deletions
59
bulma.sass
vendored
59
bulma.sass
vendored
|
@ -43,8 +43,8 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
|
|
||||||
.navbar.is-light .navbar-brand > .navbar-item,
|
.navbar.is-light .navbar-brand > .navbar-item,
|
||||||
.navbar.is-light .navbar-brand .navbar-link
|
.navbar.is-light .navbar-brand .navbar-link
|
||||||
background-color: transparent
|
background-color: $link
|
||||||
color: $white
|
color: white
|
||||||
|
|
||||||
.navbar.is-light .navbar-brand > a.navbar-item:hover, .navbar.is-light .navbar-brand > a.navbar-item.is-active,
|
.navbar.is-light .navbar-brand > a.navbar-item:hover, .navbar.is-light .navbar-brand > a.navbar-item.is-active,
|
||||||
.navbar.is-light .navbar-brand .navbar-link:hover,
|
.navbar.is-light .navbar-brand .navbar-link:hover,
|
||||||
|
@ -68,13 +68,21 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
.navbar.is-light .navbar-burger.is-active,
|
.navbar.is-light .navbar-burger.is-active,
|
||||||
.navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,
|
.navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,
|
||||||
.navbar.is-light .navbar-item.has-dropdown .navbar-link
|
.navbar.is-light .navbar-item.has-dropdown .navbar-link
|
||||||
background-color: $link
|
background-color: white
|
||||||
color: white
|
color: $link
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
|
|
||||||
.navbar.is-light .navbar-dropdown
|
.navbar.is-light .navbar-dropdown
|
||||||
border-color: $text-light
|
border-color: $text-light
|
||||||
|
|
||||||
|
.navbar.is-light .navbar-dropdown a.navbar-item
|
||||||
|
color: $link
|
||||||
|
text-decoration: underline dotted
|
||||||
|
|
||||||
|
.navbar.is-light .navbar-dropdown a.navbar-item:hover
|
||||||
|
color: white
|
||||||
|
text-decoration: underline
|
||||||
|
|
||||||
.navbar.is-light .navbar-divider
|
.navbar.is-light .navbar-divider
|
||||||
color: $text-light
|
color: $text-light
|
||||||
|
|
||||||
|
@ -87,8 +95,9 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
color: white
|
color: white
|
||||||
|
|
||||||
.navbar.is-light
|
.navbar.is-light
|
||||||
background-color: $link
|
background-color: white
|
||||||
color: white
|
border-bottom: 2px solid $link
|
||||||
|
min-height: 3.6rem
|
||||||
|
|
||||||
.navbar.is-light .navbar-brand
|
.navbar.is-light .navbar-brand
|
||||||
display: none
|
display: none
|
||||||
|
@ -112,16 +121,17 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
|
|
||||||
.navbar.is-light .navbar-start .navbar-link::after,
|
.navbar.is-light .navbar-start .navbar-link::after,
|
||||||
.navbar.is-light .navbar-end .navbar-link::after
|
.navbar.is-light .navbar-end .navbar-link::after
|
||||||
border-color: white
|
border-color: $link
|
||||||
|
|
||||||
.navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,
|
.navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,
|
||||||
.navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link
|
.navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link
|
||||||
background-color: $primary
|
background-color: $link
|
||||||
color: white
|
color: white
|
||||||
|
|
||||||
.navbar.is-light .navbar-dropdown a.navbar-item.is-active
|
.navbar.is-light .navbar-dropdown a.navbar-item.is-active
|
||||||
background-color: $link-hover
|
background-color: $link-hover
|
||||||
color: white
|
color: white
|
||||||
|
text-decoration: underline dotted
|
||||||
|
|
||||||
.navbar.is-light .navbar-item.is-logo
|
.navbar.is-light .navbar-item.is-logo
|
||||||
position: absolute
|
position: absolute
|
||||||
|
@ -130,18 +140,21 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
height: 100%
|
height: 100%
|
||||||
display: flex
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
background-color: white
|
background-color: $link
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
|
.navbar-item.is-logo:hover
|
||||||
|
background-color: $link
|
||||||
|
|
||||||
.navbar-item.is-logo:before
|
.navbar-item.is-logo:before
|
||||||
border-right: 1.6rem solid white
|
border-right: 1.6rem solid $link
|
||||||
border-bottom: 3.2rem solid $link
|
border-bottom: 3.5rem solid white
|
||||||
content: " "
|
content: " "
|
||||||
width: 20%
|
width: 20%
|
||||||
|
|
||||||
.navbar-item.is-logo:after
|
.navbar-item.is-logo:after
|
||||||
border-left: 1.6rem solid white
|
border-left: 1.6rem solid $link
|
||||||
border-bottom: 3.2rem solid $link
|
border-bottom: 3.5rem solid white
|
||||||
content: " "
|
content: " "
|
||||||
width: 20%
|
width: 20%
|
||||||
|
|
||||||
|
@ -149,8 +162,10 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
max-height: 2rem
|
max-height: 2rem
|
||||||
height: 2rem
|
height: 2rem
|
||||||
|
|
||||||
.navbar.is-light .navbar-item.is-logo:hover
|
.navbar-item.is-logo a.navbar-item:hover,
|
||||||
background-color: white
|
.navbar-item.is-logo a.navbar-item:focus,
|
||||||
|
.navbar-item.is-logo a.navbar-item:focus-within
|
||||||
|
background-color: $link
|
||||||
|
|
||||||
//navbar pour les mobiles
|
//navbar pour les mobiles
|
||||||
.navbar-dropdown a.navbar-item:hover
|
.navbar-dropdown a.navbar-item:hover
|
||||||
|
@ -164,6 +179,7 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
@media screen and (max-width: 1087px)
|
@media screen and (max-width: 1087px)
|
||||||
.navbar-item.is-logo
|
.navbar-item.is-logo
|
||||||
display: none
|
display: none
|
||||||
|
background-color: $link
|
||||||
|
|
||||||
//bouton de la navbar
|
//bouton de la navbar
|
||||||
.button.is-light
|
.button.is-light
|
||||||
|
@ -203,14 +219,14 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
|
|
||||||
.footer:before
|
.footer:before
|
||||||
border-left: 2.5rem solid transparent
|
border-left: 2.5rem solid transparent
|
||||||
border-bottom: 2.5rem solid $link
|
border-bottom: 2.5rem solid white
|
||||||
margin-left: -10%
|
margin-left: -10%
|
||||||
content: " "
|
content: " "
|
||||||
width: 20%
|
width: 20%
|
||||||
|
|
||||||
.footer:after
|
.footer:after
|
||||||
border-right: 2.5rem solid transparent
|
border-right: 2.5rem solid transparent
|
||||||
border-bottom: 2.5rem solid $link
|
border-bottom: 2.5rem solid white
|
||||||
margin-right: -10%
|
margin-right: -10%
|
||||||
content: " "
|
content: " "
|
||||||
width: 20%
|
width: 20%
|
||||||
|
@ -223,7 +239,7 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
.footer
|
.footer
|
||||||
padding: 0
|
padding: 0
|
||||||
display: flex
|
display: flex
|
||||||
background-color: $link
|
background-color: white
|
||||||
margin: auto auto 0
|
margin: auto auto 0
|
||||||
color: white
|
color: white
|
||||||
box-sizing: unset
|
box-sizing: unset
|
||||||
|
@ -239,10 +255,10 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
.footer ul li a
|
.footer ul li a
|
||||||
display: block
|
display: block
|
||||||
padding: 1rem 0.5rem
|
padding: 1rem 0.5rem
|
||||||
color: white
|
color: $link
|
||||||
|
|
||||||
.footer a:link, .footer a:visited
|
.footer a:link, .footer a:visited
|
||||||
color: white
|
color: $link
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
text-decoration-style: dotted
|
text-decoration-style: dotted
|
||||||
|
|
||||||
|
@ -408,8 +424,7 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
//section retreci
|
//section retreci
|
||||||
.section
|
|
||||||
padding: 1rem 1.5rem
|
|
||||||
|
|
||||||
//bas de page courte
|
//bas de page courte
|
||||||
html
|
html
|
||||||
|
|
Loading…
Reference in a new issue