2018-05-22 10:40:57 -04:00
|
|
|
.history-toolbar {
|
2018-05-29 11:50:15 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-05-22 10:40:57 -04:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: @ide-body-top-offset;
|
|
|
|
height: @editor-toolbar-height;
|
2018-05-29 11:50:15 -04:00
|
|
|
line-height: 1;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
background-color: @history-toolbar-bg-color;
|
2018-05-22 10:40:57 -04:00
|
|
|
z-index: 1;
|
2018-05-29 11:50:15 -04:00
|
|
|
color: @history-toolbar-color;
|
2018-05-22 10:40:57 -04:00
|
|
|
padding-left: (@line-height-computed / 2);
|
2018-05-29 11:50:15 -04:00
|
|
|
}
|
2018-08-27 07:39:53 -04:00
|
|
|
|
2018-12-17 04:53:20 -05:00
|
|
|
.history-compare-mode-toolbar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: center;
|
|
|
|
line-height: 1;
|
|
|
|
font-size: @font-size-small;
|
|
|
|
background-color: @history-toolbar-bg-color;
|
|
|
|
height: @editor-toolbar-height;
|
|
|
|
color: @history-toolbar-color;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
2018-08-27 07:39:53 -04:00
|
|
|
.history-toolbar when (@is-overleaf = false) or (@is-overleaf-light) {
|
2018-05-29 11:50:15 -04:00
|
|
|
border-bottom: @toolbar-border-bottom;
|
2018-05-22 10:40:57 -04:00
|
|
|
}
|
2018-08-27 07:39:53 -04:00
|
|
|
|
2018-08-13 08:39:25 -04:00
|
|
|
.history-toolbar-selected-version {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-08-17 10:31:59 -04:00
|
|
|
margin-right: (@line-height-computed / 2);
|
2018-05-22 10:40:57 -04:00
|
|
|
}
|
2018-08-13 08:39:25 -04:00
|
|
|
.history-toolbar-time,
|
|
|
|
.history-toolbar-selected-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.history-toolbar-actions {
|
|
|
|
flex-grow: 1;
|
2018-08-28 16:35:35 -04:00
|
|
|
flex-shrink: 0;
|
2018-05-29 11:50:15 -04:00
|
|
|
}
|
2018-08-28 16:35:35 -04:00
|
|
|
.history-toolbar-btn,
|
|
|
|
.history-toolbar-btn-danger {
|
2018-08-13 08:39:25 -04:00
|
|
|
.btn;
|
|
|
|
.btn-xs;
|
|
|
|
padding-left: @padding-small-horizontal;
|
|
|
|
padding-right: @padding-small-horizontal;
|
2018-08-17 10:31:59 -04:00
|
|
|
margin-right: (@line-height-computed / 2);
|
2018-08-13 08:39:25 -04:00
|
|
|
}
|
2018-08-28 16:35:35 -04:00
|
|
|
.history-toolbar-btn {
|
|
|
|
.btn-info;
|
|
|
|
}
|
|
|
|
.history-toolbar-btn-danger {
|
|
|
|
.btn-danger;
|
|
|
|
}
|
2018-08-08 06:01:51 -04:00
|
|
|
.history-toolbar-entries-list {
|
2018-08-13 08:39:25 -04:00
|
|
|
flex: 0 0 @changesListWidth;
|
2018-08-08 06:01:51 -04:00
|
|
|
padding: 0 10px;
|
|
|
|
border-left: 1px solid @editor-border-color;
|
|
|
|
}
|
|
|
|
|
2018-04-27 10:59:28 -04:00
|
|
|
.history-entries {
|
|
|
|
font-size: @history-base-font-size;
|
|
|
|
color: @history-base-color;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @history-base-bg;
|
2019-04-09 05:56:45 -04:00
|
|
|
position: relative;
|
|
|
|
&.history-entries-dragging {
|
|
|
|
cursor: row-resize;
|
|
|
|
}
|
2018-04-27 10:59:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-day {
|
|
|
|
display: block;
|
|
|
|
background-color: @history-entry-day-bg;
|
|
|
|
color: #FFF;
|
|
|
|
padding: 5px 10px;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-toV-handle,
|
|
|
|
.history-entry-fromV-handle {
|
|
|
|
position: absolute;
|
|
|
|
background-color: @history-entry-handle-bg;
|
|
|
|
height: @history-entry-handle-height;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: row-resize;
|
|
|
|
|
|
|
|
&.ui-draggable-dragging {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '\00b7\00b7\00b7\00b7';
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 20px;
|
|
|
|
color: #FFF;
|
|
|
|
height: @history-entry-handle-height;
|
|
|
|
line-height: @history-entry-handle-height / 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-fromV-handle {
|
|
|
|
top: auto;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-27 10:59:28 -04:00
|
|
|
.history-entry-details {
|
2019-04-09 05:56:45 -04:00
|
|
|
position: relative;
|
2018-04-27 10:59:28 -04:00
|
|
|
background-color: #FFF;
|
2019-04-09 05:56:45 -04:00
|
|
|
border-bottom: solid 2px @history-base-bg;
|
2018-04-27 10:59:28 -04:00
|
|
|
padding: 5px 10px;
|
2018-05-01 12:27:51 -04:00
|
|
|
cursor: pointer;
|
2019-04-09 05:56:45 -04:00
|
|
|
}
|
2018-05-01 12:27:51 -04:00
|
|
|
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-version-with-label {
|
|
|
|
.history-entry-details;
|
|
|
|
padding: 7px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-selected .history-entry-details,
|
|
|
|
.history-version-with-label-selected & {
|
2018-05-01 12:27:51 -04:00
|
|
|
background-color: @history-entry-selected-bg;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
2019-04-09 05:56:45 -04:00
|
|
|
|
|
|
|
.history-entry-hover-selected .history-entry-details,
|
|
|
|
.history-entry-hover-selected.history-entry-selected .history-entry-details,
|
|
|
|
.history-version-with-label-hover-selected &,
|
|
|
|
.history-version-with-label-hover-selected.history-entry-selected &, {
|
|
|
|
background-color: tint(@history-entry-selected-bg, 20%);
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-selected-to .history-entry-details,
|
|
|
|
.history-entry-hover-selected-to .history-entry-details,
|
|
|
|
.history-version-with-label-selected-to &,
|
|
|
|
.history-version-with-label-hover-selected-to & {
|
|
|
|
padding-top: @history-entry-handle-height + 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-selected-from .history-entry-details,
|
|
|
|
.history-entry-hover-selected-from .history-entry-details,
|
|
|
|
.history-version-with-label-selected-from &,
|
|
|
|
.history-version-with-label-hover-selected-from & {
|
|
|
|
padding-bottom: @history-entry-handle-height + 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-label {
|
2018-08-01 11:03:45 -04:00
|
|
|
display: inline-block;
|
2018-07-26 11:49:04 -04:00
|
|
|
color: @history-entry-label-color;
|
2018-08-01 07:17:29 -04:00
|
|
|
font-size: @font-size-small;
|
2018-07-26 11:49:04 -04:00
|
|
|
margin-bottom: 3px;
|
2018-08-01 07:17:29 -04:00
|
|
|
margin-right: 10px;
|
2018-08-02 10:29:12 -04:00
|
|
|
white-space: nowrap;
|
2018-08-09 06:03:00 -04:00
|
|
|
.history-entry-selected &,
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-hover-selected &,
|
|
|
|
.history-version-with-label-selected &,
|
|
|
|
.history-version-with-label-hover-selected & {
|
2018-08-01 07:17:29 -04:00
|
|
|
color: @history-entry-selected-label-color;
|
2018-07-26 11:49:04 -04:00
|
|
|
}
|
2018-12-17 04:53:20 -05:00
|
|
|
&.history-label-pseudo-current-state {
|
|
|
|
.history-entry-selected &,
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-hover-selected &,
|
|
|
|
.history-version-with-label-selected &,
|
|
|
|
.history-version-with-label-hover-selected & {
|
2018-12-17 04:53:20 -05:00
|
|
|
color: @history-entry-selected-pseudo-label-color;
|
|
|
|
}
|
|
|
|
}
|
2018-07-26 11:49:04 -04:00
|
|
|
}
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-label-comment,
|
|
|
|
.history-label-delete-btn {
|
2018-08-02 10:29:12 -04:00
|
|
|
padding: 0 @padding-xs-horizontal 1px @padding-xs-horizontal;
|
2018-08-01 07:17:29 -04:00
|
|
|
border: 0;
|
|
|
|
background-color: @history-entry-label-bg-color;
|
2018-12-17 04:53:20 -05:00
|
|
|
.history-label-pseudo-current-state & {
|
|
|
|
background-color: @history-entry-pseudo-label-bg-color;
|
|
|
|
|
|
|
|
}
|
2018-08-09 06:03:00 -04:00
|
|
|
.history-entry-selected &,
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-hover-selected &,
|
|
|
|
.history-version-with-label-selected &,
|
|
|
|
.history-version-with-label-hover-selected & {
|
2018-08-01 07:17:29 -04:00
|
|
|
background-color: @history-entry-selected-label-bg-color;
|
|
|
|
}
|
|
|
|
}
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-label-comment {
|
2018-08-02 10:29:12 -04:00
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
border-radius: 9999px;
|
|
|
|
max-width: 190px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-label-own & {
|
2018-08-02 10:29:12 -04:00
|
|
|
padding-right: (@padding-xs-horizontal / 2);
|
|
|
|
border-radius: 9999px 0 0 9999px;
|
|
|
|
}
|
|
|
|
}
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-label-delete-btn {
|
2018-08-01 07:17:29 -04:00
|
|
|
padding-left: (@padding-xs-horizontal / 2);
|
|
|
|
padding-right: @padding-xs-horizontal;
|
|
|
|
border-radius: 0 9999px 9999px 0;
|
|
|
|
&:hover {
|
|
|
|
background-color: darken(@history-entry-label-bg-color, 8%);
|
2018-08-09 06:03:00 -04:00
|
|
|
.history-entry-selected &,
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-hover-selected &,
|
|
|
|
.history-version-with-label-selected &,
|
|
|
|
.history-version-with-label-hover-selected & {
|
2018-08-01 07:17:29 -04:00
|
|
|
background-color: darken(@history-entry-selected-label-bg-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-26 11:49:04 -04:00
|
|
|
|
2018-08-02 10:29:12 -04:00
|
|
|
.history-label-tooltip {
|
|
|
|
white-space: normal;
|
|
|
|
padding: (@line-height-computed / 4);
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.history-label-tooltip-title,
|
|
|
|
.history-label-tooltip-owner,
|
|
|
|
.history-label-tooltip-datetime {
|
|
|
|
margin: 0 0 (@line-height-computed / 4) 0;
|
|
|
|
}
|
|
|
|
.history-label-tooltip-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.history-label-tooltip-datetime {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-27 10:59:28 -04:00
|
|
|
.history-entry-changes {
|
|
|
|
.list-unstyled;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
.history-entry-change {
|
2018-05-30 12:55:02 -04:00
|
|
|
|
2018-04-27 10:59:28 -04:00
|
|
|
}
|
|
|
|
.history-entry-change-action {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-change-doc {
|
|
|
|
color: @history-highlight-color;
|
|
|
|
font-weight: bold;
|
|
|
|
word-break: break-all;
|
2018-08-09 06:03:00 -04:00
|
|
|
.history-entry-selected &,
|
2019-04-09 05:56:45 -04:00
|
|
|
.history-entry-hover-selected &,
|
|
|
|
.history-version-with-label-selected & {
|
2018-05-01 12:27:51 -04:00
|
|
|
color: #FFF;
|
|
|
|
}
|
2018-04-27 10:59:28 -04:00
|
|
|
}
|
|
|
|
.history-entry-metadata {
|
|
|
|
|
|
|
|
}
|
|
|
|
.history-entry-metadata-time {
|
2018-05-30 12:55:02 -04:00
|
|
|
white-space: nowrap;
|
2018-04-27 10:59:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-entry-metadata-users {
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.history-entry-metadata-user {
|
|
|
|
display: inline;
|
|
|
|
&::after {
|
|
|
|
content: ', ';
|
|
|
|
}
|
|
|
|
&:last-of-type::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-17 11:04:31 -04:00
|
|
|
.history-entries-list-upgrade-prompt {
|
|
|
|
background-color: #FFF;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
padding: 5px 10px;
|
2018-12-17 04:53:20 -05:00
|
|
|
.change-list-compare & {
|
|
|
|
font-size: @font-size-small;
|
|
|
|
}
|
2018-08-17 11:04:31 -04:00
|
|
|
}
|
|
|
|
|
2018-12-17 04:53:20 -05:00
|
|
|
.history-labels-list,
|
|
|
|
.history-labels-list-compare {
|
2018-08-08 08:46:43 -04:00
|
|
|
.history-entries;
|
|
|
|
overflow-y: auto;
|
2018-12-17 04:53:20 -05:00
|
|
|
}
|
|
|
|
.history-labels-list-compare {
|
|
|
|
background-color: transparent;
|
2018-08-08 08:46:43 -04:00
|
|
|
}
|
|
|
|
|
2018-05-22 10:40:57 -04:00
|
|
|
.history-file-tree-inner {
|
|
|
|
.full-size;
|
|
|
|
overflow-y: auto;
|
|
|
|
background-color: @file-tree-bg;
|
2018-05-23 07:14:27 -04:00
|
|
|
|
|
|
|
.loading {
|
|
|
|
color: #FFF;
|
|
|
|
font-size: @history-base-font-size;
|
|
|
|
text-align: center;
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
}
|
2018-05-21 10:13:16 -04:00
|
|
|
}
|
2018-05-30 10:00:20 -04:00
|
|
|
|
2018-12-17 04:53:20 -05:00
|
|
|
.tooltip-history-file-tree {
|
|
|
|
font-size: 12px;
|
|
|
|
.tooltip-inner {
|
|
|
|
max-width: 400px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-30 10:00:20 -04:00
|
|
|
.history-file-tree-inner when (@is-overleaf = false) {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
2018-05-21 10:13:16 -04:00
|
|
|
.history-file-entity-wrapper {
|
|
|
|
color: #FFF;
|
|
|
|
margin-left: (@line-height-computed / 2);
|
|
|
|
}
|
|
|
|
.history-file-entity-link {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
color: @file-tree-item-color;
|
|
|
|
line-height: @file-tree-line-height;
|
|
|
|
&:hover {
|
|
|
|
background-color: @file-tree-item-hover-bg;
|
|
|
|
color: @file-tree-item-color;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
&:focus {
|
2018-12-17 04:53:20 -05:00
|
|
|
color: @file-tree-item-focus-color;
|
2018-05-21 10:13:16 -04:00
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
&:hover when (@is-overleaf = true) {
|
|
|
|
.fake-full-width-bg(@file-tree-item-hover-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.history-file-entity-link-selected {
|
|
|
|
background-color: @file-tree-item-selected-bg;
|
|
|
|
font-weight: bold;
|
2018-05-30 10:00:20 -04:00
|
|
|
color: #FFF;
|
2018-05-21 10:13:16 -04:00
|
|
|
.fake-full-width-bg(@file-tree-item-selected-bg);
|
|
|
|
&:hover {
|
|
|
|
background-color: @file-tree-item-hover-bg;
|
|
|
|
}
|
2018-12-17 04:53:20 -05:00
|
|
|
&:focus {
|
|
|
|
color: @file-tree-item-focus-selected-color;
|
2018-05-21 10:13:16 -04:00
|
|
|
}
|
2018-12-17 04:53:20 -05:00
|
|
|
}
|
|
|
|
.history-file-entity-name-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-05-21 10:13:16 -04:00
|
|
|
}
|
2018-12-17 04:53:20 -05:00
|
|
|
.history-file-entity-name {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.history-file-entity-operation-badge {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-transform: lowercase;
|
|
|
|
margin-left: .5em;
|
|
|
|
font-size: .7em;
|
|
|
|
background: @history-file-badge-bg;
|
|
|
|
color: @history-file-badge-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 2px 4px 3px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-file-entity-icon,
|
|
|
|
.history-file-operation-icon {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
color: @file-tree-item-icon-color;
|
|
|
|
font-size: 14px;
|
|
|
|
margin-right: .5em;
|
|
|
|
.history-file-entity-link-selected & {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-file-operation-icon {
|
|
|
|
margin-left: .5em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.history-file-entity-name-edited,
|
|
|
|
.history-file-entity-name-added,
|
|
|
|
.history-file-entity-name-removed,
|
|
|
|
.history-file-entity-name-renamed {
|
|
|
|
}
|
|
|
|
.history-file-entity-name-removed {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
2018-05-30 10:00:20 -04:00
|
|
|
|
|
|
|
.history-file-entity-link-selected when (@is-overleaf = false) {
|
|
|
|
color: @brand-primary;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: @brand-primary;
|
|
|
|
}
|
|
|
|
.history-file-entity-icon {
|
|
|
|
color: @brand-primary;
|
|
|
|
}
|
|
|
|
}
|