mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
7a96de10f0
Summary: Ref T2222. This restores the "N older comments are hidden." shield to all ApplicationTransactions applications. Roughly the rule this uses is that transactions older than your most recent comment are hidden, under the assumption that you've already read and dealt with them, since you replied afterward. Then we show your last comment to remind/contextualize you, and anything afterward. We also don't hide transactions if we'd only be hiding a handfull, and we never hide the few most recent transactions. This might need some #design help. Test Plan: The tricky part here is the anchor rule, which deals with the case where you follow a link to `T123#4`, but that would normally be hidden. We simulate a click on "show all" if you hit an anchor which is hidden. Here's what it looks like in Maniphest: {F112891} Reviewers: btrahan, chad Reviewed By: btrahan CC: chad, aran Maniphest Tasks: T2222 Differential Revision: https://secure.phabricator.com/D8229
271 lines
4.8 KiB
CSS
271 lines
4.8 KiB
CSS
/**
|
|
* @provides phui-timeline-view-css
|
|
*/
|
|
|
|
.phui-timeline-view {
|
|
padding: 0 16px;
|
|
background-image: url('/rsrc/image/BFCFDA.png');
|
|
background-repeat: repeat-y;
|
|
background-position: 94px;
|
|
}
|
|
|
|
.device-tablet .phui-timeline-view {
|
|
background-position: 31px;
|
|
}
|
|
|
|
.device-phone .phui-timeline-view {
|
|
padding: 0;
|
|
background-position: 20px;
|
|
}
|
|
|
|
.phui-timeline-major-event .phui-timeline-group {
|
|
border-left: 1px solid {$lightblueborder};
|
|
border-right: 1px solid {$lightblueborder};
|
|
}
|
|
|
|
.device-desktop .phui-timeline-event-view {
|
|
margin-left: 62px;
|
|
position: relative;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-event-view.phui-timeline-minor-event {
|
|
margin-left: 65px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-spacer {
|
|
min-height: 16px;
|
|
border-width: 0 0 0 1px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-wedge {
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
position: absolute;
|
|
width: 12px;
|
|
}
|
|
|
|
.device-phone .phui-timeline-minor-event,
|
|
.device-tablet .phui-timeline-minor-event {
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.phui-timeline-major-event .phui-timeline-content {
|
|
border-top: 1px solid {$lightblueborder};
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
}
|
|
|
|
.phui-timeline-title {
|
|
line-height: 18px;
|
|
min-height: 18px;
|
|
position: relative;
|
|
color: {$bluetext};
|
|
}
|
|
|
|
.phui-timeline-minor-event .phui-timeline-title {
|
|
padding: 4px 8px 4px 33px;
|
|
}
|
|
|
|
.phui-timeline-title a {
|
|
font-weight: bold;
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.device-desktop .phui-timeline-wedge {
|
|
left: -12px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-major-event .phui-timeline-wedge {
|
|
top: 24px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-minor-event .phui-timeline-wedge {
|
|
top: 12px;
|
|
left: -18px;
|
|
width: 20px;
|
|
}
|
|
|
|
.phui-timeline-image {
|
|
background-repeat: no-repeat;
|
|
position: absolute;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-major-event .phui-timeline-image {
|
|
width: 50px;
|
|
height: 50px;
|
|
top: 0px;
|
|
left: -62px;
|
|
}
|
|
|
|
.device-desktop .phui-timeline-minor-event .phui-timeline-image {
|
|
width: 26px;
|
|
height: 26px;
|
|
background-size: 26px auto;
|
|
left: -41px;
|
|
}
|
|
|
|
.phui-timeline-major-event .phui-timeline-title {
|
|
background: {$lightgreybackground};
|
|
min-height: 18px;
|
|
}
|
|
|
|
.phui-timeline-title {
|
|
padding: 5px 8px;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.phui-timeline-title-with-icon {
|
|
padding-left: 38px;
|
|
}
|
|
|
|
.phui-timeline-major-event .phui-timeline-content
|
|
.phui-timeline-core-content {
|
|
padding: 16px 12px;
|
|
line-height: 18px;
|
|
background: #fff;
|
|
}
|
|
|
|
.phui-timeline-core-content {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.device .phui-timeline-event-view {
|
|
min-height: 23px;
|
|
position: relative;
|
|
}
|
|
|
|
.device-phone .phui-timeline-event-view {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.device .phui-timeline-image {
|
|
display: none;
|
|
}
|
|
|
|
.device .phui-timeline-spacer {
|
|
min-height: 8px;
|
|
border-width: 0;
|
|
}
|
|
|
|
.phui-timeline-icon-fill {
|
|
position: absolute;
|
|
width: 30px;
|
|
height: 30px;
|
|
background-color: {$lightblueborder};
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.phui-timeline-icon {
|
|
position: absolute;
|
|
left: 8px;
|
|
top: 8px;
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
|
|
.phui-timeline-minor-event .phui-timeline-icon-fill {
|
|
height: 26px;
|
|
width: 26px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.phui-timeline-minor-event .phui-timeline-icon {
|
|
top: 6px;
|
|
left: 6px;
|
|
}
|
|
|
|
.phui-timeline-extra,
|
|
.phui-timeline-extra .phabricator-content-source-view {
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
color: {$lightbluetext};
|
|
}
|
|
|
|
.phui-timeline-title .phui-timeline-extra a {
|
|
font-weight: normal;
|
|
color: {$bluetext};
|
|
}
|
|
|
|
.device-desktop .phui-timeline-extra {
|
|
float: right;
|
|
}
|
|
|
|
.device .phui-timeline-extra {
|
|
display: inline-block;
|
|
line-height: 16px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.device-phone .phui-timeline-extra {
|
|
display: block;
|
|
margin: 0;
|
|
}
|
|
|
|
.phui-timeline-icon-fill-red {
|
|
background-color: {$red};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-orange {
|
|
background-color: {$orange};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-yellow {
|
|
background-color: {$yellow};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-green {
|
|
background-color: {$green};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-sky {
|
|
background-color: {$sky};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-blue {
|
|
background-color: {$blue};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-indigo {
|
|
background-color: {$indigo};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-violet {
|
|
background-color: {$violet};
|
|
}
|
|
|
|
.phui-timeline-icon-fill-grey {
|
|
background-color: #888;
|
|
}
|
|
|
|
.phui-timeline-icon-fill-black {
|
|
background-color: #333;
|
|
}
|
|
|
|
.phui-timeline-shell.anchor-target {
|
|
background: rgba(255, 255, 0, 0.50);
|
|
box-shadow: 0 0 3px 6px rgba(255, 255, 0, 0.50);
|
|
}
|
|
|
|
.phui-timeline-preview-header {
|
|
background: #e0e3ec;
|
|
color: {$darkgreytext};
|
|
padding: 4px 1.25%;
|
|
border: solid {$blueborder} 1px 0;
|
|
}
|
|
|
|
.phui-timeline-change-details {
|
|
padding: 10px 0;
|
|
border-style: solid;
|
|
border-color: #efefef;
|
|
border-width: 1px 0;
|
|
}
|
|
|
|
.phui-timeline-older-transactions-are-hidden {
|
|
background: {$lightyellow};
|
|
border: 1px solid {$yellow};
|
|
text-align: center;
|
|
padding: 12px;
|
|
color: {$darkgreytext};
|
|
margin-top: 16px;
|
|
}
|