2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-new {
|
2024-10-02 07:58:17 -04:00
|
|
|
@review-panel-header-height: 69px;
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
&.review-panel-container {
|
|
|
|
height: 100%;
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-inner {
|
|
|
|
z-index: 6;
|
|
|
|
flex-shrink: 0;
|
|
|
|
background-color: @neutral-10;
|
|
|
|
border-left: solid 0 @neutral-20;
|
2024-10-02 07:58:01 -04:00
|
|
|
color: @content-primary;
|
2024-08-22 05:44:22 -04:00
|
|
|
font-family: @font-family-base;
|
|
|
|
line-height: @line-height-base;
|
|
|
|
font-size: @font-size-01;
|
|
|
|
box-sizing: content-box;
|
|
|
|
width: var(--review-panel-width);
|
|
|
|
min-height: var(--review-panel-height);
|
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
|
|
|
|
.review-panel-entry {
|
|
|
|
background-color: white;
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
border: 1px solid @neutral-20;
|
|
|
|
padding: @spacing-04;
|
|
|
|
width: calc(100% - @spacing-04);
|
|
|
|
margin-left: @spacing-02;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2024-10-21 04:57:30 -04:00
|
|
|
.review-panel-entry:hover {
|
|
|
|
// shadow-sm
|
|
|
|
box-shadow: 0px 2px 4px rgba(30, 37, 48, 0.16);
|
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
|
2024-10-10 09:01:30 -04:00
|
|
|
.review-panel-entry.review-panel-entry-disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-indicator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-entry-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-09-26 10:13:31 -04:00
|
|
|
font-size: @font-size-01;
|
2024-08-12 05:50:54 -04:00
|
|
|
gap: @spacing-04;
|
|
|
|
}
|
|
|
|
|
2024-10-25 09:05:44 -04:00
|
|
|
.review-panel-entry.review-panel-entry-selected,
|
2024-10-21 04:57:30 -04:00
|
|
|
.review-panel-entry.review-panel-entry-highlighted {
|
2024-08-12 05:50:54 -04:00
|
|
|
margin-left: @spacing-01;
|
2024-08-15 06:07:40 -04:00
|
|
|
border: 1px solid @blue-50;
|
2024-10-21 04:57:30 -04:00
|
|
|
// shadow-md
|
|
|
|
box-shadow:
|
|
|
|
0px 4px 12px rgba(30, 37, 48, 0.12),
|
|
|
|
0px 2px 4px rgba(30, 37, 48, 0.08);
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-10-25 09:05:44 -04:00
|
|
|
.review-panel-entry.review-panel-entry-focused {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.review-panel-entry-user {
|
|
|
|
color: @blue;
|
|
|
|
font-size: 110%;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-time {
|
|
|
|
color: @content-secondary;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-actions {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: @spacing-03;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
color: @content-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-entry-actions-icon {
|
|
|
|
padding: @spacing-01;
|
2024-10-18 06:14:45 -04:00
|
|
|
font-size: @font-size-05;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-change-body {
|
|
|
|
display: flex;
|
2024-10-04 05:15:57 -04:00
|
|
|
align-items: flex-start;
|
2024-08-12 05:50:54 -04:00
|
|
|
color: @content-secondary;
|
|
|
|
gap: @spacing-02;
|
2024-10-04 05:15:57 -04:00
|
|
|
overflow-wrap: anywhere;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-content-highlight {
|
|
|
|
color: @content-primary;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
del.review-panel-content-highlight {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-entry-icon {
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
padding: @spacing-02;
|
2024-10-18 06:14:45 -04:00
|
|
|
font-size: @font-size-03;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-10-04 05:15:57 -04:00
|
|
|
.review-panel-entry-change-icon {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-icon-accept {
|
|
|
|
background-color: @green-10;
|
|
|
|
color: @green-50;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-icon-reject {
|
|
|
|
background-color: @red-10;
|
|
|
|
color: @red-50;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-entry-icon-changed {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
color: @content-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-header {
|
2024-10-21 04:56:55 -04:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2024-08-22 05:44:22 -04:00
|
|
|
width: var(--review-panel-width);
|
2024-10-02 07:58:17 -04:00
|
|
|
height: @review-panel-header-height;
|
2024-08-12 05:50:54 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
border-bottom: 1px solid @rp-border-grey;
|
|
|
|
background-color: white;
|
|
|
|
text-align: center;
|
2024-10-08 08:23:21 -04:00
|
|
|
z-index: 4;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: Update this when we move the track changes menu to the new design
|
|
|
|
.rp-tc-state {
|
|
|
|
background-color: white;
|
2024-10-08 08:23:21 -04:00
|
|
|
max-height: calc(
|
|
|
|
100vh - var(--review-panel-top) - @review-panel-header-height
|
|
|
|
);
|
|
|
|
overflow-y: auto;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-tools {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 12px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-basis: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resolved-comments-toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.track-changes-indicator-circle {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 100%;
|
|
|
|
background-color: @green-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
.track-changes-menu-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
2024-10-18 06:14:45 -04:00
|
|
|
font-size: @font-size-02;
|
2024-08-12 05:50:54 -04:00
|
|
|
|
|
|
|
i {
|
|
|
|
width: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-heading {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 6px 4px;
|
|
|
|
|
|
|
|
.review-panel-label {
|
|
|
|
font-family: Lato, sans-serif;
|
2024-10-18 06:14:45 -04:00
|
|
|
font-size: @font-size-02;
|
2024-08-12 05:50:54 -04:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-04 05:17:36 -04:00
|
|
|
.review-panel-split-test-badge {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-close-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
color: @content-primary;
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-08-19 09:16:56 -04:00
|
|
|
|
|
|
|
&.review-panel-resolved-comments {
|
|
|
|
width: 280px;
|
|
|
|
|
|
|
|
.popover-content {
|
|
|
|
background-color: @neutral-10;
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: calc(100vh - 180px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
padding: 8px 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-10 09:01:30 -04:00
|
|
|
.review-panel-resolved-disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2024-08-19 09:16:56 -04:00
|
|
|
.review-panel-resolved-comments-empty {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comments-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comments-label {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comments-count {
|
2024-10-23 06:14:28 -04:00
|
|
|
color: @content-secondary;
|
2024-08-19 09:16:56 -04:00
|
|
|
background-color: @neutral-20;
|
2024-10-23 06:14:28 -04:00
|
|
|
font-weight: normal;
|
|
|
|
padding: 4px;
|
2024-08-19 09:16:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment {
|
|
|
|
background-color: white;
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
padding: @spacing-04;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: @spacing-04;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
color: @content-secondary;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-filename {
|
|
|
|
color: @content-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: @spacing-03;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: transparent;
|
|
|
|
color: @content-primary;
|
|
|
|
padding: @spacing-01;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.material-symbols {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-quoted-text {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
padding: 4px 8px;
|
2024-10-23 06:14:28 -04:00
|
|
|
|
|
|
|
.btn-inline-link {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2024-08-19 09:16:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-quoted-text-label {
|
|
|
|
color: @content-secondary;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-resolved-comment-quoted-text-quote {
|
2024-10-23 06:14:28 -04:00
|
|
|
color: @content-primary;
|
2024-08-19 09:16:56 -04:00
|
|
|
overflow-wrap: anywhere;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-comment-wrapper {
|
|
|
|
display: flex;
|
|
|
|
gap: @spacing-04;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-comment {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-comment-reply-divider {
|
|
|
|
border-left: 2px solid @yellow-20;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-comment-body {
|
|
|
|
font-size: @font-size-02;
|
|
|
|
color: @content-primary;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
2024-08-19 09:16:56 -04:00
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-content-expandable {
|
2024-08-12 05:50:54 -04:00
|
|
|
display: -webkit-box;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
line-clamp: 3;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2024-08-22 05:44:22 -04:00
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-content-expanded {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-comment-input {
|
|
|
|
width: 100%;
|
|
|
|
font-size: @rp-base-font-size;
|
|
|
|
padding: 2px @spacing-03;
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
border: solid 1px @neutral-60;
|
|
|
|
resize: vertical;
|
|
|
|
color: @rp-type-darkgrey;
|
|
|
|
background-color: #fff;
|
|
|
|
height: 25px;
|
|
|
|
min-height: 25px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
2024-10-25 09:20:08 -04:00
|
|
|
.review-panel-comment-edit {
|
|
|
|
margin-top: var(--spacing-03);
|
|
|
|
}
|
|
|
|
|
2024-08-12 05:50:54 -04:00
|
|
|
.review-panel-empty-state {
|
2024-09-19 06:07:33 -04:00
|
|
|
position: fixed;
|
|
|
|
width: var(--review-panel-width);
|
2024-08-12 05:50:54 -04:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-empty-state-inner {
|
|
|
|
position: sticky;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-empty-state-comment-icon {
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
background-color: white;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
.material-symbols {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-overview {
|
|
|
|
padding: 4px;
|
|
|
|
position: absolute;
|
2024-10-02 07:58:17 -04:00
|
|
|
top: @review-panel-header-height;
|
2024-09-26 10:14:43 -04:00
|
|
|
bottom: 59px;
|
2024-08-12 05:50:54 -04:00
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
overscroll-behavior-block: none;
|
|
|
|
|
|
|
|
.review-panel-entry {
|
|
|
|
margin-left: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-overview-file-header {
|
|
|
|
all: unset;
|
|
|
|
padding: 6px 8px;
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-overfile-divider {
|
|
|
|
border-bottom: 1px solid #e7e9ee;
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-overview-file-entries {
|
2024-10-21 04:54:49 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
2024-08-12 05:50:54 -04:00
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-overview-file-entry-count {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
padding: 2px 4px;
|
|
|
|
margin-left: auto;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-footer {
|
2024-08-22 05:44:22 -04:00
|
|
|
position: fixed;
|
2024-09-24 04:54:32 -04:00
|
|
|
height: 60px;
|
2024-09-26 10:14:43 -04:00
|
|
|
bottom: 0;
|
2024-08-22 05:44:22 -04:00
|
|
|
width: var(--review-panel-width);
|
2024-08-12 05:50:54 -04:00
|
|
|
z-index: 2;
|
2024-09-24 04:54:32 -04:00
|
|
|
background-color: white;
|
2024-10-18 06:14:45 -04:00
|
|
|
border-top: 1px solid @rp-border-grey;
|
2024-08-22 05:44:22 -04:00
|
|
|
display: flex;
|
2024-09-24 04:54:32 -04:00
|
|
|
|
|
|
|
.review-panel-tab {
|
|
|
|
flex: 0 0 50%;
|
|
|
|
padding: 6px 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
border: 0;
|
|
|
|
border-top: solid 3px transparent;
|
|
|
|
background: none;
|
|
|
|
color: @content-secondary;
|
|
|
|
font-size: @font-size-02;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @content-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-active {
|
|
|
|
color: @content-primary;
|
|
|
|
border-top: solid 3px @green-50;
|
|
|
|
}
|
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
|
2024-09-16 04:40:59 -04:00
|
|
|
.review-panel-add-comment-textarea {
|
|
|
|
padding: 2px 6px;
|
|
|
|
resize: vertical;
|
|
|
|
min-height: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-add-comment-buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-add-comment-cancel-button {
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
color: @content-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-02 07:58:17 -04:00
|
|
|
.review-panel-more-comments-button-container {
|
|
|
|
position: fixed;
|
|
|
|
width: var(--review-panel-width);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
&.downwards {
|
|
|
|
// TODO: fix this to not use a magic number when we have updated the footer ui
|
|
|
|
top: calc(100% - 102px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.upwards {
|
|
|
|
top: calc(var(--review-panel-top) + @review-panel-header-height + 16px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-18 06:14:45 -04:00
|
|
|
// Would not be migrated
|
2024-10-02 07:58:17 -04:00
|
|
|
.review-panel-more-comments-button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
&.review-panel-subview-overview {
|
|
|
|
&.review-panel-container {
|
|
|
|
overflow-y: hidden;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-inner {
|
|
|
|
min-height: auto;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
&.review-panel-mini {
|
|
|
|
overflow: visible !important;
|
2024-08-12 05:50:54 -04:00
|
|
|
|
2024-09-24 04:54:22 -04:00
|
|
|
.review-panel-inner {
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-entry {
|
2024-09-24 04:54:22 -04:00
|
|
|
margin-left: 0;
|
2024-08-22 05:44:22 -04:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
2024-10-02 07:58:46 -04:00
|
|
|
width: 100%;
|
2024-08-22 05:44:22 -04:00
|
|
|
}
|
2024-08-12 05:50:54 -04:00
|
|
|
|
2024-10-25 09:06:02 -04:00
|
|
|
.review-panel-entry:hover,
|
|
|
|
.review-panel-entry-focused,
|
|
|
|
.review-panel-entry-highlighted {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-entry-indicator {
|
2024-08-12 05:50:54 -04:00
|
|
|
position: absolute;
|
2024-08-22 05:44:22 -04:00
|
|
|
left: 0;
|
2024-10-02 07:58:46 -04:00
|
|
|
top: 0;
|
2024-08-22 05:44:22 -04:00
|
|
|
display: flex;
|
|
|
|
color: @content-secondary;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-entry-content {
|
|
|
|
display: none;
|
|
|
|
background: white;
|
|
|
|
border: 1px solid @rp-border-grey;
|
|
|
|
border-radius: @border-radius-base-new;
|
|
|
|
width: 200px;
|
|
|
|
padding: @spacing-02;
|
|
|
|
}
|
|
|
|
|
2024-10-02 07:58:46 -04:00
|
|
|
.review-panel-entry-hover {
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-entry-content {
|
|
|
|
display: initial;
|
|
|
|
position: absolute;
|
|
|
|
left: -200px;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-04 05:17:21 -04:00
|
|
|
.review-panel-more-comments-button-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-08-22 05:44:22 -04:00
|
|
|
.review-panel-footer {
|
|
|
|
display: none;
|
2024-08-12 05:50:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-09-16 04:40:59 -04:00
|
|
|
|
2024-10-10 08:50:27 -04:00
|
|
|
.review-tooltip-menu {
|
2024-10-23 06:14:16 -04:00
|
|
|
display: flex;
|
2024-10-10 08:50:27 -04:00
|
|
|
box-shadow: 0px 2px 4px 0px #1e253029;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
2024-10-23 06:14:16 -04:00
|
|
|
gap: 4px;
|
2024-10-10 08:50:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-tooltip-menu-button {
|
|
|
|
background-color: inherit;
|
|
|
|
border: none;
|
2024-09-16 04:40:59 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 2px;
|
2024-10-10 08:50:27 -04:00
|
|
|
padding: 2px;
|
2024-10-21 04:53:42 -04:00
|
|
|
border-radius: @border-radius-base;
|
2024-09-16 04:40:59 -04:00
|
|
|
}
|
2024-10-10 08:50:27 -04:00
|
|
|
|
2024-10-23 06:14:16 -04:00
|
|
|
.review-tooltip-menu-divider {
|
|
|
|
width: 1px;
|
|
|
|
background-color: #e7e9ee;
|
|
|
|
}
|
|
|
|
|
2024-10-10 08:50:27 -04:00
|
|
|
.review-tooltip-add-comment-button {
|
|
|
|
padding: 2px 8px;
|
|
|
|
}
|
|
|
|
|
2024-10-02 07:58:46 -04:00
|
|
|
.review-panel-tooltip {
|
|
|
|
pointer-events: none; // this is to prevent mouseLeave event from firing when hovering over the tooltip
|
|
|
|
}
|
2024-10-21 05:06:30 -04:00
|
|
|
|
|
|
|
.review-panel-in-editor-widgets {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
font-size: 11px;
|
|
|
|
z-index: 2;
|
|
|
|
font-family: @font-family-sans-serif;
|
|
|
|
|
|
|
|
.review-panel-in-editor-widgets-inner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-panel-track-changes-indicator {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.review-panel-track-changes-indicator {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background-color: rgba(240, 240, 240, 0.9);
|
|
|
|
color: @rp-type-blue;
|
|
|
|
text-align: center;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&.review-panel-track-changes-indicator-on-dark {
|
|
|
|
background-color: rgba(88, 88, 88, 0.8);
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba(88, 88, 88, 1);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: rgba(240, 240, 240, 1);
|
|
|
|
color: @rp-type-blue;
|
|
|
|
}
|
|
|
|
}
|