forked from newthuhole/hole_thu_frontend
add dark mode
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/* overriding infrastructure/widget.css */
|
||||
.root-dark-mode .title-line {
|
||||
color: var(--foreground-dark);
|
||||
}
|
||||
.root-dark-mode .title-line::before, .root-dark-mode .title-line::after {
|
||||
background-color: var(--foreground-dark);
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
z-index: 10;
|
||||
position: sticky;
|
||||
@@ -11,6 +19,10 @@
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.root-dark-mode .title-bar {
|
||||
background-color: hsla(0,0%,80%,.7);
|
||||
}
|
||||
|
||||
.control-bar {
|
||||
display: flex;
|
||||
margin-top: .5em;
|
||||
@@ -36,13 +48,17 @@
|
||||
.control-search {
|
||||
flex: auto;
|
||||
color: black;
|
||||
background-color: rgba(255,255,255,.3);
|
||||
background-color: rgba(255,255,255,.3) !important;
|
||||
margin: 0 .5em;
|
||||
min-width: 8em;
|
||||
}
|
||||
|
||||
.control-search:focus {
|
||||
background-color: white;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
.root-dark-mode .control-search:focus {
|
||||
background-color: hsl(0,0%,90%) !important;
|
||||
}
|
||||
|
||||
.list-menu {
|
||||
|
||||
Reference in New Issue
Block a user