Skip to content

Commit 0803a8f

Browse files
committed
feat(devindex): Create HeaderToolbar theme files and decouple styling (#9212)
1 parent f4177d6 commit 0803a8f

3 files changed

Lines changed: 8 additions & 20 deletions

File tree

resources/scss/src/apps/devindex/HeaderToolbar.scss

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.devindex-header-toolbar {
2-
box-shadow: var(--portal-header-shadow);
2+
box-shadow: var(--devindex-header-shadow);
33
z-index : 8;
44

55
.neo-button.neo-button-ghost {
@@ -42,7 +42,7 @@
4242

4343
.separate-bar {
4444
animation : fade-in-animation 200ms linear;
45-
box-shadow : var(--portal-header-shadow);
45+
box-shadow : var(--devindex-header-shadow);
4646
flex-direction: column;
4747
position : absolute;
4848
right : 0;
@@ -60,14 +60,6 @@
6060
}
6161
}
6262

63-
.logo-container {
64-
animation: fade-and-scale-animation auto linear;
65-
animation-timeline: --page-scroll;
66-
}
67-
68-
.portal-home-maincontainer {
69-
scroll-timeline: --page-scroll block;
70-
}
7163

7264
@keyframes rotateAnimation {
7365
from {
@@ -78,16 +70,6 @@
7870
}
7971
}
8072

81-
@keyframes fade-and-scale-animation {
82-
0% {
83-
opacity : 1;
84-
transform: scale(1);
85-
}
86-
12%, 100% {
87-
opacity : 0;
88-
transform: scale(1.5);
89-
}
90-
}
9173

9274
@keyframes fade-in-animation {
9375
from {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:root .neo-theme-neo-dark {
2+
--devindex-header-shadow: 0 5px 10px rgba(0,0,0,.5);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:root .neo-theme-neo-light {
2+
--devindex-header-shadow: 0 5px 10px rgba(0,0,0,.3);
3+
}

0 commit comments

Comments
 (0)