1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/css/layout/phabricator-timeline-view.css
epriestley 4a3d50bcb5 Improve overflow behavior of Timeline view
Summary:
For text like "MMM", make the right parts of the element scroll.

Also fixed a couple of 1px issues here and there.

Test Plan: Added, viewed UIExamples.

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D4152
2012-12-11 14:02:51 -08:00

247 lines
4.8 KiB
CSS

/**
* @provides phabricator-timeline-view-css
*/
.phabricator-timeline-view {
background: #eeedf0;
}
.phabricator-timeline-event-view {
border-width: 0 0 0 3px;
border-style: solid;
border-color: #c0c5d1;
}
.device-desktop .phabricator-timeline-event-view {
margin-left: 80px;
margin-right: 12px;
position: relative;
}
.device-desktop .phabricator-timeline-spacer {
min-height: 20px;
border-right-width: 0;
}
.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: 28px;
min-height: 28px;
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: #c0c5d1;
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;
z-index: 2;
}
.phabricator-timeline-major-event .phabricator-timeline-title {
background: #f7f7f7;
min-height: 29px;
}
.phabricator-timeline-title {
padding: 0 5px;
overflow-x: auto;
}
.phabricator-timeline-title-with-icon {
padding-left: 33px;
}
.phabricator-timeline-major-event .phabricator-timeline-content
.phabricator-timeline-core-content {
padding: 10px 15px;
}
.phabricator-timeline-core-content {
overflow-x: auto;
}
.device .phabricator-timeline-event-view {
min-height: 23px;
position: relative;
margin-left: 3px;
margin-right: 3px;
border-right-width: 3px;
border-right-style: solid;
}
.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: 0;
left: -3px;
z-index: 3;
}
.phabricator-timeline-icon {
position: absolute;
left: 8px;
top: 8px;
height: 14px;
width: 14px;
}
.phabricator-timeline-extra, .phabricator-timeline-extra a {
font-size: 11px;
font-weight: normal;
color: #888888;
}
.device-desktop .phabricator-timeline-extra {
float: right;
}
.device .phabricator-timeline-extra {
display: block;
text-align: right;
line-height: 16px;
}
.phabricator-timeline-red .phabricator-timeline-border {
border-color: #cc0000;
}
.phabricator-timeline-orange .phabricator-timeline-border {
border-color: #cc7300;
}
.phabricator-timeline-yellow .phabricator-timeline-border {
border-color: #ccc000;
}
.phabricator-timeline-green .phabricator-timeline-border {
border-color: #009b2d;
}
.phabricator-timeline-sky .phabricator-timeline-border {
border-color: #6498cf;
}
.phabricator-timeline-blue .phabricator-timeline-border {
border-color: #00659a;
}
.phabricator-timeline-indigo .phabricator-timeline-border {
border-color: #3a00cc;
}
.phabricator-timeline-violet .phabricator-timeline-border {
border-color: #67009b;
}
.phabricator-timeline-grey .phabricator-timeline-border {
border-color: #999999;
}
.phabricator-timeline-black .phabricator-timeline-border {
border-color: #333333;
}
.phabricator-timeline-red .phabricator-timeline-icon-fill {
background-color: #cc0000;
}
.phabricator-timeline-orange .phabricator-timeline-icon-fill {
background-color: #cc7300;
}
.phabricator-timeline-yellow .phabricator-timeline-icon-fill {
background-color: #ccc000;
}
.phabricator-timeline-green .phabricator-timeline-icon-fill {
background-color: #009b2d;
}
.phabricator-timeline-sky .phabricator-timeline-icon-fill {
background-color: #6498cf;
}
.phabricator-timeline-blue .phabricator-timeline-icon-fill {
background-color: #00659a;
}
.phabricator-timeline-indigo .phabricator-timeline-icon-fill {
background-color: #3a00cc;
}
.phabricator-timeline-violet .phabricator-timeline-icon-fill {
background-color: #67009b;
}
.phabricator-timeline-grey .phabricator-timeline-icon-fill {
background-color: #999999;
}
.phabricator-timeline-black .phabricator-timeline-icon-fill {
background-color: #333333;
}
.phabricator-timeline-shell.anchor-target {
background: rgba(255, 255, 0, 0.50);
box-shadow: 0 0 3px 6px rgba(255, 255, 0, 0.50);
}