|
@@ -1,5 +1,6 @@
|
|
|
@use '@growi/core/scss/bootstrap/init' as bs;
|
|
@use '@growi/core/scss/bootstrap/init' as bs;
|
|
|
|
|
|
|
|
|
|
+@use '@growi/core/scss/growi-official-colors';
|
|
|
@use '../variables' as var;
|
|
@use '../variables' as var;
|
|
|
|
|
|
|
|
.grw-sidebar-head :global {
|
|
.grw-sidebar-head :global {
|
|
@@ -21,11 +22,30 @@
|
|
|
padding: (($height - $logomark-height) / 2) (($width - $logomark-width) / 2);
|
|
padding: (($height - $logomark-height) / 2) (($width - $logomark-width) / 2);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
// == Colors
|
|
// == Colors
|
|
|
.grw-sidebar-head :global {
|
|
.grw-sidebar-head :global {
|
|
|
|
|
+ .grw-logo {
|
|
|
|
|
+ // set transition for fill
|
|
|
|
|
+ svg, svg * {
|
|
|
|
|
+ transition: fill 0.8s ease-out;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ svg {
|
|
|
|
|
+ .group1 {
|
|
|
|
|
+ fill: growi-official-colors.$growi-green;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .group2 {
|
|
|
|
|
+ fill: growi-official-colors.$growi-blue;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
@include bs.color-mode(light) {
|
|
@include bs.color-mode(light) {
|
|
|
.grw-sidebar-head :global {
|
|
.grw-sidebar-head :global {
|
|
@@ -36,6 +56,13 @@
|
|
|
var(--grw-highlight-100)
|
|
var(--grw-highlight-100)
|
|
|
)
|
|
)
|
|
|
);
|
|
);
|
|
|
|
|
+
|
|
|
|
|
+ .grw-logo {
|
|
|
|
|
+ fill: var(--grw-logo-color, var(--bs-gray-500));
|
|
|
|
|
+ }
|
|
|
|
|
+ .grw-app-title {
|
|
|
|
|
+ color: var(--grw-app-title-color, var(--bs-gray-600));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
@include bs.color-mode(dark) {
|
|
@include bs.color-mode(dark) {
|
|
@@ -47,5 +74,12 @@
|
|
|
var(--grw-highlight-800)
|
|
var(--grw-highlight-800)
|
|
|
)
|
|
)
|
|
|
);
|
|
);
|
|
|
|
|
+
|
|
|
|
|
+ .grw-logo {
|
|
|
|
|
+ fill: var(--grw-logo-color, var(--bs-gray-600));
|
|
|
|
|
+ }
|
|
|
|
|
+ .grw-app-title {
|
|
|
|
|
+ color: var(--grw-app-title-color, var(--bs-gray-500));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|