mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
90f5f869ae
- Use a gradient on the main menu. - Slightly darken the application menu. - Use kerned logo text. - Use cleaner logo image. - Adjust search input colors to fit the darker scheme better.
308 lines
5.6 KiB
CSS
308 lines
5.6 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;
|
|
}
|
|
|
|
.phabricator-nav-app {
|
|
width: 149px;
|
|
background: #262b2e;
|
|
border-right: 1px solid #222222;
|
|
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.25);
|
|
z-index: 6;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app {
|
|
top: 43px;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.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-tablet .phabricator-nav-local,
|
|
.device-phone .phabricator-nav-local {
|
|
width: 299px;
|
|
}
|
|
|
|
.phabricator-nav-drag {
|
|
position: fixed;
|
|
top: 44px;
|
|
left: 327px;
|
|
width: 7px;
|
|
bottom: 0;
|
|
z-index: 5;
|
|
|
|
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-tablet .phabricator-nav-drag,
|
|
.device-phone .phabricator-nav-drag {
|
|
display: none;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-collapsed .phabricator-nav-drag {
|
|
left: 215px;
|
|
}
|
|
|
|
.phabricator-nav-col a,
|
|
.phabricator-nav-col span {
|
|
display: block;
|
|
}
|
|
|
|
.phabricator-nav-local {
|
|
left: 150px;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-collapsed .phabricator-nav-local {
|
|
left: 38px;
|
|
}
|
|
|
|
.phabricator-nav-content {
|
|
margin-left: 150px;
|
|
}
|
|
|
|
.has-local-nav .phabricator-nav-content {
|
|
margin-left: 330px;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-collapsed .phabricator-nav-content {
|
|
margin-left: 36px;
|
|
}
|
|
|
|
.device-desktop .has-local-nav.phabricator-nav-app-collapsed
|
|
.phabricator-nav-content {
|
|
margin-left: 216px;
|
|
}
|
|
|
|
.phabricator-nav-col span {
|
|
display: block;
|
|
font-weight: bold;
|
|
padding: 6px 6px 6px 12px;
|
|
color: #222222;
|
|
}
|
|
|
|
.phabricator-nav-col a {
|
|
display: block;
|
|
padding: 3px 6px 3px 24px;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.phabricator-nav-col a.aphront-side-nav-selected {
|
|
background-color: #a1bbe5;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-col a:hover {
|
|
background-color: #3875d7;
|
|
color: #ffffff;
|
|
}
|
|
|
|
a.phabricator-nav-app-item {
|
|
color: #e9e9e9;
|
|
font-weight: normal;
|
|
padding: 4px;
|
|
padding-left: 40px;
|
|
vertical-align: middle;
|
|
line-height: 30px;
|
|
height: 30px;
|
|
|
|
position: relative;
|
|
}
|
|
|
|
a.phabricator-nav-app-item-selected {
|
|
background-color: #55595d;
|
|
}
|
|
|
|
span.phabricator-nav-app-item-icon {
|
|
position: absolute;
|
|
display: block;
|
|
|
|
left: 5px;
|
|
top: 6px;
|
|
background-repeat: no-repeat;
|
|
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
a.phabricator-nav-app-button-expand,
|
|
a.phabricator-nav-app-button-collapse {
|
|
position: fixed;
|
|
display: none;
|
|
left: 0;
|
|
bottom: 0;
|
|
padding: 4px;
|
|
z-index: 7;
|
|
background: #44494d;
|
|
line-height: 14px;
|
|
border-top: 1px solid #222222;
|
|
text-align: center;
|
|
font-size: 11px;
|
|
box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.1);
|
|
color: #c0c0c0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.phabricator-nav-app-button-collapse {
|
|
width: 141px;
|
|
}
|
|
|
|
.phabricator-nav-app-button-expand {
|
|
width: 29px;
|
|
display: none;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-button-expand,
|
|
.device-desktop .phabricator-nav-app-button-collapse {
|
|
display: block;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-collapsed .phabricator-nav-app {
|
|
width: 37px;
|
|
}
|
|
|
|
.phabricator-nav-app-collapsed .phabricator-nav-app-button-collapse {
|
|
display: none;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-app-collapsed
|
|
.phabricator-nav-app-button-expand {
|
|
display: block;
|
|
}
|
|
|
|
.device-desktop .phabricator-nav-head {
|
|
display: none;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-col,
|
|
.device-phone .phabricator-nav-col {
|
|
position: absolute;
|
|
top: 0px;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-app,
|
|
.device-phone .phabricator-nav-app {
|
|
left: -450px;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-local,
|
|
.device-phone .phabricator-nav-local {
|
|
left: -300px;
|
|
}
|
|
|
|
.device-phone .phabricator-nav-head-tablet {
|
|
display: none;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-head-phone {
|
|
display: none;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav,
|
|
.device-phone .phabricator-nav {
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-content,
|
|
.device-phone .phabricator-nav-content {
|
|
width: 100%;
|
|
}
|
|
|
|
.device-tablet .phabricator-nav-content,
|
|
.device-phone .phabricator-nav-content {
|
|
margin-left: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.phabricator-nav-head {
|
|
display: block;
|
|
position: relative;
|
|
height: 43px;
|
|
background: #fafafa;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid #5d5d5d;
|
|
text-align: center;
|
|
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.10),
|
|
0px 1px 2px rgba(0, 0, 0, 0.10);
|
|
}
|
|
|
|
.nav-button {
|
|
background-color: #f3f3f3;
|
|
height: 32px;
|
|
width: 40px;
|
|
margin: 5px 0px;
|
|
display: inline-block;
|
|
border: 1px solid #999999;
|
|
box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.10);
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.nav-button-selected {
|
|
background-color: #c9c9c9;
|
|
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.20);
|
|
}
|
|
|
|
.nav-button + .nav-button {
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.nav-button-w {
|
|
border-radius: 6px 0 0 6px;
|
|
}
|
|
|
|
.nav-button-e {
|
|
border-radius: 0 6px 6px 0;
|
|
}
|
|
|
|
.nav-button-apps {
|
|
background-image: url(/rsrc/image/button_apps.png);
|
|
background-size: 24px auto;
|
|
background-position: center;
|
|
}
|
|
|
|
.nav-button-menu {
|
|
background-image: url(/rsrc/image/button_menu.png);
|
|
background-size: 24px auto;
|
|
background-position: center;
|
|
}
|
|
|
|
.nav-button-content {
|
|
background-image: url(/rsrc/image/button_content.png);
|
|
background-size: 24px auto;
|
|
background-position: center;
|
|
}
|