Skip to content

Commit

Permalink
Add glow effect when hovering title bar buttons, small adjust to wind…
Browse files Browse the repository at this point in the history
…ow's shadow
  • Loading branch information
hohaicongthuan committed Jun 15, 2022
1 parent 17551fb commit 10822eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gui/_window.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--window-spacing: 6px;
--window-border: 1px solid;
--window-border-radius: 6px;
--window-border-color: rgba(0, 0, 0, 0.6);
--window-border-color: rgba(0, 0, 0, .7);
--window-background-color: #4580c4;
--window-background: linear-gradient(
to right,
Expand Down Expand Up @@ -33,7 +33,7 @@

.window {
font: var(--font);
box-shadow: 0 0 5px 1px var(--window-border-color);
box-shadow: 2px 2px 10px 1px var(--window-border-color);
border: var(--window-border) var(--window-border-color);
border-radius: var(--window-border-radius);
position: relative;
Expand Down Expand Up @@ -215,10 +215,11 @@
transparent 60%
),
linear-gradient(#a9d2e8 50%, #196c9b 50%);
box-shadow: 0 0 15px #2aceda;
}

&:active {
box-shadow: inset 0 0 0 0.5px #eee;
box-shadow: inset 0 0 0 0.5px #eee, 0 0 15px #2aceda;
background: radial-gradient(
circle at 50% 100%,
#0bfdfa,
Expand Down Expand Up @@ -265,6 +266,7 @@
&:hover {
filter: contrast(1.3);
background-image: var(--control-background);
box-shadow: 0 0 15px #d04a37, inset 0 -1px 5px orange;
}

&:active {
Expand Down

0 comments on commit 10822eb

Please sign in to comment.