1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00
phorge-phorge/webroot/rsrc/css/application/conpherence/header-pane.css
Chad Little 7aeefc0cca Add an Experimental Dark Mode to Phabricator
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work.

Test Plan: Visit lots and lots of pages with dark mode on and off.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18227
2017-07-18 06:44:32 -07:00

130 lines
2.6 KiB
CSS

/**
* @provides conpherence-header-pane-css
*/
.conpherence-header-pane .phui-header-shell {
padding: 8px 16px 10px;
min-height: 38px;
}
.conpherence-header-pane .phui-header-header {
font-size: 16px;
color: {$blacktext};
display: block;
}
.conpherence-header-pane .phui-header-subheader {
padding: 0;
margin: 0;
}
.conpherence-header-pane .conpherence-header-topic .phui-tag-core {
color: {$sh-indigotext};
padding: 0 4px;
font-size: 12px;
margin: 0 8px 0 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-style: italic;
}
.device-phone .conpherence-header-pane .conpherence-header-topic {
display: none;
}
.conpherence-header-pane .phui-header-col1 {
width: 46px;
height: 35px;
}
.conpherence-header-pane .phui-header-image {
height: 35px;
width: 35px;
background-size: 35px;
position: absolute;
top: 4px;
left: 0;
}
.conpherence-header-pane .policy-header-callout {
background: transparent;
font-size: 12px;
margin: 0 8px 0 0;
padding: 3px 0;
font-style: normal;
}
.conpherence-header-pane .phui-header-subheader .policy-link {
color: {$lightbluetext};
}
.conpherence-header-pane .phui-header-subheader .policy-header-callout
.phui-icon-view {
font-size: 12px;
color: {$lightbluetext};
}
.conpherence-header-pane .phui-header-subheader .policy-link:hover {
color: {$darkbluetext};
}
.conpherence-header-pane .phui-header-image-href {
position: inherit;
}
.conpherence-header-pane .phui-header-col2 {
height: 40px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 60%;
max-width: 0;
}
.conpherence-header-pane .phui-header-action-list .phui-header-action-item
.phui-icon-view {
height: 18px;
width: 24px;
font-size: 14px;
line-height: 23px;
display: block;
}
.device .hide-on-device {
display: none;
}
.device-phone .conpherence-header-pane .phui-header-col3 {
vertical-align: middle;
}
.conpherence-participant-toggle.phui-icon-circle {
text-decoration: none;
border-color: {$sky};
cursor: pointer;
}
.conpherence-participant-toggle.phui-icon-circle .phui-icon-view {
color: {$sky};
}
.show-searchbar .conpherence-search-toggle.phui-icon-circle {
text-decoration: none;
border-color: {$green};
cursor: pointer;
}
.show-searchbar .conpherence-search-toggle.phui-icon-circle .phui-icon-view {
color: {$green};
}
.hide-widgets .conpherence-participant-toggle.phui-icon-circle {
text-decoration: none;
border-color: {$lightblueborder};
cursor: pointer;
}
.hide-widgets .conpherence-participant-toggle.phui-icon-circle .phui-icon-view {
color: {$lightblueborder};
}