|
|
@@ -66,6 +66,7 @@
|
|
|
|
|
|
#review-panel {
|
|
|
display: block;
|
|
|
+
|
|
|
.rp-size-expanded & {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
@@ -73,6 +74,7 @@
|
|
|
overflow: visible;
|
|
|
border-left-width: 1px;
|
|
|
}
|
|
|
+
|
|
|
.rp-size-mini & {
|
|
|
width: @review-off-width;
|
|
|
z-index: 6;
|
|
|
@@ -98,6 +100,7 @@
|
|
|
|
|
|
.review-panel-toolbar {
|
|
|
display: none;
|
|
|
+
|
|
|
.rp-size-expanded & {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -117,22 +120,27 @@
|
|
|
flex-basis: 32px;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
+
|
|
|
.review-panel-toolbar-label {
|
|
|
cursor: pointer;
|
|
|
text-align: right;
|
|
|
flex-grow: 1;
|
|
|
}
|
|
|
+
|
|
|
.review-panel-toolbar-icon-on {
|
|
|
margin-right: 5px;
|
|
|
color: @ol-green;
|
|
|
}
|
|
|
+
|
|
|
.review-panel-toolbar-label-disabled {
|
|
|
cursor: auto;
|
|
|
margin-right: 5px;
|
|
|
}
|
|
|
+
|
|
|
.review-panel-toolbar-spinner {
|
|
|
margin-left: 5px;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state {
|
|
|
position: absolute;
|
|
|
top: 100%;
|
|
|
@@ -146,24 +154,30 @@
|
|
|
background-color: @rp-bg-dim-blue;
|
|
|
text-align: left;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-collapse {
|
|
|
.rp-collapse-arrow;
|
|
|
margin-left: 5px;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 3px 0;
|
|
|
+
|
|
|
&:last-of-type {
|
|
|
padding-bottom: 5px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-separator {
|
|
|
border-bottom: 1px solid @rp-border-grey;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-item-everyone {
|
|
|
border-bottom: 1px solid @rp-border-grey;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-item-name {
|
|
|
flex-grow: 1;
|
|
|
overflow: hidden;
|
|
|
@@ -171,6 +185,7 @@
|
|
|
white-space: nowrap;
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
}
|
|
|
+
|
|
|
.rp-tc-state-item-name-disabled {
|
|
|
opacity: 0.35;
|
|
|
}
|
|
|
@@ -216,9 +231,11 @@
|
|
|
.rp-size-mini & {
|
|
|
display: block;
|
|
|
}
|
|
|
+
|
|
|
.rp-size-mini &-add-comment {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
position: absolute;
|
|
|
left: 2px;
|
|
|
right: 2px;
|
|
|
@@ -228,6 +245,7 @@
|
|
|
color: #fff;
|
|
|
cursor: pointer;
|
|
|
transition: top @rp-entry-animation-speed, left 0.1s, right 0.1s;
|
|
|
+
|
|
|
.no-animate & {
|
|
|
transition: none;
|
|
|
}
|
|
|
@@ -257,6 +275,7 @@
|
|
|
position: absolute;
|
|
|
width: @review-panel-width;
|
|
|
}
|
|
|
+
|
|
|
.rp-state-current-file-mini & {
|
|
|
display: none;
|
|
|
left: @review-off-width + @rp-entry-arrow-width;
|
|
|
@@ -272,11 +291,12 @@
|
|
|
left: -(2 * @rp-entry-arrow-width + 2);
|
|
|
z-index: -1;
|
|
|
}
|
|
|
+
|
|
|
&::after {
|
|
|
.triangle(
|
|
|
left,
|
|
|
@rp-entry-arrow-width,
|
|
|
- @rp-entry-arrow-width * 1.5,
|
|
|
+ @rp-entry-arrow-width * 1.5,
|
|
|
inherit
|
|
|
);
|
|
|
top: (@review-off-width / 2) - @rp-entry-arrow-width;
|
|
|
@@ -284,6 +304,7 @@
|
|
|
content: '';
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-state-current-file-mini.rp-layout-left & {
|
|
|
left: auto;
|
|
|
right: @review-off-width + @rp-entry-arrow-width;
|
|
|
@@ -295,17 +316,19 @@
|
|
|
left: -(@review-off-width + @rp-entry-arrow-width);
|
|
|
right: -(2 * @rp-entry-arrow-width + 2);
|
|
|
}
|
|
|
+
|
|
|
&::after {
|
|
|
.triangle(
|
|
|
right,
|
|
|
@rp-entry-arrow-width,
|
|
|
- @rp-entry-arrow-width * 1.5,
|
|
|
+ @rp-entry-arrow-width * 1.5,
|
|
|
inherit
|
|
|
);
|
|
|
right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);
|
|
|
left: auto;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-state-current-file-expanded & {
|
|
|
visibility: hidden;
|
|
|
left: 5px;
|
|
|
@@ -325,15 +348,18 @@
|
|
|
right: 5px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
&-bulk-actions {
|
|
|
right: auto;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-state-overview & {
|
|
|
border-radius: 0;
|
|
|
border-bottom: solid 1px @rp-border-grey;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
.resolved-comments-dropdown & {
|
|
|
position: static;
|
|
|
margin-bottom: 5px;
|
|
|
@@ -343,6 +369,7 @@
|
|
|
border-radius: 3px;
|
|
|
background-color: #fff;
|
|
|
transition: top @rp-entry-animation-speed, left 0.1s, right 0.1s;
|
|
|
+
|
|
|
.no-animate & {
|
|
|
transition: none;
|
|
|
}
|
|
|
@@ -395,11 +422,13 @@
|
|
|
border-left-width: 0;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-entry-body {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 4px 5px;
|
|
|
}
|
|
|
+
|
|
|
.rp-entry-action-icon {
|
|
|
font-size: @rp-icon-large-size;
|
|
|
padding: 0 3px;
|
|
|
@@ -426,10 +455,12 @@
|
|
|
.rp-entry-metadata {
|
|
|
font-size: @rp-small-font-size;
|
|
|
}
|
|
|
+
|
|
|
.rp-entry-user {
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
font-style: normal;
|
|
|
}
|
|
|
+
|
|
|
.rp-comment-actions {
|
|
|
a {
|
|
|
color: @rp-type-blue;
|
|
|
@@ -453,6 +484,7 @@
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-entry-button {
|
|
|
.rp-button();
|
|
|
flex: 1 1 50%;
|
|
|
@@ -468,6 +500,7 @@
|
|
|
&:first-child {
|
|
|
border-bottom-left-radius: 3px;
|
|
|
}
|
|
|
+
|
|
|
&:last-child {
|
|
|
border-bottom-right-radius: 0;
|
|
|
}
|
|
|
@@ -494,6 +527,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-comment-content {
|
|
|
margin: 0;
|
|
|
color: @rp-type-darkgrey;
|
|
|
@@ -504,6 +538,7 @@
|
|
|
.rp-comment-resolver {
|
|
|
color: @rp-type-blue;
|
|
|
}
|
|
|
+
|
|
|
.rp-comment-resolver-content {
|
|
|
font-style: italic;
|
|
|
margin: 0;
|
|
|
@@ -533,10 +568,12 @@
|
|
|
|
|
|
.rp-bulk-actions-btn {
|
|
|
border-radius: 0;
|
|
|
+
|
|
|
&:first-child {
|
|
|
border-top-left-radius: 3px;
|
|
|
border-bottom-left-radius: 3px;
|
|
|
}
|
|
|
+
|
|
|
&:last-child {
|
|
|
border-top-right-radius: 3px;
|
|
|
border-bottom-right-radius: 3px;
|
|
|
@@ -570,6 +607,7 @@
|
|
|
font-size: 0.8em;
|
|
|
text-decoration: line-through;
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
+
|
|
|
&::before {
|
|
|
content: 'Ab';
|
|
|
}
|
|
|
@@ -581,10 +619,12 @@
|
|
|
background-color: #fff;
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
+
|
|
|
.rp-resolved-comment-context {
|
|
|
background-color: lighten(@rp-yellow, 35%);
|
|
|
padding: 4px 5px;
|
|
|
}
|
|
|
+
|
|
|
.rp-resolved-comment-context-file {
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
}
|
|
|
@@ -597,10 +637,12 @@
|
|
|
|
|
|
.rp-entry-callout {
|
|
|
transition: top @rp-entry-animation-speed, height @rp-entry-animation-speed;
|
|
|
+
|
|
|
.rp-state-current-file & {
|
|
|
position: absolute;
|
|
|
border-top: 1px solid grey;
|
|
|
border-right: 1px dashed grey;
|
|
|
+
|
|
|
&::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
@@ -610,14 +652,18 @@
|
|
|
border-bottom: 1px solid grey;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-state-current-file-expanded & {
|
|
|
width: 3px;
|
|
|
+
|
|
|
&::after {
|
|
|
width: 3px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-state-current-file-mini & {
|
|
|
width: 1px;
|
|
|
+
|
|
|
&::after {
|
|
|
width: 1px;
|
|
|
}
|
|
|
@@ -630,6 +676,7 @@
|
|
|
.rp-state-current-file &-inverted {
|
|
|
border-top: none;
|
|
|
border-bottom: 1px solid grey;
|
|
|
+
|
|
|
&::after {
|
|
|
top: 0px;
|
|
|
bottom: -1px;
|
|
|
@@ -640,6 +687,7 @@
|
|
|
|
|
|
.rp-state-current-file &-insert {
|
|
|
border-color: @rp-green;
|
|
|
+
|
|
|
&::after {
|
|
|
border-color: @rp-green;
|
|
|
}
|
|
|
@@ -647,6 +695,7 @@
|
|
|
|
|
|
.rp-state-current-file &-delete {
|
|
|
border-color: @rp-red;
|
|
|
+
|
|
|
&::after {
|
|
|
border-color: @rp-red;
|
|
|
}
|
|
|
@@ -654,6 +703,7 @@
|
|
|
|
|
|
.rp-state-current-file &-comment {
|
|
|
border-color: @rp-yellow;
|
|
|
+
|
|
|
&::after {
|
|
|
border-color: @rp-yellow;
|
|
|
}
|
|
|
@@ -679,10 +729,12 @@
|
|
|
font-weight: normal;
|
|
|
font-size: 0.9em;
|
|
|
}
|
|
|
+
|
|
|
.rp-overview-file-header-collapse {
|
|
|
.rp-collapse-arrow;
|
|
|
float: left;
|
|
|
}
|
|
|
+
|
|
|
.rp-overview-file-entries {
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
@@ -704,6 +756,7 @@
|
|
|
.rp-nav {
|
|
|
display: none;
|
|
|
flex-shrink: 0;
|
|
|
+
|
|
|
.rp-size-expanded & {
|
|
|
display: flex;
|
|
|
}
|
|
|
@@ -716,6 +769,7 @@
|
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
|
}
|
|
|
+
|
|
|
width: 100%;
|
|
|
font-size: @rp-icon-large-size;
|
|
|
text-align: center;
|
|
|
@@ -723,6 +777,7 @@
|
|
|
border-top: solid 1px @rp-border-grey;
|
|
|
z-index: 2;
|
|
|
}
|
|
|
+
|
|
|
.rp-nav-item {
|
|
|
display: block;
|
|
|
color: lighten(@rp-type-blue, 25%);
|
|
|
@@ -741,6 +796,7 @@
|
|
|
border-top: solid 3px @rp-highlight-blue;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-nav-label {
|
|
|
display: block;
|
|
|
font-size: @rp-base-font-size;
|
|
|
@@ -749,8 +805,10 @@
|
|
|
#editor {
|
|
|
.rp-size-mini & {
|
|
|
right: @review-off-width;
|
|
|
+
|
|
|
.ace-editor-body {
|
|
|
overflow: visible;
|
|
|
+
|
|
|
.ace_scrollbar-v {
|
|
|
right: -@review-off-width;
|
|
|
}
|
|
|
@@ -766,6 +824,7 @@
|
|
|
.rp-state-current-file-expanded & {
|
|
|
.ace-editor-body {
|
|
|
overflow: visible;
|
|
|
+
|
|
|
.ace_scrollbar-v {
|
|
|
right: -@review-panel-width;
|
|
|
}
|
|
|
@@ -785,6 +844,7 @@
|
|
|
|
|
|
.rp-unsupported-msg-wrapper {
|
|
|
display: none;
|
|
|
+
|
|
|
.rp-size-expanded.rp-unsupported & {
|
|
|
display: block;
|
|
|
}
|
|
|
@@ -812,18 +872,22 @@
|
|
|
.track-changes-marker-callout {
|
|
|
border-radius: 0;
|
|
|
position: absolute;
|
|
|
+
|
|
|
.rp-state-overview &,
|
|
|
.rp-loading-threads & {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.track-changes-added-marker-callout {
|
|
|
border-bottom: 1px dashed @rp-green;
|
|
|
z-index: 1;
|
|
|
}
|
|
|
+
|
|
|
.track-changes-comment-marker-callout {
|
|
|
border-bottom: 1px dashed @rp-yellow;
|
|
|
}
|
|
|
+
|
|
|
.track-changes-deleted-marker-callout {
|
|
|
border-bottom: 1px dashed @rp-red;
|
|
|
}
|
|
|
@@ -831,9 +895,11 @@
|
|
|
.track-changes-marker {
|
|
|
border-radius: 0;
|
|
|
position: absolute;
|
|
|
+
|
|
|
.rp-loading-threads & {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
z-index: 6; // Appear above text selection
|
|
|
}
|
|
|
|
|
|
@@ -841,10 +907,12 @@
|
|
|
background-color: @rp-yellow;
|
|
|
opacity: 0.3;
|
|
|
}
|
|
|
+
|
|
|
.track-changes-added-marker {
|
|
|
background-color: @rp-green;
|
|
|
opacity: 0.3;
|
|
|
}
|
|
|
+
|
|
|
.track-changes-deleted-marker {
|
|
|
border-left: 2px dotted @rp-red;
|
|
|
margin-left: -1px;
|
|
|
@@ -854,6 +922,7 @@
|
|
|
.track-changes-comment-marker {
|
|
|
background-color: @rp-yellow-on-dark;
|
|
|
}
|
|
|
+
|
|
|
.track-changes-added-marker {
|
|
|
background-color: @rp-green-on-dark;
|
|
|
}
|
|
|
@@ -975,8 +1044,8 @@ button when (@is-overleaf-light = true) {
|
|
|
content: '';
|
|
|
.triangle(
|
|
|
top,
|
|
|
- @rp-entry-arrow-width * 3,
|
|
|
- @rp-entry-arrow-width * 1.5,
|
|
|
+ @rp-entry-arrow-width * 3,
|
|
|
+ @rp-entry-arrow-width * 1.5,
|
|
|
@rp-bg-blue
|
|
|
);
|
|
|
top: -@rp-entry-ribbon-width * 2;
|
|
|
@@ -988,6 +1057,7 @@ button when (@is-overleaf-light = true) {
|
|
|
display: flex;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.resolved-comments-scroller {
|
|
|
flex: 0 0 auto; // Can't use 100% in the flex-basis key here, IE won't account for padding.
|
|
|
width: 100%; // We need to set the width explicitly, as flex-basis won't work.
|
|
|
@@ -1021,11 +1091,13 @@ button when (@is-overleaf-light = true) {
|
|
|
.rp-size-mini & {
|
|
|
right: @review-off-width;
|
|
|
}
|
|
|
+
|
|
|
.rp-size-expanded &,
|
|
|
.rp-unsupported & {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rp-track-changes-indicator {
|
|
|
display: block;
|
|
|
padding: 5px 10px;
|
|
|
@@ -1103,6 +1175,7 @@ button when (@is-overleaf-light = true) {
|
|
|
margin-top: -0.5em;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// Helper class for elements which aren't treated as flex-items by IE10, e.g:
|
|
|
// * inline items;
|
|
|
// * unknown elements (elements which aren't standard DOM elements, such as custom element directives)
|
|
|
@@ -1220,4 +1293,9 @@ button when (@is-overleaf-light = true) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .rp-tc-state {
|
|
|
+ height: 0;
|
|
|
+ transition: height 150ms;
|
|
|
+ }
|
|
|
}
|