docusaurus/website/_dogfooding/dogfooding.css

64 lines
1.2 KiB
CSS

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
html {
@media screen and (min-width: 1px) {
&.plugin-docs.plugin-id-docs-tests {
.red > a {
color: red;
&::after {
background-image: url('./red.svg');
background-size: contain;
margin-left: 0.5rem;
width: 1rem;
height: 1rem;
content: ' ';
}
}
.navbar {
border-bottom: solid thin cyan;
}
.dogfood_sidebar_class_name_test {
&.theme-doc-sidebar-item-link > a {
color: cyan;
}
&.theme-doc-sidebar-item-category > div > a {
color: cyan;
}
&.card {
border: solid thin cyan;
}
}
}
&.plugin-blog.plugin-id-blog-tests {
.navbar {
border-bottom: solid thin lime;
}
}
&.plugin-pages.plugin-id-pages-tests {
.navbar {
border-bottom: solid thin yellow;
}
}
&:has(#navbar-dropdown-tests) .navbar__item.dropdown ~ a {
display: none;
}
}
}
#z-index-test {
z-index: 100;
}