node-red-contrib-uibuilder
Version:
Easily create data-driven web UI's for Node-RED. Single- & Multi-page. Multiple UI's. Work with existing web development workflows or mix and match with no-code/low-code features.
330 lines (278 loc) • 5.95 kB
CSS
:root {
--base-font-size: 20px;
--sidebar-width: 22em;
--heading-h3-border-color: var(--mono-tint2);
--heading-h4-border-color: var(--mono-tint3);
--uib-blue: hsl(204 89% 55% / 70%);
--uib-red: hsl(0 100% 45% / 70%);
/*#8f0000;*/
--code-block-line-height: 1.2;
--code-block-padding: 1em .5em 1em .5em;
--heading-h1-margin: 0 0 0;
/* --base-font-family: Arial, Sans-serif; */
/*--sidebar-background: #005EB8;*/
}
.dhide {
display: none;
}
img[src*="#cool"] {
display: none;
}
.sidebar-nav>ul>li li {
font-style: normal;
}
.sidebar-nav>ul>li {
font-style: italic;
}
.sidebar-nav>ul>li>a {
font-style: normal;
}
.app-name-link img {
width: 5rem;
float: left
}
.app-name-link {
font-size: 80%;
}
.app-name-link::after {
content: "UIBUILDER v7 docs";
float: right;
}
img[alt$=">"] {
/* use as  */
float: right;
max-width: 30%;
position: relative;
z-index: 1;
}
img[alt$="<"] {
float: left;
}
img[alt$="><"] {
display: block;
max-width: 100%;
height: auto;
margin: auto;
float: none ;
}
.markdown-section h1,
.markdown-section h2 {
color: var(--sidebar-nav-link-color--active, var(--sidebar-nav-link-color));
}
.markdown-section h3,
.markdown-section h4,
.markdown-section h5 {
color: hsl(204 89% 70%);
}
.markdown-section h2 {
border-bottom-width: thick;
}
.markdown-section h3 {
border-bottom-width: thin;
}
.pagination-item {
margin-top: 1em ;
}
#main>hr {
margin: 1em 0;
}
.flex-container {
display: flex;
flex-direction: row;
}
.flex-left {
width: 69%;
margin-right: 1%;
}
.flex-right {
width: 29%;
margin-left: 1%;
}
.cover-head {
display: flex;
font-size: xx-large;
}
.cover-head p {
flex: 1;
order: 2;
margin-top: 0;
margin-bottom: 0;
}
.ch-title {
flex: 3;
order: 1;
}
.ch-title p {
margin-top: .1rem;
}
.cover blockquote p {
margin-top: 0.1rem;
}
.uib-name {
display: inline ;
font-weight: 600;
text-transform: uppercase;
color: var(--uib-blue) ;
}
.uib-red {
color: var(--uib-red) ;
font-weight: 800;
}
#docsify-darklight-theme {
position: fixed;
right: unset;
left: 0.1rem;
top: calc(100vh - 30px);
z-index: 999;
}
/* #docsify-darklight-theme {
position: absolute;
right: unset;
z-index: 999;
top: calc(var(--sidebar-toggle-offset-top) + 3rem);
left: calc(50px + var(--sidebar-toggle-offset-left, 1px));
} */
/* --- lyingdragon/docsify-plugin-page-toc - amended --- */
/* main {
display: flex;
justify-content: center;
flex-wrap: wrap;
} */
.content, .sidebar, .pgnav {
/* flex: 1 1 auto; */
/* display: flex; */
/* flex-direction: row-reverse; */
/* justify-content: center; */
}
.content {
/* flex: 1 1 auto; */
/* display: flex; */
/* flex-direction: row-reverse; */
/* justify-content: center; */
}
.content > article {
float:left;
}
.content > aside {
float:right;
}
/* .markdown-section {
flex: 1 1 0%;
margin: 0 48px;
z-index: 10;
} */
.pgnav {
/* width: var(--toc-width, 20rem); */
/* align-self: flex-start; */
/* flex: 0 0 auto; */
line-height: normal;
font-size: smaller;
}
aside.pgnav.nothing {
width: 0;
}
.pgnav a {
/* border-bottom: var(--link-border-bottom); */
color: var(--link-color);
text-decoration: none;
}
.pgnav a:hover {
border-bottom: var(--link-border-bottom);
color: var(--link-color);
-webkit-text-decoration: var(--link-text-decoration);
text-decoration: var(--link-text-decoration);
-webkit-text-decoration-color: var(--link-text-decoration-color);
text-decoration-color: var(--link-text-decoration-color);
}
.page_toc > ul {
list-style-type: none;
padding-left: 0 ;
text-indent: -1em ;
}
.page_toc > ul > li{
padding-left: 1em;
}
.page_toc ul {
padding-left: 1rem;
margin:0;
text-indent: 0;
}
.pgnav > h2 {
margin:0;
}
.page_toc {
position: fixed;
top: 3rem;
border-left-style: solid;
border-left-width: 1px;
/* hsla(var(--mono-hue), var(--mono-saturation), 50%, 0.3) hsla(var(--mono-hue), var(--mono-saturation), 50%, 0.1) */
/* border-left-color: rgba(0, 0, 0, 0.07); */
border-left-color: hsla(var(--mono-hue), var(--mono-saturation), 50%, 0.2);
border-image-slice: 1;
padding-left: .5rem;
}
/* .page_toc p.title {
margin: 0;
padding-bottom: 5px;
font-weight: 600;
font-size: 1.2em;
} */
/* .page_toc .anchor:hover:after {
content: "";
} */
/* .page_toc div[class^="lv"] a:hover span {
color: var(--text-color-tertiary, #42b983);
}
.page_toc div[class^="lv"] a {
color: var(--sidebar-nav-link-color, black);
text-decoration: none;
font-weight: 300;
line-height: 1.6em;
}
.page_toc div.lv1 {
margin-left: 0px;
}
.page_toc div.lv2 {
margin-left: 10px;
}
.page_toc div.lv3 {
margin-left: 20px;
}
.page_toc div.lv4 {
margin-left: 30px;
}
.page_toc div.lv5 {
margin-left: 40px;
} */
/* @media screen and (max-width: 1300px) { */
@media screen and (max-width: 1px) {
.page_toc {
position: relative;
/* left: 0; */
/* top: -20px; */
/* padding: 10px 0; */
padding: 0 0 1rem 0;
/* border: none; */
/* border-bottom: 1px solid #ddd; */
border-bottom: 1px solid var(--heading-h2-border-color);
font-size: 1.0em;
}
/* .page_toc a:before {
content: "- ";
} */
.nav {
margin: 0 auto;
width: 100%;
padding: 1rem 45px;
}
.page_toc p.title {
font-weight: 300;
font-size: 1.8em;
}
.content {
display: block;
}
.markdown-section {
margin: 0 auto;
}
}