mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 04:32:43 +01:00
8bcdf42762
Summary: Add a ".device" rule which means "phone or tablet". Simplify about 5000 rules which were written ".device-phone X, device-tablet X { ... }". Test Plan: Browsed the site a bit without incident. Reviewers: chad Reviewed By: chad CC: aran Maniphest Tasks: T1960 Differential Revision: https://secure.phabricator.com/D4103
105 lines
1.7 KiB
CSS
105 lines
1.7 KiB
CSS
/**
|
|
* @provides phabricator-nav-view-css
|
|
*/
|
|
|
|
.jx-drag-col {
|
|
cursor: col-resize;
|
|
}
|
|
|
|
.phabricator-nav-col {
|
|
position: fixed;
|
|
top: 44px;
|
|
left: 0;
|
|
bottom: 0;
|
|
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
z-index: 3;
|
|
}
|
|
|
|
.has-crumbs .phabricator-nav-col {
|
|
top: 76px;
|
|
}
|
|
|
|
.phabricator-nav-local {
|
|
width: 179px;
|
|
background: #ececec;
|
|
|
|
border-right: 1px solid #999c9e;
|
|
box-shadow: inset -3px 0 4px rgba(0, 0, 0, 0.05);
|
|
background-image: url(/rsrc/image/menu_texture.png);
|
|
}
|
|
|
|
.device .phabricator-nav-local {
|
|
display: none;
|
|
}
|
|
|
|
.phabricator-nav-drag {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 179px;
|
|
width: 7px;
|
|
bottom: 0;
|
|
z-index: 4;
|
|
|
|
cursor: col-resize;
|
|
background: #f5f5f5;
|
|
border-style: solid;
|
|
border-width: 0 1px 0 1px;
|
|
border-color: #fff #999c9e #fff #999c9e;
|
|
|
|
box-shadow: inset -1px 0px 1px rgba(0, 0, 0, 0.15);
|
|
|
|
background-image: url(/rsrc/image/divot.png);
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.device .phabricator-nav-drag {
|
|
display: none;
|
|
}
|
|
|
|
.has-local-nav .phabricator-nav-content {
|
|
margin-left: 180px;
|
|
}
|
|
|
|
.device-desktop .has-local-nav .phabricator-nav-content {
|
|
margin-left: 178px;
|
|
}
|
|
|
|
.device-desktop .local-nav-collapsed .phabricator-nav-local {
|
|
width: 0px !important;
|
|
}
|
|
|
|
.device-desktop .local-nav-collapsed .phabricator-nav-drag {
|
|
display: none;
|
|
}
|
|
|
|
.device-desktop .local-nav-collapsed .phabricator-nav-content {
|
|
margin-left: 2.5em !important;
|
|
}
|
|
|
|
.device .phabricator-nav-col {
|
|
position: absolute;
|
|
top: 0px;
|
|
}
|
|
|
|
.device .phabricator-nav-local {
|
|
left: -300px;
|
|
}
|
|
|
|
.device .phabricator-nav {
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.device .phabricator-nav-content {
|
|
width: 100%;
|
|
}
|
|
|
|
.device .phabricator-nav-content {
|
|
margin-left: 0;
|
|
position: relative;
|
|
}
|