overleaf/services/web/public/stylesheets/less/trackchanges.less

100 lines
1.7 KiB
Text
Raw Normal View History

2014-03-06 11:32:18 -05:00
@changesListWidth: 250px;
@changesListPadding: 10px;
#trackChangesPanel {
.track-changes-diff {
position: absolute;
2014-03-06 11:32:18 -05:00
right: @changesListWidth + 1px;
2014-03-06 09:08:12 -05:00
left: 0;
top: 0;
bottom: 0;
padding: 0px 12px;
height: 100%;
2014-03-06 09:08:12 -05:00
.ace_editor {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
.track-changes-side-bar {
border-left: 1px solid #999;
height: 100%;
2014-03-06 11:32:18 -05:00
width: @changesListWidth;
position: absolute;
right: 0;
2014-03-07 06:24:11 -05:00
background-color: white;
}
.change-list-area {
overflow: scroll;
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
}
2014-03-06 09:08:12 -05:00
.deleted-change-background, .deleted-change-foreground, .inserted-change, .change-name-marker {
position: absolute;
z-index: 2;
}
.change-name-marker {
.name {
font-size: 0.8em;
padding: 2px 6px;
.border-radius(3px 3px 3px 3px);
position: absolute;
border: 1px solid #999;
2014-03-06 09:08:12 -05:00
left: 0;
}
}
2014-03-06 11:32:18 -05:00
ul.change-list {
li {
2014-03-07 06:24:11 -05:00
padding: 6px 4px;
2014-03-06 11:32:18 -05:00
position: relative;
2014-03-07 06:24:11 -05:00
border-bottom: 1px solid #ccc;
cursor: pointer;
2014-03-06 11:32:18 -05:00
.change-selectors {
position: absolute;
top: 4px;
2014-03-07 06:24:11 -05:00
left: 6px;
2014-03-06 11:32:18 -05:00
.change-selector-from {
position: absolute;
top: 0;
left: 0;
}
.change-selector-to {
position: absolute;
top: 0;
left: 20px;
}
}
.change-description {
2014-03-07 06:24:11 -05:00
padding-left: 42px;
}
.change-name {
font-size: 0.9em;
color: #666;
text-transform: capitalize;
2014-03-07 06:24:11 -05:00
}
.color-square {
display: inline-block;
height: 10px;
width: 10px;
margin-right: 4px;
margin-bottom: -1px;
}
2014-03-07 06:24:11 -05:00
&:hover {
background-color: #eaeaea;
2014-03-06 11:32:18 -05:00
}
}
li.selected {
2014-03-07 06:24:11 -05:00
background-color: #eaeaea;
2014-03-06 11:32:18 -05:00
}
}
}