Skip to content

Commit

Permalink
expand dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
SquareScreamYT committed Oct 9, 2024
1 parent ce89632 commit 3b27936
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kotobalibre/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
<div class="container">
<div class="sidebar">
<input type="text" id="search" placeholder="suha per kotoba...">
<select id="category-filter">
<option value="all">al klani</option>
</select>
<div id="category-filter-container">
<select id="category-filter">
<option value="all">al klani</option>
</select>
</div>
<div id="wordList"></div>
</div>
<div class="content">
Expand Down
13 changes: 13 additions & 0 deletions kotobalibre/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,19 @@ img {
font-family: "Nunito", "SF Pro Rounded", "Apple Color Emoji", "Noto Color Emoji", "Lato", system-ui, -apple-system, Roboto, Oxygen, Ubuntu, Cantarell, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif, monospace;
}

#category-filter option {
background-color: var(--bg-color-darker);
color: var(--text-color);
transition: background-color 0.3s ease;
}
#category-filter option:hover {
background-color: var(--bg-color-darkest);
}

#category-filter-container {
height: fit-content;
}

#copy-button {
font-family: "Nunito", "SF Pro Rounded", "Apple Color Emoji", "Noto Color Emoji", "Lato", system-ui, -apple-system, Roboto, Oxygen, Ubuntu, Cantarell, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif, monospace;
appearance: none;
Expand Down

0 comments on commit 3b27936

Please sign in to comment.