mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
155 lines
3.1 KiB
CSS
155 lines
3.1 KiB
CSS
|
/* Content.Inline.less */
|
||
|
/* Content.Objects.less */
|
||
|
.mce-content-body .mce-reset {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
border: 0;
|
||
|
outline: 0;
|
||
|
vertical-align: top;
|
||
|
background: transparent;
|
||
|
text-decoration: none;
|
||
|
color: black;
|
||
|
font-family: Arial;
|
||
|
font-size: 11px;
|
||
|
text-shadow: none;
|
||
|
float: none;
|
||
|
position: static;
|
||
|
width: auto;
|
||
|
height: auto;
|
||
|
white-space: nowrap;
|
||
|
cursor: inherit;
|
||
|
line-height: normal;
|
||
|
font-weight: normal;
|
||
|
text-align: left;
|
||
|
-webkit-tap-highlight-color: transparent;
|
||
|
-moz-box-sizing: content-box;
|
||
|
-webkit-box-sizing: content-box;
|
||
|
box-sizing: content-box;
|
||
|
direction: ltr;
|
||
|
max-width: none;
|
||
|
}
|
||
|
.mce-object {
|
||
|
border: 1px dotted #3A3A3A;
|
||
|
background: #d5d5d5 url(img/object.gif) no-repeat center;
|
||
|
}
|
||
|
.mce-preview-object {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
margin: 0 2px 0 2px;
|
||
|
line-height: 0;
|
||
|
border: 1px solid gray;
|
||
|
}
|
||
|
.mce-preview-object .mce-shim {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||
|
}
|
||
|
figure.align-left {
|
||
|
float: left;
|
||
|
}
|
||
|
figure.align-right {
|
||
|
float: right;
|
||
|
}
|
||
|
figure.image {
|
||
|
display: inline-block;
|
||
|
border: 1px solid gray;
|
||
|
margin: 0 2px 0 1px;
|
||
|
background: #f5f2f0;
|
||
|
}
|
||
|
figure.image img {
|
||
|
margin: 8px 8px 0 8px;
|
||
|
}
|
||
|
figure.image figcaption {
|
||
|
margin: 6px 8px 6px 8px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.mce-preview-object[data-mce-selected] .mce-shim {
|
||
|
display: none;
|
||
|
}
|
||
|
.mce-pagebreak {
|
||
|
cursor: default;
|
||
|
display: block;
|
||
|
border: 0;
|
||
|
width: 100%;
|
||
|
height: 5px;
|
||
|
border: 1px dashed #666;
|
||
|
margin-top: 15px;
|
||
|
page-break-before: always;
|
||
|
}
|
||
|
@media print {
|
||
|
.mce-pagebreak {
|
||
|
border: 0px;
|
||
|
}
|
||
|
}
|
||
|
.mce-item-anchor {
|
||
|
cursor: default;
|
||
|
display: inline-block;
|
||
|
-webkit-user-select: all;
|
||
|
-webkit-user-modify: read-only;
|
||
|
-moz-user-select: all;
|
||
|
-moz-user-modify: read-only;
|
||
|
user-select: all;
|
||
|
user-modify: read-only;
|
||
|
width: 9px !important;
|
||
|
height: 9px !important;
|
||
|
border: 1px dotted #3A3A3A;
|
||
|
background: #d5d5d5 url(img/anchor.gif) no-repeat center;
|
||
|
}
|
||
|
.mce-nbsp,
|
||
|
.mce-shy {
|
||
|
background: #AAA;
|
||
|
}
|
||
|
.mce-shy::after {
|
||
|
content: '-';
|
||
|
}
|
||
|
hr {
|
||
|
cursor: default;
|
||
|
}
|
||
|
.mce-match-marker {
|
||
|
background: #AAA;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.mce-match-marker-selected {
|
||
|
background: #3399ff;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.mce-spellchecker-word {
|
||
|
border-bottom: 2px solid #F00;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.mce-spellchecker-grammar {
|
||
|
border-bottom: 2px solid #008000;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.mce-item-table,
|
||
|
.mce-item-table td,
|
||
|
.mce-item-table th,
|
||
|
.mce-item-table caption {
|
||
|
border: 1px dashed #BBB;
|
||
|
}
|
||
|
td.mce-item-selected,
|
||
|
th.mce-item-selected {
|
||
|
background-color: #3399ff !important;
|
||
|
}
|
||
|
.mce-edit-focus {
|
||
|
outline: 1px dotted #333;
|
||
|
}
|
||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
|
||
|
outline: 2px solid #2d8ac7;
|
||
|
}
|
||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
|
||
|
outline: 2px solid #7ACAFF;
|
||
|
}
|
||
|
.mce-content-body *[contentEditable=false][data-mce-selected] {
|
||
|
outline: 2px solid #2d8ac7;
|
||
|
}
|
||
|
.mce-resize-bar-dragging {
|
||
|
background-color: blue;
|
||
|
opacity: 0.25;
|
||
|
filter: alpha(opacity=25);
|
||
|
zoom: 1;
|
||
|
}
|