Skip to content

Commit

Permalink
feat: replace close button with SVG icon and update styling for consi…
Browse files Browse the repository at this point in the history
…stency
  • Loading branch information
franciscodelahoz committed Nov 4, 2024
1 parent 51191dd commit e3a55b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</section>
</main>
<aside id="configuration-sidebar">
<button id="close-configurations-button" class="icon-button" aria-label="Close configurations">&#x2715;</button>
<button id="close-configurations-button" class="icon-button" aria-label="Close configurations"><%= require('../resources/close-button.svg') %></button>
<div class="configuration-content">
<section class="configuration-group">
<h2 class="configuration-title">General Settings</h2>
Expand Down
3 changes: 3 additions & 0 deletions src/resources/close-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ body {
user-select: none;
cursor: pointer;
flex-grow: 10;
font-family: Verdana;
font-size: 0.83rem;
}

.default-button {
Expand All @@ -103,6 +105,7 @@ body {
background-color: #222222;
color: #34ff66;
font-family: Verdana;
font-size: 0.83rem;
}

.default-button:hover {
Expand Down Expand Up @@ -143,8 +146,10 @@ body {
padding-top: 3px;
padding-bottom: 3px;
padding-left: .5rem;
padding-right: 1.5rem;
padding-right: 2rem;
text-overflow: ellipsis;
font-family: Verdana;
font-size: 0.76rem;
}

.default-select:focus {
Expand Down

0 comments on commit e3a55b0

Please sign in to comment.