mirror of https://github.com/crossplane/docs.git
fix sidebar colors in mobile darkmode (#660)
This commit is contained in:
parent
fe92cae1bf
commit
78c2fd3232
|
@ -6,8 +6,13 @@
|
|||
position: sticky;
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
filter: var(--btn-close-color)!important;
|
||||
.offcanvas-title{
|
||||
color: var(--body-font-color) !important;
|
||||
}
|
||||
|
||||
.btn-close{
|
||||
filter: var(--btn-close-filter) !important;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,7 +22,7 @@
|
|||
|
||||
a.bd-links{
|
||||
text-decoration: none !important;
|
||||
color: var(--body-color) !important;
|
||||
color: var(--body-font-color) !important;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
|
@ -38,7 +43,7 @@
|
|||
|
||||
a {
|
||||
text-decoration: none !important;
|
||||
color: var(--body-color) !important;
|
||||
color: var(--body-font-color) !important;
|
||||
}
|
||||
|
||||
&.active-parent {
|
||||
|
@ -67,18 +72,26 @@
|
|||
|
||||
svg.sidebar-icon.plus {
|
||||
display: block !important;
|
||||
color: var(--body-font-color);
|
||||
opacity: 1;
|
||||
}
|
||||
svg.sidebar-icon.x {
|
||||
display: none !important;
|
||||
color: var(--body-font-color);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
&:not(.collapsed){
|
||||
|
||||
svg.sidebar-icon.plus {
|
||||
display: none !important;
|
||||
color: var(--body-font-color);
|
||||
opacity: 1;
|
||||
}
|
||||
svg.sidebar-icon.x {
|
||||
display: block !important;
|
||||
color: var(--body-font-color);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue