BookStack/public/dist/export-styles.css

2786 lines
66 KiB
CSS
Vendored

@charset "UTF-8";
:root {
--color-primary: #206ea7;
--color-primary-light: rgba(32,110,167,0.15);
--color-page: #206ea7;
--color-page-draft: #7e50b1;
--color-chapter: #af4d0d;
--color-book: #077b70;
--color-bookshelf: #a94747; }
.m-none {
margin: 0 !important; }
.mx-none {
margin-left: 0 !important;
margin-right: 0 !important; }
.my-none {
margin-top: 0 !important;
margin-bottom: 0 !important; }
.mt-none {
margin-top: 0 !important; }
.mr-none {
margin-right: 0 !important; }
.mb-none {
margin-bottom: 0 !important; }
.ml-none {
margin-left: 0 !important; }
.m-xxs {
margin: 3px !important; }
.mx-xxs {
margin-left: 3px !important;
margin-right: 3px !important; }
.my-xxs {
margin-top: 3px !important;
margin-bottom: 3px !important; }
.mt-xxs {
margin-top: 3px !important; }
.mr-xxs {
margin-right: 3px !important; }
.mb-xxs {
margin-bottom: 3px !important; }
.ml-xxs {
margin-left: 3px !important; }
.m-xs {
margin: 6px !important; }
.mx-xs {
margin-left: 6px !important;
margin-right: 6px !important; }
.my-xs {
margin-top: 6px !important;
margin-bottom: 6px !important; }
.mt-xs {
margin-top: 6px !important; }
.mr-xs {
margin-right: 6px !important; }
.mb-xs {
margin-bottom: 6px !important; }
.ml-xs {
margin-left: 6px !important; }
.m-s {
margin: 12px !important; }
.mx-s {
margin-left: 12px !important;
margin-right: 12px !important; }
.my-s {
margin-top: 12px !important;
margin-bottom: 12px !important; }
.mt-s {
margin-top: 12px !important; }
.mr-s {
margin-right: 12px !important; }
.mb-s {
margin-bottom: 12px !important; }
.ml-s {
margin-left: 12px !important; }
.m-m {
margin: 16px !important; }
.mx-m {
margin-left: 16px !important;
margin-right: 16px !important; }
.my-m {
margin-top: 16px !important;
margin-bottom: 16px !important; }
.mt-m {
margin-top: 16px !important; }
.mr-m {
margin-right: 16px !important; }
.mb-m {
margin-bottom: 16px !important; }
.ml-m {
margin-left: 16px !important; }
.m-l {
margin: 24px !important; }
.mx-l {
margin-left: 24px !important;
margin-right: 24px !important; }
.my-l {
margin-top: 24px !important;
margin-bottom: 24px !important; }
.mt-l {
margin-top: 24px !important; }
.mr-l {
margin-right: 24px !important; }
.mb-l {
margin-bottom: 24px !important; }
.ml-l {
margin-left: 24px !important; }
.m-xl {
margin: 32px !important; }
.mx-xl {
margin-left: 32px !important;
margin-right: 32px !important; }
.my-xl {
margin-top: 32px !important;
margin-bottom: 32px !important; }
.mt-xl {
margin-top: 32px !important; }
.mr-xl {
margin-right: 32px !important; }
.mb-xl {
margin-bottom: 32px !important; }
.ml-xl {
margin-left: 32px !important; }
.m-xxl {
margin: 48px !important; }
.mx-xxl {
margin-left: 48px !important;
margin-right: 48px !important; }
.my-xxl {
margin-top: 48px !important;
margin-bottom: 48px !important; }
.mt-xxl {
margin-top: 48px !important; }
.mr-xxl {
margin-right: 48px !important; }
.mb-xxl {
margin-bottom: 48px !important; }
.ml-xxl {
margin-left: 48px !important; }
.p-none {
padding: 0 !important; }
.px-none {
padding-left: 0 !important;
padding-right: 0 !important; }
.py-none {
padding-top: 0 !important;
padding-bottom: 0 !important; }
.pt-none {
padding-top: 0 !important; }
.pr-none {
padding-right: 0 !important; }
.pb-none {
padding-bottom: 0 !important; }
.pl-none {
padding-left: 0 !important; }
.p-xxs {
padding: 3px !important; }
.px-xxs {
padding-left: 3px !important;
padding-right: 3px !important; }
.py-xxs {
padding-top: 3px !important;
padding-bottom: 3px !important; }
.pt-xxs {
padding-top: 3px !important; }
.pr-xxs {
padding-right: 3px !important; }
.pb-xxs {
padding-bottom: 3px !important; }
.pl-xxs {
padding-left: 3px !important; }
.p-xs {
padding: 6px !important; }
.px-xs {
padding-left: 6px !important;
padding-right: 6px !important; }
.py-xs {
padding-top: 6px !important;
padding-bottom: 6px !important; }
.pt-xs {
padding-top: 6px !important; }
.pr-xs {
padding-right: 6px !important; }
.pb-xs {
padding-bottom: 6px !important; }
.pl-xs {
padding-left: 6px !important; }
.p-s {
padding: 12px !important; }
.px-s {
padding-left: 12px !important;
padding-right: 12px !important; }
.py-s {
padding-top: 12px !important;
padding-bottom: 12px !important; }
.pt-s {
padding-top: 12px !important; }
.pr-s {
padding-right: 12px !important; }
.pb-s {
padding-bottom: 12px !important; }
.pl-s {
padding-left: 12px !important; }
.p-m {
padding: 16px !important; }
.px-m {
padding-left: 16px !important;
padding-right: 16px !important; }
.py-m {
padding-top: 16px !important;
padding-bottom: 16px !important; }
.pt-m {
padding-top: 16px !important; }
.pr-m {
padding-right: 16px !important; }
.pb-m {
padding-bottom: 16px !important; }
.pl-m {
padding-left: 16px !important; }
.p-l {
padding: 24px !important; }
.px-l {
padding-left: 24px !important;
padding-right: 24px !important; }
.py-l {
padding-top: 24px !important;
padding-bottom: 24px !important; }
.pt-l {
padding-top: 24px !important; }
.pr-l {
padding-right: 24px !important; }
.pb-l {
padding-bottom: 24px !important; }
.pl-l {
padding-left: 24px !important; }
.p-xl {
padding: 32px !important; }
.px-xl {
padding-left: 32px !important;
padding-right: 32px !important; }
.py-xl {
padding-top: 32px !important;
padding-bottom: 32px !important; }
.pt-xl {
padding-top: 32px !important; }
.pr-xl {
padding-right: 32px !important; }
.pb-xl {
padding-bottom: 32px !important; }
.pl-xl {
padding-left: 32px !important; }
.p-xxl {
padding: 48px !important; }
.px-xxl {
padding-left: 48px !important;
padding-right: 48px !important; }
.py-xxl {
padding-top: 48px !important;
padding-bottom: 48px !important; }
.pt-xxl {
padding-top: 48px !important; }
.pr-xxl {
padding-right: 48px !important; }
.pb-xxl {
padding-bottom: 48px !important; }
.pl-xxl {
padding-left: 48px !important; }
* {
box-sizing: border-box;
outline-color: #444444; }
*:focus {
outline-style: dotted; }
html {
height: 100%;
overflow-y: scroll;
background-color: #F2F2F2; }
html.flexbox {
overflow-y: hidden; }
body {
font-size: 14px;
line-height: 1.6;
color: #444;
-webkit-font-smoothing: antialiased;
background-color: #F2F2F2; }
/**
* Fonts
*/
body, button, input, select, label, textarea {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; }
.Codemirror, pre, #markdown-editor-input, .editor-toolbar, .code-base, code, span.code {
font-family: "Lucida Console", "DejaVu Sans Mono", "Ubunto Mono", Monaco, monospace; }
/*
* Header Styles
*/
h1 {
font-size: 3.425em;
line-height: 1.22222222em;
margin-top: 0.48888889em;
margin-bottom: 0.48888889em; }
h2 {
font-size: 2.8275em;
line-height: 1.294117647em;
margin-top: 0.8627451em;
margin-bottom: 0.43137255em; }
h3 {
font-size: 2.333em;
line-height: 1.221428572em;
margin-top: 0.78571429em;
margin-bottom: 0.43137255em; }
h4 {
font-size: 1.666em;
line-height: 1.375em;
margin-top: 0.78571429em;
margin-bottom: 0.43137255em; }
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
position: relative;
display: block;
color: #222; }
h1 .subheader, h2 .subheader, h3 .subheader, h4 .subheader, h5 .subheader, h6 .subheader {
font-size: 0.5em;
line-height: 1em;
color: #969696; }
h5 {
font-size: 1.4em; }
h5, h6 {
line-height: 1.2em;
margin-top: 0.78571429em;
margin-bottom: 0.66em; }
@media screen and (max-width: 600px) {
h1 {
font-size: 2.8275em; }
h2 {
font-size: 2.333em; }
h3 {
font-size: 1.666em; }
h4 {
font-size: 1.333em; }
h5 {
font-size: 1.161616em; } }
.list-heading {
font-size: 2rem; }
h2.list-heading {
font-size: 1.333rem; }
/*
* Link styling
*/
a {
color: var(--color-primary);
fill: var(--color-primary);
cursor: pointer;
text-decoration: none;
transition: filter ease-in-out 80ms;
line-height: 1.6; }
a:hover {
text-decoration: underline; }
a.icon {
display: inline-block; }
a svg {
position: relative;
display: inline-block; }
a:focus img:only-child {
outline: 2px dashed var(--color-primary);
outline-offset: 2px; }
.blended-links a {
color: inherit; }
.blended-links a svg {
fill: currentColor; }
/*
* Other HTML Text Elements
*/
p, ul, ol, pre, table, blockquote {
margin-top: 0.3em;
margin-bottom: 1.375em; }
hr {
border: 0;
height: 1px;
background: #EAEAEA;
margin-bottom: 24px; }
hr.faded {
background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF); }
hr.margin-top, hr.even {
margin-top: 24px; }
strong, b, .bold, .strong {
font-weight: bold; }
strong > strong, strong > b, strong > .bold, strong > .strong, b > strong, b > b, b > .bold, b > .strong, .bold > strong, .bold > b, .bold > .bold, .bold > .strong, .strong > strong, .strong > b, .strong > .bold, .strong > .strong {
font-weight: bolder; }
em, i, .italic {
font-style: italic; }
small, p.small, span.small, .text-small {
font-size: 0.75rem;
color: #5e5e5e; }
sup, .superscript {
vertical-align: super;
font-size: 0.8em; }
sub, .subscript {
vertical-align: sub;
font-size: 0.8em; }
pre {
font-size: 12px;
background-color: #f5f5f5;
border: 1px solid #DDD;
padding-left: 31px;
position: relative;
padding-top: 3px;
padding-bottom: 3px; }
pre:after {
content: '';
display: block;
position: absolute;
top: 0;
width: 29px;
left: 0;
background-color: #f5f5f5;
height: 100%;
border-right: 1px solid #DDD; }
@media print {
pre {
padding-left: 12px; }
pre:after {
display: none; } }
blockquote {
display: block;
position: relative;
border-left: 4px solid var(--color-primary);
background-color: #F8F8F8;
padding: 12px 16px 12px 32px; }
blockquote:before {
content: "\201C";
font-size: 2em;
font-weight: bold;
position: absolute;
top: 12px;
left: 12px;
color: #777777; }
.code-base, code, span.code {
background-color: #F8F8F8;
font-size: 0.80em;
border: 1px solid #DDD;
border-radius: 3px; }
code {
display: inline;
padding: 1px 3px;
white-space: pre;
line-height: 1.2em;
margin-bottom: 1.2em; }
span.code {
padding: 1px 6px; }
pre code {
background-color: transparent;
border: 0;
font-size: 1em;
display: block;
line-height: 1.6; }
span.highlight {
font-weight: bold;
padding: 2px 4px; }
/*
* Lists
*/
ul, ol {
overflow: hidden; }
ul p, ol p {
margin: 0; }
ul {
padding-left: 20.8px;
padding-right: 20.8px;
list-style: disc; }
ul ul {
list-style: circle;
margin-top: 0;
margin-bottom: 0; }
ul label {
margin: 0; }
ol {
list-style: decimal;
padding-left: 32px;
padding-right: 32px; }
li.checkbox-item, li.task-list-item {
list-style: none;
margin-left: -20.8px; }
li.checkbox-item input[type="checkbox"], li.task-list-item input[type="checkbox"] {
margin-right: 6px; }
/*
* Generic text styling classes
*/
.underlined {
text-decoration: underline; }
.text-center {
text-align: center; }
.text-left {
text-align: left; }
.text-right {
text-align: right; }
@media screen and (min-width: 360px) {
.text-xxs-center {
text-align: center; }
.text-xxs-left {
text-align: left; }
.text-xxs-right {
text-align: right; } }
@media screen and (min-width: 400px) {
.text-xs-center {
text-align: center; }
.text-xs-left {
text-align: left; }
.text-xs-right {
text-align: right; } }
@media screen and (min-width: 600px) {
.text-s-center {
text-align: center; }
.text-s-left {
text-align: left; }
.text-s-right {
text-align: right; } }
@media screen and (min-width: 880px) {
.text-m-center {
text-align: center; }
.text-m-left {
text-align: left; }
.text-m-right {
text-align: right; } }
@media screen and (min-width: 1000px) {
.text-l-center {
text-align: center; }
.text-l-left {
text-align: left; }
.text-l-right {
text-align: right; } }
@media screen and (min-width: 1100px) {
.text-xl-center {
text-align: center; }
.text-xl-left {
text-align: left; }
.text-xl-right {
text-align: right; } }
.text-bigger {
font-size: 1.1em; }
.text-large {
font-size: 1.6666em; }
.no-color {
color: inherit; }
.break-text {
word-wrap: break-word;
overflow-wrap: break-word; }
.limit-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
/**
* Grouping
*/
.header-group {
margin: 16px 0; }
.header-group h1, .header-group h2, .header-group h3, .header-group h4, .header-group h5, .header-group h6 {
margin: 0; }
span.sep {
color: #BBB;
padding: 0 6px; }
.list > * {
display: block; }
/**
* Icons
*/
.svg-icon {
width: 1em;
height: 1em;
display: inline-block;
position: relative;
bottom: -0.105em;
margin-right: 6px;
pointer-events: none; }
/**
* Generic content container
*/
.container {
max-width: 1400px;
margin-left: auto;
margin-right: auto;
padding-left: 16px;
padding-right: 16px; }
.container.small {
max-width: 840px; }
.container.very-small {
max-width: 480px; }
/**
* Core grid layout system
*/
.grid {
display: grid;
grid-column-gap: 24px;
grid-row-gap: 24px; }
.grid.half {
grid-template-columns: 1fr 1fr; }
.grid.third {
grid-template-columns: 1fr 1fr 1fr; }
.grid.left-focus {
grid-template-columns: 2fr 1fr; }
.grid.right-focus {
grid-template-columns: 1fr 3fr; }
.grid.gap-y-xs {
grid-row-gap: 6px; }
.grid.gap-xl {
grid-column-gap: 32px;
grid-row-gap: 32px; }
.grid.gap-xxl {
grid-column-gap: 48px;
grid-row-gap: 48px; }
.grid.v-center {
align-items: center; }
.grid.no-gap {
grid-row-gap: 0;
grid-column-gap: 0; }
.grid.no-row-gap {
grid-row-gap: 0; }
@media screen and (max-width: 880px) {
.grid.third:not(.no-break) {
grid-template-columns: 1fr 1fr; }
.grid.half:not(.no-break), .grid.left-focus:not(.no-break), .grid.right-focus:not(.no-break) {
grid-template-columns: 1fr; }
.grid.half.collapse-xs {
grid-template-columns: 1fr 1fr; }
.grid.gap-xl {
grid-column-gap: 16px;
grid-row-gap: 16px; }
.grid.right-focus.reverse-collapse > *:nth-child(2) {
order: 0; }
.grid.right-focus.reverse-collapse > *:nth-child(1) {
order: 1; } }
@media screen and (max-width: 600px) {
.grid.third:not(.no-break) {
grid-template-columns: 1fr; } }
@media screen and (max-width: 400px) {
.grid.half.collapse-xs {
grid-template-columns: 1fr; } }
/**
* Flexbox layout system
*/
body.flexbox {
display: flex;
flex-direction: column;
align-items: stretch;
height: 100%;
min-height: 100%;
max-height: 100%;
overflow: hidden; }
body.flexbox #content {
flex: 1;
display: flex;
min-height: 0; }
.flex-fill {
display: flex;
align-items: stretch;
min-height: 0;
max-width: 100%;
position: relative;
overflow-y: hidden; }
.flex {
min-height: 0;
flex: 1; }
/**
* Display and float utilities
*/
.block {
display: block;
position: relative; }
.inline {
display: inline; }
.block.inline {
display: inline-block; }
.hidden {
display: none; }
.float {
float: left; }
.float.right {
float: right; }
/**
* Visibility
*/
@media screen and (max-width: 360px) {
.hide-under-xxs {
display: none !important; } }
@media screen and (min-width: 360px) {
.hide-over-xxs {
display: none !important; } }
@media screen and (max-width: 400px) {
.hide-under-xs {
display: none !important; } }
@media screen and (min-width: 400px) {
.hide-over-xs {
display: none !important; } }
@media screen and (max-width: 600px) {
.hide-under-s {
display: none !important; } }
@media screen and (min-width: 600px) {
.hide-over-s {
display: none !important; } }
@media screen and (max-width: 880px) {
.hide-under-m {
display: none !important; } }
@media screen and (min-width: 880px) {
.hide-over-m {
display: none !important; } }
@media screen and (max-width: 1000px) {
.hide-under-l {
display: none !important; } }
@media screen and (min-width: 1000px) {
.hide-over-l {
display: none !important; } }
@media screen and (max-width: 1100px) {
.hide-under-xl {
display: none !important; } }
@media screen and (min-width: 1100px) {
.hide-over-xl {
display: none !important; } }
/**
* Inline content columns
*/
.dual-column-content {
columns: 2; }
@media screen and (max-width: 880px) {
.dual-column-content {
columns: 1; } }
/**
* Fixes
*/
.clearfix:before,
.clearfix:after {
content: " ";
display: table; }
.clearfix:after {
clear: both; }
/**
* View Layouts
*/
.tri-layout-container {
display: grid;
margin-left: 32px;
margin-right: 32px;
grid-template-columns: 1fr 4fr 1fr;
grid-template-areas: "a b c";
grid-column-gap: 48px; }
.tri-layout-container .tri-layout-right {
grid-area: c;
min-width: 0; }
.tri-layout-container .tri-layout-left {
grid-area: a;
min-width: 0; }
.tri-layout-container .tri-layout-middle {
grid-area: b;
padding-top: 16px; }
@media screen and (max-width: 1400px) {
.tri-layout-container {
grid-template-areas: "c b b" "a b b" ". b b";
grid-template-columns: 1fr 3fr;
grid-template-rows: min-content min-content 1fr;
padding-right: 24px; } }
@media screen and (min-width: 1000px) and (max-width: 1400px) {
.tri-layout-left {
position: sticky;
top: 16px; } }
@media screen and (min-width: 1400px) {
.tri-layout-left-contents, .tri-layout-right-contents {
padding: 16px;
position: sticky;
top: 16px;
max-height: 100vh;
min-height: 50vh;
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: none;
-ms-overflow-style: none; }
.tri-layout-left-contents::-webkit-scrollbar, .tri-layout-right-contents::-webkit-scrollbar {
display: none; }
.tri-layout-middle-contents {
max-width: 940px;
margin: 0 auto; } }
@media screen and (max-width: 1000px) {
.tri-layout-container {
grid-template-areas: none;
grid-template-columns: 1fr;
grid-column-gap: 0;
padding-right: 6px;
padding-left: 6px; }
.tri-layout-container .tri-layout-left-contents, .tri-layout-container .tri-layout-right-contents {
padding-left: 16px;
padding-right: 16px; }
.tri-layout-container .tri-layout-left > *, .tri-layout-container .tri-layout-right > * {
display: none;
pointer-events: none; }
.tri-layout-container .tri-layout-left, .tri-layout-container .tri-layout-right {
grid-area: none;
grid-column: 1/1;
grid-row: 1;
padding-top: 0 !important; }
.tri-layout-container .tri-layout-middle {
grid-area: none;
grid-row: 3;
grid-column: 1/1;
z-index: 1;
overflow: hidden;
transition: transform ease-in-out 240ms; }
.tri-layout-container .tri-layout-left {
grid-row: 2; }
.tri-layout-container.show-info {
overflow: hidden; }
.tri-layout-container.show-info .tri-layout-middle {
display: none; }
.tri-layout-container.show-info .tri-layout-right > *, .tri-layout-container.show-info .tri-layout-left > * {
display: block;
pointer-events: auto; } }
@media screen and (min-width: 1000px) {
.tri-layout-mobile-tabs {
display: none; }
.tri-layout-left-contents > *, .tri-layout-right-contents > * {
opacity: 0.6;
transition: opacity ease-in-out 120ms; }
.tri-layout-left-contents > *:hover, .tri-layout-right-contents > *:hover {
opacity: 1; }
.tri-layout-left-contents > *:focus-within, .tri-layout-right-contents > *:focus-within {
opacity: 1; } }
@media screen and (max-width: 880px) {
.tri-layout-container {
margin-left: 0;
margin-right: 0; } }
/**
* Callouts
*/
.callout {
border-left: 3px solid #BBB;
background-color: #EEE;
padding: 12px 12px 12px 32px;
display: block;
position: relative; }
.callout:before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiMwMTUzODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTEgMTVoLTJ2LTZoMnY2em0wLThoLTJWN2gydjJ6Ii8+PC9zdmc+");
background-repeat: no-repeat;
content: '';
width: 1.2em;
height: 1.2em;
left: 8px;
top: 50%;
margin-top: -9px;
display: inline-block;
position: absolute;
line-height: 1;
opacity: 0.8; }
.callout.success {
border-left-color: #0f7d15;
background-color: #eafdeb;
color: #063409; }
.callout.success:before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiMzNzZjMzkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bS0yIDE1bC01LTUgMS40MS0xLjQxTDEwIDE0LjE3bDcuNTktNy41OUwxOSA4bC05IDl6Ii8+PC9zdmc+"); }
.callout.danger {
border-left-color: #ab0f0e;
background-color: #fcdbdb;
color: #4d0706; }
.callout.danger:before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNiOTE4MTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0xNS43MyAzSDguMjdMMyA4LjI3djcuNDZMOC4yNyAyMWg3LjQ2TDIxIDE1LjczVjguMjdMMTUuNzMgM3pNMTIgMTcuM2MtLjcyIDAtMS4zLS41OC0xLjMtMS4zIDAtLjcyLjU4LTEuMyAxLjMtMS4zLjcyIDAgMS4zLjU4IDEuMyAxLjMgMCAuNzItLjU4IDEuMy0xLjMgMS4zem0xLTQuM2gtMlY3aDJ2NnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg=="); }
.callout.info {
border-left-color: #0288D1;
background-color: #d3efff;
color: #01466c; }
.callout.warning {
border-left-color: #cf4d03;
background-color: #fee3d3;
color: #6a2802; }
.callout.warning:before {
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNiNjUzMWMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEgMjFoMjJMMTIgMiAxIDIxem0xMi0zaC0ydi0yaDJ2MnptMC00aC0ydi00aDJ2NHoiLz48L3N2Zz4="); }
/**
* Card-style blocks
*/
.card {
background-color: #FFF;
box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
border-radius: 3px;
border: 1px solid transparent; }
.card .body, .card p.empty-text {
padding: 16px; }
.card a, .card p {
word-wrap: break-word;
word-break: break-word; }
.card-title {
padding: 16px 16px 6px;
margin: 0;
font-size: 14px;
color: #222;
fill: #222;
font-weight: 400; }
.card-title a {
line-height: 1; }
.card.border-card {
border: 1px solid #DDD; }
.card.drag-card {
border: 1px solid #DDD;
border-radius: 4px;
display: flex;
padding: 0 0 0 40px;
margin: 12px 0;
position: relative; }
.card.drag-card .drag-card-action {
cursor: pointer; }
.card.drag-card .handle, .card.drag-card .drag-card-action {
display: flex;
align-items: center;
text-align: center;
justify-content: center;
width: 28px;
flex-grow: 0;
padding: 0 6px; }
.card.drag-card .handle:hover, .card.drag-card .drag-card-action:hover {
background-color: #EEE; }
.card.drag-card .handle .svg-icon, .card.drag-card .drag-card-action .svg-icon {
margin-right: 0px; }
.card.drag-card > div .outline input {
margin: 12px 0;
width: 100%; }
.card.drag-card .handle {
background-color: #EEE;
left: 0;
position: absolute;
top: 0;
bottom: 0; }
.card.drag-card > div {
padding: 0 12px;
max-width: 80%;
flex: 1; }
.grid-card {
display: flex;
flex-direction: column;
border: 1px solid #ddd;
margin-bottom: 24px;
border-radius: 4px;
overflow: hidden;
min-width: 100px;
color: #444;
transition: border-color ease-in-out 120ms, box-shadow ease-in-out 120ms; }
.grid-card:hover {
color: #444;
text-decoration: none;
box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1); }
.grid-card h2 {
width: 100%;
font-size: 1.5em;
margin: 0 0 10px; }
.grid-card p {
font-size: .7rem;
margin: 0;
line-height: 1.6em; }
.grid-card .grid-card-content {
flex: 1;
border-top: 0;
border-bottom-width: 2px; }
.grid-card .grid-card-content, .grid-card .grid-card-footer {
padding: 24px; }
.grid-card .grid-card-content + .grid-card-footer {
padding-top: 0; }
.book-grid-item .grid-card-footer p.small {
font-size: .8em;
margin: 0; }
.content-wrap.card {
padding: 16px 48px;
margin-left: auto;
margin-right: auto;
margin-bottom: 32px;
overflow: initial;
min-height: 60vh; }
.content-wrap.card.auto-height {
min-height: 0; }
.content-wrap.card.fill-width {
width: 100%; }
@media screen and (max-width: 1400px) {
.content-wrap.card {
padding: 16px 32px; } }
@media screen and (max-width: 880px) {
.content-wrap.card {
padding: 16px 24px; } }
@media screen and (max-width: 600px) {
.content-wrap.card {
padding: 16px 16px; } }
/**
* Tags
*/
.tag-item {
display: inline-flex;
margin-bottom: 6px;
margin-right: 6px;
border-radius: 4px;
border: 1px solid #CCC;
overflow: hidden;
font-size: 0.85em; }
.tag-item a, .tag-item a:hover, .tag-item a:active {
padding: 4px 8px;
color: #777;
transition: background-color ease-in-out 80ms;
text-decoration: none; }
.tag-item a:hover {
background-color: rgba(255, 255, 255, 0.7); }
.tag-item svg {
fill: #888; }
.tag-item .tag-value {
border-left: 1px solid #DDD;
background-color: rgba(255, 255, 255, 0.5); }
.tag-list div:last-child .tag-item {
margin-bottom: 0; }
.input-base, .fake-input, input[type="text"], input[type="number"], input[type="email"], input[type="date"], input[type="search"], input[type="url"],
input[type="color"], input[type="password"], select, textarea {
background-color: #FFF;
border-radius: 3px;
border: 1px solid #D4D4D4;
display: inline-block;
font-size: 12px;
padding: 9px;
color: #666;
width: 250px;
max-width: 100%; }
.input-base.neg, .neg.fake-input, input.neg[type="text"], input.neg[type="number"], input.neg[type="email"], input.neg[type="date"], input.neg[type="search"], input.neg[type="url"],
input.neg[type="color"], input.neg[type="password"], select.neg, textarea.neg, .input-base.invalid, .invalid.fake-input, input.invalid[type="text"], input.invalid[type="number"], input.invalid[type="email"], input.invalid[type="date"], input.invalid[type="search"], input.invalid[type="url"],
input.invalid[type="color"], input.invalid[type="password"], select.invalid, textarea.invalid {
border: 1px solid #ab0f0e; }
.input-base.pos, .pos.fake-input, input.pos[type="text"], input.pos[type="number"], input.pos[type="email"], input.pos[type="date"], input.pos[type="search"], input.pos[type="url"],
input.pos[type="color"], input.pos[type="password"], select.pos, textarea.pos, .input-base.valid, .valid.fake-input, input.valid[type="text"], input.valid[type="number"], input.valid[type="email"], input.valid[type="date"], input.valid[type="search"], input.valid[type="url"],
input.valid[type="color"], input.valid[type="password"], select.valid, textarea.valid {
border: 1px solid #0f7d15; }
.input-base.disabled, .disabled.fake-input, input.disabled[type="text"], input.disabled[type="number"], input.disabled[type="email"], input.disabled[type="date"], input.disabled[type="search"], input.disabled[type="url"],
input.disabled[type="color"], input.disabled[type="password"], select.disabled, textarea.disabled, .input-base[disabled], .fake-input[disabled], input[disabled][type="text"], input[disabled][type="number"], input[disabled][type="email"], input[disabled][type="date"], input[disabled][type="search"], input[disabled][type="url"],
input[disabled][type="color"], input[disabled][type="password"], select[disabled], textarea[disabled] {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==); }
.input-base:focus, .fake-input:focus, input:focus[type="text"], input:focus[type="number"], input:focus[type="email"], input:focus[type="date"], input:focus[type="search"], input:focus[type="url"],
input:focus[type="color"], input:focus[type="password"], select:focus, textarea:focus {
border-color: var(--color-primary);
outline: 1px solid var(--color-primary); }
.fake-input {
overflow: auto; }
#html-editor {
display: none; }
#markdown-editor {
position: relative;
z-index: 5; }
#markdown-editor #markdown-editor-input {
font-style: normal;
font-weight: 400;
padding: 6px 16px;
color: #444;
border-radius: 0;
max-height: 100%;
flex: 1;
border: 0;
width: 100%; }
#markdown-editor #markdown-editor-input:focus {
outline: 0; }
#markdown-editor .markdown-display, #markdown-editor .markdown-editor-wrap {
flex: 1;
position: relative; }
#markdown-editor .markdown-editor-wrap {
display: flex;
flex-direction: column;
border: 1px solid #DDD;
width: 50%;
max-width: 50%; }
@media screen and (max-width: 880px) {
#markdown-editor {
flex-direction: column; }
#markdown-editor .markdown-editor-wrap {
width: 100%;
max-width: 100%; }
#markdown-editor .editor-toolbar {
padding: 0; }
#markdown-editor .editor-toolbar > * {
padding: 6px 12px; }
.editor-toolbar-label {
float: none !important;
border-bottom: 1px solid #DDD;
display: block; }
.markdown-editor-wrap:not(.active) .editor-toolbar + div, .markdown-editor-wrap:not(.active) .editor-toolbar .buttons {
display: none; }
#markdown-editor .markdown-editor-wrap:not(.active) {
flex-grow: 0;
flex: none; } }
.markdown-display {
margin-left: -1px; }
.markdown-editor-display {
background-color: #FFFFFF; }
.markdown-editor-display body {
background-color: #FFFFFF;
padding-left: 16px;
padding-right: 16px; }
.markdown-editor-display [drawio-diagram]:hover {
outline: 2px solid var(--color-primary); }
.editor-toolbar {
width: 100%;
padding: 6px 16px;
font-size: 11px;
line-height: 1.6;
border-bottom: 1px solid #DDD;
background-color: #EEE;
flex: none; }
.editor-toolbar:after {
content: '';
display: block;
clear: both; }
label {
display: block;
line-height: 1.4em;
font-size: 0.94em;
font-weight: 400;
color: #666;
padding-bottom: 2px;
margin-bottom: 0.2em; }
label.inline {
display: inline-block; }
label.radio, label.checkbox {
font-weight: 400;
user-select: none; }
label.radio input[type="radio"], label.radio input[type="checkbox"], label.checkbox input[type="radio"], label.checkbox input[type="checkbox"] {
margin-right: 6px; }
label.inline.checkbox {
margin-right: 16px; }
label + p.small {
margin-bottom: 0.8em; }
table.form-table {
max-width: 100%; }
table.form-table td {
overflow: hidden;
padding: 1.5px 0; }
input[type=date] {
width: 190px; }
input[type=color] {
height: 60px; }
.toggle-switch {
user-select: none;
display: inline-grid;
grid-template-columns: 28px 1fr;
align-items: center;
margin: 16px 0; }
.toggle-switch .custom-checkbox {
width: 16px;
height: 16px;
border-radius: 2px;
display: inline-block;
border: 2px solid currentColor;
opacity: 0.6;
overflow: hidden;
fill: currentColor; }
.toggle-switch .custom-checkbox .svg-icon {
width: 100%;
height: 100%;
margin: 0;
bottom: auto;
top: -1.5px;
left: 0;
transition: transform ease-in-out 120ms;
transform: scale(0);
transform-origin: center center; }
.toggle-switch input[type=checkbox] {
display: none; }
.toggle-switch input[type=checkbox]:checked + .custom-checkbox .svg-icon {
transform: scale(1); }
.toggle-switch .custom-checkbox:hover {
background-color: rgba(0, 0, 0, 0.05);
opacity: 0.8; }
.toggle-switch-list .toggle-switch {
margin: 6px 0; }
.toggle-switch-list.compact .toggle-switch {
margin: 1px 0; }
.form-group {
margin-bottom: 12px; }
.setting-list > div {
border-bottom: 1px solid #DDD;
padding: 32px 0; }
.setting-list > div:last-child {
border-bottom: none; }
.setting-list-label {
color: #222;
font-size: 1rem; }
.setting-list-label + p.small {
margin-bottom: 0; }
.setting-list-label + .grid {
margin-top: 16px; }
.setting-list .grid input[type=text], .setting-list .grid input[type=email], .setting-list .grid input[type=password], .setting-list .grid select, .stretch-inputs input[type=text], .stretch-inputs input[type=email], .stretch-inputs input[type=password], .stretch-inputs select {
width: 100%; }
.simple-code-input {
background-color: #F8F8F8;
font-family: monospace;
font-size: 12px;
min-height: 100px;
display: block;
width: 100%; }
.form-group div.text-pos, .form-group div.text-neg, .form-group p.text-post, .form-group p.text-neg {
padding: 6px 0; }
.form-group[collapsible] {
padding: 0 16px;
border: 1px solid #DDD;
border-radius: 4px; }
.form-group[collapsible] .collapse-title {
margin-left: -16px;
margin-right: -16px;
padding: 12px 16px;
display: block;
width: calc(100% + 32px);
text-align: left; }
.form-group[collapsible] .collapse-title, .form-group[collapsible] .collapse-title label {
cursor: pointer; }
.form-group[collapsible] .collapse-title label {
padding-bottom: 0;
margin-bottom: 0;
color: inherit; }
.form-group[collapsible] .collapse-title label:before {
display: inline-block;
content: '▸';
margin-right: 16px;
transition: all ease-in-out 400ms;
transform: rotate(0); }
.form-group[collapsible] .collapse-content {
display: none;
padding-bottom: 16px; }
.form-group[collapsible].open .collapse-title label:before {
transform: rotate(90deg); }
.inline-input-style, .title-input input[type="text"], .description-input textarea {
display: block;
width: 100%;
padding: 12px; }
.title-input input[type="text"] {
margin-top: 0;
font-size: 2em; }
.title-input.page-title {
font-size: 0.8em; }
.title-input.page-title .input {
border: 0;
margin-bottom: -1px; }
.title-input.page-title input[type="text"] {
max-width: 840px;
margin: 0 auto;
border: none; }
.page-title input {
display: block;
width: 100%;
font-size: 1.4em; }
.description-input textarea {
font-size: 14px;
color: #666;
width: 100%; }
div[editor-type="markdown"] .title-input.page-title input[type="text"] {
max-width: 100%; }
.search-box {
max-width: 100%;
position: relative; }
.search-box button {
background-color: transparent;
border: none;
fill: #666;
padding: 0;
cursor: pointer;
position: absolute;
left: 8px;
top: 9px; }
.search-box input {
display: block;
padding-left: 28px;
width: 300px;
max-width: 100%; }
.search-box.flexible input {
width: 100%; }
.search-box .search-box-cancel {
left: auto;
right: 0; }
.outline > input {
border: 0;
border-bottom: 2px solid #DDD;
border-radius: 0; }
.outline > input:focus, .outline > input:active {
border: 0;
border-bottom: 2px solid #AAA;
outline: 0; }
.image-picker img {
background-color: #BBB;
max-width: 100%; }
.custom-file-input {
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
height: 1px;
border: 0;
clip: rect(0, 0, 0, 0); }
.custom-file-input:focus + label {
border-color: var(--color-primary);
outline: 1px solid var(--color-primary); }
table {
min-width: 100px;
max-width: 100%; }
table thead {
background-color: #F8F8F8;
font-weight: 500; }
table td, table th {
min-width: 10px;
padding: 6px 8px;
border: 1px solid #DDD;
overflow: auto;
line-height: 1.2; }
table td p, table th p {
margin: 0; }
table.table {
width: 100%; }
table.table tr td, table.table tr th {
border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
table.table th, table.table td {
text-align: left;
border: none;
padding: 12px 12px;
vertical-align: middle;
margin: 0; }
table.table th {
font-weight: bold; }
table.table tr:hover {
background-color: #EEE; }
table.table .text-right {
text-align: right; }
table.table .text-center {
text-align: center; }
table.table td.actions {
overflow: visible; }
table.table a {
display: inline-block; }
table.no-style td {
border: 0;
padding: 0; }
table.list-table {
margin: -6px; }
table.list-table td {
border: 0;
vertical-align: middle;
padding: 6px; }
/**
* Includes the main navigation header and the faded toolbar.
*/
header .grid {
grid-template-columns: auto min-content auto; }
@media screen and (max-width: 1000px) {
header .grid {
grid-template-columns: 1fr;
grid-row-gap: 0; } }
header {
position: relative;
display: block;
z-index: 11;
top: 0;
color: #fff;
fill: #fff;
border-bottom: 1px solid #DDD;
box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
padding: 3px 0; }
header .links {
display: inline-block;
vertical-align: top; }
header .links a {
display: inline-block;
padding: 16px;
color: #FFF;
fill: #FFF; }
header .dropdown-container {
padding-left: 16px;
padding-right: 0; }
header .avatar, header .user-name {
display: inline-block; }
header .avatar {
width: 30px;
height: 30px; }
header .user-name {
vertical-align: top;
position: relative;
display: inline-block;
cursor: pointer; }
header .user-name > * {
vertical-align: top; }
header .user-name > span {
padding-left: 6px;
display: inline-block;
padding-top: 3px; }
header .user-name > svg {
padding-top: 4px;
font-size: 18px; }
@media screen and (min-width: 1000px) and (max-width: 1100px) {
header .user-name {
padding-left: 6px; }
header .user-name .name {
display: none; } }
.header *, .primary-background * {
outline-color: #FFF; }
.header-search {
display: inline-block; }
header .search-box {
display: inline-block;
margin-top: 10px; }
header .search-box input {
background-color: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 40px;
color: #EEE;
z-index: 2;
padding-left: 40px; }
header .search-box input:focus {
outline: none;
border: 1px solid rgba(255, 255, 255, 0.6); }
header .search-box button {
fill: #EEE;
z-index: 1;
left: 16px; }
header .search-box button svg {
margin-right: 0; }
header .search-box ::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: #DDD; }
header .search-box ::-moz-placeholder {
/* Firefox 19+ */
color: #DDD; }
@media screen and (min-width: 1000px) and (max-width: 1100px) {
header .search-box {
max-width: 200px; } }
.logo {
display: inline-block; }
.logo:hover {
color: #FFF;
text-decoration: none; }
.logo-text {
display: inline-block;
font-size: 1.8em;
color: #fff;
font-weight: 400;
padding: 14px 24px 14px 0;
vertical-align: top;
line-height: 1; }
.logo-image {
margin: 6px 12px 6px 0;
vertical-align: top;
height: 43px; }
.mobile-menu-toggle {
color: #FFF;
fill: #FFF;
font-size: 2em;
border: 2px solid rgba(255, 255, 255, 0.8);
border-radius: 4px;
padding: 0 6px;
position: absolute;
right: 16px;
top: 13px;
line-height: 1;
cursor: pointer;
user-select: none; }
.mobile-menu-toggle svg {
margin: 0;
bottom: -2px; }
@media screen and (max-width: 1000px) {
header .header-links {
display: none;
background-color: #FFF;
z-index: 10;
right: 16px;
border-radius: 4px;
overflow: hidden;
position: absolute;
box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.13);
margin-top: -6px; }
header .header-links.show {
display: block; }
header .links a, header .dropdown-container ul li a {
text-align: left;
display: block;
padding: 12px 16px;
color: #444;
fill: #444; }
header .links a svg, header .dropdown-container ul li a svg {
margin-right: 12px; }
header .links a:hover, header .dropdown-container ul li a:hover {
background-color: #EEE;
color: #444;
fill: #444;
text-decoration: none; }
header .dropdown-container {
display: block;
padding-left: 0; }
header .links {
display: block; }
header .dropdown-container ul {
display: block !important;
position: relative;
background-color: transparent;
border: 0;
padding: 0;
margin: 0;
box-shadow: none; } }
.tri-layout-mobile-tabs {
position: sticky;
top: 0;
z-index: 5;
background-color: #FFF;
border-bottom: 1px solid #DDD;
box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1); }
.tri-layout-mobile-tab {
text-align: center;
border-bottom: 3px solid #BBB;
cursor: pointer; }
.tri-layout-mobile-tab:first-child {
border-right: 1px solid #DDD; }
.tri-layout-mobile-tab.active {
border-bottom-color: currentColor; }
.breadcrumbs {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
opacity: 0.7; }
.breadcrumbs .icon-list-item {
width: auto;
padding-top: 6px;
padding-bottom: 6px; }
.breadcrumbs .separator {
display: inline-block;
fill: #aaa;
font-size: 1.6em;
line-height: 0.8;
margin: -2px 0 0; }
.breadcrumbs:hover, .breadcrumbs:focus-within {
opacity: 1; }
@media screen and (max-width: 1000px) {
.breadcrumbs .icon-list-item {
padding: 6px; }
.breadcrumbs .icon-list-item > span + span {
display: none; }
.breadcrumbs .icon-list-item > span:first-child {
margin-right: 0; } }
.breadcrumb-listing {
position: relative; }
.breadcrumb-listing .breadcrumb-listing-toggle {
padding: 6px;
border: 1px solid transparent;
border-radius: 4px; }
.breadcrumb-listing .breadcrumb-listing-toggle:hover {
border-color: #DDD; }
.breadcrumb-listing .svg-icon {
margin-right: 0; }
.breadcrumb-listing-dropdown {
box-shadow: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
overflow: hidden;
min-height: 100px;
width: 240px;
display: none;
position: absolute;
z-index: 80;
right: -16px; }
.breadcrumb-listing-dropdown .breadcrumb-listing-search .svg-icon {
position: absolute;
left: 12px;
top: 11px;
fill: #888;
pointer-events: none; }
.breadcrumb-listing-dropdown .breadcrumb-listing-entity-list {
max-height: 400px;
overflow-y: scroll;
text-align: left; }
.breadcrumb-listing-dropdown input {
padding-left: 32px;
border-radius: 0;
border: 0;
border-bottom: 1px solid #DDD; }
@media screen and (max-width: 880px) {
.breadcrumb-listing-dropdown {
position: fixed;
right: auto;
left: 16px; }
.breadcrumb-listing-dropdown .breadcrumb-listing-entity-list {
max-height: 240px; } }
.faded a, .faded button, .faded span, .faded span > div {
color: #666;
fill: #666; }
.faded .text-button {
opacity: 0.5;
transition: all ease-in-out 120ms; }
.faded .text-button:hover {
opacity: 1;
text-decoration: none; }
.faded span.faded-text {
display: inline-block;
padding: 12px; }
.action-buttons .text-button {
display: inline-block;
padding: 6px 12px; }
.action-buttons .text-button:last-child {
padding-right: 0; }
.action-buttons .text-button:first-child {
padding-left: 0; }
.action-buttons .dropdown-container:last-child a {
padding-right: 0;
padding-left: 12px; }
.action-buttons {
text-align: right; }
.action-buttons.text-left {
text-align: left; }
.action-buttons.text-left .text-button {
padding-right: 16px;
padding-left: 0; }
.action-buttons.text-center {
text-align: center; }
@media screen and (max-width: 880px) {
.action-buttons .text-button {
padding: 6px 6px; }
.action-buttons .dropdown-container:last-child a {
padding-left: 6px; } }
.book-contents .entity-list-item .icon {
width: 4px;
border-radius: 1px;
justify-self: stretch;
align-self: stretch;
height: auto;
margin-right: 24px; }
.book-contents .entity-list-item .icon:after {
opacity: 0.5; }
.book-contents .entity-list-item .icon svg {
display: none; }
.book-contents .entity-list-item p {
margin-bottom: 0; }
.book-contents .entity-list-item .inner-page {
padding-top: 0;
padding-bottom: 0; }
.entity-list-item + .chapter-expansion {
display: flex;
padding: 0 16px 16px 16px;
align-items: center;
border: 0;
width: 100%;
position: relative; }
.entity-list-item + .chapter-expansion > .icon {
width: 4px;
height: auto;
border-radius: 0 0 1px 1px;
align-self: stretch;
flex-shrink: 0; }
.entity-list-item + .chapter-expansion > .icon:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 1px;
background-color: currentColor;
content: '';
opacity: 0.5; }
.entity-list-item + .chapter-expansion > .icon:after {
opacity: 0.5; }
.entity-list-item + .chapter-expansion .icon svg {
display: none; }
.entity-list-item + .chapter-expansion > .content {
flex: 1; }
.entity-list-item + .chapter-expansion .chapter-expansion-toggle {
border-radius: 0 4px 4px 0;
padding: 6px 16px;
width: 100%;
text-align: left; }
.entity-list-item + .chapter-expansion .chapter-expansion-toggle:hover {
background-color: rgba(0, 0, 0, 0.06); }
.entity-list-item.has-children {
padding-bottom: 0; }
.entity-list-item.has-children > .icon {
border-radius: 4px 4px 0 0; }
.inset-list {
display: none; }
.inset-list .entity-list-item-name {
font-size: 1rem; }
.inset-list .entity-list-item-children {
padding-top: 0;
padding-bottom: 0; }
.sidebar-page-nav {
list-style: none;
margin: 12px 0 16px 6px;
position: relative; }
.sidebar-page-nav:after {
content: '';
display: block;
position: absolute;
left: 0;
background-color: rgba(0, 0, 0, 0.2);
width: 2px;
top: 5px;
bottom: 5px;
z-index: 0; }
.sidebar-page-nav li {
margin-bottom: 4px;
font-size: 0.95em;
position: relative; }
.sidebar-page-nav .h1 {
padding-left: 16px; }
.sidebar-page-nav .h2 {
padding-left: 24px; }
.sidebar-page-nav .h3 {
padding-left: 32px; }
.sidebar-page-nav .h4 {
padding-left: 40px; }
.sidebar-page-nav .h5 {
padding-left: 48px; }
.sidebar-page-nav .h6 {
padding-left: 56px; }
.sidebar-page-nav .current-heading {
font-weight: bold; }
.sidebar-page-nav li:not(.current-heading) .sidebar-page-nav-bullet {
background-color: #BBB !important; }
.sidebar-page-nav .sidebar-page-nav-bullet {
width: 6px;
height: 6px;
position: absolute;
left: -2px;
top: 30%;
border-radius: 50%;
box-shadow: 0 0 0 6px #F2F2F2;
z-index: 1; }
.book-tree .sidebar-page-list {
list-style: none;
margin: -6px -12px;
padding-left: 0;
padding-right: 0;
position: relative; }
.book-tree .sidebar-page-list:after, .book-tree .sidebar-page-list .sub-menu:after {
content: '';
display: block;
position: absolute;
left: 16px;
top: 1rem;
bottom: 1rem;
border-left: 4px solid rgba(0, 0, 0, 0.1);
z-index: 0; }
.book-tree .sidebar-page-list ul {
list-style: none;
padding-left: 1rem;
padding-right: 0; }
.book-tree .sidebar-page-list .entity-list-item {
padding-top: 3px;
padding-bottom: 3px;
background-clip: content-box;
border-radius: 0 3px 3px 0; }
.book-tree .sidebar-page-list .entity-list-item .content {
padding-top: 6px;
padding-bottom: 6px;
max-width: calc(100% - 20px); }
.book-tree .sidebar-page-list .entity-list-item.selected {
background-color: rgba(0, 0, 0, 0.08); }
.book-tree .sidebar-page-list .entity-list-item.no-hover {
margin-top: -6px;
padding-right: 0; }
.book-tree .sidebar-page-list .entity-list-item-name {
font-size: 1em;
margin: 0; }
.book-tree .sidebar-page-list .chapter-child-menu {
font-size: .8rem;
margin-top: -.2rem;
margin-left: -1rem; }
.book-tree .sidebar-page-list [chapter-toggle] {
padding-left: .7rem;
padding-bottom: .2rem; }
.book-tree .sidebar-page-list .entity-list-item .icon {
z-index: 2;
width: 4px;
height: auto;
align-self: stretch;
flex-shrink: 0;
border-radius: 1px;
opacity: 0.6; }
.book-tree .sidebar-page-list .entity-list-item .icon:after {
opacity: 1; }
.book-tree .sidebar-page-list .entity-list-item .icon svg {
display: none; }
.chapter-child-menu ul.sub-menu {
display: none;
padding-left: 0;
position: relative; }
.chapter-child-menu [chapter-toggle].open + .sub-menu {
display: block; }
.sortable-page-list, .sortable-page-list ul {
list-style: none; }
.sort-box {
margin-bottom: 16px;
padding: 16px 32px;
position: relative; }
.sort-box::before {
pointer-events: none;
content: '';
border-radius: 4px;
opacity: 0.5;
border: 2px solid var(--color-book);
display: block;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute; }
.sort-box-options {
display: flex;
flex-wrap: wrap;
justify-content: space-between; }
.sort-box-options .button {
margin-left: 0; }
.sortable-page-list {
margin-left: 0;
padding: 0; }
.sortable-page-list .entity-list-item > span:first-child {
align-self: flex-start; }
.sortable-page-list .entity-list-item > div {
display: block;
flex: 1; }
.sortable-page-list > ul {
margin-left: 0; }
.sortable-page-list ul {
margin-bottom: 16px;
margin-top: 0;
padding-left: 16px; }
.sortable-page-list li {
border: 1px solid #DDD;
margin-top: -1px;
min-height: 38px; }
.sortable-page-list li.text-page, .sortable-page-list li.text-chapter {
border-left: 2px solid currentColor; }
.sortable-page-list li:first-child {
margin-top: 6px; }
.sortable-page-list li.placeholder {
position: relative; }
.sortable-page-list li.placeholder:before {
position: absolute; }
.activity-list-item {
padding: 12px 0;
display: grid;
grid-template-columns: min-content 1fr;
grid-column-gap: 16px;
font-size: 0.9em; }
.card .activity-list-item {
padding: 12px 16px; }
.user-list-item {
display: inline-grid;
padding: 12px;
grid-template-columns: min-content 1fr;
grid-column-gap: 16px;
font-size: 0.9em;
align-items: center; }
.user-list-item > div:first-child {
line-height: 0; }
ul.pagination {
display: inline-block;
list-style: none;
margin: 16px 0;
padding-left: 1px; }
ul.pagination li {
float: left; }
ul.pagination li:first-child a, ul.pagination li:first-child span {
border-radius: 3px 0 0 3px; }
ul.pagination li:last-child a, ul.pagination li:last-child span {
border-radius: 0 3px 3px 0; }
ul.pagination a, ul.pagination span {
display: block;
padding: 3px 12px;
border: 1px solid #CCC;
margin-left: -1px;
user-select: none; }
ul.pagination a.disabled, ul.pagination span.disabled {
cursor: not-allowed; }
ul.pagination li.active span {
color: #FFF; }
.compact ul.pagination {
margin: 0; }
.entity-list, .icon-list {
margin: 0 -16px; }
.entity-list h4, .icon-list h4 {
margin: 0; }
.entity-list hr, .icon-list hr {
margin: 0; }
.entity-list .text-small.text-muted, .icon-list .text-small.text-muted {
color: #AAA;
font-size: 0.75em;
margin-top: 6px; }
.entity-list .text-muted p.text-muted, .icon-list .text-muted p.text-muted {
margin-top: 0; }
.entity-list .page.draft .text-page, .icon-list .page.draft .text-page {
color: var(--color-page-draft);
fill: var(--color-page-draft); }
.entity-list > .dropdown-container, .icon-list > .dropdown-container {
display: block; }
.icon-list hr {
margin: 12px 16px;
max-width: 140px;
opacity: 0.25;
height: 1.1px; }
.icon-list hr + hr, .icon-list hr:first-child, .icon-list hr:last-child {
display: none; }
.entity-list-item, .icon-list-item {
padding: 12px 16px;
display: flex;
align-items: center;
background-color: transparent;
border: 0;
width: 100%;
position: relative;
word-break: break-word; }
.entity-list-item h4 a, .icon-list-item h4 a {
color: #666; }
.entity-list-item > span:first-child, .icon-list-item > span:first-child {
margin-right: 16px;
flex-basis: 1.88em;
flex: none; }
.entity-list-item > span:last-child, .icon-list-item > span:last-child {
flex: 1;
text-align: left; }
.entity-list-item:not(.no-hover), .icon-list-item:not(.no-hover) {
cursor: pointer; }
.entity-list-item:not(.no-hover):hover, .icon-list-item:not(.no-hover):hover {
text-decoration: none;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 4px; }
.entity-list-item.outline-hover, .icon-list-item.outline-hover {
border: 1px solid transparent; }
.entity-list-item.outline-hover:hover, .icon-list-item.outline-hover:hover {
background-color: transparent;
border-color: rgba(0, 0, 0, 0.1); }
.entity-list-item:focus, .icon-list-item:focus {
background-color: #eee;
outline: 1px dotted #666;
outline-offset: -2px; }
.entity-list-item-path-sep {
display: inline-block;
vertical-align: top;
position: relative;
top: 1px; }
.entity-list-item-path-sep svg {
margin-right: 0; }
.card .entity-list-item:not(.no-hover):hover {
background-color: #F2F2F2; }
.card .entity-list-item .entity-list-item:hover {
background-color: #EEEEEE; }
.entity-list-item-children {
padding: 16px; }
.entity-list-item-children > div {
overflow: hidden;
padding: 6px 0;
margin-top: -6px; }
.entity-list-item-children .entity-chip {
text-overflow: ellipsis;
height: 2.5em;
overflow: hidden;
text-align: left;
display: block;
white-space: nowrap; }
.entity-list-item-image {
align-self: stretch;
width: 140px;
flex: none;
background-size: cover;
background-position: 50% 50%;
border-radius: 3px;
position: relative;
margin-right: 24px; }
.entity-list-item-image.entity-list-item-image-wide {
width: 220px; }
.entity-list-item-image .svg-icon {
color: #FFF;
fill: #FFF;
font-size: 1.66rem;
margin-right: 0;
position: absolute;
bottom: 6px;
left: 6px; }
@media screen and (max-width: 880px) {
.entity-list-item-image {
width: 80px; } }
.chapter > .entity-list-item-image {
width: 60px; }
.entity-list.compact {
font-size: 8.4px; }
.entity-list.compact h4, .entity-list.compact a {
line-height: 1.2; }
.entity-list.compact .entity-item-snippet {
display: none; }
.entity-list.compact .entity-list-item p {
font-size: 11.2px;
padding-top: 6px; }
.entity-list.compact p {
margin: 0; }
.entity-list.compact > p.empty-text {
display: block;
font-size: 14px; }
.entity-list.compact hr {
margin: 0; }
@media screen and (max-width: 880px) {
.entity-list.compact h4 {
font-size: 1.666em; } }
.dropdown-container {
display: inline-block;
vertical-align: top;
position: relative; }
.dropdown-menu {
display: none;
position: absolute;
z-index: 999;
top: 0;
list-style: none;
right: 0;
margin: 16px 0;
background-color: #FFFFFF;
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
border-radius: 1px;
border: 1px solid #EEE;
min-width: 180px;
padding: 6px 0;
color: #555;
fill: #555;
text-align: left !important; }
.dropdown-menu.wide {
min-width: 220px; }
.dropdown-menu .text-muted {
color: #999;
fill: #999; }
.dropdown-menu li.active a {
font-weight: 600; }
.dropdown-menu a, .dropdown-menu button {
display: block;
padding: 6px 16px;
color: #555;
fill: currentColor;
white-space: nowrap; }
.dropdown-menu a:hover, .dropdown-menu a:focus, .dropdown-menu button:hover, .dropdown-menu button:focus {
text-decoration: none;
background-color: var(--color-primary-light);
color: var(--color-primary); }
.dropdown-menu a:focus, .dropdown-menu button:focus {
outline: 1px solid var(--color-primary);
outline-offset: -2px; }
.dropdown-menu a svg, .dropdown-menu button svg {
margin-right: 12px;
display: inline-block;
width: 16px; }
.dropdown-menu button {
width: 100%;
text-align: left; }
.dropdown-menu li.border-bottom {
border-bottom: 1px solid #DDD; }
.featured-image-container {
position: relative;
overflow: hidden;
min-height: 140px;
background-size: cover;
background-position: 50% 50%;
transition: opacity ease-in-out 240ms; }
.featured-image-container a {
display: block; }
.featured-image-container img {
display: block;
width: 100%;
max-width: 100%;
height: auto; }
.featured-image-container-wrap {
position: relative; }
.featured-image-container-wrap .svg-icon {
color: #FFF;
fill: #FFF;
font-size: 2rem;
margin-right: 0;
position: absolute;
bottom: 10px;
left: 6px; }
.grid-card:hover .featured-image-container {
opacity: .5; }
.action-link {
background: transparent;
border: none;
color: currentColor;
padding: 16px 0; }
.active-link-list a {
display: inline-block;
padding: 12px; }
.active-link-list a:not(.active) {
color: #444;
fill: #444; }
.active-link-list a:hover {
background-color: rgba(0, 0, 0, 0.05);
border-radius: 3px;
text-decoration: none; }
.page-editor {
display: flex;
flex-direction: column;
align-items: stretch;
overflow: hidden;
background-color: #FFF; }
.page-editor .edit-area {
flex: 1;
flex-direction: column;
z-index: 10; }
.page-editor .mce-tinymce {
box-shadow: none; }
.page-editor .mce-top-part::before {
box-shadow: none; }
body.mce-fullscreen .page-editor .edit-area {
z-index: 12; }
@media screen and (max-width: 600px) {
.page-edit-toolbar {
overflow-x: scroll;
overflow-y: visible; }
.page-edit-toolbar .grid.third {
display: block;
white-space: nowrap; }
.page-edit-toolbar .grid.third > div {
display: inline-block; } }
.page-save-mobile-button {
position: fixed;
z-index: 30;
border-radius: 50%;
width: 56px;
height: 56px;
font-size: 24px;
right: 16px;
bottom: 12px;
box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.13);
background-color: currentColor;
text-align: center; }
.page-save-mobile-button svg {
fill: #FFF;
margin-right: 0; }
.draft-notification {
pointer-events: none;
transform: scale(0);
transition: transform ease-in-out 120ms;
transform-origin: 50% 50%; }
.draft-notification.visible {
transform: scale(1); }
.page-style.editor {
padding: 0 !important; }
.page-content {
width: 100%;
max-width: 840px;
margin: 0 auto;
overflow-wrap: break-word; }
.page-content .align-left {
text-align: left; }
.page-content img.align-left, .page-content table.align-left {
float: left !important;
margin: 6px 16px 16px 0; }
.page-content .align-right {
text-align: right !important; }
.page-content img.align-right, .page-content table.align-right {
float: right !important;
margin: 6px 0 6px 12px; }
.page-content .align-center {
text-align: center; }
.page-content img.align-center {
display: block; }
.page-content img.align-center, .page-content table.align-center {
margin-left: auto;
margin-right: auto; }
.page-content img {
max-width: 100%;
height: auto; }
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6, .page-content pre {
clear: left; }
.page-content hr {
clear: both;
margin: 16px 0; }
.page-content table {
hyphens: auto;
table-layout: fixed;
max-width: 100%;
height: auto !important; }
.page-content ins,
.page-content del {
text-decoration: none; }
.page-content ins {
background: #dbffdb; }
.page-content del {
background: #FFECEC; }
.page-content.page-revision pre code {
white-space: pre-wrap; }
.pointer-container {
position: relative;
display: none;
left: 0;
z-index: 10; }
.pointer {
border: 1px solid #CCC;
display: flex;
align-items: center;
justify-items: center;
padding: 12px 12px;
border-radius: 4px;
box-shadow: 0 0 12px 1px rgba(212, 209, 209, 0.3);
position: absolute;
top: -60px;
background-color: #FFF;
width: 275px;
z-index: 55; }
.pointer.is-page-editable {
width: 328px; }
.pointer:before {
position: absolute;
left: 50%;
bottom: -9px;
width: 16px;
height: 16px;
margin-left: -8px;
content: '';
display: block;
background-color: #FFF;
transform: rotate(45deg);
transform-origin: 50% 50%;
border-bottom: 1px solid #CCC;
border-right: 1px solid #CCC;
z-index: 56; }
.pointer input, .pointer button, .pointer a {
position: relative;
border-radius: 0;
height: 28px;
font-size: 12px;
vertical-align: top;
padding: 5px 16px; }
.pointer input {
background-color: #FFF;
border: 1px solid #DDD;
color: #666;
width: 172px;
z-index: 40;
padding: 5px 10px; }
.pointer span.icon {
fill: #444;
cursor: pointer;
user-select: none;
display: inline-block;
line-height: 1; }
.pointer .input-group .button {
line-height: 1;
margin: 0 0 0 -4px;
box-shadow: none; }
.pointer a.button {
margin: 0; }
.pointer .svg-icon {
width: 1.2em;
height: 1.2em; }
.floating-toolbox {
background-color: #FFF;
border: 1px solid #DDD;
right: 64px;
width: 48px;
overflow: hidden;
align-items: stretch;
flex-direction: row;
display: flex;
transition: width ease-in-out 180ms;
margin-top: -1px;
min-height: 0; }
.floating-toolbox.open {
width: 480px; }
.floating-toolbox [toolbox-toggle] svg {
transition: transform ease-in-out 180ms; }
.floating-toolbox [toolbox-toggle] {
transition: background-color ease-in-out 180ms; }
.floating-toolbox.open [toolbox-toggle] {
background-color: rgba(255, 0, 0, 0.29); }
.floating-toolbox.open [toolbox-toggle] svg {
transform: rotate(180deg); }
.floating-toolbox > div {
flex: 1;
position: relative; }
.floating-toolbox .tabs {
display: block;
border-right: 1px solid #DDD;
width: 48px;
flex: 0 1 auto; }
.floating-toolbox .tabs svg {
fill: rgba(0, 0, 0, 0.5);
padding: 0;
margin: 0; }
.floating-toolbox .tabs > button {
display: block;
cursor: pointer;
padding: 12px 16px;
font-size: 16px;
line-height: 1.6;
border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.floating-toolbox.open .tabs > button.active {
fill: #444;
background-color: rgba(0, 0, 0, 0.1); }
.floating-toolbox div[toolbox-tab-content] {
padding-bottom: 45px;
display: flex;
flex: 1;
flex-direction: column;
min-height: 0px;
overflow-y: scroll; }
.floating-toolbox h4 {
font-size: 24px;
margin: 16px 0 0 0;
padding: 0 24px 12px 24px; }
.floating-toolbox .tags input {
max-width: 100%;
width: 100%;
min-width: 50px; }
.floating-toolbox .tags td, .floating-toolbox .tag-table > div > div > div {
padding-right: 12px;
padding-top: 12px;
position: relative; }
.floating-toolbox .handle {
user-select: none;
cursor: move;
fill: #999; }
.floating-toolbox form {
display: flex;
flex: 1;
flex-direction: column;
overflow-y: scroll; }
.floating-toolbox table td, .floating-toolbox table th {
overflow: visible; }
[toolbox-tab-content] {
display: none; }
.tag-display {
position: relative; }
.tag-display table {
width: 100%;
margin: 0;
padding: 0; }
.tag-display tr:first-child td {
padding-top: 0; }
.tag-display .heading th {
padding: 6px 12px;
color: rgba(100, 100, 100, 0.7);
border: 0;
font-weight: 400; }
.tag-display td {
border: 0;
border-bottom: 1px solid #EEE;
padding: 6px 12px;
color: #444; }
.tag-display tr td:first-child {
padding-left: 0; }
.tag-display .tag-value {
color: #888; }
.tag-display tr:last-child td {
border-bottom: none; }
.tag-display .tag {
padding: 12px; }
.suggestion-box {
position: absolute;
background-color: #FFF;
border: 1px solid #BBB;
box-shadow: 0 0 4px 1px #CCC;
list-style: none;
z-index: 100;
padding: 0;
margin: 0;
border-radius: 3px; }
.suggestion-box li {
display: block;
padding: 6px 12px;
border-bottom: 1px solid #DDD; }
.suggestion-box li:last-child {
border-bottom: 0; }
.suggestion-box li.active {
background-color: #EEE; }
.comments-container h5 {
color: #888;
font-weight: normal;
margin-top: 0.5em; }
.comment-editor .CodeMirror, .comment-editor .CodeMirror-scroll {
min-height: 175px; }
/* FIXME - Ugly hack to modify the media plugin for TinyMCE */
.mce-floatpanel[aria-label="Insert/edit media"] .mce-open {
display: none; }
.entity-list-item > span:first-child, .icon-list-item > span:first-child, .chapter-expansion > .icon {
font-size: 0.8rem;
width: 1.88em;
height: 1.88em;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 1em;
position: relative;
overflow: hidden; }
.entity-list-item > span:first-child svg, .icon-list-item > span:first-child svg, .chapter-expansion > .icon svg {
margin: 0;
bottom: 0; }
.entity-list-item > span:first-child:after, .icon-list-item > span:first-child:after, .chapter-expansion > .icon:after {
content: '';
position: absolute;
background-color: currentColor;
opacity: 0.2;
left: 0;
top: 0;
width: 100%;
height: 100%; }
.entity-chip {
display: inline-block;
align-items: center;
justify-content: center;
text-align: center;
font-size: 0.9em;
border-radius: 3px;
position: relative;
overflow: hidden;
padding: 6px 12px;
fill: currentColor;
opacity: 0.85;
transition: opacity ease-in-out 120ms; }
.entity-chip:after {
content: '';
position: absolute;
background-color: currentColor;
opacity: 0.15;
left: 0;
top: 0;
width: 100%;
height: 100%; }
.entity-chip:hover {
text-decoration: none;
opacity: 1; }
html, body {
background-color: #FFF; }
body {
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
padding: 0; }
table {
border-spacing: 0;
border-collapse: collapse; }
.page-content {
overflow: hidden; }
pre {
padding-left: 12px; }
pre:after {
display: none; }
pre code {
white-space: pre-wrap; }