2019-12-05 14:09:31 -05:00
|
|
|
@import './editor/file-tree.less';
|
|
|
|
@import './editor/history.less';
|
|
|
|
@import './editor/toolbar.less';
|
|
|
|
@import './editor/left-menu.less';
|
|
|
|
@import './editor/pdf.less';
|
|
|
|
@import './editor/share.less';
|
|
|
|
@import './editor/chat.less';
|
2021-06-10 07:26:04 -04:00
|
|
|
@import './editor/file-view.less';
|
2019-12-05 14:09:31 -05:00
|
|
|
@import './editor/search.less';
|
|
|
|
@import './editor/publish-template.less';
|
|
|
|
@import './editor/online-users.less';
|
|
|
|
@import './editor/hotkeys.less';
|
|
|
|
@import './editor/review-panel.less';
|
|
|
|
@import './editor/rich-text.less';
|
|
|
|
@import './editor/publish-modal.less';
|
2020-06-29 09:05:08 -04:00
|
|
|
@import './editor/outline.less';
|
2020-11-05 05:22:05 -05:00
|
|
|
@import './editor/logs.less';
|
2022-05-26 08:58:10 -04:00
|
|
|
@import './editor/dictionary.less';
|
2014-06-26 11:39:52 -04:00
|
|
|
|
2017-12-08 10:29:05 -05:00
|
|
|
@ui-layout-toggler-def-height: 50px;
|
2018-03-23 07:54:17 -04:00
|
|
|
@ui-resizer-size: 7px;
|
2017-12-08 10:29:05 -05:00
|
|
|
|
2017-02-23 10:47:48 -05:00
|
|
|
@keyframes blink {
|
2019-12-05 14:09:31 -05:00
|
|
|
0% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2017-02-23 10:47:48 -05:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.editor-menu-icon {
|
2019-12-05 14:09:31 -05:00
|
|
|
&.fa {
|
|
|
|
width: 1em;
|
|
|
|
background: @editor-header-logo-background;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
// Disable the font-awesome icon when in Overleaf by replacing it with a
|
|
|
|
// non-breakable space instead (otherwise the browser would render a
|
|
|
|
// zero-width element).
|
|
|
|
content: '\00a0';
|
|
|
|
}
|
|
|
|
}
|
2017-11-24 10:33:48 -05:00
|
|
|
}
|
|
|
|
|
2014-06-24 15:28:53 -04:00
|
|
|
.full-size {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-06-24 15:28:53 -04:00
|
|
|
}
|
|
|
|
|
2014-06-24 11:33:36 -04:00
|
|
|
.global-alerts {
|
2019-12-05 14:09:31 -05:00
|
|
|
height: 0;
|
|
|
|
margin-top: 2px;
|
|
|
|
text-align: center;
|
2019-06-17 10:47:19 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.alert {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
|
|
|
min-width: 400px;
|
|
|
|
font-size: 14px;
|
|
|
|
margin-bottom: (@line-height-computed / 4);
|
|
|
|
position: relative;
|
|
|
|
z-index: 20;
|
|
|
|
}
|
2022-05-30 06:19:18 -04:00
|
|
|
|
|
|
|
.alert&:not(.alert-dismissable) {
|
|
|
|
padding: @global-alerts-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.global-alerts-detached {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: @margin-sm;
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
2019-12-16 05:55:45 -05:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
#try-reconnect-now-button {
|
|
|
|
margin-left: 20px;
|
2014-06-24 11:33:36 -04:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
#synctex-more-info-button {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2018-05-22 10:40:57 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
#ide-body {
|
2019-12-16 05:55:45 -05:00
|
|
|
background-color: @pdf-bg;
|
2019-12-05 14:09:31 -05:00
|
|
|
.full-size;
|
|
|
|
top: @ide-body-top-offset;
|
|
|
|
&.ide-history-open {
|
|
|
|
top: @ide-body-top-offset + @editor-toolbar-height;
|
|
|
|
}
|
2018-02-06 09:04:28 -05:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
#editor,
|
2018-04-06 11:59:06 -04:00
|
|
|
#editor-rich-text {
|
2019-12-05 14:09:31 -05:00
|
|
|
.full-size;
|
|
|
|
top: @editor-toolbar-height;
|
2018-04-12 08:46:19 -04:00
|
|
|
}
|
|
|
|
|
2022-03-23 05:20:30 -04:00
|
|
|
.pdf-empty,
|
2020-03-02 07:33:09 -05:00
|
|
|
.no-history-available,
|
2019-12-16 05:55:45 -05:00
|
|
|
.no-file-selection,
|
|
|
|
.multi-selection-ongoing {
|
|
|
|
&::before {
|
|
|
|
.full-size;
|
|
|
|
left: 20px;
|
|
|
|
content: '';
|
2022-04-06 05:59:13 -04:00
|
|
|
background: url(../../../public/img/ol-brand/overleaf-o-grey.svg) center /
|
|
|
|
200px no-repeat;
|
2019-12-16 05:55:45 -05:00
|
|
|
opacity: 0.2;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 07:33:09 -05:00
|
|
|
.no-history-available,
|
2019-12-16 05:55:45 -05:00
|
|
|
.no-file-selection-message,
|
|
|
|
.multi-selection-message {
|
|
|
|
width: 50%;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
padding: @line-height-computed 0;
|
|
|
|
}
|
|
|
|
|
2022-06-21 08:15:26 -04:00
|
|
|
.faster-compiles-feedback {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0.5rem; // scrollbar
|
|
|
|
margin: 1rem;
|
|
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin: 0 0 0 10px;
|
|
|
|
}
|
|
|
|
.faster-compiles-feedback-options {
|
|
|
|
display: inline;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.faster-compiles-feedback-option {
|
|
|
|
background: #1d4c82;
|
|
|
|
}
|
|
|
|
.faster-compiles-feedback-dismiss {
|
|
|
|
border: 0;
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
color: #1d4c82;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-12 08:46:19 -04:00
|
|
|
.toolbar-editor {
|
2019-12-05 14:09:31 -05:00
|
|
|
height: @editor-toolbar-height;
|
|
|
|
background-color: @editor-toolbar-bg;
|
|
|
|
padding: 0 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
z-index: 10; // Prevent track changes showing over toolbar
|
2021-11-30 09:54:14 -05:00
|
|
|
|
|
|
|
.btn-recompile-group {
|
|
|
|
margin-right: -5px;
|
|
|
|
border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
|
|
|
|
margin-left: 6px;
|
|
|
|
&.btn-recompile-group-has-changes {
|
|
|
|
// prettier-ignore
|
|
|
|
#gradient > .striped(@color: rgba(255, 255, 255, 0.2), @angle: -45deg);
|
|
|
|
background-size: @stripe-width @stripe-width;
|
|
|
|
.animation(pdf-toolbar-stripes 2s linear infinite);
|
|
|
|
}
|
|
|
|
.btn-recompile {
|
|
|
|
border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
|
|
|
|
}
|
|
|
|
}
|
2014-06-26 12:25:25 -04:00
|
|
|
}
|
2014-06-24 10:31:44 -04:00
|
|
|
|
2014-07-10 08:41:54 -04:00
|
|
|
.loading-screen {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.loading-screen-brand-container {
|
|
|
|
width: 15%;
|
|
|
|
min-width: 200px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.loading-screen-brand {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: @editor-loading-logo-padding-top;
|
|
|
|
height: 0;
|
|
|
|
background: @editor-loading-logo-background-url no-repeat bottom / 100%;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: inherit;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: @editor-loading-logo-foreground-url no-repeat bottom / 100%;
|
|
|
|
transition: height 0.5s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.loading-screen-label {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 1em;
|
|
|
|
font-size: 2em;
|
|
|
|
color: @gray-dark;
|
|
|
|
}
|
|
|
|
.loading-screen-ellip {
|
|
|
|
animation: blink 1.4s both infinite;
|
|
|
|
&:nth-child(2) {
|
|
|
|
animation-delay: 0.2s;
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-screen-error {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 1em;
|
|
|
|
color: @state-danger-text;
|
|
|
|
}
|
2014-07-10 08:41:54 -04:00
|
|
|
|
2014-06-27 07:45:37 -04:00
|
|
|
.loading-panel {
|
2019-12-05 14:09:31 -05:00
|
|
|
.full-size;
|
|
|
|
padding-top: 10rem;
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #fafafa;
|
2014-06-24 12:50:59 -04:00
|
|
|
}
|
|
|
|
|
2021-06-10 07:26:04 -04:00
|
|
|
.loading-panel-file-view {
|
2021-04-28 07:41:20 -04:00
|
|
|
background-color: @gray-lightest;
|
|
|
|
}
|
|
|
|
|
2014-06-27 07:45:37 -04:00
|
|
|
.error-panel {
|
2019-12-05 14:09:31 -05:00
|
|
|
.full-size;
|
|
|
|
padding: @line-height-computed;
|
|
|
|
background-color: #fafafa;
|
|
|
|
.alert {
|
|
|
|
max-width: 400px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
2014-06-27 07:45:37 -04:00
|
|
|
}
|
|
|
|
|
2014-07-03 11:18:49 -04:00
|
|
|
.project-name {
|
2019-12-05 14:09:31 -05:00
|
|
|
.name {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 6px;
|
|
|
|
color: @project-name-color;
|
|
|
|
font-weight: 700;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
height: 30px;
|
|
|
|
margin-top: 4px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 6px;
|
|
|
|
font-weight: 700;
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
a.rename {
|
|
|
|
visibility: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
color: @project-rename-link-color;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: @border-radius-small;
|
2021-04-27 05:06:44 -04:00
|
|
|
cursor: pointer;
|
2019-12-05 14:09:31 -05:00
|
|
|
&:hover {
|
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
|
|
|
|
color: @project-rename-link-color-hover;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
a.rename {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
2014-07-03 11:18:49 -04:00
|
|
|
}
|
|
|
|
|
2018-05-22 09:42:05 -04:00
|
|
|
/**************************************
|
|
|
|
Ace
|
|
|
|
***************************************/
|
2018-01-19 11:28:56 -05:00
|
|
|
|
2014-06-24 10:31:44 -04:00
|
|
|
// The internal components of the aceEditor directive
|
|
|
|
.ace-editor-wrapper {
|
2019-12-05 14:09:31 -05:00
|
|
|
.full-size;
|
|
|
|
.undo-conflict-warning {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.ace-editor-body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.spelling-highlight {
|
2020-10-27 06:51:07 -04:00
|
|
|
z-index: 3;
|
2019-12-05 14:09:31 -05:00
|
|
|
position: absolute;
|
2022-04-06 05:59:13 -04:00
|
|
|
background-image: url(../../../public/img/spellcheck-underline.png);
|
2019-12-05 14:09:31 -05:00
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
2022-04-06 05:59:13 -04:00
|
|
|
background-image: url(../../../public/img/spellcheck-underline@2x.png);
|
2019-12-05 14:09:31 -05:00
|
|
|
background-size: 5px 4px;
|
|
|
|
}
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
background-position: bottom left;
|
|
|
|
}
|
|
|
|
.remote-cursor {
|
|
|
|
position: absolute;
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
// Adds "nubbin" top right of cursor, which inherits the injected color
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: -2px;
|
|
|
|
top: -5px;
|
|
|
|
height: 5px;
|
|
|
|
width: 5px;
|
|
|
|
border-top-width: 3px;
|
|
|
|
border-right-width: 3px;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
border-left-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.annotation-label {
|
|
|
|
padding: (@line-height-computed / 4) (@line-height-computed / 2);
|
|
|
|
font-size: 0.8rem;
|
|
|
|
z-index: 100;
|
|
|
|
font-family: @font-family-sans-serif;
|
|
|
|
color: white;
|
|
|
|
font-weight: 700;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.annotation {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
.highlights-before-label,
|
|
|
|
.highlights-after-label {
|
|
|
|
position: absolute;
|
|
|
|
right: @line-height-computed;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.highlights-before-label {
|
|
|
|
top: @line-height-computed / 2;
|
|
|
|
}
|
|
|
|
.highlights-after-label {
|
|
|
|
bottom: @line-height-computed / 2;
|
|
|
|
}
|
2014-06-24 10:31:44 -04:00
|
|
|
}
|
|
|
|
|
2019-05-06 04:51:28 -04:00
|
|
|
.strike-through-foreground::after {
|
2019-12-05 14:09:31 -05:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -1px;
|
|
|
|
height: 2px;
|
|
|
|
background: currentColor;
|
2019-05-06 04:51:28 -04:00
|
|
|
}
|
|
|
|
|
2017-02-15 10:11:01 -05:00
|
|
|
// Hack to solve an issue where scrollbars aren't visible in Safari.
|
2019-12-05 14:09:31 -05:00
|
|
|
// Safari seems to clip part of the scrollbar element. By giving the
|
|
|
|
// element a background, we're telling Safari that it *really* needs to
|
2017-02-15 10:11:01 -05:00
|
|
|
// paint the whole area. See https://github.com/ajaxorg/ace/issues/2872
|
|
|
|
.ace_scrollbar-inner {
|
2019-12-05 14:09:31 -05:00
|
|
|
background-color: #fff;
|
|
|
|
opacity: 0.01;
|
2017-02-15 10:11:01 -05:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.ace_dark & {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
2017-02-15 10:11:01 -05:00
|
|
|
}
|
|
|
|
|
2018-05-22 09:42:05 -04:00
|
|
|
/**************************************
|
|
|
|
CodeMirror
|
|
|
|
***************************************/
|
|
|
|
.cm-editor-wrapper {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
2018-05-22 09:42:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor-body {
|
2019-12-05 14:09:31 -05:00
|
|
|
height: 100%;
|
2018-05-22 09:42:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// CM (for some reason) has height set to 300px in it's stylesheet
|
|
|
|
.CodeMirror {
|
2019-12-05 14:09:31 -05:00
|
|
|
height: 100%;
|
2018-05-22 09:42:05 -04:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.ui-layout-resizer {
|
2019-12-05 14:09:31 -05:00
|
|
|
width: @ui-resizer-size !important;
|
|
|
|
background-color: @editor-resizer-bg-color;
|
2022-01-12 04:53:16 -05:00
|
|
|
/* Over-ride z-index set on element by JQuery Layout */
|
|
|
|
z-index: 0 !important;
|
2019-12-05 14:09:31 -05:00
|
|
|
&.ui-layout-resizer-closed {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '\2847';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
left: -2px;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 24px;
|
|
|
|
top: 25%;
|
|
|
|
color: @ol-blue-gray-2;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
top: 75%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.ui-layout-toggler {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: none !important;
|
2017-12-11 10:41:07 -05:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.custom-toggler {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: @ui-resizer-size !important;
|
|
|
|
height: 50px;
|
|
|
|
margin-top: -25px;
|
|
|
|
top: 50%;
|
|
|
|
background-color: @editor-toggler-bg-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
// Increase hit area
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: -3px;
|
|
|
|
bottom: 0;
|
|
|
|
left: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
font-family: FontAwesome;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
font-size: 65%;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #fff;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @editor-toggler-hover-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.custom-toggler-east::after {
|
|
|
|
content: '\f105';
|
|
|
|
}
|
|
|
|
.custom-toggler-west::after {
|
|
|
|
content: '\f104';
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-toggler-closed.custom-toggler-east::after {
|
|
|
|
content: '\f104';
|
|
|
|
}
|
|
|
|
.custom-toggler-closed.custom-toggler-west::after {
|
|
|
|
content: '\f105';
|
|
|
|
}
|
2018-03-22 07:48:34 -04:00
|
|
|
|
2014-06-21 17:20:37 -04:00
|
|
|
.ui-layout-resizer-dragging {
|
2019-12-05 14:09:31 -05:00
|
|
|
background-color: @editor-resizer-bg-color-dragging;
|
2022-01-12 04:53:16 -05:00
|
|
|
z-index: 1000 !important;
|
2014-06-24 15:28:53 -04:00
|
|
|
}
|
|
|
|
|
2014-06-25 11:06:04 -04:00
|
|
|
.context-menu {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: fixed;
|
|
|
|
z-index: 100;
|
2014-06-25 11:06:04 -04:00
|
|
|
}
|
2014-07-28 10:06:26 -04:00
|
|
|
|
|
|
|
.editor-dark {
|
2019-12-05 14:09:31 -05:00
|
|
|
color: @gray-lighter;
|
|
|
|
background-color: @editor-dark-background-color;
|
|
|
|
|
|
|
|
.ui-layout-resizer {
|
|
|
|
background-color: darken(@editor-dark-background-color, 10%);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-default {
|
|
|
|
color: white;
|
|
|
|
background-color: @gray;
|
|
|
|
border-color: darken(@gray-dark, 10%);
|
|
|
|
&:hover {
|
|
|
|
background-color: darken(@gray, 5%);
|
|
|
|
border-color: darken(@gray-dark, 20%);
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 10:06:26 -04:00
|
|
|
}
|
2015-12-08 03:50:11 -05:00
|
|
|
|
|
|
|
.modal-alert {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 0px;
|
2015-12-08 03:50:11 -05:00
|
|
|
}
|
2016-02-10 05:39:04 -05:00
|
|
|
|
2016-11-02 12:59:57 -04:00
|
|
|
// vertically centre the "connection down" modal so it does not hide
|
|
|
|
// the reconnecting indicator
|
|
|
|
|
|
|
|
.modal.lock-editor-modal {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: flex !important;
|
2020-05-01 09:59:55 -04:00
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
overflow-y: hidden;
|
|
|
|
pointer-events: none;
|
2019-12-05 14:09:31 -05:00
|
|
|
.modal-dialog {
|
2020-05-01 09:59:55 -04:00
|
|
|
top: @line-height-computed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.out-of-sync-modal {
|
|
|
|
.text-preview {
|
|
|
|
margin-top: @line-height-computed / 2;
|
|
|
|
.scroll-container {
|
|
|
|
max-height: 360px;
|
2021-03-30 11:40:26 -04:00
|
|
|
width: 100%;
|
2020-05-01 09:59:55 -04:00
|
|
|
background-color: white;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.1em;
|
|
|
|
overflow: auto;
|
|
|
|
border: 1px solid @gray-lighter;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
2016-11-02 12:59:57 -04:00
|
|
|
}
|
|
|
|
|
2019-05-21 09:27:54 -04:00
|
|
|
.sl_references_search_hint {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: relative;
|
|
|
|
top: 100%;
|
2019-05-21 09:27:54 -04:00
|
|
|
}
|
|
|
|
|
2019-07-18 10:29:08 -04:00
|
|
|
.sl_references_search_hint {
|
2019-12-05 14:09:31 -05:00
|
|
|
position: relative;
|
|
|
|
left: -1px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 2px;
|
|
|
|
background: rgb(202, 214, 250);
|
|
|
|
border: 1px solid lightgray;
|
|
|
|
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
|
2016-07-21 09:24:52 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
span {
|
|
|
|
color: black;
|
|
|
|
}
|
2016-07-21 09:12:14 -04:00
|
|
|
}
|
|
|
|
|
2016-02-18 05:47:28 -05:00
|
|
|
// -- References Search Modal --
|
2016-02-10 11:37:11 -05:00
|
|
|
.references-search-modal-backdrop {
|
2019-12-05 14:09:31 -05:00
|
|
|
// don't grey out the editor when the
|
|
|
|
// modal is active
|
|
|
|
background-color: transparent;
|
2016-02-10 11:37:11 -05:00
|
|
|
}
|
2016-02-10 05:39:04 -05:00
|
|
|
.references-search-modal {
|
2019-12-05 14:09:31 -05:00
|
|
|
// upgrade prompt
|
|
|
|
.references-search-upgrade-prompt {
|
|
|
|
padding: 24px;
|
|
|
|
padding-bottom: 48px;
|
|
|
|
.upgrade-prompt {
|
|
|
|
text-align: center;
|
|
|
|
width: 400px;
|
|
|
|
padding-top: 14px;
|
|
|
|
padding-bottom: 14px;
|
|
|
|
padding-left: 38px;
|
|
|
|
padding-right: 38px;
|
|
|
|
margin: auto;
|
|
|
|
background: white;
|
|
|
|
opacity: 0.95;
|
|
|
|
border-radius: 8px;
|
|
|
|
.message {
|
|
|
|
margin-top: 15px;
|
|
|
|
&.call-to-action {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
ul.list-unstyled {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.btn {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.search-form {
|
|
|
|
// position the spinner inside the input element
|
|
|
|
i.fa-spinner {
|
|
|
|
margin-top: -30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.alert-danger {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
// search result items list
|
|
|
|
.search-results {
|
|
|
|
font-size: 12px;
|
2022-05-11 07:26:02 -04:00
|
|
|
.no-results-message,
|
|
|
|
.too-many-results-message {
|
2019-12-05 14:09:31 -05:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
2022-05-11 07:26:02 -04:00
|
|
|
.search-results-scroll-container {
|
|
|
|
max-height: calc(100vh - 225px);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
.search-result-hit {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
padding: 8px;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
border-left: 4px solid transparent;
|
2020-05-20 10:15:05 -04:00
|
|
|
&.selected-search-result-hit {
|
|
|
|
color: @brand-success;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
.hit-title {
|
|
|
|
font-size: 1.3em;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-18 11:07:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.referencesImportModal {
|
2019-12-05 14:09:31 -05:00
|
|
|
.referencesImportPreviewScroller {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 0.8em;
|
|
|
|
max-height: 360px;
|
|
|
|
overflow: scroll;
|
|
|
|
white-space: pre;
|
|
|
|
padding: 8px 12px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
border: 1px solid @gray-lighter;
|
|
|
|
background-color: @gray-lightest;
|
|
|
|
}
|
2016-10-04 06:57:42 -04:00
|
|
|
}
|
|
|
|
|
2016-10-27 05:29:38 -04:00
|
|
|
.teaser-title,
|
2016-10-04 06:57:42 -04:00
|
|
|
.dropbox-teaser-title {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-top: 0;
|
|
|
|
text-align: center;
|
2016-10-04 06:57:42 -04:00
|
|
|
}
|
|
|
|
|
2021-03-31 11:46:43 -04:00
|
|
|
.teaser-refresh-label {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-10-27 05:29:38 -04:00
|
|
|
.teaser-img,
|
2016-10-04 06:57:42 -04:00
|
|
|
.dropbox-teaser-img {
|
2019-12-05 14:09:31 -05:00
|
|
|
.img-responsive;
|
|
|
|
margin-bottom: 5px;
|
2016-10-04 06:57:42 -04:00
|
|
|
}
|
2016-10-04 06:58:19 -04:00
|
|
|
|
2016-11-03 12:14:13 -04:00
|
|
|
.teaser-video-container,
|
2016-10-04 06:58:19 -04:00
|
|
|
.dropbox-teaser-video-container {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-top: -@modal-inner-padding;
|
|
|
|
margin-left: -@modal-inner-padding;
|
|
|
|
margin-right: -@modal-inner-padding;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
overflow: hidden;
|
2016-10-04 06:58:19 -04:00
|
|
|
}
|
2016-11-03 12:14:13 -04:00
|
|
|
|
|
|
|
.teaser-video,
|
2016-10-04 06:58:19 -04:00
|
|
|
.dropbox-teaser-video {
|
2019-12-05 14:09:31 -05:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
border-bottom: 1px solid @modal-header-border-color;
|
2016-10-05 06:04:39 -04:00
|
|
|
}
|
2018-09-03 04:42:37 -04:00
|
|
|
|
|
|
|
.spell-check-menu {
|
2019-12-05 14:09:31 -05:00
|
|
|
> .dropdown-menu > li > a {
|
|
|
|
padding: 2px 15px;
|
|
|
|
}
|
2018-09-03 04:42:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.spell-check-menu-from-bottom {
|
2019-12-05 14:09:31 -05:00
|
|
|
> .dropdown-menu {
|
|
|
|
top: auto;
|
|
|
|
bottom: 100%;
|
|
|
|
}
|
2018-09-03 04:42:37 -04:00
|
|
|
}
|
2021-07-19 05:27:28 -04:00
|
|
|
|
|
|
|
// The source editor container is managed by jQuery's UI layout library, which adds an `overflow: hidden`
|
|
|
|
// rule to it. This is problematic because we need overflowing content to be visible (the review panel
|
|
|
|
// previews are shown on hover, visually outside the source editor container). As the `overflow: hidden`
|
|
|
|
// rule is added automatically (inline and not configurable), the only workaround is to use `!important`.
|
|
|
|
.editor-container {
|
|
|
|
overflow: visible !important;
|
|
|
|
}
|