2020-04-21 22:02:36 +02:00
|
|
|
/**
|
|
|
|
* @provides diff-tree-view-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.diff-tree-view {
|
2020-04-21 23:27:27 +02:00
|
|
|
margin: 0 4px;
|
2020-04-21 22:02:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path {
|
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
2020-04-22 00:52:35 +02:00
|
|
|
color: {$greytext};
|
2020-04-22 19:56:09 +02:00
|
|
|
border-left: 4px solid transparent;
|
2020-04-21 22:02:36 +02:00
|
|
|
}
|
|
|
|
|
2020-04-21 23:27:27 +02:00
|
|
|
.diff-tree-path-indent {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-04-21 22:02:36 +02:00
|
|
|
.diff-tree-path-icon {
|
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-04-22 00:52:35 +02:00
|
|
|
.diff-tree-path-icon .phui-icon-view {
|
|
|
|
color: {$greytext};
|
|
|
|
}
|
|
|
|
|
2020-04-21 22:02:36 +02:00
|
|
|
.diff-tree-path-name {
|
2020-04-22 00:52:35 +02:00
|
|
|
margin-left: 22px;
|
2020-04-21 23:27:27 +02:00
|
|
|
margin-right: 44px;
|
2020-04-21 22:02:36 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-changeset {
|
|
|
|
cursor: pointer;
|
|
|
|
color: {$darkbluetext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-focused {
|
|
|
|
background: {$darkgreybackground};
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .diff-tree-path-changeset:hover {
|
|
|
|
background: {$lightblueborder};
|
|
|
|
transition: 0.1s;
|
|
|
|
}
|
2020-04-21 23:27:27 +02:00
|
|
|
|
2020-04-22 19:56:09 +02:00
|
|
|
.diff-tree-view .diff-tree-path-changeset.diff-tree-path-selected {
|
|
|
|
/* Rule is intentionally more specific than "hover". */
|
|
|
|
background: {$yellow};
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-low-importance .diff-tree-path-name {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2020-04-22 22:13:15 +02:00
|
|
|
.diff-tree-path-hidden {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-icon-hidden,
|
|
|
|
.diff-tree-path-hidden .diff-tree-path-icon-kind {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-hidden .diff-tree-path-icon-hidden {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-04-22 19:56:09 +02:00
|
|
|
.diff-tree-path-owned {
|
|
|
|
border-left-color: {$orange};
|
|
|
|
box-shadow: inset 2px 0 {$lightorange};
|
|
|
|
}
|
|
|
|
|
2020-04-21 23:27:27 +02:00
|
|
|
.diff-tree-path-inlines {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
text-align: center;
|
|
|
|
top: 2px;
|
|
|
|
height: 16px;
|
|
|
|
line-height: 14px;
|
|
|
|
width: 36px;
|
|
|
|
font-size: {$smallerfontsize};
|
|
|
|
color: {$greytext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-inlines-visible {
|
|
|
|
display: block;
|
|
|
|
background: {$lightblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-tree-path-inlines-completed {
|
|
|
|
background: {$darkgreybackground};
|
|
|
|
color: {$lightgreytext};
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|