BookStack/public/dist/styles.css

4430 lines
103 KiB
CSS
Vendored

@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after {
content: '';
content: none; }
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
: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; }
/**
* Background colors
*/
.primary-background {
background-color: var(--color-primary) !important; }
.primary-background-light {
background-color: var(--color-primary-light); }
/*
* Status text colors
*/
.text-pos, .text-pos:hover, .text-pos-hover:hover {
color: #0f7d15 !important;
fill: #0f7d15 !important; }
.text-warn, .text-warn:hover, .text-warn-hover:hover {
color: #cf4d03 !important;
fill: #cf4d03 !important; }
.text-neg, .text-neg:hover, .text-neg-hover:hover {
color: #ab0f0e !important;
fill: #ab0f0e !important; }
/*
* Style text colors
*/
.text-primary, .text-primary:hover, .text-primary-hover:hover {
color: var(--color-primary) !important;
fill: var(--color-primary) !important; }
.text-muted {
color: #575757 !important;
fill: #575757 !important; }
/*
* Entity text colors
*/
.text-bookshelf, .text-bookshelf:hover {
color: var(--color-bookshelf);
fill: var(--color-bookshelf); }
.text-book, .text-book:hover {
color: var(--color-book);
fill: var(--color-book); }
.text-page, .text-page:hover {
color: var(--color-page);
fill: var(--color-page); }
.text-page.draft, .text-page.draft:hover {
color: var(--color-page-draft);
fill: var(--color-page-draft); }
.text-chapter, .text-chapter:hover {
color: var(--color-chapter);
fill: var(--color-chapter); }
/*
* Standard & Entity background colors
*/
.bg-white {
background-color: #FFFFFF; }
.bg-book {
background-color: var(--color-book); }
.bg-chapter {
background-color: var(--color-chapter); }
.bg-shelf {
background-color: var(--color-bookshelf); }
/**
* 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; }
button {
background-color: transparent;
border: 0;
font-size: 100%; }
.button {
text-decoration: none;
font-size: 0.85rem;
line-height: 1.4em;
padding: 7.8px 16px;
margin-top: 6px;
margin-bottom: 6px;
display: inline-block;
font-weight: 400;
outline: 0;
border-radius: 2px;
cursor: pointer;
transition: background-color ease-in-out 120ms, filter ease-in-out 120ms, box-shadow ease-in-out 120ms;
box-shadow: none;
background-color: var(--color-primary);
color: #FFF;
fill: #FFF;
text-transform: uppercase;
border: 1px solid var(--color-primary);
vertical-align: top; }
.button:hover, .button:focus, .button:active {
background-color: var(--color-primary);
text-decoration: none;
color: #FFFFFF; }
.button:hover {
box-shadow: 0 0 4px 1px #CCC;
filter: brightness(110%); }
.button:focus {
outline: 1px dotted currentColor;
outline-offset: -6px;
box-shadow: none;
filter: brightness(90%); }
.button:active {
outline: 0; }
.button.outline {
background-color: transparent;
color: #666;
fill: currentColor;
border: 1px solid #CCC; }
.button.outline:hover, .button.outline:focus, .button.outline:active {
border: 1px solid #CCC;
box-shadow: none;
background-color: #F2F2F2;
filter: none; }
.button.outline:active {
border-color: #BBB;
background-color: #DDD;
color: #666;
box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1); }
.button + .button {
margin-left: 12px; }
.button.small {
font-size: 0.75rem;
padding: 7.2px 12px; }
.text-button {
cursor: pointer;
background-color: transparent;
padding: 0;
margin: 0;
border: none;
user-select: none;
font-size: 0.75rem;
line-height: 1.4em;
color: var(--color-primary);
fill: var(--color-primary); }
.text-button:active {
outline: 0; }
.text-button:hover {
text-decoration: none; }
.text-button:hover, .text-button:focus {
color: var(--color-primary);
fill: var(--color-primary); }
.button.block {
width: 100%;
text-align: left;
display: block; }
.button.icon .svg-icon {
margin-right: 0; }
.button.svg {
padding: 12px 16px 10px 56px; }
.button.svg svg {
display: inline-block;
position: absolute;
left: 16px;
top: 10px;
width: 24px;
height: 24px; }
.button[disabled] {
background-color: #BBB;
cursor: default;
border-color: #CCC; }
.button[disabled]:hover {
background-color: #BBB;
cursor: default;
box-shadow: none; }
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; }
.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); }
.anim.fadeIn {
opacity: 0;
animation-name: fadeIn;
animation-duration: 180ms;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards; }
@keyframes fadeIn {
0% {
opacity: 0; }
100% {
opacity: 1; } }
.anim.searchResult {
opacity: 0;
transform: translate3d(580px, 0, 0);
animation-name: searchResult;
animation-duration: 220ms;
animation-fill-mode: forwards;
animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99); }
@keyframes searchResult {
0% {
opacity: 0;
transform: translate3d(400px, 0, 0); }
100% {
opacity: 1;
transform: translate3d(0, 0, 0); } }
@keyframes loadingBob {
0% {
transform: translate3d(0, 0, 0); }
30% {
transform: translate3d(0, 0, 0); }
50% {
transform: translate3d(0, -10px, 0); }
70% {
transform: translate3d(0, 0, 0); }
100% {
transform: translate3d(0, 0, 0); } }
@keyframes pointer {
0% {
transform: translate3d(0, 20px, 0) scale3d(0, 0, 0); }
100% {
transform: translate3d(0, 0, 0) scale3d(1, 1, 1); } }
.anim.pointer {
transform-origin: 50% 100%;
animation-name: pointer;
animation-duration: 180ms;
animation-delay: 0s;
animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99); }
.mce-tinymce.mce-container.mce-fullscreen {
position: fixed;
top: 0;
height: 100%;
width: 100%;
max-width: 100%;
z-index: 100; }
.mce-tinymce .mce-panel {
background-color: #FFF; }
.mce-tinymce .mce-btn {
background-color: #FFF; }
.mce-container-body.mce-flow-layout {
text-align: center; }
@media screen and (max-width: 1000px) {
.mce-container-body.mce-flow-layout {
overflow-x: scroll;
white-space: nowrap; } }
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch;
margin: 0 -1px; }
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel > .mce-container-body {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch; }
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel > .mce-container-body > .mce-toolbar-grp {
flex: 0 1 auto; }
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel > .mce-container-body > .mce-edit-area {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
align-items: stretch;
-webkit-overflow-scrolling: touch;
overflow: auto; }
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel > .mce-container-body > .mce-edit-area iframe {
flex: 1; }
.page-content.mce-content-body p {
line-height: 1.6; }
.page-content.mce-content-body {
padding-top: 16px;
outline: none; }
.mce-colorbtn-trans {
overflow: hidden; }
.mce-content-body .CodeMirrorContainer > .CodeMirror {
pointer-events: none; }
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
height: 300px;
color: black; }
/* PADDING */
.CodeMirror-lines {
padding: 4px 0;
/* Vertical padding around content */ }
.CodeMirror pre {
padding: 0 4px;
/* Horizontal padding of content */ }
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white;
/* The little square between H and V scrollbars */ }
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap; }
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
white-space: nowrap; }
.CodeMirror-guttermarker {
color: black; }
.CodeMirror-guttermarker-subtle {
color: #999; }
/* CURSOR */
.CodeMirror-cursor {
border-left: 1px solid black;
border-right: none;
width: 0; }
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver; }
.cm-fat-cursor .CodeMirror-cursor {
width: auto;
border: 0 !important;
background: #7e7; }
.cm-fat-cursor div.CodeMirror-cursors {
z-index: 1; }
.cm-animate-fat-cursor {
width: auto;
border: 0;
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
background-color: #7e7; }
@-moz-keyframes blink {
0% { }
50% {
background-color: transparent; }
100% { } }
@-webkit-keyframes blink {
0% { }
50% {
background-color: transparent; }
100% { } }
@keyframes blink {
0% { }
50% {
background-color: transparent; }
100% { } }
/* Can style cursor different in overwrite (non-insert) mode */
.cm-tab {
display: inline-block;
text-decoration: inherit; }
.CodeMirror-rulers {
position: absolute;
left: 0;
right: 0;
top: -50px;
bottom: -20px;
overflow: hidden; }
.CodeMirror-ruler {
border-left: 1px solid #ccc;
top: 0;
bottom: 0;
position: absolute; }
/* DEFAULT THEME */
.cm-s-default .cm-header {
color: blue; }
.cm-s-default .cm-quote {
color: #090; }
.cm-negative {
color: #d44; }
.cm-positive {
color: #292; }
.cm-header, .cm-strong {
font-weight: bold; }
.cm-em {
font-style: italic; }
.cm-link {
text-decoration: underline; }
.cm-strikethrough {
text-decoration: line-through; }
.cm-s-default .cm-keyword {
color: #708; }
.cm-s-default .cm-atom {
color: #219; }
.cm-s-default .cm-number {
color: #164; }
.cm-s-default .cm-def {
color: #00f; }
.cm-s-default .cm-variable-2 {
color: #05a; }
.cm-s-default .cm-variable-3 {
color: #085; }
.cm-s-default .cm-comment {
color: #a50; }
.cm-s-default .cm-string {
color: #a11; }
.cm-s-default .cm-string-2 {
color: #f50; }
.cm-s-default .cm-meta {
color: #555; }
.cm-s-default .cm-qualifier {
color: #555; }
.cm-s-default .cm-builtin {
color: #30a; }
.cm-s-default .cm-bracket {
color: #997; }
.cm-s-default .cm-tag {
color: #170; }
.cm-s-default .cm-attribute {
color: #00c; }
.cm-s-default .cm-hr {
color: #999; }
.cm-s-default .cm-link {
color: #00c; }
.cm-s-default .cm-error {
color: #f00; }
.cm-invalidchar {
color: #f00; }
.CodeMirror-composing {
border-bottom: 2px solid; }
/* Default styles for common addons */
div.CodeMirror span.CodeMirror-matchingbracket {
color: #0f0; }
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #f22; }
.CodeMirror-matchingtag {
background: rgba(255, 150, 0, 0.3); }
.CodeMirror-activeline-background {
background: #e8f2ff; }
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
position: relative;
overflow: hidden;
background: white; }
.CodeMirror-scroll {
overflow: scroll !important;
/* Things will break if this is overridden */
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px;
margin-right: -30px;
padding-bottom: 30px;
height: 100%;
outline: none;
/* Prevent dragging from highlighting the element */
position: relative; }
.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent; }
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actual scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none; }
.CodeMirror-vscrollbar {
right: 0;
top: 0;
overflow-x: hidden;
overflow-y: scroll; }
.CodeMirror-hscrollbar {
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: scroll; }
.CodeMirror-scrollbar-filler {
right: 0;
bottom: 0; }
.CodeMirror-gutter-filler {
left: 0;
bottom: 0; }
.CodeMirror-gutters {
position: absolute;
left: 0;
top: 0;
min-height: 100%;
z-index: 3; }
.CodeMirror-gutter {
white-space: normal;
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -30px; }
.CodeMirror-gutter-wrapper {
position: absolute;
z-index: 4;
background: none !important;
border: none !important; }
.CodeMirror-gutter-background {
position: absolute;
top: 0;
bottom: 0;
z-index: 4; }
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4; }
.CodeMirror-gutter-wrapper ::selection {
background-color: transparent; }
.CodeMirror-gutter-wrapper ::-moz-selection {
background-color: transparent; }
.CodeMirror-lines {
cursor: text;
min-height: 1px;
/* prevents collapsing before first draw */ }
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
border-width: 0;
background: transparent;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
-webkit-tap-highlight-color: transparent;
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual; }
.CodeMirror pre:after {
content: none;
display: none; }
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal; }
.CodeMirror-linebackground {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 0; }
.CodeMirror-linewidget {
position: relative;
z-index: 2;
overflow: auto; }
.CodeMirror-rtl pre {
direction: rtl; }
.CodeMirror-code {
outline: none; }
/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
-moz-box-sizing: content-box;
box-sizing: content-box; }
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden; }
.CodeMirror-cursor {
position: absolute;
pointer-events: none; }
.CodeMirror-measure pre {
position: static; }
div.CodeMirror-cursors {
visibility: hidden;
position: relative;
z-index: 3; }
div.CodeMirror-dragcursors {
visibility: visible; }
.CodeMirror-focused div.CodeMirror-cursors {
visibility: visible; }
.CodeMirror-selected {
background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected {
background: #d7d4f0; }
.CodeMirror-crosshair {
cursor: crosshair; }
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
background: #d7d4f0; }
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
background: #d7d4f0; }
.cm-searching {
background: #ffa;
background: rgba(255, 255, 0, 0.4); }
/* Used to force a border model for a node */
.cm-force-border {
padding-right: .1px; }
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursors {
visibility: hidden; } }
/* See issue #2901 */
.cm-tab-wrap-hack:after {
content: ''; }
/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext {
background: none; }
/*
Name: Base16 Default Light
Author: Chris Kempson (http://chriskempson.com)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/
.cm-s-base16-light.CodeMirror {
background: #f8f8f8;
color: #444444; }
.cm-s-base16-light div.CodeMirror-selected {
background: #e0e0e0; }
.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection {
background: #e0e0e0; }
.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection {
background: #e0e0e0; }
.cm-s-base16-light .CodeMirror-gutters {
background: #f5f5f5;
border-right: 0px; }
.cm-s-base16-light .CodeMirror-guttermarker {
color: #ac4142; }
.cm-s-base16-light .CodeMirror-guttermarker-subtle {
color: #b0b0b0; }
.cm-s-base16-light .CodeMirror-linenumber {
color: #b0b0b0; }
.cm-s-base16-light .CodeMirror-cursor {
border-left: 1px solid #505050; }
.cm-s-base16-light span.cm-comment {
color: #8f5536; }
.cm-s-base16-light span.cm-atom {
color: #aa759f; }
.cm-s-base16-light span.cm-number {
color: #aa759f; }
.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {
color: #678c30; }
.cm-s-base16-light span.cm-keyword {
color: #ac4142; }
.cm-s-base16-light span.cm-string {
color: #e09c3c; }
.cm-s-base16-light span.cm-builtin {
color: #4c7f9e; }
.cm-s-base16-light span.cm-variable {
color: #90a959; }
.cm-s-base16-light span.cm-variable-2 {
color: #6a9fb5; }
.cm-s-base16-light span.cm-def {
color: #d28445; }
.cm-s-base16-light span.cm-bracket {
color: #202020; }
.cm-s-base16-light span.cm-tag {
color: #ac4142; }
.cm-s-base16-light span.cm-link {
color: #aa759f; }
.cm-s-base16-light span.cm-error {
background: #ac4142;
color: #505050; }
.cm-s-base16-light .CodeMirror-activeline-background {
background: #DDDCDC; }
.cm-s-base16-light .CodeMirror-matchingbracket {
text-decoration: underline;
color: white !important; }
/**
* Custom BookStack overrides
*/
.CodeMirror, .CodeMirror pre {
font-size: 12px; }
.CodeMirror {
font-size: 12px;
height: auto;
margin-bottom: 24px;
border: 1px solid #DDD; }
.cm-s-base16-light .CodeMirror-gutters {
background: #f5f5f5;
border-right: 1px solid #DDD; }
.code-fill .CodeMirror {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%; }
/**
* Custom Copy Button
*/
.CodeMirror-copy {
position: absolute;
top: -1px;
right: -1px;
background-color: #EEE;
padding: 6px;
line-height: 0;
border: 1px solid #DDD;
cursor: pointer;
fill: #444;
z-index: 5;
transition: all ease-in 240ms;
user-select: none;
opacity: 0;
pointer-events: none; }
.CodeMirror-copy svg {
transition: transform ease-in 240ms;
transform: translateY(0); }
.CodeMirror-copy.success {
background-color: #14ab1d;
fill: #FFF; }
.CodeMirror-copy.success svg {
transform: translateY(-3px); }
.CodeMirror:hover .CodeMirror-copy {
user-select: all;
opacity: 1;
pointer-events: all; }
[notification] {
position: fixed;
top: 0;
right: 0;
margin: 32px;
padding: 16px 24px;
background-color: #FFF;
border-radius: 4px;
border-left: 6px solid currentColor;
box-shadow: 0 1px 6px 1px rgba(22, 22, 22, 0.2);
z-index: 999999;
cursor: pointer;
max-width: 360px;
transition: transform ease-in-out 280ms;
transform: translateX(580px);
display: grid;
grid-template-columns: 42px 1fr;
color: #444;
font-weight: 700; }
[notification] span, [notification] svg {
vertical-align: middle;
justify-self: center;
align-self: center; }
[notification] svg {
width: 2.8rem;
height: 2.8rem;
padding-right: 12px;
fill: currentColor; }
[notification] span {
vertical-align: middle;
line-height: 1.3; }
[notification].pos {
color: #0f7d15; }
[notification].neg {
color: #ab0f0e; }
[notification].warning {
color: #cf4d03; }
[notification].showing {
transform: translateX(0); }
[notification].showing:hover {
transform: translate3d(0, -2px, 0); }
[chapter-toggle] {
cursor: pointer;
margin: 0;
transition: all ease-in-out 180ms;
user-select: none; }
[chapter-toggle] svg[data-icon="caret-right"] {
margin-right: 0;
font-size: 1rem;
transition: all ease-in-out 180ms;
transform: rotate(0deg);
transform-origin: 50% 50%; }
[chapter-toggle].open svg[data-icon="caret-right"] {
transform: rotate(90deg); }
[chapter-toggle] svg[data-icon="caret-right"] + * {
margin-left: 6px; }
[overlay] {
background-color: rgba(0, 0, 0, 0.333);
position: fixed;
z-index: 95536;
width: 100%;
height: 100%;
min-width: 100%;
min-height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
align-items: center;
justify-content: center;
display: none; }
.popup-body-wrap {
display: flex; }
.popup-body {
background-color: #FFF;
max-height: 90%;
width: 1200px;
height: auto;
margin: 2% 5%;
border-radius: 4px;
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
overflow: hidden;
z-index: 999;
display: flex;
flex-direction: column; }
.popup-body.small {
margin: 2% auto;
width: 800px;
max-width: 90%; }
.popup-body:before {
display: flex;
align-self: flex-start; }
.popup-body .popup-content {
overflow-y: auto; }
.popup-body:focus {
outline: 0; }
.popup-footer button, .popup-header-close {
position: absolute;
top: 0;
right: 0;
margin: 0;
height: 40px;
border-radius: 0;
box-shadow: none; }
.popup-footer button:active, .popup-header-close:active {
outline: 0; }
.popup-header-close {
background-color: transparent;
border: 0;
color: #FFF;
font-size: 16px;
padding: 0 16px; }
.popup-header, .popup-footer {
display: block !important;
position: relative;
height: 40px;
flex: none !important; }
.popup-header .popup-title, .popup-footer .popup-title {
color: #FFF;
padding: 8px 16px; }
body.flexbox-support #entity-selector-wrap .popup-body .form-group {
height: 444px;
min-height: 444px; }
#entity-selector-wrap .popup-body .form-group {
margin: 0; }
.popup-body .entity-selector-container {
flex: 1; }
.image-manager-body {
min-height: 70vh; }
.dropzone-container {
position: relative;
background-color: #EEE;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a9a9a9' fill-opacity='0.52' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E"); }
.image-manager-list .image {
display: block;
position: relative;
border-radius: 0;
float: left;
margin: 0;
cursor: pointer;
width: 16.66667%;
height: auto;
border: 1px solid #DDD;
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
transition: all cubic-bezier(0.4, 0, 1, 1) 160ms;
overflow: hidden; }
.image-manager-list .image.selected {
border: 4px solid #FFF;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2); }
.image-manager-list .image img {
width: 100%;
max-width: 100%;
display: block; }
.image-manager-list .image .image-meta {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
color: #EEE;
background-color: rgba(0, 0, 0, 0.4);
font-size: 10px;
padding: 3px 4px; }
.image-manager-list .image .image-meta span {
display: block; }
@media screen and (max-width: 1100px) {
.image-manager-list .image {
width: 25%; } }
@media screen and (max-width: 880px) {
.image-manager-list .image .image-meta {
display: none; } }
#image-manager .load-more {
display: block;
text-align: center;
background-color: #EEE;
padding: 12px 16px;
color: #AAA;
clear: both;
font-size: 20px;
cursor: pointer;
font-style: italic; }
.image-manager-sidebar {
width: 300px;
overflow-y: auto;
overflow-x: hidden;
border-left: 1px solid #DDD; }
.image-manager-sidebar .inner {
padding: 16px; }
.image-manager-sidebar img {
max-width: 100%;
max-height: 180px;
display: block;
margin: 0 auto 16px auto;
box-shadow: 0 1px 21px 1px rgba(76, 76, 76, 0.3); }
.image-manager-sidebar .image-manager-viewer {
height: 196px;
display: flex;
align-items: center;
justify-content: center; }
.image-manager-sidebar .image-manager-viewer a {
display: inline-block; }
.image-manager-sidebar .dropzone-container {
border-bottom: 1px solid #DDD; }
.image-manager-list {
overflow-y: scroll;
flex: 1; }
.image-manager-content {
display: flex;
flex-direction: column;
flex: 1; }
.image-manager-content .container {
width: 100%; }
.image-manager-content .full-tab {
text-align: center; }
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
.dz-message {
font-size: 1em;
line-height: 2.35;
font-style: italic;
color: #888;
text-align: center;
cursor: pointer;
padding: 24px 16px;
transition: all ease-in-out 120ms; }
.dz-drag-hover .dz-message {
background-color: #107ed2;
color: #EEE; }
@keyframes passing-through {
0% {
opacity: 0;
transform: translateY(40px); }
30%, 70% {
opacity: 1;
transform: translateY(0px); }
100% {
opacity: 0;
transform: translateY(-40px); } }
@keyframes slide-in {
0% {
opacity: 0;
transform: translateY(40px); }
30% {
opacity: 1;
transform: translateY(0px); } }
@keyframes pulse {
0% {
transform: scale(1); }
10% {
transform: scale(1.1); }
20% {
transform: scale(1); } }
.dropzone, .dropzone * {
box-sizing: border-box; }
.dz-preview {
position: relative;
display: inline-block;
vertical-align: top;
margin: 12px;
min-height: 80px; }
.dz-preview:hover {
z-index: 1000; }
.dz-preview:hover .dz-details {
opacity: 1; }
.dz-preview.dz-file-preview .dz-image {
border-radius: 4px;
background: #e9e9e9; }
.dz-preview.dz-file-preview .dz-details {
opacity: 1; }
.dz-preview.dz-image-preview {
background: white; }
.dz-preview.dz-image-preview .dz-details {
transition: opacity 0.2s linear; }
.dz-preview .dz-remove {
font-size: 13px;
text-align: center;
display: block;
cursor: pointer;
border: none;
margin-top: 3px; }
.dz-preview .dz-remove:hover {
text-decoration: underline; }
.dz-preview:hover .dz-details {
opacity: 1; }
.dz-preview .dz-details {
z-index: 20;
position: absolute;
top: 0;
left: 0;
opacity: 0;
font-size: 10px;
min-width: 100%;
max-width: 100%;
padding: 6px 3px;
text-align: center;
color: rgba(0, 0, 0, 0.9);
line-height: 150%; }
.dz-preview .dz-details .dz-size {
margin-bottom: 0.5em;
font-size: 12px; }
.dz-preview .dz-details .dz-filename {
white-space: nowrap; }
.dz-preview .dz-details .dz-filename:hover span {
border: 1px solid rgba(200, 200, 200, 0.8);
background-color: rgba(255, 255, 255, 0.8); }
.dz-preview .dz-details .dz-filename:not(:hover) {
overflow: hidden;
text-overflow: ellipsis; }
.dz-preview .dz-details .dz-filename:not(:hover) span {
border: 1px solid transparent; }
.dz-preview .dz-details .dz-filename span {
background-color: rgba(255, 255, 255, 0.4);
padding: 0 0.4em;
border-radius: 3px; }
.dz-preview:hover .dz-image img {
filter: blur(8px); }
.dz-preview .dz-image {
border-radius: 4px;
overflow: hidden;
width: 80px;
height: 80px;
position: relative;
display: block;
z-index: 10; }
.dz-preview .dz-image img {
display: block; }
.dz-preview.dz-success .dz-success-mark {
animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dz-preview.dz-error .dz-error-mark {
opacity: 1;
animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dz-preview .dz-success-mark, .dz-preview .dz-error-mark {
pointer-events: none;
opacity: 0;
z-index: 1001;
position: absolute;
display: block;
top: 50%;
left: 50%;
margin-left: -27px;
margin-top: -35px; }
.dz-preview .dz-success-mark svg, .dz-preview .dz-error-mark svg {
display: block;
width: 54px;
height: 54px; }
.dz-preview.dz-processing .dz-progress {
opacity: 1;
transition: all 0.2s linear; }
.dz-preview.dz-complete .dz-progress {
opacity: 0;
transition: opacity 0.4s ease-in; }
.dz-preview:not(.dz-processing) .dz-progress {
animation: pulse 6s ease infinite; }
.dz-preview .dz-progress {
opacity: 1;
z-index: 1000;
pointer-events: none;
position: absolute;
height: 16px;
left: 50%;
top: 50%;
margin-top: -8px;
width: 80px;
margin-left: -40px;
background: rgba(255, 255, 255, 0.9);
transform: scale(1);
border-radius: 8px;
overflow: hidden; }
.dz-preview .dz-progress .dz-upload {
background: #333;
background: linear-gradient(to bottom, #666, #444);
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 0;
transition: width 300ms ease-in-out; }
.dz-preview.dz-error .dz-error-message {
display: block; }
.dz-preview.dz-error .dz-image:hover ~ .dz-error-message, .dz-preview.dz-error .dz-details:hover ~ .dz-error-message {
opacity: 1;
pointer-events: auto; }
.dz-preview .dz-error-message {
pointer-events: none;
z-index: 1000;
position: absolute;
display: block;
display: none;
opacity: 0;
transition: opacity 0.3s ease;
border-radius: 4px;
font-size: 12px;
line-height: 1.2;
top: 88px;
left: -12px;
width: 160px;
background: #ab0f0e;
padding: 6px;
color: white; }
.dz-preview .dz-error-message:after {
content: '';
position: absolute;
top: -6px;
left: 44px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #ab0f0e; }
.tab-container .nav-tabs {
text-align: left;
border-bottom: 1px solid #DDD;
margin-bottom: 16px; }
.tab-container .nav-tabs .tab-item {
padding: 12px;
color: #666; }
.tab-container .nav-tabs .tab-item.selected {
border-bottom-width: 3px; }
.nav-tabs {
text-align: center; }
.nav-tabs a, .nav-tabs .tab-item {
padding: 16px;
display: inline-block;
color: #666;
fill: #666;
cursor: pointer; }
.nav-tabs a.selected, .nav-tabs .tab-item.selected {
border-bottom: 2px solid var(--color-primary); }
.image-picker .none {
display: none; }
#code-editor .CodeMirror {
height: 400px; }
#code-editor .lang-options {
max-width: 400px;
margin-bottom: 12px; }
#code-editor .lang-options a {
margin-right: 6px;
text-decoration: underline; }
@media screen and (max-width: 880px) {
#code-editor .lang-options {
max-width: 100%; }
#code-editor .CodeMirror {
height: 200px; } }
.comment-box {
border: 1px solid #DDD;
border-radius: 4px;
background-color: #FFF; }
.comment-box .content {
font-size: 0.666em; }
.comment-box .content p, .comment-box .content ul, .comment-box .content ol {
font-size: 14px;
margin: .5em 0; }
.comment-box .actions {
opacity: 0;
transition: opacity ease-in-out 120ms; }
.comment-box:hover .actions, .comment-box:focus-within .actions {
opacity: 1; }
.comment-box .header .meta img, .comment-box .header .meta a, .comment-box .header .meta span {
display: inline-block;
vertical-align: top; }
.comment-box .header .meta a, .comment-box .header .meta span {
padding: 3px 0 3px 0;
line-height: 1.6; }
.comment-box .header .meta a {
color: #666; }
.comment-box .header .meta span {
padding-left: 3px; }
.comment-box .header .text-muted {
color: #999; }
#tag-manager .drag-card {
max-width: 500px; }
.permissions-table [permissions-table-toggle-all-in-row] {
display: none; }
.permissions-table tr:hover [permissions-table-toggle-all-in-row] {
display: inline; }
.template-item {
cursor: pointer;
position: relative; }
.template-item:hover, .template-item .template-item-actions button:hover {
background-color: #F2F2F2; }
.template-item .template-item-actions {
position: absolute;
top: 0;
right: 0;
width: 50px;
height: 100%;
display: flex;
flex-direction: column;
border-left: 1px solid #DDD; }
.template-item .template-item-actions button {
cursor: pointer;
flex: 1;
background: #FFF;
border: 0;
border-top: 1px solid #DDD; }
.template-item .template-item-actions button:first-child {
border-top: 0; }
/**
* 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 {
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; }
[v-cloak] {
display: none;
opacity: 0;
animation-name: none !important; }
.dragged {
position: absolute;
opacity: 0.5;
z-index: 2000; }
body.dragging, body.dragging * {
cursor: move !important; }
.avatar {
border-radius: 100%;
background-color: #EEE;
width: 30px;
height: 30px; }
.avatar.med {
width: 40px;
height: 40px; }
.avatar.large {
width: 80px;
height: 80px; }
.avatar.huge {
width: 120px;
height: 120px; }
.avatar.square {
border-radius: 3px; }
.loading-container {
position: relative;
display: block;
margin: 32px auto; }
.loading-container > div {
width: 10px;
height: 10px;
border-radius: 10px;
display: inline-block;
vertical-align: top;
transform: translate3d(-10px, 0, 0);
margin-top: 6px;
animation-name: loadingBob;
animation-duration: 1.4s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99);
margin-right: 4px;
background-color: var(--color-page);
animation-delay: 0.3s; }
.loading-container > div:first-child {
left: -16px;
background-color: var(--color-book);
animation-delay: 0s; }
.loading-container > div:last-of-type {
left: 16px;
background-color: var(--color-chapter);
animation-delay: 0.6s; }
.loading-container > span {
margin-left: 12px;
font-style: italic;
color: #888;
vertical-align: top; }
[back-to-top] {
background-color: var(--color-primary);
position: fixed;
bottom: 16px;
right: 24px;
padding: 5px 7px;
cursor: pointer;
color: #FFF;
fill: #FFF;
width: 40px;
height: 40px;
border-radius: 40px;
transition: all ease-in-out 180ms;
opacity: 0;
z-index: 999;
overflow: hidden; }
[back-to-top] svg {
width: 26.66667px;
height: 26.66667px;
margin-right: 4px; }
[back-to-top]:hover {
width: 136px;
opacity: 1 !important; }
[back-to-top] .inner {
width: 136px; }
[back-to-top] span {
position: relative;
vertical-align: top;
line-height: 2; }
.contained-search-box {
display: flex; }
.contained-search-box input, .contained-search-box button {
border-radius: 0;
border: 1px solid #DDD;
margin-left: -1px; }
.contained-search-box input {
flex: 5;
padding: 6px 12px; }
.contained-search-box input:focus, .contained-search-box input:active {
outline: 0; }
.contained-search-box button {
width: 60px; }
.contained-search-box button i {
padding: 0; }
.contained-search-box button.cancel.active {
background-color: #ab0f0e;
color: #EEE; }
.entity-selector {
border: 1px solid #DDD;
border-radius: 3px;
overflow: hidden;
font-size: 0.8em; }
.entity-selector input[type="text"] {
width: 100%;
display: block;
border-radius: 0;
border: 0;
border-bottom: 1px solid #DDD;
font-size: 16px;
padding: 12px 16px; }
.entity-selector .entity-list {
overflow-y: scroll;
height: 400px;
background-color: #EEEEEE;
margin-right: 0;
margin-left: 0; }
.entity-selector .entity-list-item {
background-color: #FFF; }
.entity-selector .entity-list-item p {
margin-bottom: 0; }
.entity-selector .entity-list-item.selected {
background-color: rgba(0, 0, 0, 0.05) !important; }
.entity-selector .loading {
height: 400px;
padding-top: 24px; }
.entity-selector .entity-selector-add button {
margin: 0;
display: block;
width: 100%;
border: 0;
border-top: 1px solid #DDD; }
.entity-selector.compact {
font-size: 10px; }
.entity-selector.compact .entity-item-snippet {
display: none; }
.scroll-box {
max-height: 250px;
overflow-y: scroll;
border: 1px solid #DDD;
border-radius: 3px; }
.scroll-box .scroll-box-item {
padding: 6px 16px;
border-bottom: 1px solid #DDD;
border-top: 1px solid #DDD;
margin-top: -1px; }
.scroll-box .scroll-box-item:last-child {
border-bottom: 0; }
.scroll-box[data-instruction]:before {
content: attr(data-instruction);
padding: 6px 16px;
border-bottom: 1px solid #DDD;
display: block;
font-size: 0.75rem;
color: #666; }
.fullscreen {
border: 0;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 150; }
.list-sort-container {
display: inline-block; }
.list-sort-container form {
display: inline-block; }
.list-sort-container .list-sort {
display: inline-grid;
margin-left: 12px;
grid-template-columns: 120px 40px;
border: 2px solid #DDD;
border-radius: 4px; }
.list-sort-container .list-sort-label {
font-weight: bold;
display: inline-block;
color: #555; }
.list-sort-container .list-sort-type {
text-align: left; }
.list-sort-container .list-sort-type, .list-sort-container .list-sort-dir {
padding: 6px 12px;
cursor: pointer; }
.list-sort-container .list-sort-dir {
border-left: 2px solid #DDD;
fill: #888; }
.list-sort-container .list-sort-dir .svg-icon {
transition: transform ease-in-out 120ms; }
.list-sort-container .list-sort-dir:hover .svg-icon {
transform: rotate(180deg); }