Skip to content

Commit 1a672a0

Browse files
authored
Merge pull request #6 from reearth/style/update-style-for-page-2
style: update for header sidebar and card
2 parents 99294cc + 7adce0d commit 1a672a0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Diff for: src/styles/page.css

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
:root {
22
--purple-hsl: 240, 61%, 52%;
33
--overlay-blurple: hsla(var(--purple-hsl), 0.2);
4-
--dark-purple-hsl: 240, 15%, 15%;
54
}
65

76
:root[data-theme="light"] {
@@ -19,7 +18,7 @@
1918
background-attachment: fixed;
2019
}
2120

22-
.card {
21+
.page .card {
2322
background-color: rgba(0, 0, 0, 0.3);
2423
border-radius: 10px;
2524
}
@@ -29,10 +28,14 @@
2928
}
3029

3130
.page header,
32-
.page .sidebar-pane {
33-
background-color: hsla(var(--dark-purple-hsl), 0.95);
31+
:root[data-theme="light"] .page header {
32+
background-color: transparent;
33+
-webkit-backdrop-filter: blur(3px);
34+
backdrop-filter: blur(3px);
3435
}
35-
:root[data-theme="light"] .page header,
36+
37+
.page .sidebar-pane,
3638
:root[data-theme="light"] .page .sidebar-pane {
37-
background-color: rgba(255, 255, 255, 0.5);
39+
background-color: transparent;
40+
border-inline-end: 1px solid var(--sl-color-gray-6);
3841
}

0 commit comments

Comments
 (0)