2023-03-23 10:54:00 -04:00
|
|
|
@versions-list-width: 320px;
|
|
|
|
@history-toolbar-height: 40px;
|
2023-05-02 10:00:45 -04:00
|
|
|
@history-change-list-padding: 16px;
|
2023-03-23 10:54:00 -04:00
|
|
|
|
|
|
|
history-root {
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
|
2023-09-21 05:01:52 -04:00
|
|
|
// Adding !important to override the styling of overlays and popovers
|
|
|
|
.history-popover {
|
|
|
|
top: 90px !important;
|
|
|
|
.arrow {
|
|
|
|
top: 20px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-23 04:35:20 -04:00
|
|
|
.history-react {
|
2023-03-23 10:54:00 -04:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @history-main-bg;
|
|
|
|
|
|
|
|
.history-header {
|
|
|
|
height: @history-toolbar-height;
|
|
|
|
background-color: @history-react-header-bg;
|
|
|
|
color: @history-react-header-color;
|
2023-04-11 04:35:33 -04:00
|
|
|
font-size: @font-size-small;
|
2023-03-23 10:54:00 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
box-sizing: border-box;
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
|
|
|
|
2023-03-23 10:54:00 -04:00
|
|
|
.doc-panel {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.toolbar-container {
|
|
|
|
border-bottom: 1px solid @history-react-separator-color;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-container {
|
|
|
|
flex: 1;
|
2023-03-30 05:16:26 -04:00
|
|
|
overflow-y: auto;
|
2024-10-14 04:00:41 -04:00
|
|
|
display: flex;
|
2023-03-23 10:54:00 -04:00
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
|
|
|
|
2024-10-14 04:00:41 -04:00
|
|
|
.doc-container .loading {
|
|
|
|
margin: 10rem auto auto;
|
|
|
|
}
|
|
|
|
|
2023-03-23 10:54:00 -04:00
|
|
|
.change-list {
|
2023-04-18 10:15:01 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-03-23 10:54:00 -04:00
|
|
|
width: @versions-list-width;
|
2023-04-11 04:35:33 -04:00
|
|
|
font-size: @font-size-small;
|
2023-03-23 10:54:00 -04:00
|
|
|
border-left: 1px solid @history-react-separator-color;
|
|
|
|
box-sizing: content-box;
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
2023-03-29 03:54:53 -04:00
|
|
|
|
|
|
|
.toggle-switch-label {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2023-03-30 05:16:26 -04:00
|
|
|
|
2023-04-18 10:15:01 -04:00
|
|
|
.history-version-list-container {
|
|
|
|
flex: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2023-04-24 09:55:07 -04:00
|
|
|
.history-all-versions-scroller {
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-all-versions-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-versions-bottom {
|
|
|
|
position: absolute;
|
|
|
|
height: 8em;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-toggle-switch-container,
|
|
|
|
.history-version-day,
|
|
|
|
.history-version-details {
|
2023-05-02 10:00:45 -04:00
|
|
|
padding: 0 @history-change-list-padding;
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-day {
|
2023-11-28 11:05:16 -05:00
|
|
|
background-color: white;
|
2023-04-11 04:35:33 -04:00
|
|
|
position: sticky;
|
2023-04-26 03:52:25 -04:00
|
|
|
z-index: 1;
|
2023-04-11 04:35:33 -04:00
|
|
|
top: 0;
|
|
|
|
display: block;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-details {
|
2024-10-14 04:00:41 -04:00
|
|
|
display: flow-root;
|
2023-04-12 04:34:56 -04:00
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2023-05-25 12:48:04 -04:00
|
|
|
position: relative;
|
2023-04-11 04:35:33 -04:00
|
|
|
|
2023-05-09 10:45:37 -04:00
|
|
|
&.history-version-selectable {
|
2023-04-11 04:35:33 -04:00
|
|
|
cursor: pointer;
|
2023-05-09 10:45:37 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @neutral-10;
|
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
2023-08-22 09:32:59 -04:00
|
|
|
&.history-version-selected {
|
2023-05-09 10:45:37 -04:00
|
|
|
background-color: @green-10;
|
2023-08-22 09:32:59 -04:00
|
|
|
border-left: 3px solid @green-50;
|
2023-09-21 05:02:32 -04:00
|
|
|
padding-left: @history-change-list-padding - 3px;
|
2023-08-22 09:32:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.history-version-selected.history-version-selectable:hover {
|
|
|
|
background-color: fade(@green-70, 16%);
|
|
|
|
border-left: 3px solid @green-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.history-version-within-selected {
|
|
|
|
background-color: @neutral-10;
|
|
|
|
border-left: 3px solid @green-50;
|
2023-05-09 10:45:37 -04:00
|
|
|
}
|
2023-08-22 09:32:59 -04:00
|
|
|
|
|
|
|
&.history-version-within-selected:hover {
|
|
|
|
background-color: fade(@neutral-90, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-element-within-selected {
|
|
|
|
background-color: @neutral-10;
|
|
|
|
border-left: 3px solid @green-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-element-selected {
|
|
|
|
background-color: @green-10;
|
|
|
|
border-left: 3px solid @green-50;
|
2023-04-18 10:15:01 -04:00
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-metadata-time {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
color: @neutral-90;
|
2023-04-12 04:34:56 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-metadata-users,
|
|
|
|
.history-version-changes {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2024-06-17 09:14:58 -04:00
|
|
|
.history-version-restore-file {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-metadata-users {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-changes {
|
|
|
|
> li {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-user-badge-color {
|
|
|
|
@size: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
width: @size;
|
|
|
|
height: @size;
|
|
|
|
margin-right: 4px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2023-05-25 12:48:04 -04:00
|
|
|
.history-version-user-badge-text {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-day,
|
|
|
|
.history-version-change-action,
|
|
|
|
.history-version-metadata-users,
|
2023-04-12 04:34:56 -04:00
|
|
|
.history-version-origin,
|
|
|
|
.history-version-saved-by {
|
2023-04-11 04:35:33 -04:00
|
|
|
color: @neutral-70;
|
|
|
|
}
|
|
|
|
|
2023-05-25 12:48:04 -04:00
|
|
|
.history-version-change-action {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-change-doc {
|
|
|
|
color: @neutral-90;
|
2023-05-25 12:48:04 -04:00
|
|
|
overflow-wrap: anywhere;
|
2024-05-16 04:31:20 -04:00
|
|
|
white-space: pre-wrap;
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
2023-08-22 09:32:59 -04:00
|
|
|
.history-version-divider-container {
|
|
|
|
padding: 6px 8px;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-divider {
|
2023-08-22 09:32:59 -04:00
|
|
|
margin: 0px;
|
2023-04-11 04:35:33 -04:00
|
|
|
border-color: @neutral-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-badge {
|
2023-04-12 04:34:56 -04:00
|
|
|
margin-bottom: 4px;
|
2023-04-11 04:35:33 -04:00
|
|
|
margin-right: 10px;
|
2023-05-25 12:48:04 -04:00
|
|
|
height: unset;
|
|
|
|
white-space: normal;
|
|
|
|
overflow-wrap: anywhere;
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
2023-04-26 03:52:25 -04:00
|
|
|
.history-version-label {
|
2023-04-12 04:34:56 -04:00
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
2023-04-24 09:55:07 -04:00
|
|
|
.loading {
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
}
|
|
|
|
|
2024-10-14 04:00:41 -04:00
|
|
|
.history-all-versions-loading {
|
2023-04-24 09:55:07 -04:00
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
padding: @line-height-computed / 2 0;
|
|
|
|
background-color: @gray-lightest;
|
2024-10-14 04:00:41 -04:00
|
|
|
text-align: center;
|
2023-04-24 09:55:07 -04:00
|
|
|
}
|
|
|
|
|
2023-04-26 03:52:25 -04:00
|
|
|
.history-version-saved-by {
|
|
|
|
&-label {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown.open {
|
|
|
|
.history-version-dropdown-menu-btn {
|
|
|
|
background-color: rgba(@neutral-90, 0.08);
|
|
|
|
box-shadow: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-08 10:49:04 -04:00
|
|
|
.history-compare-btn,
|
2023-04-26 03:52:25 -04:00
|
|
|
.history-version-dropdown-menu-btn {
|
2024-10-14 04:00:41 -04:00
|
|
|
.reset-button;
|
|
|
|
|
2023-04-26 03:52:25 -04:00
|
|
|
@size: 30px;
|
|
|
|
padding: 0;
|
2024-10-14 04:00:41 -04:00
|
|
|
border-radius: @btn-border-radius-large;
|
2023-04-26 03:52:25 -04:00
|
|
|
width: @size;
|
|
|
|
height: @size;
|
2023-09-08 10:49:04 -04:00
|
|
|
line-height: 1;
|
2023-04-26 03:52:25 -04:00
|
|
|
font-size: @font-size-small;
|
|
|
|
color: @neutral-90;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
z-index: initial;
|
|
|
|
background-color: rgba(@neutral-90, 0.08);
|
|
|
|
box-shadow: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-30 05:16:26 -04:00
|
|
|
.history-loading-panel {
|
|
|
|
padding-top: 10rem;
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-04-04 12:00:30 -04:00
|
|
|
|
|
|
|
.history-file-entity-operation-badge {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-transform: lowercase;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
font-size: 0.7em;
|
|
|
|
background: @history-file-badge-bg;
|
|
|
|
color: @history-file-badge-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 2px 4px 3px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2023-04-20 11:41:44 -04:00
|
|
|
|
|
|
|
.history-react-toolbar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-05-31 05:14:08 -04:00
|
|
|
gap: 8px;
|
2023-04-27 14:45:13 -04:00
|
|
|
|
|
|
|
.history-react-toolbar-file-info {
|
|
|
|
flex: 1;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2023-04-20 11:41:44 -04:00
|
|
|
|
|
|
|
.history-react-toolbar-time {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2023-05-02 10:00:45 -04:00
|
|
|
|
|
|
|
.history-paywall-prompt {
|
|
|
|
padding: @history-change-list-padding;
|
|
|
|
|
|
|
|
.history-feature-list {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 8px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-faded .history-version-details {
|
|
|
|
max-height: 6em;
|
|
|
|
.mask-image(linear-gradient(black 35%, transparent));
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-paywall-heading {
|
|
|
|
.premium-text;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2023-05-02 10:09:38 -04:00
|
|
|
|
|
|
|
.history-content {
|
|
|
|
padding: @line-height-computed / 2;
|
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
|
|
|
|
.history-version-label-tooltip {
|
|
|
|
padding: 6px;
|
|
|
|
text-align: initial;
|
|
|
|
|
|
|
|
&-row {
|
|
|
|
margin-bottom: 6.25px;
|
|
|
|
|
2023-05-25 12:48:04 -04:00
|
|
|
&-comment {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 06:57:15 -04:00
|
|
|
|
2023-04-26 03:52:25 -04:00
|
|
|
.history-version-dropdown-menu {
|
|
|
|
[role='menuitem'] {
|
|
|
|
padding: 10px 12px;
|
|
|
|
color: @neutral-90;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: @neutral-90;
|
|
|
|
background-color: @neutral-10;
|
|
|
|
}
|
2023-05-22 06:11:21 -04:00
|
|
|
|
2024-02-15 04:43:16 -05:00
|
|
|
span.material-symbols {
|
2023-05-22 06:11:21 -04:00
|
|
|
vertical-align: middle;
|
2023-05-24 06:02:41 -04:00
|
|
|
font-size: inherit;
|
2023-05-22 06:11:21 -04:00
|
|
|
}
|
2023-04-26 03:52:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-14 06:57:15 -04:00
|
|
|
.document-diff-container {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.cm-viewer-container,
|
|
|
|
.cm-editor {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous-highlight-button,
|
|
|
|
.next-highlight-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
2023-05-09 04:53:26 -04:00
|
|
|
box-shadow: @box-shadow;
|
2023-04-14 06:57:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.previous-highlight-button {
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.next-highlight-button {
|
|
|
|
bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 03:14:59 -04:00
|
|
|
|
2023-08-17 09:30:21 -04:00
|
|
|
.history-dropdown-icon {
|
|
|
|
color: @neutral-90;
|
|
|
|
}
|
|
|
|
|
2023-08-29 15:04:45 -04:00
|
|
|
.history-dropdown-icon-inverted {
|
|
|
|
color: @neutral-10;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2024-09-06 05:20:42 -04:00
|
|
|
.history-restore-promo-icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-08-29 15:04:45 -04:00
|
|
|
|
2023-04-20 03:14:59 -04:00
|
|
|
.history-file-tree {
|
|
|
|
display: flex !important; // To work around jQuery layout's inline styles
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
max-height: 100%;
|
|
|
|
|
|
|
|
ul.history-file-tree-list {
|
|
|
|
margin: 0;
|
|
|
|
overflow-x: hidden;
|
2023-08-11 06:18:10 -04:00
|
|
|
height: 100%;
|
|
|
|
flex-grow: 1;
|
2023-04-20 03:14:59 -04:00
|
|
|
position: relative;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
.history-file-tree-item > ul,
|
|
|
|
ul[role='tree'] {
|
|
|
|
margin-left: 22px;
|
|
|
|
}
|
|
|
|
|
2023-09-15 03:13:11 -04:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
2023-04-20 03:14:59 -04:00
|
|
|
min-height: @line-height-computed;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
line-height: @file-tree-line-height;
|
|
|
|
position: relative;
|
2023-05-08 11:53:31 -04:00
|
|
|
margin-left: 8px;
|
2023-04-20 03:14:59 -04:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-file-tree-item {
|
|
|
|
color: @file-tree-item-color;
|
|
|
|
cursor: pointer;
|
|
|
|
white-space: nowrap;
|
|
|
|
user-select: none;
|
2023-05-08 11:53:31 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-20 03:14:59 -04:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2023-11-13 05:55:37 -05:00
|
|
|
.fake-full-width-bg(transparent);
|
2023-04-20 03:14:59 -04:00
|
|
|
&:hover {
|
|
|
|
background-color: @file-tree-item-hover-bg;
|
|
|
|
|
|
|
|
// When the entity is a subfolder, the DOM element is "indented" via margin-left. This makes the
|
|
|
|
// element not fill the entire file-tree width (as it's spaced from the left-hand side via margin)
|
|
|
|
// and, in consequence, the background gets clipped. The ::before pseudo-selector is used to fill
|
|
|
|
// the empty space.
|
|
|
|
.fake-full-width-bg(@file-tree-item-hover-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-file-tree-folder-button,
|
|
|
|
.history-file-tree-item-button {
|
|
|
|
.reset-button;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-08 11:53:31 -04:00
|
|
|
.history-file-tree-item-name-wrapper {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-20 03:14:59 -04:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2023-05-08 11:53:31 -04:00
|
|
|
.history-file-tree-item-name {
|
|
|
|
margin-right: @margin-xs;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
flex-grow: 1;
|
2024-05-16 04:31:20 -04:00
|
|
|
white-space: pre;
|
2023-04-27 14:45:13 -04:00
|
|
|
|
|
|
|
&.strikethrough {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2023-04-20 03:14:59 -04:00
|
|
|
}
|
|
|
|
|
2023-05-08 11:53:31 -04:00
|
|
|
.history-file-tree-item-badge {
|
2023-04-20 03:14:59 -04:00
|
|
|
text-transform: capitalize;
|
2023-05-08 11:53:31 -04:00
|
|
|
font-weight: normal;
|
|
|
|
margin-right: @margin-sm;
|
|
|
|
flex-shrink: 0;
|
2023-04-20 03:14:59 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i.fa {
|
|
|
|
color: @file-tree-item-icon-color;
|
|
|
|
font-size: 14px;
|
2023-05-08 11:53:31 -04:00
|
|
|
display: inline-flex;
|
|
|
|
flex-shrink: 0;
|
2023-04-20 03:14:59 -04:00
|
|
|
|
|
|
|
&.file-tree-icon {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.file-tree-folder-icon {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.file-tree-expand-icon {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i.fa-folder-open,
|
|
|
|
i.fa-folder {
|
|
|
|
color: @file-tree-item-folder-color;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.selected > .history-file-tree-item {
|
|
|
|
color: @file-tree-item-selected-color;
|
|
|
|
background-color: @file-tree-item-selected-bg;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
> div > i.fa,
|
|
|
|
> button > i.fa,
|
|
|
|
> i.fa {
|
|
|
|
color: @file-tree-item-selected-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fake-full-width-bg(@file-tree-item-selected-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-02 10:04:58 -04:00
|
|
|
|
|
|
|
.history-error {
|
|
|
|
padding: 16px;
|
|
|
|
}
|