2015-09-03 11:51:10 -04:00
|
|
|
.page-editor {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2018-03-18 07:46:08 -04:00
|
|
|
overflow: hidden;
|
2019-04-06 12:43:44 -04:00
|
|
|
|
2015-09-03 11:51:10 -04:00
|
|
|
.edit-area {
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
2019-05-05 19:15:03 -04:00
|
|
|
z-index: 10;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2018-03-28 13:52:08 -04:00
|
|
|
|
|
|
|
.mce-tinymce {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-top-part::before {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
|
2022-02-05 11:55:53 -05:00
|
|
|
body.tox-fullscreen .page-editor .edit-area,
|
2019-12-22 09:21:18 -05:00
|
|
|
body.markdown-fullscreen .page-editor .edit-area {
|
2019-08-04 11:21:16 -04:00
|
|
|
z-index: 12;
|
|
|
|
}
|
|
|
|
|
2022-02-05 11:55:53 -05:00
|
|
|
body.tox-fullscreen, body.markdown-fullscreen {
|
2019-12-22 09:21:18 -05:00
|
|
|
.page-editor, .flex-fill {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-19 10:30:58 -04:00
|
|
|
@include smaller-than($s) {
|
2019-04-13 13:30:11 -04:00
|
|
|
.page-edit-toolbar {
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: visible;
|
|
|
|
}
|
|
|
|
.page-edit-toolbar .grid.third {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-19 10:30:58 -04:00
|
|
|
.page-save-mobile-button {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 30;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 56px;
|
|
|
|
height: 56px;
|
|
|
|
font-size: 24px;
|
|
|
|
right: $-m;
|
|
|
|
bottom: $-s;
|
|
|
|
box-shadow: $bs-hover;
|
|
|
|
background-color: currentColor;
|
|
|
|
text-align: center;
|
|
|
|
svg {
|
|
|
|
fill: #FFF;
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-end: 0;
|
2019-04-13 13:30:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-02 14:26:12 -04:00
|
|
|
.draft-notification {
|
|
|
|
pointer-events: none;
|
|
|
|
transform: scale(0);
|
|
|
|
transition: transform ease-in-out 120ms;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
&.visible {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 11:51:10 -04:00
|
|
|
.page-style.editor {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-10-10 13:57:52 -04:00
|
|
|
// Page content pointers
|
|
|
|
.pointer-container {
|
2022-10-18 17:40:13 -04:00
|
|
|
position: fixed;
|
2015-10-10 13:57:52 -04:00
|
|
|
display: none;
|
2015-12-30 15:48:57 -05:00
|
|
|
left: 0;
|
2015-12-30 16:38:20 -05:00
|
|
|
z-index: 10;
|
2015-10-10 13:57:52 -04:00
|
|
|
}
|
|
|
|
.pointer {
|
|
|
|
border: 1px solid #CCC;
|
2020-04-11 15:02:07 -04:00
|
|
|
@include lightDark(border-color, #ccc, #000);
|
2015-10-10 13:57:52 -04:00
|
|
|
border-radius: 4px;
|
2020-04-11 15:02:07 -04:00
|
|
|
box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.1);
|
|
|
|
@include lightDark(background-color, #fff, #333);
|
2018-06-10 07:36:23 -04:00
|
|
|
width: 275px;
|
|
|
|
|
|
|
|
&.is-page-editable {
|
|
|
|
width: 328px;
|
|
|
|
}
|
|
|
|
|
2015-10-10 13:57:52 -04:00
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
bottom: -9px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-start: -8px;
|
2015-10-10 13:57:52 -04:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
transform-origin: 50% 50%;
|
2020-04-11 15:02:07 -04:00
|
|
|
border-block-end: 1px solid #CCC;
|
2020-04-05 08:07:19 -04:00
|
|
|
border-inline-end: 1px solid #CCC;
|
2015-12-30 16:38:20 -05:00
|
|
|
z-index: 56;
|
2020-04-11 15:02:07 -04:00
|
|
|
@include lightDark(background-color, #fff, #333);
|
|
|
|
@include lightDark(border-color, #ccc, #000);
|
2015-10-10 13:57:52 -04:00
|
|
|
}
|
2018-06-10 07:36:23 -04:00
|
|
|
input, button, a {
|
2015-10-10 13:57:52 -04:00
|
|
|
position: relative;
|
|
|
|
border-radius: 0;
|
|
|
|
height: 28px;
|
|
|
|
font-size: 12px;
|
2015-12-30 16:38:20 -05:00
|
|
|
vertical-align: top;
|
2018-06-10 07:36:23 -04:00
|
|
|
padding: 5px 16px;
|
2015-10-10 13:57:52 -04:00
|
|
|
}
|
2019-06-16 06:17:15 -04:00
|
|
|
input {
|
|
|
|
background-color: #FFF;
|
|
|
|
border: 1px solid #DDD;
|
2020-04-11 15:02:07 -04:00
|
|
|
@include lightDark(border-color, #ddd, #000);
|
2019-06-16 06:17:15 -04:00
|
|
|
color: #666;
|
2023-05-31 11:38:20 -04:00
|
|
|
width: 160px;
|
2019-06-16 06:17:15 -04:00
|
|
|
z-index: 40;
|
|
|
|
padding: 5px 10px;
|
2015-10-10 13:57:52 -04:00
|
|
|
}
|
2023-05-31 11:38:20 -04:00
|
|
|
.text-button {
|
|
|
|
@include lightDark(color, #444, #AAA);
|
2017-01-21 09:56:47 -05:00
|
|
|
}
|
2018-06-10 07:36:23 -04:00
|
|
|
.input-group .button {
|
2015-10-10 13:57:52 -04:00
|
|
|
line-height: 1;
|
|
|
|
margin: 0 0 0 -4px;
|
|
|
|
box-shadow: none;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2018-06-10 07:36:23 -04:00
|
|
|
a.button {
|
2019-06-16 06:17:15 -04:00
|
|
|
margin: 0;
|
2018-06-10 07:36:23 -04:00
|
|
|
}
|
|
|
|
.svg-icon {
|
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
2020-04-11 15:02:07 -04:00
|
|
|
.button {
|
|
|
|
@include lightDark(border-color, #ddd, #000);
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2015-10-10 13:57:52 -04:00
|
|
|
|
2016-05-15 05:39:17 -04:00
|
|
|
// Attribute form
|
|
|
|
.floating-toolbox {
|
|
|
|
border: 1px solid #DDD;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(background-color, #fff, #222);
|
|
|
|
@include lightDark(border-color, #DDD, #000);
|
2016-05-15 05:39:17 -04:00
|
|
|
right: $-xl*2;
|
|
|
|
width: 48px;
|
|
|
|
overflow: hidden;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: row;
|
|
|
|
display: flex;
|
|
|
|
transition: width ease-in-out 180ms;
|
|
|
|
margin-top: -1px;
|
2018-02-17 14:49:00 -05:00
|
|
|
min-height: 0;
|
2016-05-15 05:39:17 -04:00
|
|
|
&.open {
|
|
|
|
width: 480px;
|
|
|
|
}
|
2022-11-16 08:04:22 -05:00
|
|
|
.toolbox-toggle svg {
|
2016-05-15 05:39:17 -04:00
|
|
|
transition: transform ease-in-out 180ms;
|
|
|
|
}
|
2022-11-16 08:04:22 -05:00
|
|
|
.toolbox-toggle {
|
2016-05-15 05:39:17 -04:00
|
|
|
transition: background-color ease-in-out 180ms;
|
|
|
|
}
|
2022-11-16 08:04:22 -05:00
|
|
|
&.open .toolbox-toggle {
|
2016-05-15 05:39:17 -04:00
|
|
|
background-color: rgba(255, 0, 0, 0.29);
|
|
|
|
}
|
2022-11-16 08:04:22 -05:00
|
|
|
&.open .toolbox-toggle svg {
|
2016-05-15 05:39:17 -04:00
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
> div {
|
|
|
|
flex: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.tabs {
|
|
|
|
display: block;
|
2020-04-05 08:07:19 -04:00
|
|
|
border-inline-end: 1px solid #DDD;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(border-color, #ddd, #000);
|
2016-08-13 09:54:23 -04:00
|
|
|
width: 48px;
|
|
|
|
flex: 0 1 auto;
|
2016-05-15 05:39:17 -04:00
|
|
|
}
|
2018-02-17 14:49:00 -05:00
|
|
|
.tabs svg {
|
2016-05-15 05:39:17 -04:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-08-26 07:47:04 -04:00
|
|
|
.tabs > button {
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(color, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.5));
|
2016-05-15 05:39:17 -04:00
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: $-s $-m;
|
2019-07-07 08:45:46 -04:00
|
|
|
font-size: 16px;
|
2016-05-15 05:39:17 -04:00
|
|
|
line-height: 1.6;
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
2019-08-26 07:47:04 -04:00
|
|
|
&.open .tabs > button.active {
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(color, #444, #EEE);
|
2016-05-15 05:39:17 -04:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-size: 24px;
|
|
|
|
margin: $-m 0 0 0;
|
|
|
|
padding: 0 $-l $-s $-l;
|
|
|
|
}
|
|
|
|
.tags input {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 50px;
|
|
|
|
}
|
2020-04-05 08:07:19 -04:00
|
|
|
.tags td, .inline-start-table > div > div > div {
|
|
|
|
padding-inline-end: $-s;
|
2016-05-15 05:39:17 -04:00
|
|
|
padding-top: $-s;
|
2016-05-15 15:12:53 -04:00
|
|
|
position: relative;
|
2016-05-15 05:39:17 -04:00
|
|
|
}
|
|
|
|
.handle {
|
|
|
|
user-select: none;
|
|
|
|
cursor: move;
|
2018-02-17 14:49:00 -05:00
|
|
|
fill: #999;
|
2016-05-15 05:39:17 -04:00
|
|
|
}
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2016-11-12 08:21:16 -05:00
|
|
|
table td, table th {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2016-05-15 05:39:17 -04:00
|
|
|
}
|
|
|
|
|
2022-11-16 08:04:22 -05:00
|
|
|
.toolbox-tab-content {
|
2016-05-15 05:39:17 -04:00
|
|
|
display: none;
|
2022-12-16 18:16:05 -05:00
|
|
|
overflow-y: auto;
|
2022-12-16 18:21:24 -05:00
|
|
|
padding-bottom: 45px;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2016-05-15 05:39:17 -04:00
|
|
|
|
2016-05-15 15:12:53 -04:00
|
|
|
.suggestion-box {
|
2020-06-28 18:15:05 -04:00
|
|
|
top: auto;
|
|
|
|
margin: -4px 0 0;
|
|
|
|
right: auto;
|
|
|
|
left: 0;
|
2016-05-15 15:12:53 -04:00
|
|
|
padding: 0;
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2016-05-15 05:39:17 -04:00
|
|
|
}
|
2017-04-18 15:51:45 -04:00
|
|
|
}
|
|
|
|
|
2018-12-09 11:51:31 -05:00
|
|
|
.comments-container h5 {
|
|
|
|
color: #888;
|
|
|
|
font-weight: normal;
|
|
|
|
margin-top: 0.5em;
|
2018-05-27 15:20:13 -04:00
|
|
|
}
|
|
|
|
|
2017-04-18 15:51:45 -04:00
|
|
|
.comment-editor .CodeMirror, .comment-editor .CodeMirror-scroll {
|
|
|
|
min-height: 175px;
|
2018-03-27 15:17:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* FIXME - Ugly hack to modify the media plugin for TinyMCE */
|
|
|
|
.mce-floatpanel[aria-label="Insert/edit media"] {
|
2018-03-28 13:52:08 -04:00
|
|
|
.mce-open {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-10-16 13:49:16 -04:00
|
|
|
}
|
|
|
|
|
2022-05-19 12:38:04 -04:00
|
|
|
.entity-list-item > span:first-child,
|
|
|
|
.icon-list-item > span:first-child,
|
|
|
|
.split-icon-list-item > a > .icon,
|
|
|
|
.chapter-expansion > .icon {
|
2018-12-01 15:28:17 -05:00
|
|
|
font-size: 0.8rem;
|
2018-10-16 13:49:16 -04:00
|
|
|
width: 1.88em;
|
|
|
|
height: 1.88em;
|
2022-05-19 12:38:04 -04:00
|
|
|
flex-shrink: 0;
|
2018-10-16 13:49:16 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 1em;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
svg {
|
|
|
|
margin: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: currentColor;
|
|
|
|
opacity: 0.2;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-10-21 15:05:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.entity-chip {
|
|
|
|
display: inline-block;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.9em;
|
2019-02-16 12:13:01 -05:00
|
|
|
border-radius: 3px;
|
2018-10-21 15:05:11 -04:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2019-02-16 12:13:01 -05:00
|
|
|
padding: $-xs $-s;
|
2018-12-09 11:51:31 -05:00
|
|
|
fill: currentColor;
|
2019-02-16 12:13:01 -05:00
|
|
|
opacity: 0.85;
|
|
|
|
transition: opacity ease-in-out 120ms;
|
2018-10-21 15:05:11 -04:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: currentColor;
|
2019-02-16 12:13:01 -05:00
|
|
|
opacity: 0.15;
|
2018-10-21 15:05:11 -04:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2019-02-16 12:13:01 -05:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-11-23 10:48:55 -05:00
|
|
|
@media (prefers-contrast: more) {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-04-27 10:58:35 -04:00
|
|
|
}
|