2018-02-08 05:24:21 -05:00
|
|
|
@stripe-width: 20px;
|
|
|
|
@keyframes pdf-toolbar-stripes {
|
2019-12-05 14:09:31 -05:00
|
|
|
from {
|
|
|
|
background-position: 0 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-position: @stripe-width 0;
|
|
|
|
}
|
2018-02-08 05:24:21 -05:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.pdf .toolbar.toolbar-pdf {
|
2019-12-05 14:09:31 -05:00
|
|
|
.toolbar-small-mixin;
|
|
|
|
.toolbar-alt-mixin;
|
|
|
|
padding-right: 5px;
|
2021-10-12 04:47:46 -04:00
|
|
|
margin-left: 0;
|
2019-12-05 14:09:31 -05:00
|
|
|
&.changes-to-autocompile {
|
2021-04-14 09:17:21 -04:00
|
|
|
// prettier-ignore
|
2019-12-05 14:09:31 -05:00
|
|
|
#gradient > .striped(@color: rgba(255, 255, 255, 0.1), @angle: -45deg);
|
|
|
|
background-size: @stripe-width @stripe-width;
|
|
|
|
.animation(pdf-toolbar-stripes 2s linear infinite);
|
|
|
|
}
|
|
|
|
.auto-compile-status {
|
|
|
|
color: white;
|
|
|
|
margin-right: (@line-height-computed / 2);
|
|
|
|
i {
|
|
|
|
color: @brand-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.auto-compile-status when (@is-overleaf-light = true) {
|
|
|
|
color: @ol-blue-gray-3;
|
|
|
|
}
|
2018-08-24 07:06:56 -04:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.pdf .toolbar.toolbar-pdf when (@is-overleaf-light = false) {
|
2019-12-05 14:09:31 -05:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2018-08-24 07:06:56 -04:00
|
|
|
|
2021-11-15 11:33:57 -05:00
|
|
|
.toolbar-pdf-orphan,
|
2020-09-29 07:08:49 -04:00
|
|
|
.toolbar-pdf-left,
|
|
|
|
.toolbar-pdf-right {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-self: stretch;
|
|
|
|
flex: 1 1 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-pdf-right {
|
2020-10-15 06:08:10 -04:00
|
|
|
flex: 1 0 auto;
|
2020-09-29 07:08:49 -04:00
|
|
|
}
|
|
|
|
|
2021-11-15 11:33:57 -05:00
|
|
|
.toolbar-pdf-orphan {
|
|
|
|
justify-content: center;
|
2021-11-30 09:54:14 -05:00
|
|
|
color: @toolbar-btn-color;
|
2021-11-15 11:33:57 -05:00
|
|
|
.btn {
|
|
|
|
margin-left: @margin-xs;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-29 07:08:49 -04:00
|
|
|
.btn-toggle-logs {
|
|
|
|
&:focus,
|
|
|
|
&:active:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-toggle-logs-label {
|
|
|
|
padding-left: @line-height-computed / 4;
|
|
|
|
}
|
|
|
|
|
2021-10-12 04:47:46 -04:00
|
|
|
.toolbar-pdf-hybrid {
|
2021-11-30 09:54:14 -05:00
|
|
|
.btn:not(.btn-recompile):not(.btn-orphan):not(.detach-synctex-control) {
|
2021-10-12 04:47:46 -04:00
|
|
|
display: inline-block;
|
|
|
|
color: @toolbar-btn-color;
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 4px 2px;
|
|
|
|
line-height: 1;
|
|
|
|
height: 24px;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: @toolbar-btn-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 0.15em 0.6em 0.2em;
|
|
|
|
font-size: 60%;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: inline-block;
|
|
|
|
color: #fff;
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 4px 2px;
|
|
|
|
line-height: 1;
|
|
|
|
height: 24px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.log-btn {
|
|
|
|
margin-right: 3px;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: white;
|
|
|
|
background-color: @link-color;
|
|
|
|
box-shadow: @toolbar-icon-btn-hover-boxshadow;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-21 04:09:23 -04:00
|
|
|
|
|
|
|
.btn-recompile {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
2021-10-12 04:47:46 -04:00
|
|
|
}
|
|
|
|
|
2017-12-07 11:35:39 -05:00
|
|
|
.pdf {
|
2019-12-05 14:09:31 -05:00
|
|
|
background-color: @pdf-bg;
|
2017-12-07 09:14:42 -05:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.pdf-viewer,
|
|
|
|
.pdf-logs,
|
|
|
|
.pdf-errors,
|
|
|
|
.pdf-uncompiled {
|
|
|
|
.full-size;
|
|
|
|
top: @pdf-top-offset;
|
2014-06-29 09:22:08 -04:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.pdf-logs,
|
|
|
|
.pdf-errors,
|
|
|
|
.pdf-uncompiled,
|
|
|
|
.pdf-validation-problems {
|
|
|
|
padding: @line-height-computed / 2;
|
2014-06-30 06:35:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-uncompiled {
|
2019-12-05 14:09:31 -05:00
|
|
|
.fa {
|
|
|
|
color: @blue;
|
|
|
|
}
|
2014-06-30 06:35:32 -04:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.btn-recompile-group {
|
2019-12-05 14:09:31 -05:00
|
|
|
align-self: stretch;
|
|
|
|
margin-right: 6px;
|
2021-03-18 09:49:01 -04:00
|
|
|
border-radius: 0 @btn-border-radius-base @btn-border-radius-base 0;
|
|
|
|
background-color: @btn-primary-bg;
|
|
|
|
&.btn-recompile-group-has-changes {
|
2021-04-14 09:17:21 -04:00
|
|
|
// prettier-ignore
|
2021-03-18 09:49:01 -04:00
|
|
|
#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 {
|
|
|
|
height: 100%;
|
|
|
|
// .btn-primary;
|
|
|
|
color: #fff;
|
|
|
|
background-color: transparent;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2022-03-03 11:28:12 -05:00
|
|
|
&[disabled],
|
|
|
|
&[disabled].active,
|
|
|
|
&[disabled]:hover,
|
|
|
|
&[disabled]:focus {
|
2021-03-18 09:49:01 -04:00
|
|
|
background-color: mix(@btn-primary-bg, @toolbar-alt-bg-color, 65%);
|
|
|
|
.opacity(1);
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
2017-11-23 11:42:38 -05:00
|
|
|
}
|
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
.btn-recompile-label {
|
|
|
|
margin-left: @line-height-computed / 4;
|
|
|
|
}
|
|
|
|
|
2022-06-13 08:29:35 -04:00
|
|
|
@keyframes compile-button-flash {
|
|
|
|
from,
|
|
|
|
to {
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
25%,
|
|
|
|
75% {
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes compile-button-bounce {
|
|
|
|
from,
|
|
|
|
50%,
|
|
|
|
to {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
25%,
|
|
|
|
75% {
|
|
|
|
transform: translateY(2px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-recompile-animate {
|
|
|
|
animation-duration: 1.2s;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
animation-timing-function: ease-in-out;
|
|
|
|
animation-name: compile-button-flash;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-recompile-animate .caret {
|
|
|
|
animation-duration: 0.6s;
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
|
|
animation-name: compile-button-bounce;
|
|
|
|
}
|
|
|
|
|
2020-11-09 09:52:22 -05:00
|
|
|
.toolbar-text {
|
|
|
|
padding-left: @padding-xs;
|
|
|
|
}
|
|
|
|
|
2014-06-29 09:22:08 -04:00
|
|
|
.pdf-viewer {
|
2019-12-05 14:09:31 -05:00
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.pdfjs-viewer {
|
|
|
|
.full-size;
|
|
|
|
background-color: @pdfjs-bg;
|
|
|
|
overflow: scroll;
|
2022-03-28 06:21:42 -04:00
|
|
|
.canvasWrapper > canvas,
|
2019-12-05 14:09:31 -05:00
|
|
|
div.pdf-canvas {
|
|
|
|
background: white;
|
|
|
|
box-shadow: @pdf-page-shadow-color 0px 0px 10px;
|
|
|
|
}
|
|
|
|
div.pdf-canvas.pdfng-empty {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
div.pdf-canvas.pdfng-loading {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
.page-container {
|
|
|
|
margin: 10px auto;
|
|
|
|
padding: 0 10px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2021-09-30 07:29:25 -04:00
|
|
|
.page {
|
|
|
|
box-sizing: content-box;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.pdfjs-viewer-inner {
|
|
|
|
position: absolute;
|
2021-11-08 06:15:07 -05:00
|
|
|
overflow-y: scroll;
|
2021-09-30 07:29:25 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-10-21 04:09:10 -04:00
|
|
|
-webkit-font-smoothing: initial;
|
|
|
|
-moz-osx-font-smoothing: initial;
|
2022-05-11 07:25:20 -04:00
|
|
|
/* fix review-panel overflow issue, see: https://github.com/overleaf/internal/issues/6781#issuecomment-1112708638 */
|
|
|
|
.pdfViewer {
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
2021-09-30 07:29:25 -04:00
|
|
|
}
|
2021-09-17 06:55:50 -04:00
|
|
|
&:focus-within {
|
|
|
|
outline: none;
|
|
|
|
}
|
2021-10-15 05:50:34 -04:00
|
|
|
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
|
|
|
.textLayer br::selection {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
|
|
|
.progress-thin {
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
height: 3px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
.progress-bar {
|
|
|
|
height: 100%;
|
|
|
|
background-color: @link-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.pdfjs-controls {
|
|
|
|
position: absolute;
|
|
|
|
padding: @line-height-computed / 2;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
display: inline-block;
|
|
|
|
.btn-group {
|
|
|
|
transition: opacity 0.5s ease, visibility 0 linear 0.5s;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&.flash {
|
|
|
|
.btn-group {
|
|
|
|
transition: none;
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
i.fa-arrows-h {
|
|
|
|
border-right: 2px solid white;
|
|
|
|
border-left: 2px solid white;
|
|
|
|
}
|
|
|
|
i.fa-arrows-v {
|
|
|
|
border-top: 2px solid white;
|
|
|
|
border-bottom: 2px solid white;
|
|
|
|
}
|
|
|
|
}
|
2014-06-28 08:25:06 -04:00
|
|
|
}
|
2014-06-29 09:22:08 -04:00
|
|
|
|
2021-10-15 05:51:04 -04:00
|
|
|
// The new viewer UI has overflow on the inner element,
|
|
|
|
// so disable the overflow on the outer element
|
|
|
|
.pdf-viewer .pdfjs-viewer.pdfjs-viewer-outer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-06-30 06:35:32 -04:00
|
|
|
.pdf-logs {
|
2019-12-05 14:09:31 -05:00
|
|
|
overflow: auto;
|
|
|
|
.alert {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
margin-bottom: @line-height-computed / 2;
|
|
|
|
cursor: pointer;
|
|
|
|
.line-no {
|
|
|
|
float: right;
|
|
|
|
color: @log-line-no-color;
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.entry-message {
|
|
|
|
font-weight: 700;
|
|
|
|
//font-family: @font-family-monospace;
|
|
|
|
}
|
|
|
|
.entry-content {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
//font-family: @font-family-monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .line-no {
|
|
|
|
color: inherit;
|
|
|
|
.fa {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-danger {
|
|
|
|
background-color: tint(@alert-danger-bg, 15%);
|
|
|
|
&:hover {
|
|
|
|
background-color: @alert-danger-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-warning {
|
|
|
|
background-color: tint(@alert-warning-bg, 15%);
|
|
|
|
&:hover {
|
|
|
|
background-color: @alert-warning-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-info {
|
|
|
|
background-color: tint(@alert-info-bg, 15%);
|
|
|
|
&:hover {
|
|
|
|
background-color: @alert-info-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
font-size: 12px;
|
2021-09-21 04:56:44 -04:00
|
|
|
white-space: pre-wrap;
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
|
|
|
.dropdown {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.force-recompile {
|
|
|
|
margin-top: 10px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-06-29 09:22:08 -04:00
|
|
|
}
|
2014-06-30 13:35:01 -04:00
|
|
|
|
|
|
|
.synctex-controls {
|
2020-06-25 10:45:49 -04:00
|
|
|
margin-right: -8px;
|
2019-12-05 14:09:31 -05:00
|
|
|
position: absolute;
|
|
|
|
z-index: @synctex-controls-z-index;
|
|
|
|
padding: @synctex-controls-padding;
|
|
|
|
top: 68px;
|
2014-06-30 13:35:01 -04:00
|
|
|
}
|
2014-07-28 10:06:26 -04:00
|
|
|
|
2021-11-30 09:54:14 -05:00
|
|
|
.synctex-control:not(.detach-synctex-control) {
|
2019-12-05 14:09:31 -05:00
|
|
|
@ol-synctex-control-size: 24px;
|
|
|
|
align-items: center;
|
2020-06-25 10:45:49 -04:00
|
|
|
display: flex;
|
2019-12-05 14:09:31 -05:00
|
|
|
justify-content: center;
|
|
|
|
font-size: 1em;
|
2020-06-25 10:45:49 -04:00
|
|
|
margin-bottom: @ol-synctex-control-size / 2;
|
2019-12-05 14:09:31 -05:00
|
|
|
width: @ol-synctex-control-size;
|
|
|
|
height: @ol-synctex-control-size;
|
|
|
|
border-radius: @ol-synctex-control-size / 2;
|
|
|
|
padding: 0 0 2px;
|
|
|
|
background-color: fade(@btn-default-bg, 80%);
|
|
|
|
transition: background 0.15s ease;
|
|
|
|
|
2021-10-21 06:31:51 -04:00
|
|
|
&:focus:not(:focus-visible) {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2020-08-18 09:08:49 -04:00
|
|
|
&[disabled] {
|
|
|
|
opacity: 1;
|
|
|
|
background-color: fade(@btn-default-bg, 60%);
|
|
|
|
}
|
2021-11-30 09:54:14 -05:00
|
|
|
}
|
2020-08-18 09:08:49 -04:00
|
|
|
|
2021-11-30 09:54:14 -05:00
|
|
|
.synctex-control {
|
2020-06-25 10:45:49 -04:00
|
|
|
> .synctex-control-icon {
|
|
|
|
display: inline-block;
|
|
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
|
|
font-size: inherit;
|
|
|
|
text-rendering: auto;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
2020-08-18 09:08:49 -04:00
|
|
|
|
|
|
|
> .synctex-spin-icon {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
|
|
|
|
2020-06-25 10:45:49 -04:00
|
|
|
.synctex-control-goto-pdf > .synctex-control-icon {
|
2019-12-05 14:09:31 -05:00
|
|
|
text-indent: 1px; // "Optical" adjustment.
|
|
|
|
&::before {
|
|
|
|
content: '\f061';
|
|
|
|
}
|
|
|
|
}
|
2020-06-25 10:45:49 -04:00
|
|
|
.synctex-control-goto-code > .synctex-control-icon {
|
2019-12-05 14:09:31 -05:00
|
|
|
text-indent: -1px; // "Optical" adjustment.
|
|
|
|
&::before {
|
|
|
|
content: '\f060';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-28 10:06:26 -04:00
|
|
|
.editor-dark {
|
2019-12-05 14:09:31 -05:00
|
|
|
.pdf-logs {
|
|
|
|
background-color: lighten(@editor-dark-background-color, 10%);
|
|
|
|
}
|
|
|
|
.pdfjs-viewer {
|
|
|
|
background-color: lighten(@editor-dark-background-color, 10%);
|
|
|
|
}
|
|
|
|
.pdf .toolbar {
|
|
|
|
.toolbar-right a {
|
|
|
|
i {
|
|
|
|
border-color: @gray;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
i {
|
|
|
|
border-color: @gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 10:06:26 -04:00
|
|
|
}
|
2016-06-15 05:48:40 -04:00
|
|
|
|
|
|
|
.keyboard-tooltip {
|
2019-12-05 14:09:31 -05:00
|
|
|
.tooltip-inner {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2016-06-15 10:27:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.keyboard-shortcut {
|
2019-12-05 14:09:31 -05:00
|
|
|
white-space: nowrap;
|
2016-06-17 09:16:38 -04:00
|
|
|
}
|
|
|
|
|
2016-07-22 11:33:19 -04:00
|
|
|
@keyframes expand-feedback-area {
|
2019-12-05 14:09:31 -05:00
|
|
|
from {
|
|
|
|
max-height: 0;
|
|
|
|
}
|
2016-07-22 11:33:19 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
to {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
2016-07-22 11:33:19 -04:00
|
|
|
}
|
|
|
|
|
2016-06-17 09:16:38 -04:00
|
|
|
.card-hint:extend(.card-thin) {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
padding-bottom: 7px;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&-icon-container {
|
|
|
|
background: currentColor;
|
|
|
|
width: 2.5rem;
|
|
|
|
height: 2.5rem;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 50%;
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-danger & {
|
|
|
|
color: @state-danger-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning & {
|
|
|
|
color: @state-warning-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info & {
|
|
|
|
color: @state-info-border;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-text,
|
|
|
|
&-feedback-label {
|
|
|
|
color: @log-hints-color;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-text {
|
|
|
|
min-height: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-feedback-label {
|
|
|
|
font-size: inherit;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-ext-link,
|
|
|
|
&-feedback {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-footer a,
|
|
|
|
&-text a {
|
|
|
|
.alert-danger & {
|
|
|
|
color: @state-danger-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-warning & {
|
|
|
|
color: @state-warning-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info & {
|
|
|
|
color: @state-info-text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-feedback {
|
|
|
|
color: @log-hints-color;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-extra-feedback {
|
|
|
|
color: @log-hints-color;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
margin-top: 10px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
animation: 0.5s ease-out expand-feedback-area;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
margin: 5px 0 10px;
|
|
|
|
padding-top: 5px;
|
|
|
|
border-top: solid 1px @gray-lighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
.radio {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='radio'] {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& + p {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2016-06-20 09:42:36 -04:00
|
|
|
}
|
2016-06-28 10:51:50 -04:00
|
|
|
|
|
|
|
.files-dropdown-container {
|
2019-12-05 14:09:31 -05:00
|
|
|
.pull-right();
|
|
|
|
position: relative;
|
2016-06-28 10:51:50 -04:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.files-dropdown {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-06-13 05:22:47 -04:00
|
|
|
|
|
|
|
.plv-text-layer {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: none;
|
|
|
|
user-select: text;
|
2018-08-23 13:02:42 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.pdf-page-container:hover &,
|
|
|
|
.pdfjs-viewer-show-text & {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-06-13 05:22:47 -04:00
|
|
|
}
|
2020-10-20 08:44:32 -04:00
|
|
|
|
2020-12-02 05:03:03 -05:00
|
|
|
@editor-and-logs-pane-toolbars-height: @toolbar-small-height + @toolbar-height;
|
|
|
|
@btn-small-height: (@padding-small-vertical * 2)+ (@font-size-small *
|
|
|
|
@line-height-small);
|
|
|
|
|
|
|
|
#download-dropdown-list,
|
|
|
|
#dropdown-files-logs-pane-list {
|
2020-10-20 08:44:32 -04:00
|
|
|
overflow-y: auto;
|
2020-11-26 04:58:56 -05:00
|
|
|
.dropdown-header {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-10-20 08:44:32 -04:00
|
|
|
}
|
2020-12-02 05:03:03 -05:00
|
|
|
#download-dropdown-list {
|
|
|
|
max-height: calc(
|
|
|
|
~'100vh - ' @editor-and-logs-pane-toolbars-height ~' - ' @margin-md
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#dropdown-files-logs-pane-list {
|
|
|
|
max-height: calc(
|
|
|
|
~'100vh - ' @editor-and-logs-pane-toolbars-height ~' - ' @btn-small-height ~' - '
|
|
|
|
@margin-md
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2022-06-08 10:07:07 -04:00
|
|
|
.toolbar-editor-expand-btn,
|
2020-12-02 05:03:03 -05:00
|
|
|
.toolbar-pdf-expand-btn {
|
|
|
|
.btn-inline-link;
|
|
|
|
margin-left: @margin-xs;
|
|
|
|
color: @toolbar-icon-btn-color;
|
|
|
|
border-radius: @border-radius-small;
|
|
|
|
&:hover {
|
|
|
|
color: @toolbar-icon-btn-hover-color;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
2021-10-06 04:33:24 -04:00
|
|
|
|
|
|
|
.pdf-error-alert {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @pdf-bg;
|
|
|
|
padding: @line-height-computed / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pdf-loading-spinner-container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|