Skip to content

Commit

Permalink
Merge pull request #26 from hohaicongthuan/main
Browse files Browse the repository at this point in the history
Add glow effect when hovering title bar buttons
  • Loading branch information
khang-nd authored Sep 10, 2022
2 parents 8357936 + 10822eb commit 6a3e0a6
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

1 comment on commit 6a3e0a6

@vercel
Copy link

@vercel vercel bot commented on 6a3e0a6 Sep 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

7css – ./

7css.vercel.app
7css-khangnd.vercel.app
7css-git-main-khangnd.vercel.app

Please sign in to comment.