ldc-portsalaries/resources/sass/front/partial/_planning.sass
2021-06-22 10:04:17 +02:00

127 lines
3.4 KiB
Sass

//Resize logo planning
#logo_planning
height: 120px
img
height: 115px
width: 90px
.container-main__tabs
display: flex
justify-content: space-between
.container-main__tab
background: var(--primary-color)
flex-grow: 1
margin: 10px
text-align: center
padding: 7px
font-style: $font-Normal
font-size: 15px
color: white
cursor: pointer
&.active
background: var(--secondary-color)
.container-main__content
display: none
justify-content: center
width: 100%
min-height: 500px
padding: 15px
padding-bottom: 20px
border-radius: 3px
border: 1px solid black
background: white
&.active
display: block
/**Centering**/
.description
margin-top: 10px
text-align: center
color: black
font-size: 13px
table
width: 100%
margin-top: 10px
td, th
padding: 8px
tr:nth-child(even)
background-color: #f2f2f2
tr:hover
background-color: #ddd
th
padding-top: 12px
padding-bottom: 12px
text-align: center
background-color: var(--secondary-color)
color: white
//Animation
@keyframes bounceInLeft
from,60%,75%,90%, to
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
0%
opacity: 0
-webkit-transform: translate3d(-3000px, 0, 0)
transform: translate3d(-3000px, 0, 0)
60%
opacity: 1
-webkit-transform: translate3d(25px, 0, 0)
transform: translate3d(25px, 0, 0)
75%
-webkit-transform: translate3d(-10px, 0, 0)
transform: translate3d(-10px, 0, 0)
90%
-webkit-transform: translate3d(5px, 0, 0)
transform: translate3d(5px, 0, 0)
to
-webkit-transform: translate3d(0, 0, 0)
transform: translate3d(0, 0, 0)
.bounceInLeft
animation-name: bounceInLeft
@keyframes bounceInRight
from,60%,75%,90%,to
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
from
opacity: 0
-webkit-transform: translate3d(3000px, 0, 0)
transform: translate3d(3000px, 0, 0)
60%
opacity: 1
-webkit-transform: translate3d(-25px, 0, 0)
transform: translate3d(-25px, 0, 0)
75%
-webkit-transform: translate3d(10px, 0, 0)
transform: translate3d(10px, 0, 0)
90%
-webkit-transform: translate3d(-5px, 0, 0)
transform: translate3d(-5px, 0, 0)
to
-webkit-transform: translate3d(0, 0, 0)
transform: translate3d(0, 0, 0)
.bounceInRight
animation-name: bounceInRight
.animated
animation-duration: 1s
animation-fill-mode: both
//For Ecran 4K
@media screen and (min-width: map-get($breakpoints, UHD))
.container-main__tabs
.container-main__tab
font-size: $font-size_4k_big
.container-main__content
.description
font-size: $font-size_4k_big
//For mobile
@media screen and (max-width: map-get($breakpoints, mobile))
//Planning
.wrapper
.container
.container-main
.container-main__tabs
flex-direction: column