-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: sexy arrow animation * feat: dropdown technically works * fix: scss clarity * feat: beautiful dropdown * feat: proper switching; fix: no duplicates allowed * fix: lag using async * style: schedule options * fix: can select same schedule again * fix: annoying build error
- Loading branch information
1 parent
89d03f4
commit 7f2a589
Showing
4 changed files
with
118 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.arrow { | ||
margin-left: auto; // Pushes the arrow to the right | ||
display: inline-block; | ||
width: 0; | ||
height: 0; | ||
border-left: 5px solid transparent; | ||
border-right: 5px solid transparent; | ||
border-top: 5px solid orange; // Use your desired color for the arrow | ||
transition: transform 0.3s ease; // smooth transition for rotation | ||
} | ||
|
||
.expanded { | ||
transform: rotate(180deg); | ||
} | ||
|
||
.scheduleItem { | ||
border: 1px solid #ccc; /* Example border */ | ||
margin: 8px 0; /* Increased spacing */ | ||
padding: 10px; /* Inner spacing */ | ||
border-radius: 4px; /* Rounded corners */ | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */ | ||
background-color: #fff; /* Ensure background contrast */ | ||
cursor: pointer; | ||
|
||
&:hover { | ||
background-color: #f9f9f9; /* Hover effect */ | ||
} | ||
} |