2016-11-09 10:39:01 -05:00
|
|
|
@rp-bg-blue : #dadfed;
|
|
|
|
@rp-bg-dim-blue : #fafafa;
|
|
|
|
@rp-highlight-blue : #8a96b5;
|
|
|
|
|
|
|
|
@rp-border-grey : #d9d9d9;
|
|
|
|
|
|
|
|
@rp-green : #2c8e30;
|
|
|
|
@rp-dim-green : #cae3cb;
|
|
|
|
@rp-red : #c5060b;
|
|
|
|
@rp-dim-red : #f3cdce;
|
|
|
|
@rp-yellow : #f3b111;
|
|
|
|
@rp-dim-yellow : #ffe9b2;
|
|
|
|
|
|
|
|
@rp-type-blue : #6b7797;
|
|
|
|
@rp-type-darkgrey : #3f3f3f;
|
|
|
|
|
|
|
|
@review-panel-width : 230px;
|
2016-10-13 09:22:23 -04:00
|
|
|
|
2016-10-12 12:27:20 -04:00
|
|
|
#review-panel {
|
|
|
|
position: absolute;
|
2016-10-13 09:22:23 -04:00
|
|
|
width: @review-panel-width;
|
2016-10-12 12:27:20 -04:00
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 0px;
|
2016-11-09 10:39:01 -05:00
|
|
|
background-color: @rp-bg-blue;
|
|
|
|
border-left: solid 1px @rp-border-grey;
|
2016-10-12 12:27:20 -04:00
|
|
|
overflow: hidden;
|
2016-10-13 09:22:23 -04:00
|
|
|
display: none;
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
2016-11-08 11:43:01 -05:00
|
|
|
.review-panel-toolbar {
|
|
|
|
height: 32px;
|
|
|
|
padding: 6px;
|
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;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2016-10-12 12:27:20 -04:00
|
|
|
.review-panel-scroller {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2016-10-13 09:25:46 -04:00
|
|
|
// TODO: Use a more cross-browser method of hiding the scroll bar
|
2016-10-12 12:27:20 -04:00
|
|
|
right: -30px; // Hide scroll bar
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-entry-list {
|
|
|
|
position: relative;
|
2016-10-13 09:22:23 -04:00
|
|
|
width: @review-panel-width;;
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-entry {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 12px;
|
2016-11-09 10:58:03 -05:00
|
|
|
padding: 5px 5px 5px 9px;
|
|
|
|
border-left: solid 4px transparent;
|
|
|
|
border-radius: 3px;
|
2016-10-12 12:27:20 -04:00
|
|
|
margin: 0 6px;
|
2016-11-09 10:58:03 -05:00
|
|
|
background-color: #FFF;
|
2016-10-12 12:27:20 -04:00
|
|
|
max-width: 148px;
|
|
|
|
word-wrap: break-word;
|
2016-11-09 11:00:02 -05:00
|
|
|
|
|
|
|
&-insert {
|
|
|
|
border-left-color: @rp-green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-delete {
|
|
|
|
border-left-color: @rp-red;
|
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
|
|
|
|
2016-10-13 09:22:23 -04:00
|
|
|
.has-review-panel {
|
|
|
|
#editor {
|
|
|
|
right: @review-panel-width;;
|
|
|
|
left: 0px;
|
|
|
|
width: auto;
|
|
|
|
.ace-editor-body {
|
|
|
|
overflow: visible;
|
|
|
|
.ace_scrollbar-v {
|
|
|
|
right: -@review-panel-width;;
|
|
|
|
}
|
2016-10-12 12:27:20 -04:00
|
|
|
}
|
2016-10-11 09:24:01 -04:00
|
|
|
}
|
2016-10-13 09:22:23 -04:00
|
|
|
#review-panel {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-10-11 09:24:01 -04:00
|
|
|
}
|