2017-01-04 10:24:49 -05:00
|
|
|
@rp-base-font-size : 12px;
|
|
|
|
@rp-small-font-size : 10px;
|
2017-01-04 10:34:24 -05:00
|
|
|
@rp-icon-large-size : 18px;
|
2016-11-09 10:39:01 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-bg-blue : #dadfed;
|
|
|
|
@rp-bg-dim-blue : #fafafa;
|
|
|
|
@rp-highlight-blue : #8a96b5;
|
2016-11-09 10:39:01 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-border-grey : #d9d9d9;
|
2016-11-09 10:39:01 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-green : #2c8e30;
|
2017-01-16 11:25:38 -05:00
|
|
|
@rp-green-on-dark : rgba(37, 107, 41, 0.5);
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-red : #c5060b;
|
|
|
|
@rp-yellow : #f3b111;
|
2017-01-16 11:25:38 -05:00
|
|
|
@rp-yellow-on-dark : rgba(194, 93, 11, 0.5);
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-grey : #aaaaaa;
|
2016-11-09 10:39:01 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-type-blue : #6b7797;
|
|
|
|
@rp-type-darkgrey : #3f3f3f;
|
2016-11-09 11:36:06 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-entry-ribbon-width : 4px;
|
|
|
|
@rp-entry-arrow-width : 6px;
|
|
|
|
@rp-semibold-weight : 600;
|
|
|
|
@review-panel-width : 230px;
|
|
|
|
@review-off-width : 22px;
|
2016-10-13 09:22:23 -04:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
@rp-toolbar-height : 32px;
|
2016-11-17 07:09:07 -05:00
|
|
|
|
2017-02-21 05:20:08 -05:00
|
|
|
@rp-entry-animation-speed: 0.3s;
|
|
|
|
|
2017-01-12 06:25:36 -05:00
|
|
|
|
|
|
|
|
2016-11-21 06:16:13 -05:00
|
|
|
.rp-button() {
|
2017-01-18 10:38:34 -05:00
|
|
|
display: block; // IE doesn't do flex with inline items.
|
2016-11-21 06:16:13 -05:00
|
|
|
background-color: @rp-highlight-blue;
|
|
|
|
color: #FFF;
|
|
|
|
text-align: center;
|
2017-01-04 10:34:24 -05:00
|
|
|
line-height: 1.3;
|
2017-01-16 12:06:57 -05:00
|
|
|
user-select: none;
|
|
|
|
border: 0;
|
|
|
|
|
2016-11-21 06:16:13 -05:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-01-16 12:06:57 -05:00
|
|
|
outline: 0;
|
2016-11-21 06:16:13 -05:00
|
|
|
background-color: darken(@rp-highlight-blue, 5%);
|
|
|
|
text-decoration: none;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
2017-01-16 12:06:57 -05:00
|
|
|
|
|
|
|
&[disabled] {
|
2017-02-20 06:21:56 -05:00
|
|
|
background-color: tint(@rp-highlight-blue, 50%);
|
2017-01-16 12:06:57 -05:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-02-20 06:21:56 -05:00
|
|
|
background-color: tint(@rp-highlight-blue, 50%);
|
2017-01-16 12:06:57 -05:00
|
|
|
}
|
|
|
|
}
|
2016-11-21 06:16:13 -05:00
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
|
2016-11-15 07:23:39 -05:00
|
|
|
.triangle(@_, @width, @height, @color) {
|
|
|
|
position: absolute;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
.triangle(top, @width, @height, @color) {
|
|
|
|
border-width: 0 @width/2 @height @width/2;
|
|
|
|
border-bottom-color: @color;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-right-color: transparent;
|
|
|
|
}
|
|
|
|
.triangle(bottom, @width, @height, @color) {
|
|
|
|
border-width: @height @width/2 0 @width/2;
|
|
|
|
border-top-color: @color;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-right-color: transparent;
|
|
|
|
}
|
|
|
|
.triangle(right, @width, @height, @color) {
|
|
|
|
border-width: @height/2 0 @height/2 @width;
|
|
|
|
border-left-color: @color;
|
|
|
|
border-top-color: transparent;
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
|
|
|
.triangle(left, @width, @height, @color) {
|
|
|
|
border-width: @height/2 @width @height/2 0;
|
|
|
|
border-right-color: @color;
|
|
|
|
border-top-color: transparent;
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
|
|
|
|
2016-10-12 12:27:20 -04:00
|
|
|
#review-panel {
|
2017-03-24 10:04:37 -04:00
|
|
|
display: block;
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-size-expanded & {
|
2016-11-17 07:09:07 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-11-17 06:47:20 -05:00
|
|
|
width: @review-panel-width;
|
2016-11-17 10:20:25 -05:00
|
|
|
overflow: visible;
|
2017-04-04 05:40:53 -04:00
|
|
|
border-left-width: 1px;
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-size-mini & {
|
2016-11-17 06:47:20 -05:00
|
|
|
width: @review-off-width;
|
2017-01-12 09:20:41 -05:00
|
|
|
z-index: 6;
|
2017-04-04 05:40:53 -04:00
|
|
|
border-left-width: 1px;
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2016-11-17 10:41:55 -05:00
|
|
|
|
2016-10-12 12:27:20 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 0px;
|
2016-11-09 10:39:01 -05:00
|
|
|
background-color: @rp-bg-blue;
|
2017-04-04 05:40:53 -04:00
|
|
|
border-left: solid 0px @rp-border-grey;
|
2016-11-09 11:36:06 -05:00
|
|
|
font-size: @rp-base-font-size;
|
|
|
|
color: @rp-type-blue;
|
2017-01-17 05:16:10 -05:00
|
|
|
z-index: 6;
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
2017-03-08 06:42:14 -05:00
|
|
|
.loading-panel {
|
|
|
|
.rp-size-expanded & {
|
|
|
|
right: @review-panel-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-08 11:43:01 -05:00
|
|
|
.review-panel-toolbar {
|
2016-11-15 05:34:39 -05:00
|
|
|
display: none;
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-size-expanded & {
|
2016-11-23 11:10:35 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-01-19 11:54:34 -05:00
|
|
|
justify-content: space-between;
|
2016-11-24 10:55:09 -05:00
|
|
|
padding: 0 5px;
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2017-01-19 06:57:49 -05:00
|
|
|
|
|
|
|
position: relative;
|
2016-11-17 07:09:07 -05:00
|
|
|
height: @rp-toolbar-height;
|
2016-11-09 10:39:01 -05:00
|
|
|
border-bottom: 1px solid @rp-border-grey;
|
|
|
|
background-color: @rp-bg-dim-blue;
|
2016-11-08 11:43:01 -05:00
|
|
|
text-align: center;
|
2017-01-11 05:53:46 -05:00
|
|
|
z-index: 3;
|
2016-11-23 12:04:55 -05:00
|
|
|
flex-basis: 32px;
|
|
|
|
flex-shrink: 0;
|
2016-11-08 11:43:01 -05:00
|
|
|
}
|
2016-11-23 11:10:35 -05:00
|
|
|
.review-panel-toolbar-label {
|
2016-11-23 09:44:04 -05:00
|
|
|
cursor: pointer;
|
2017-01-05 12:15:27 -05:00
|
|
|
text-align: right;
|
|
|
|
flex-grow: 1;
|
2016-11-23 09:44:04 -05:00
|
|
|
}
|
2017-01-12 05:52:39 -05:00
|
|
|
.review-panel-toolbar-label-disabled {
|
|
|
|
cursor: auto;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2017-01-16 10:57:20 -05:00
|
|
|
.review-panel-toolbar-spinner {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2016-11-08 11:43:01 -05:00
|
|
|
|
2016-11-16 10:23:29 -05:00
|
|
|
.rp-entry-list {
|
2017-03-24 10:04:37 -04:00
|
|
|
display: none;
|
2017-02-23 09:10:03 -05:00
|
|
|
width: 100%;
|
2017-03-24 10:04:37 -04:00
|
|
|
|
|
|
|
.rp-size-expanded &,
|
|
|
|
.rp-size-mini & {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
|
|
|
|
.rp-state-current-file & {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2017-02-17 06:24:50 -05:00
|
|
|
padding-bottom: 52px;
|
2016-11-17 07:09:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.rp-state-overview & {
|
|
|
|
flex-grow: 2;
|
2016-11-17 09:29:35 -05:00
|
|
|
overflow-y: auto;
|
2016-11-17 07:09:07 -05:00
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
2016-11-16 10:23:29 -05:00
|
|
|
.rp-entry-list-inner {
|
2016-10-12 12:27:20 -04:00
|
|
|
position: relative;
|
2016-11-15 05:34:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.rp-entry-indicator {
|
2016-11-17 06:47:20 -05:00
|
|
|
display: none;
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-size-mini & {
|
2016-11-17 06:47:20 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2017-04-04 05:40:53 -04:00
|
|
|
.rp-size-mini &-add-comment {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-11-15 05:34:39 -05:00
|
|
|
position: absolute;
|
2016-11-15 12:07:06 -05:00
|
|
|
left: 2px;
|
|
|
|
right: 2px;
|
2016-11-15 05:34:39 -05:00
|
|
|
text-align: center;
|
|
|
|
background-color: @rp-highlight-blue;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #FFF;
|
|
|
|
cursor: pointer;
|
2017-02-21 05:20:08 -05:00
|
|
|
transition: top @rp-entry-animation-speed, left 0.1s, right 0.1s;
|
2017-02-13 03:49:51 -05:00
|
|
|
.no-animate & {
|
|
|
|
transition: none;
|
|
|
|
}
|
2016-11-15 12:07:06 -05:00
|
|
|
|
|
|
|
&-focused {
|
|
|
|
left: 0px;
|
|
|
|
right: 4px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2017-03-20 09:56:36 -04:00
|
|
|
|
2016-11-15 07:23:39 -05:00
|
|
|
}
|
2016-11-15 05:34:39 -05:00
|
|
|
|
2016-11-15 07:23:39 -05:00
|
|
|
.rp-entry-wrapper {
|
2016-11-17 10:41:55 -05:00
|
|
|
&:hover .rp-entry-insert,
|
|
|
|
&:hover .rp-entry-delete,
|
|
|
|
&:hover .rp-entry-comment {
|
2016-11-15 05:34:39 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
2016-11-10 05:19:52 -05:00
|
|
|
.rp-entry {
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file & {
|
2016-11-17 06:47:20 -05:00
|
|
|
position: absolute;
|
|
|
|
width: @review-panel-width;
|
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file-mini & {
|
2016-11-17 06:47:20 -05:00
|
|
|
display: none;
|
|
|
|
left: @review-off-width + @rp-entry-arrow-width;
|
|
|
|
box-shadow: 0 0 10px 5px rgba(0, 0, 0, .2);
|
2017-01-12 09:20:41 -05:00
|
|
|
z-index: 1;
|
2016-11-17 12:18:24 -05:00
|
|
|
|
2016-11-17 06:47:20 -05:00
|
|
|
&::before {
|
2016-11-17 11:53:59 -05:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: -(@review-off-width + @rp-entry-arrow-width);
|
|
|
|
right: -(@review-off-width + @rp-entry-arrow-width);
|
|
|
|
bottom: -(@review-off-width + @rp-entry-arrow-width);
|
2017-01-13 11:07:08 -05:00
|
|
|
left: -(2 * @rp-entry-arrow-width + 2);
|
2017-01-12 09:20:41 -05:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
.triangle(left, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit);
|
|
|
|
top: (@review-off-width / 2) - @rp-entry-arrow-width;
|
|
|
|
left: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);
|
|
|
|
content: '';
|
2016-11-17 11:53:59 -05:00
|
|
|
}
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2017-01-12 12:06:08 -05:00
|
|
|
.rp-state-current-file-mini.rp-layout-left & {
|
|
|
|
left: auto;
|
|
|
|
right: @review-off-width + @rp-entry-arrow-width;
|
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: @rp-entry-ribbon-width;
|
|
|
|
border-right-style: solid;
|
|
|
|
|
2017-01-13 11:07:08 -05:00
|
|
|
&::before {
|
|
|
|
left: -(@review-off-width + @rp-entry-arrow-width);
|
|
|
|
right: -(2 * @rp-entry-arrow-width + 2);
|
|
|
|
}
|
2017-01-12 12:06:08 -05:00
|
|
|
&::after {
|
|
|
|
.triangle(right, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit);
|
|
|
|
right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file-expanded & {
|
2016-11-17 06:47:20 -05:00
|
|
|
left: 5px;
|
|
|
|
right: 5px;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&-focused {
|
2016-11-17 10:20:25 -05:00
|
|
|
left: -2px;
|
|
|
|
right: 12px;
|
2016-11-17 06:47:20 -05:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-add-comment {
|
|
|
|
right: auto;
|
|
|
|
|
|
|
|
&.rp-entry-adding-comment {
|
|
|
|
right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-02 11:15:52 -04:00
|
|
|
&-bulk-actions {
|
|
|
|
right: auto;
|
|
|
|
}
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-overview & {
|
2016-11-18 09:27:49 -05:00
|
|
|
border-radius: 0;
|
2016-11-18 07:16:24 -05:00
|
|
|
border-bottom: solid 1px @rp-border-grey;
|
2016-11-18 10:08:16 -05:00
|
|
|
cursor: pointer;
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2017-01-06 07:00:17 -05:00
|
|
|
.resolved-comments-dropdown & {
|
|
|
|
position: static;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2016-11-17 06:47:20 -05:00
|
|
|
|
2016-11-09 11:36:06 -05:00
|
|
|
border-left: solid @rp-entry-ribbon-width transparent;
|
2016-11-09 10:58:03 -05:00
|
|
|
border-radius: 3px;
|
|
|
|
background-color: #FFF;
|
2017-02-21 05:20:08 -05:00
|
|
|
transition: top @rp-entry-animation-speed, left 0.1s, right 0.1s;
|
2017-02-13 03:49:51 -05:00
|
|
|
.no-animate & {
|
|
|
|
transition: none;
|
|
|
|
}
|
2016-11-09 11:00:02 -05:00
|
|
|
|
|
|
|
&-insert {
|
2016-11-15 07:23:39 -05:00
|
|
|
border-color: @rp-green;
|
2016-11-09 11:00:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&-delete {
|
2016-11-15 07:23:39 -05:00
|
|
|
border-color: @rp-red;
|
2016-11-09 11:00:02 -05:00
|
|
|
}
|
2016-11-10 12:19:41 -05:00
|
|
|
|
|
|
|
&-comment {
|
2016-11-15 07:23:39 -05:00
|
|
|
border-color: @rp-yellow;
|
2016-11-10 12:19:41 -05:00
|
|
|
}
|
2016-11-21 12:13:17 -05:00
|
|
|
|
2017-01-12 06:25:36 -05:00
|
|
|
&-comment-resolving {
|
|
|
|
top: 4px;
|
|
|
|
left: 6px;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 3;
|
|
|
|
transform: scale(.1);
|
|
|
|
transform-origin: 0 0;
|
2017-01-12 06:56:04 -05:00
|
|
|
transition: top .35s ease-out, left .35s ease-out, transform .35s ease-out, opacity .35s ease-out .2s;
|
2017-01-12 06:25:36 -05:00
|
|
|
}
|
|
|
|
|
2016-11-21 12:13:17 -05:00
|
|
|
&-comment-resolved {
|
|
|
|
border-color: @rp-grey;
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
2016-11-14 06:19:00 -05:00
|
|
|
|
2016-11-15 11:02:12 -05:00
|
|
|
&-add-comment {
|
2016-11-14 06:19:00 -05:00
|
|
|
background-color: transparent;
|
|
|
|
right: auto;
|
|
|
|
border-left-width: 0;
|
|
|
|
|
|
|
|
&.rp-entry-adding-comment {
|
|
|
|
background-color: #FFF;
|
|
|
|
right: 5px;
|
|
|
|
border-left-width: 3px;
|
|
|
|
border-left-color: @rp-yellow;
|
|
|
|
}
|
|
|
|
}
|
2017-05-02 11:15:52 -04:00
|
|
|
|
|
|
|
&-bulk-actions {
|
|
|
|
background-color: transparent;
|
|
|
|
right: auto;
|
|
|
|
border-left-width: 0;
|
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-entry-body {
|
2016-11-09 11:36:06 -05:00
|
|
|
display: flex;
|
2016-11-10 07:35:35 -05:00
|
|
|
align-items: center;
|
2017-01-04 10:34:24 -05:00
|
|
|
padding: 4px 5px;
|
2016-11-10 05:19:52 -05:00
|
|
|
}
|
|
|
|
.rp-entry-action-icon {
|
|
|
|
font-size: @rp-icon-large-size;
|
2017-01-04 10:34:24 -05:00
|
|
|
padding: 0 3px;
|
2016-11-10 12:19:41 -05:00
|
|
|
line-height: 0;
|
2016-11-18 07:16:24 -05:00
|
|
|
|
|
|
|
.rp-state-overview & {
|
2017-01-04 10:24:49 -05:00
|
|
|
display: none;
|
2016-11-18 07:16:24 -05:00
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
}
|
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-entry-details {
|
|
|
|
line-height: 1.4;
|
|
|
|
margin-left: 5px;
|
2017-01-19 11:55:21 -05:00
|
|
|
// We need to set any low-enough flex base size (0px), making it growable (1) and non-shrinkable (0).
|
|
|
|
// This is needed to ensure that IE makes the element fill the available space.
|
2017-01-19 11:58:16 -05:00
|
|
|
flex: 1 0 1px;
|
2017-02-13 04:16:16 -05:00
|
|
|
overflow-x: auto;
|
2017-01-06 10:24:33 -05:00
|
|
|
|
|
|
|
.rp-state-overview & {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
}
|
2016-11-18 07:16:24 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-entry-metadata {
|
|
|
|
font-size: @rp-small-font-size;
|
2016-11-10 07:35:35 -05:00
|
|
|
}
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-entry-user {
|
|
|
|
font-weight: @rp-semibold-weight;
|
2017-01-06 10:24:33 -05:00
|
|
|
font-style: normal;
|
2017-01-04 10:24:49 -05:00
|
|
|
}
|
2017-01-24 10:18:49 -05:00
|
|
|
.rp-comment-actions {
|
|
|
|
a { color: @rp-type-blue; }
|
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-content-highlight {
|
|
|
|
color: @rp-type-darkgrey;
|
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
|
text-decoration: none;
|
2016-11-11 05:51:32 -05:00
|
|
|
|
2017-01-04 10:24:49 -05:00
|
|
|
.rp-entry-delete & {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2016-11-11 05:51:32 -05:00
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
|
2016-11-10 05:19:52 -05:00
|
|
|
.rp-entry-actions {
|
2016-11-10 10:08:41 -05:00
|
|
|
display: flex;
|
2016-11-18 07:16:24 -05:00
|
|
|
|
2017-01-09 09:59:01 -05:00
|
|
|
.rp-state-overview .rp-entry-list & {
|
2016-11-18 07:16:24 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
}
|
2016-11-10 10:08:41 -05:00
|
|
|
.rp-entry-button {
|
2016-11-21 06:16:13 -05:00
|
|
|
.rp-button();
|
|
|
|
flex: 1 1 50%;
|
2016-11-10 10:08:41 -05:00
|
|
|
border-right: solid 1px #FFF;
|
|
|
|
padding: 2px 0;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-right-width: 0;
|
|
|
|
}
|
2017-01-12 12:06:08 -05:00
|
|
|
|
2017-02-03 10:20:50 -05:00
|
|
|
.rp-state-current-file-mini.rp-layout-left & {
|
2017-01-12 12:06:08 -05:00
|
|
|
&:first-child {
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-11-10 10:08:41 -05:00
|
|
|
}
|
2016-11-09 11:36:06 -05:00
|
|
|
|
2016-11-10 12:19:41 -05:00
|
|
|
.rp-comment {
|
2017-01-05 06:50:43 -05:00
|
|
|
margin: 2px 5px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
line-height: 1.4;
|
|
|
|
border-bottom: solid 1px @rp-border-grey;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
2016-11-18 09:27:49 -05:00
|
|
|
|
2017-01-09 09:59:01 -05:00
|
|
|
.rp-state-overview .rp-entry-list & {
|
2017-01-06 10:24:33 -05:00
|
|
|
margin: 4px 5px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
2016-11-18 09:27:49 -05:00
|
|
|
}
|
2016-11-10 12:19:41 -05:00
|
|
|
}
|
2017-01-05 06:50:43 -05:00
|
|
|
.rp-comment-content {
|
|
|
|
margin: 0;
|
|
|
|
color: @rp-type-darkgrey;
|
2017-02-13 04:09:35 -05:00
|
|
|
overflow-x: auto; // Long words, like links can overflow without this.
|
2016-11-10 12:19:41 -05:00
|
|
|
}
|
2017-01-06 10:24:33 -05:00
|
|
|
|
|
|
|
.rp-comment-resolver {
|
|
|
|
color: @rp-type-blue;
|
|
|
|
}
|
|
|
|
.rp-comment-resolver-content {
|
2017-01-06 12:22:22 -05:00
|
|
|
font-style: italic;
|
2017-01-06 10:24:33 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2016-11-14 06:19:00 -05:00
|
|
|
|
2017-01-05 06:50:43 -05:00
|
|
|
.rp-comment-reply {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
2016-11-21 06:16:13 -05:00
|
|
|
|
2017-05-02 11:15:52 -04:00
|
|
|
.rp-add-comment-btn,
|
|
|
|
.rp-bulk-actions-btn {
|
2016-11-21 06:16:13 -05:00
|
|
|
.rp-button();
|
2017-05-03 06:41:17 -04:00
|
|
|
display: inline-block;
|
2016-11-14 06:19:00 -05:00
|
|
|
padding: 5px 10px;
|
|
|
|
border-radius: 3px;
|
2017-03-17 13:05:38 -04:00
|
|
|
|
|
|
|
.rp-in-editor-widgets & {
|
2017-05-03 06:41:17 -04:00
|
|
|
display: block;
|
2017-03-27 05:02:09 -04:00
|
|
|
white-space: nowrap;
|
2017-03-17 13:05:38 -04:00
|
|
|
border-radius: 0;
|
2017-05-03 06:41:17 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
}
|
2017-03-17 13:05:38 -04:00
|
|
|
}
|
2016-11-14 06:19:00 -05:00
|
|
|
}
|
|
|
|
|
2017-05-02 11:15:52 -04:00
|
|
|
.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;
|
2017-05-03 06:41:17 -04:00
|
|
|
margin-left: 1px;
|
2017-05-02 11:15:52 -04:00
|
|
|
}
|
|
|
|
}
|
2017-05-03 06:41:17 -04:00
|
|
|
|
2016-11-14 06:19:00 -05:00
|
|
|
.rp-new-comment {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rp-comment-input {
|
|
|
|
width: 100%;
|
|
|
|
font-size: @rp-base-font-size;
|
|
|
|
padding: 2px 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: solid 1px @rp-border-grey;
|
|
|
|
resize: vertical;
|
2017-01-12 06:05:50 -05:00
|
|
|
color: @rp-type-darkgrey;
|
2017-01-24 10:18:49 -05:00
|
|
|
margin-top: 3px;
|
2017-01-26 06:59:55 -05:00
|
|
|
overflow-x: hidden;
|
2017-01-26 07:00:11 -05:00
|
|
|
min-height: 3em;
|
2017-02-17 10:16:35 -05:00
|
|
|
max-height: 400px;
|
2016-11-14 06:19:00 -05:00
|
|
|
}
|
2016-11-11 05:51:32 -05:00
|
|
|
|
2016-11-10 05:19:52 -05:00
|
|
|
.rp-icon-delete {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 1;
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 0.8em;
|
|
|
|
text-decoration: line-through;
|
|
|
|
font-weight: @rp-semibold-weight;
|
|
|
|
&::before {
|
|
|
|
content: 'Ab';
|
|
|
|
}
|
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
|
2017-01-06 10:24:33 -05:00
|
|
|
.rp-resolved-comment {
|
|
|
|
border-left: solid @rp-entry-ribbon-width @rp-yellow;
|
|
|
|
border-radius: 3px;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rp-resolved-comment-context-quote {
|
|
|
|
color: #000;
|
|
|
|
font-family: @font-family-monospace;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-11-10 05:19:52 -05:00
|
|
|
.rp-entry-callout {
|
2017-02-21 05:20:08 -05:00
|
|
|
transition: top @rp-entry-animation-speed, height @rp-entry-animation-speed;
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file & {
|
2016-11-09 12:10:58 -05:00
|
|
|
position: absolute;
|
2016-11-17 06:47:20 -05:00
|
|
|
border-top: 1px solid grey;
|
|
|
|
border-right: 1px dashed grey;
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: 3px;
|
|
|
|
bottom: 0;
|
|
|
|
border-bottom: 1px solid grey;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file-expanded & {
|
2016-11-17 06:47:20 -05:00
|
|
|
width: 3px;
|
|
|
|
&::after {
|
|
|
|
width: 3px;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file-mini & {
|
2016-11-15 12:07:06 -05:00
|
|
|
width: 1px;
|
2016-11-17 06:47:20 -05:00
|
|
|
&::after {
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-overview & {
|
2016-11-17 06:47:20 -05:00
|
|
|
display: none;
|
2016-11-09 12:10:58 -05:00
|
|
|
}
|
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file &-inverted {
|
2016-11-14 07:47:46 -05:00
|
|
|
border-top: none;
|
|
|
|
border-bottom: 1px solid grey;
|
2016-11-15 07:23:39 -05:00
|
|
|
&::after {
|
2016-11-14 07:47:46 -05:00
|
|
|
top: 0px;
|
|
|
|
bottom: -1px;
|
|
|
|
border-top: 1px solid grey;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file &-insert {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-green;
|
2016-11-15 07:23:39 -05:00
|
|
|
&::after {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-green;
|
2016-11-09 12:10:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file &-delete {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-red;
|
2016-11-15 07:23:39 -05:00
|
|
|
&::after {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-red;
|
2016-11-09 12:10:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file &-comment {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-yellow;
|
2016-11-15 07:23:39 -05:00
|
|
|
&::after {
|
2016-11-10 10:08:41 -05:00
|
|
|
border-color: @rp-yellow;
|
2016-11-09 12:10:58 -05:00
|
|
|
}
|
|
|
|
}
|
2017-03-20 07:35:35 -04:00
|
|
|
|
2017-04-04 05:40:53 -04:00
|
|
|
.rp-size-mini &-add-comment {
|
2017-03-20 07:35:35 -04:00
|
|
|
display: none;
|
|
|
|
}
|
2016-11-09 12:10:58 -05:00
|
|
|
}
|
|
|
|
|
2016-11-18 07:16:24 -05:00
|
|
|
.rp-overview-file-header {
|
|
|
|
padding: 2px 5px;
|
|
|
|
border-top: solid 1px @rp-border-grey;
|
|
|
|
border-bottom: solid 1px @rp-border-grey;
|
2017-01-04 10:24:49 -05:00
|
|
|
background-color: @rp-bg-dim-blue;
|
2016-11-18 07:16:24 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
font-weight: @rp-semibold-weight;
|
2017-01-04 10:24:49 -05:00
|
|
|
text-align: center;
|
2017-02-16 10:48:58 -05:00
|
|
|
cursor: pointer;
|
2016-11-18 07:16:24 -05:00
|
|
|
}
|
|
|
|
|
2017-02-17 09:32:06 -05:00
|
|
|
.rp-overview-file-num-entries {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2017-02-16 10:48:58 -05:00
|
|
|
.rp-overview-file-header-collapse {
|
|
|
|
display: inline-block;
|
2017-02-21 06:05:55 -05:00
|
|
|
float: left;
|
2017-02-16 10:48:58 -05:00
|
|
|
transform: rotateZ(0deg);
|
|
|
|
transition: transform 0.15s ease
|
|
|
|
}
|
2017-02-17 06:24:21 -05:00
|
|
|
|
2017-02-16 10:48:58 -05:00
|
|
|
.rp-overview-file-header-collapse-on {
|
2017-02-21 08:25:26 -05:00
|
|
|
transform: rotateZ(-90deg);
|
2017-02-16 10:48:58 -05:00
|
|
|
}
|
2016-11-18 07:16:24 -05:00
|
|
|
|
2017-02-17 06:24:21 -05:00
|
|
|
.rp-overview-file-entries {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-01-12 06:25:36 -05:00
|
|
|
.rp-comment-wrapper {
|
2017-01-12 06:56:04 -05:00
|
|
|
transition: .35s opacity ease-out .2s;
|
2017-01-12 06:25:36 -05:00
|
|
|
|
|
|
|
&-resolving {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-10 07:16:58 -05:00
|
|
|
.rp-loading,
|
|
|
|
.rp-empty {
|
2017-01-09 09:59:01 -05:00
|
|
|
text-align: center;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2016-11-16 07:31:47 -05:00
|
|
|
.rp-nav {
|
2017-03-24 10:04:37 -04:00
|
|
|
display: none;
|
2016-11-17 07:09:07 -05:00
|
|
|
flex-shrink: 0;
|
2017-03-24 10:04:37 -04:00
|
|
|
.rp-size-expanded & {
|
|
|
|
display: flex;
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
2017-03-24 10:04:37 -04:00
|
|
|
|
2016-11-17 07:09:07 -05:00
|
|
|
.rp-state-current-file & {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2016-11-16 07:31:47 -05:00
|
|
|
width: 100%;
|
|
|
|
font-size: @rp-icon-large-size;
|
|
|
|
text-align: center;
|
|
|
|
background-color: @rp-bg-dim-blue;
|
|
|
|
border-top: solid 1px @rp-border-grey;
|
2016-11-16 11:07:07 -05:00
|
|
|
z-index: 2;
|
2016-11-16 07:31:47 -05:00
|
|
|
}
|
|
|
|
.rp-nav-item {
|
2017-01-18 10:38:34 -05:00
|
|
|
display: block;
|
2016-11-16 07:31:47 -05:00
|
|
|
color: lighten(@rp-type-blue, 25%);
|
|
|
|
flex: 0 0 50%;
|
|
|
|
border-top: solid 3px transparent;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @rp-type-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-active {
|
|
|
|
color: @rp-type-blue;
|
|
|
|
border-top: solid 3px @rp-highlight-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.rp-nav-label {
|
|
|
|
display: block;
|
|
|
|
font-size: @rp-base-font-size;
|
|
|
|
}
|
|
|
|
|
2016-11-17 06:47:20 -05:00
|
|
|
#editor {
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-size-mini & {
|
|
|
|
right: @review-off-width;
|
2016-10-13 09:22:23 -04:00
|
|
|
.ace-editor-body {
|
|
|
|
overflow: visible;
|
|
|
|
.ace_scrollbar-v {
|
2016-11-17 09:29:35 -05:00
|
|
|
right: -@review-off-width;
|
2016-10-13 09:22:23 -04:00
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
2016-10-11 09:24:01 -04:00
|
|
|
}
|
2016-11-17 09:29:35 -05:00
|
|
|
|
|
|
|
.rp-size-expanded & {
|
|
|
|
right: @review-panel-width;
|
|
|
|
left: 0px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2016-11-17 06:47:20 -05:00
|
|
|
|
2016-11-17 09:29:35 -05:00
|
|
|
.rp-state-current-file-expanded & {
|
2016-11-17 06:47:20 -05:00
|
|
|
.ace-editor-body {
|
|
|
|
overflow: visible;
|
2016-11-17 07:02:45 -05:00
|
|
|
.ace_scrollbar-v {
|
2016-11-17 09:29:35 -05:00
|
|
|
right: -@review-panel-width;
|
2016-11-17 07:02:45 -05:00
|
|
|
}
|
2016-11-16 07:31:47 -05:00
|
|
|
}
|
2016-11-17 06:47:20 -05:00
|
|
|
}
|
|
|
|
}
|
2016-11-17 10:33:34 -05:00
|
|
|
|
2016-11-23 09:34:40 -05:00
|
|
|
.rp-toggle {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-02-02 07:08:17 -05:00
|
|
|
padding-left: 5px;
|
2016-11-23 09:34:40 -05:00
|
|
|
}
|
|
|
|
.rp-toggle-hidden-input {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
+ .rp-toggle-btn {
|
|
|
|
display: block;
|
|
|
|
width: 3.5em;
|
|
|
|
height: 1.75em;
|
|
|
|
position: relative;
|
|
|
|
outline: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
padding: 1px;
|
|
|
|
background-color: @rp-highlight-blue;
|
|
|
|
border: 1px solid #FFF;
|
|
|
|
border-radius: .875em;
|
|
|
|
transition: background .15s ease, border-color 0.15s ease;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
2016-11-24 10:55:09 -05:00
|
|
|
width: 50%;
|
|
|
|
height: 100%;
|
2016-11-23 09:34:40 -05:00
|
|
|
position: relative;
|
|
|
|
left: 0;
|
|
|
|
background-color: #FFF;
|
|
|
|
border-radius: .875em;
|
|
|
|
transition: background-color 0.15s ease, color 0.15s ease, left 0.15s ease;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked + .rp-toggle-btn {
|
|
|
|
background-color: @red;
|
|
|
|
border-color: #FFF;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
left: 50%;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 10:33:34 -05:00
|
|
|
.ace-editor-wrapper {
|
|
|
|
.track-changes-marker-callout {
|
|
|
|
border-radius: 0;
|
|
|
|
position: absolute;
|
2017-01-17 10:55:18 -05:00
|
|
|
.rp-state-overview &, .rp-loading-threads & {
|
2016-11-17 10:33:34 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.track-changes-added-marker-callout {
|
|
|
|
border-bottom: 1px dashed @rp-green;
|
|
|
|
}
|
|
|
|
.track-changes-comment-marker-callout {
|
|
|
|
border-bottom: 1px dashed @rp-yellow;
|
|
|
|
}
|
|
|
|
.track-changes-deleted-marker-callout {
|
|
|
|
border-bottom: 1px dashed @rp-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.track-changes-marker {
|
|
|
|
border-radius: 0;
|
|
|
|
position: absolute;
|
2017-01-17 10:55:18 -05:00
|
|
|
.rp-loading-threads & {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-03-16 13:33:01 -04:00
|
|
|
z-index: 6 // Appear above text selection
|
2016-11-17 10:33:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.track-changes-comment-marker {
|
2017-03-16 13:33:01 -04:00
|
|
|
background-color: @rp-yellow;
|
|
|
|
opacity: 0.3;
|
2016-11-17 10:33:34 -05:00
|
|
|
}
|
|
|
|
.track-changes-added-marker {
|
2017-03-16 13:33:01 -04:00
|
|
|
background-color: @rp-green;
|
|
|
|
opacity: 0.3;
|
2016-11-17 10:33:34 -05:00
|
|
|
}
|
|
|
|
.track-changes-deleted-marker {
|
|
|
|
border-left: 2px dotted @rp-red;
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
2017-01-16 11:25:38 -05:00
|
|
|
|
|
|
|
.ace_dark {
|
|
|
|
.track-changes-comment-marker {
|
|
|
|
background-color: @rp-yellow-on-dark
|
|
|
|
}
|
|
|
|
.track-changes-added-marker {
|
|
|
|
background-color: @rp-green-on-dark;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 10:33:34 -05:00
|
|
|
}
|
2016-11-23 11:53:13 -05:00
|
|
|
|
|
|
|
.review-icon {
|
2017-01-17 11:03:41 -05:00
|
|
|
display: inline-block;
|
2016-11-23 11:53:13 -05:00
|
|
|
background: url('/img/review-icon-sprite.png') top/30px no-repeat;
|
|
|
|
width: 30px;
|
2017-01-17 11:03:41 -05:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome.
|
|
|
|
}
|
2016-11-23 11:53:13 -05:00
|
|
|
|
|
|
|
.toolbar .btn-full-height:hover & {
|
|
|
|
background-position-y: -30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar .btn-full-height.active &,
|
|
|
|
.toolbar .btn-full-height:active & {
|
|
|
|
background-position-y: -60px;
|
|
|
|
}
|
2017-02-20 10:37:12 -05:00
|
|
|
|
|
|
|
@media (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
|
|
|
|
background-image: url('/img/review-icon-sprite@2x.png');
|
|
|
|
}
|
2016-11-23 11:53:13 -05:00
|
|
|
}
|
2017-01-05 12:15:27 -05:00
|
|
|
|
|
|
|
.resolved-comments-toggle {
|
2017-01-12 07:37:44 -05:00
|
|
|
font-size: 14px;
|
2017-01-05 12:15:27 -05:00
|
|
|
color: lighten(@rp-type-blue, 25%);
|
|
|
|
border: solid 1px @rp-border-grey;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0 4px;
|
2017-01-12 07:37:44 -05:00
|
|
|
display: block;
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
line-height: 1.4;
|
2017-01-05 12:15:27 -05:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @rp-type-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-11 05:53:46 -05:00
|
|
|
.resolved-comments-backdrop {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
&-visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-01-06 07:00:17 -05:00
|
|
|
|
2017-01-05 12:15:27 -05:00
|
|
|
.resolved-comments-dropdown {
|
|
|
|
display: none;
|
2017-01-06 07:00:17 -05:00
|
|
|
position: absolute;
|
|
|
|
width: 300px;
|
2017-01-06 12:22:22 -05:00
|
|
|
left: -150px;
|
2017-01-19 06:57:49 -05:00
|
|
|
max-height: ~"calc(100vh - 100px)";
|
2017-01-06 12:22:22 -05:00
|
|
|
margin-top: @rp-entry-arrow-width * 1.5;
|
|
|
|
margin-left: 1em;
|
2017-01-06 07:00:17 -05:00
|
|
|
background-color: @rp-bg-blue;
|
|
|
|
text-align: left;
|
2017-01-11 06:25:18 -05:00
|
|
|
align-items: stretch;
|
|
|
|
justify-content: center;
|
2017-01-06 07:00:17 -05:00
|
|
|
border-radius: 3px;
|
2017-01-06 12:22:22 -05:00
|
|
|
box-shadow: 0 0 20px 10px rgba(0, 0, 0, .3);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
.triangle(top, @rp-entry-arrow-width * 3, @rp-entry-arrow-width * 1.5, @rp-bg-blue);
|
|
|
|
top: -@rp-entry-ribbon-width * 2;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -@rp-entry-arrow-width * .75;
|
|
|
|
}
|
2017-01-06 07:00:17 -05:00
|
|
|
|
2017-01-05 12:15:27 -05:00
|
|
|
&-open {
|
2017-01-11 06:25:18 -05:00
|
|
|
display: flex;
|
2017-01-05 12:15:27 -05:00
|
|
|
}
|
|
|
|
}
|
2017-01-11 06:25:18 -05:00
|
|
|
.resolved-comments-scroller {
|
2017-01-18 10:38:34 -05:00
|
|
|
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.
|
2017-01-19 10:43:26 -05:00
|
|
|
max-height: ~"calc(100vh - 100px)"; // We also need to explicitly set the max-height, IE won't compute the flex-determined height.
|
2017-01-11 06:25:18 -05:00
|
|
|
padding: 5px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2017-01-13 10:30:31 -05:00
|
|
|
|
|
|
|
.rp-collapse-toggle {
|
|
|
|
color: @rp-type-blue;
|
|
|
|
font-weight: @rp-semibold-weight;
|
2017-01-13 11:07:08 -05:00
|
|
|
|
2017-01-13 10:30:31 -05:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: darken(@rp-type-blue, 5%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-01-17 12:20:51 -05:00
|
|
|
}
|
|
|
|
|
2017-03-17 13:05:38 -04:00
|
|
|
.rp-in-editor-widgets {
|
2017-01-17 12:20:51 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2017-03-17 13:05:38 -04:00
|
|
|
right: 0;
|
2017-03-20 09:56:36 -04:00
|
|
|
font-size: 11px;
|
2017-03-21 10:28:58 -04:00
|
|
|
z-index: 2;
|
2017-03-17 13:05:38 -04:00
|
|
|
|
|
|
|
.rp-size-mini & {
|
|
|
|
right: @review-off-width;
|
|
|
|
}
|
2017-05-03 11:35:58 -04:00
|
|
|
.rp-size-expanded & {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-03-17 13:05:38 -04:00
|
|
|
}
|
|
|
|
.rp-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;
|
2017-01-17 12:20:51 -05:00
|
|
|
|
2017-03-17 13:05:38 -04:00
|
|
|
&.rp-track-changes-indicator-on-dark {
|
|
|
|
background-color: rgba(88, 88, 88, .8);
|
2017-01-17 12:20:51 -05:00
|
|
|
color: #FFF;
|
2017-03-17 13:05:38 -04:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba(88, 88, 88, 1);
|
|
|
|
color: #FFF;
|
|
|
|
}
|
2017-01-17 12:20:51 -05:00
|
|
|
}
|
|
|
|
|
2017-03-17 13:05:38 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: rgba(240, 240, 240, 1);
|
|
|
|
color: @rp-type-blue;
|
|
|
|
}
|
2017-01-17 12:20:51 -05:00
|
|
|
}
|
2017-01-18 10:38:34 -05:00
|
|
|
|
|
|
|
// 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)
|
|
|
|
.rp-flex-block {
|
|
|
|
display: block;
|
|
|
|
}
|