mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
ae27ce0f7d
Summary: Improves timeline legebility by pulling date inline with title in timeline mobile. Test Plan: shrink screen for a task, see new layout Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D7236
259 lines
4.9 KiB
CSS
259 lines
4.9 KiB
CSS
/**
|
|
* @provides phabricator-timeline-view-css
|
|
*/
|
|
|
|
.phabricator-timeline-view {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.device-phone .phabricator-timeline-view {
|
|
padding: 0;
|
|
}
|
|
|
|
.phabricator-timeline-group {
|
|
border-width: 0 3px;
|
|
border-style: solid;
|
|
border-color: #c0c5d1;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-event-view {
|
|
margin-left: 70px;
|
|
position: relative;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-spacer {
|
|
min-height: 20px;
|
|
border-width: 0 0 0 3px;
|
|
border-style: solid;
|
|
border-color: #c0c5d1;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-major-event,
|
|
.device-desktop .phabricator-timeline-minor-event {
|
|
border-right-width: 3px;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-wedge {
|
|
border-bottom: 3px solid #c0c5d1;
|
|
position: absolute;
|
|
width: 20px;
|
|
}
|
|
|
|
.phabricator-timeline-content {
|
|
background: #ffffff;
|
|
border-style: solid;
|
|
border-color: #c0c5d1;
|
|
border-width: 1px 0;
|
|
}
|
|
|
|
.phabricator-timeline-title {
|
|
line-height: 18px;
|
|
min-height: 18px;
|
|
position: relative;
|
|
}
|
|
|
|
.phabricator-timeline-title a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-wedge {
|
|
left: -20px;
|
|
}
|
|
.device-desktop .phabricator-timeline-major-event .phabricator-timeline-wedge {
|
|
top: 24px;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-minor-event .phabricator-timeline-wedge {
|
|
top: 12px;
|
|
}
|
|
|
|
.phabricator-timeline-image {
|
|
background-repeat: no-repeat;
|
|
position: absolute;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-major-event .phabricator-timeline-image {
|
|
width: 50px;
|
|
height: 50px;
|
|
top: 0px;
|
|
left: -70px;
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-minor-event .phabricator-timeline-image {
|
|
width: 30px;
|
|
height: 30px;
|
|
background-size: 30px auto;
|
|
left: -45px;
|
|
}
|
|
|
|
.phabricator-timeline-major-event .phabricator-timeline-title {
|
|
background: {$lightgreybackground};
|
|
min-height: 18px;
|
|
}
|
|
|
|
.phabricator-timeline-title {
|
|
padding: 5px;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.phabricator-timeline-title-with-icon {
|
|
padding-left: 33px;
|
|
}
|
|
|
|
.phabricator-timeline-major-event .phabricator-timeline-content
|
|
.phabricator-timeline-core-content {
|
|
padding: 12px;
|
|
}
|
|
|
|
.phabricator-timeline-core-content {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.device .phabricator-timeline-event-view {
|
|
min-height: 23px;
|
|
position: relative;
|
|
margin-left: 3px;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.device .phabricator-timeline-image {
|
|
display: none;
|
|
}
|
|
|
|
.device .phabricator-timeline-spacer {
|
|
min-height: 8px;
|
|
border-width: 0;
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill {
|
|
position: absolute;
|
|
width: 30px;
|
|
height: 30px;
|
|
background-color: #c0c5d1;
|
|
top: -1px;
|
|
left: -3px;
|
|
}
|
|
|
|
.phabricator-timeline-icon {
|
|
position: absolute;
|
|
left: 9px;
|
|
top: 8px;
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
|
|
.phabricator-timeline-extra, .phabricator-timeline-extra a {
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.device-desktop .phabricator-timeline-extra {
|
|
float: right;
|
|
}
|
|
|
|
.device .phabricator-timeline-extra {
|
|
display: inline-block;
|
|
line-height: 16px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.phabricator-timeline-red .phabricator-timeline-border {
|
|
border-color: {$red};
|
|
}
|
|
|
|
.phabricator-timeline-orange .phabricator-timeline-border {
|
|
border-color: {$orange};
|
|
}
|
|
|
|
.phabricator-timeline-yellow .phabricator-timeline-border {
|
|
border-color: {$yellow};
|
|
}
|
|
|
|
.phabricator-timeline-green .phabricator-timeline-border {
|
|
border-color: {$green};
|
|
}
|
|
|
|
.phabricator-timeline-sky .phabricator-timeline-border {
|
|
border-color: {$sky};
|
|
}
|
|
|
|
.phabricator-timeline-blue .phabricator-timeline-border {
|
|
border-color: {$blue};
|
|
}
|
|
|
|
.phabricator-timeline-indigo .phabricator-timeline-border {
|
|
border-color: {$indigo};
|
|
}
|
|
|
|
.phabricator-timeline-violet .phabricator-timeline-border {
|
|
border-color: {$violet};
|
|
}
|
|
|
|
.phabricator-timeline-grey .phabricator-timeline-border {
|
|
border-color: #888;
|
|
}
|
|
|
|
.phabricator-timeline-black .phabricator-timeline-border {
|
|
border-color: #333;
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-red {
|
|
background-color: {$red};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-orange {
|
|
background-color: {$orange};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-yellow {
|
|
background-color: {$yellow};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-green {
|
|
background-color: {$green};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-sky {
|
|
background-color: {$sky};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-blue {
|
|
background-color: {$blue};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-indigo {
|
|
background-color: {$indigo};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-violet {
|
|
background-color: {$violet};
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-grey {
|
|
background-color: #888;
|
|
}
|
|
|
|
.phabricator-timeline-icon-fill-black {
|
|
background-color: #333;
|
|
}
|
|
|
|
.phabricator-timeline-shell.anchor-target {
|
|
background: rgba(255, 255, 0, 0.50);
|
|
box-shadow: 0 0 3px 6px rgba(255, 255, 0, 0.50);
|
|
}
|
|
|
|
.phabricator-timeline-preview-header {
|
|
background: #e0e3ec;
|
|
color: {$darkgreytext};
|
|
padding: 4px 1.25%;
|
|
border: solid #c0c5d1 1px 0;
|
|
}
|
|
|
|
.phabricator-timeline-change-details {
|
|
padding: 10px 0;
|
|
border-style: solid;
|
|
border-color: #efefef;
|
|
border-width: 1px 0;
|
|
}
|