2012-12-07 13:35:17 -08:00
|
|
|
/**
|
2015-01-23 11:35:09 -08:00
|
|
|
* @provides phui-crumbs-view-css
|
2012-12-07 13:35:17 -08:00
|
|
|
*/
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumbs-view {
|
2012-12-07 13:35:17 -08:00
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: top;
|
2016-08-01 12:06:35 -07:00
|
|
|
padding: 0 12px 0 20px;
|
2012-12-07 13:37:45 -08:00
|
|
|
/* TODO: Position this over the slider for Differential's file tree view.
|
|
|
|
Remove this once that gets sorted out. */
|
|
|
|
position: relative;
|
2014-05-25 13:18:51 -07:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2016-08-01 12:06:35 -07:00
|
|
|
background-color: {$page.background};
|
2012-12-07 13:35:17 -08:00
|
|
|
}
|
|
|
|
|
2016-09-08 18:46:19 -07:00
|
|
|
.printable .phui-crumbs-view {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumbs-view,
|
|
|
|
.phui-crumbs-view a.phui-crumb-view,
|
|
|
|
.phui-crumbs-view a.phui-crumbs-action {
|
2014-06-09 16:06:20 -07:00
|
|
|
color: {$darkbluetext};
|
2012-12-07 13:35:17 -08:00
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2016-05-21 12:08:47 -07:00
|
|
|
.device-tablet .phui-crumbs-view,
|
|
|
|
.device-phone .phui-crumbs-view,
|
|
|
|
.project-board-nav .phui-crumbs-view {
|
2015-01-27 10:24:28 -08:00
|
|
|
padding-left: 8px;
|
2016-07-26 12:08:32 -07:00
|
|
|
padding-right: 8px;
|
2015-01-27 10:24:28 -08:00
|
|
|
}
|
|
|
|
|
2015-11-07 11:57:34 -08:00
|
|
|
.phui-crumbs-view a.phui-crumbs-action-disabled,
|
|
|
|
.phui-crumbs-view a.phui-crumbs-action-disabled .phui-icon-view {
|
2013-10-14 18:21:06 -07:00
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumbs-view + .phui-header-shell {
|
2013-03-15 17:16:39 -07:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.device-desktop .phui-crumbs-view a:hover {
|
2012-12-08 08:35:20 -08:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumb-view {
|
2014-08-25 12:46:30 -07:00
|
|
|
float: left;
|
2015-01-26 08:27:54 -08:00
|
|
|
padding: 8px 0;
|
2017-03-06 10:36:35 -08:00
|
|
|
max-width: 240px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2015-02-02 10:34:42 -08:00
|
|
|
.device-phone .phui-crumb-view.phabricator-last-crumb .phui-crumb-name,
|
2018-05-09 11:25:08 -07:00
|
|
|
.device-phone .phui-crumb-view.phui-crumb-always-visible .phui-crumb-name,
|
|
|
|
.device-phone .phui-crumb-view.phui-crumb-always-visible + .phui-crumb-divider,
|
2015-02-02 10:34:42 -08:00
|
|
|
.device-phone .phui-crumb-view.phui-crumb-has-icon,
|
|
|
|
.device-phone .phui-crumb-has-icon + .phui-crumb-divider {
|
2013-03-26 13:15:15 -07:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2015-02-02 10:34:42 -08:00
|
|
|
.device-phone .phui-crumb-name,
|
|
|
|
.device-phone .phui-crumb-divider {
|
2015-01-26 08:27:54 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-crumb-has-icon .phui-icon-view {
|
|
|
|
margin: 0 4px;
|
2012-12-07 13:35:17 -08:00
|
|
|
}
|
|
|
|
|
Strike through archived projects in navigation crumbs
Summary:
Going to e.g. the workboard of an archived project, there is no indication when the project has been archived (the blurred project icon is only displayed if the viewport width is >920px). This can lead to confusion why a workboard is completely empty.
Thus render an archived project as strike-through in the navigation bread crumbs.
Closes T15890
Test Plan:
* Go to the {Profile, Workboard, Reports, Members, Subprojects, Reports} pages of an active and an archived project and look at the navigation crumbs bar below Phorge's global top bar.
* Create an active subproject and active milestone of an archived project (and vice versa) and look at the navigation crumbs.
Reviewers: O1 Blessed Committers, valerio.bozzolan
Reviewed By: O1 Blessed Committers, valerio.bozzolan
Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Tags: #projects
Maniphest Tasks: T15890
Differential Revision: https://we.phorge.it/D25774
2025-02-03 18:53:21 +01:00
|
|
|
.phui-crumb-strikethrough > .phui-crumb-name {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.device-phone .phui-crumb-icon {
|
2013-03-26 13:15:15 -07:00
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumbs-actions {
|
2012-12-07 13:35:17 -08:00
|
|
|
float: right;
|
2014-04-27 09:48:31 -07:00
|
|
|
white-space: nowrap;
|
2012-12-07 13:35:17 -08:00
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumbs-action {
|
2012-12-07 13:35:17 -08:00
|
|
|
display: inline-block;
|
|
|
|
height: 17px;
|
2014-05-25 13:18:51 -07:00
|
|
|
padding: 8px 12px;
|
2012-12-07 13:35:17 -08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.device-phone a.phui-crumbs-action {
|
2015-02-02 10:34:42 -08:00
|
|
|
padding: 8px 6px;
|
2014-05-25 13:18:51 -07:00
|
|
|
}
|
|
|
|
|
2015-01-26 08:27:54 -08:00
|
|
|
.device-desktop .phui-crumbs-view a:hover,
|
|
|
|
.device-desktop .phui-crumbs-view a:hover .phui-icon-view {
|
2015-05-22 12:50:01 -07:00
|
|
|
color: {$blue};
|
2014-05-25 13:18:51 -07:00
|
|
|
text-decoration: none;
|
2013-03-26 13:15:15 -07:00
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.device-phone .phui-crumbs-action-name {
|
2013-03-26 13:15:15 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
a.phui-crumbs-action .phui-icon-view {
|
2014-06-09 16:06:20 -07:00
|
|
|
color: {$darkbluetext};
|
2013-03-26 13:15:15 -07:00
|
|
|
}
|
|
|
|
|
2016-02-10 15:31:02 +00:00
|
|
|
a.phui-crumbs-action .phui-crumbs-action-name {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.device-phone a.phui-crumbs-action .phui-icon-view {
|
2016-02-10 15:31:02 +00:00
|
|
|
margin-left: 4px;
|
2012-12-07 13:35:17 -08:00
|
|
|
}
|
|
|
|
|
2015-01-23 11:35:09 -08:00
|
|
|
.phui-crumb-divider {
|
2015-01-26 08:27:54 -08:00
|
|
|
margin: 2px 8px;
|
2012-12-07 13:35:17 -08:00
|
|
|
}
|
2015-01-28 09:33:49 -08:00
|
|
|
|
2015-05-22 12:50:01 -07:00
|
|
|
.phui-crumbs-view.phui-crumbs-border {
|
2016-02-14 21:29:56 -08:00
|
|
|
border-bottom: 1px solid rgba({$alphagrey},.1);
|
2015-05-22 12:50:01 -07:00
|
|
|
}
|
|
|
|
|
2015-02-02 09:38:59 -08:00
|
|
|
body .phui-crumbs-view + .phui-object-box {
|
2015-01-28 09:33:49 -08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-14 11:35:51 -08:00
|
|
|
body .phui-crumbs-view + .phui-oi-list-view {
|
2015-01-28 09:33:49 -08:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
2016-02-10 15:31:02 +00:00
|
|
|
|
|
|
|
.phui-crumb-action-divider {
|
|
|
|
border-left: 1px solid {$lightgreyborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-crumbs-action-icon + .phui-crumbs-action-icon {
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|