Skip to content

Commit 8a5ac35

Browse files
authored
CSS: rounder notification, flatter close button (#273)
1 parent badc062 commit 8a5ac35

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

data/application.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ window,
1010
padding: 3px;
1111
border: none;
1212
border-radius: 100%;
13-
background-image:
14-
linear-gradient(
15-
to bottom,
16-
@BLACK_300,
17-
@BLACK_500
18-
);
13+
background: @BLACK_500;
1914
box-shadow:
2015
inset 0 0 0 1px alpha(#fff, 0.02),
2116
inset 0 1px 0 0 alpha(#fff, 0.07),
@@ -43,8 +38,17 @@ window,
4338
}
4439

4540
.notification .draw-area {
46-
margin: 16px;
4741
background: alpha(@base_color, 0.8);
42+
border-radius: 9px;
43+
box-shadow:
44+
inset 0 -1px 0 0 alpha(@highlight_color, 0.4),
45+
inset 0 1px 0 0 alpha(@highlight_color, 0.6),
46+
inset 1px 0 0 0 alpha(@highlight_color, 0.14),
47+
inset -1px 0 0 0 alpha(@highlight_color, 0.14),
48+
0 0 0 1px @borders,
49+
0 1px 3px alpha(black, 0.2),
50+
0 3px 9px alpha(black, 0.3);
51+
margin: 16px;
4852
}
4953

5054
.notification.reduce-transparency .draw-area {

0 commit comments

Comments
 (0)