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;
|
position: sticky;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-close {
|
.offcanvas-title{
|
||||||
filter: var(--btn-close-color)!important;
|
color: var(--body-font-color) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-close{
|
||||||
|
filter: var(--btn-close-filter) !important;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -17,7 +22,7 @@
|
||||||
|
|
||||||
a.bd-links{
|
a.bd-links{
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
color: var(--body-color) !important;
|
color: var(--body-font-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(lg) {
|
@include media-breakpoint-down(lg) {
|
||||||
|
@ -38,7 +43,7 @@
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
color: var(--body-color) !important;
|
color: var(--body-font-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active-parent {
|
&.active-parent {
|
||||||
|
@ -67,18 +72,26 @@
|
||||||
|
|
||||||
svg.sidebar-icon.plus {
|
svg.sidebar-icon.plus {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
color: var(--body-font-color);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
svg.sidebar-icon.x {
|
svg.sidebar-icon.x {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
color: var(--body-font-color);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:not(.collapsed){
|
&:not(.collapsed){
|
||||||
|
|
||||||
svg.sidebar-icon.plus {
|
svg.sidebar-icon.plus {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
color: var(--body-font-color);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
svg.sidebar-icon.x {
|
svg.sidebar-icon.x {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
color: var(--body-font-color);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue