Skip to content

Commit d90f2ea

Browse files
committed
Fix style, add comment for transition
Signed-off-by: Peter Kos <pkos91@icloud.com>
1 parent ac3002c commit d90f2ea

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

sass/main.scss

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ $event-count: 6;
7575
box-sizing: border-box;
7676
font-family: "Poppins", sans-serif;
7777
color: white;
78-
// Allows for elements "below" std z-index
79-
// (note: only set if child adopts explicit position value)
80-
81-
&:not(#faq) {
78+
// Transition all elements on the screen
79+
// (except FAQ panel, which already has a transition,
80+
// and the section days, which need no transition.)
81+
&:not(.panel):not(#days):not(.number) {
8282
transition: all 1s ease;
8383
}
8484

@@ -154,6 +154,7 @@ nav {
154154
align-self: flex-start;
155155
width: $nav-height;
156156
height: $nav-height;
157+
157158
img {
158159
width: $nav-height;
159160
height: $nav-height;
@@ -365,7 +366,6 @@ nav {
365366
border: 2px solid #A3A9CA;
366367
box-sizing: border-box;
367368
border-radius: 50%;
368-
369369
// slick-theme has a transform we don't need!
370370
transform: none;
371371
@include button-effect($blue);
@@ -391,13 +391,15 @@ nav {
391391

392392
.slick-prev {
393393
left: 1%;
394+
394395
&::before {
395396
content: "\f060";
396397
}
397398
}
398399

399400
.slick-next {
400401
right: 1%;
402+
401403
&::before {
402404
content: "\f061";
403405
}
@@ -586,10 +588,11 @@ nav {
586588
flex-direction: column;
587589
user-select: none;
588590
cursor: pointer;
589-
transition: none;
590-
591+
color: white;
592+
// transition: none;
591593
.day {
592594
.number {
595+
// transition: none;
593596
font-size: 6.5em;
594597
font-weight: $font-bold;
595598
line-height: 1; // TODO: Can this be done cleaner?

0 commit comments

Comments
 (0)