1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-11 08:06:13 +01:00
phorge-phorge/webroot/rsrc/css/application/conpherence/header-pane.css
Bob Trahan 6c5d98bb5e Conpherence - fix a few bugs
Summary:
1) make the page title and uri update appropos to selected widget 2) make a behavior actually listen 3) fix the css so the button can always be clicked to edit metadata

Ref T3035 as I was trying to repro the metadata edit bug there and couldn't.

Test Plan: made the window small enought to have all the widgets visible and be in "device mode". noted page title and uri updated correctly from Conpherence and /conphernece/ to Thread Title and /conpherence/$id/ when toggling between thread list and current thread. made the window small enough to have the title and subtitle fields overlap with the edit button.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, chad

Maniphest Tasks: T3035

Differential Revision: https://secure.phabricator.com/D5754
2013-04-22 16:18:18 -07:00

97 lines
1.7 KiB
CSS

/**
* @provides conpherence-header-pane-css
*/
.conpherence-header-pane {
border-bottom: 1px solid #ccc;
height: 80px;
width: 100%;
}
.device .conpherence-header-pane {
display: none;
}
.conpherence-header-pane .edit {
float: right;
margin: 16px 16px 0px 0px;
height: 50px;
width: 50px;
background-image: url('/rsrc/image/actions/edit.png');
}
.conpherence-header-pane .header-image {
position: absolute;
top: 15px;
left: 15px;
height: 50px;
width: 50px;
}
.conpherence-header-pane .custom-header-image {
position: absolute;
top: 0px;
left: 0px;
height: 80px;
width: 120px;
}
.conpherence-header-pane .title {
position: absolute;
font-size: 16px;
font-weight: bold;
left: 77px;
top: 21px;
right: 66px;
overflow-x: auto;
}
.conpherence-header-pane .custom-title {
position: absolute;
font-size: 16px;
font-weight: bold;
left: 132px;
top: 21px;
right: 66px;
overflow-x: auto;
}
.conpherence-header-pane .subtitle {
position: absolute;
left: 77px;
top: 40px;
right: 66px;
color: #bfbfbf;
}
.conpherence-header-pane .custom-subtitle {
position: absolute;
left: 132px;
top: 40px;
right: 66px;
color: #bfbfbf;
}
.conpherence-header-pane .upload-photo {
display: none;
}
.conpherence-header-upload-photo .upload-photo {
display: block;
width: 100%;
padding: 32px;
font-size: 16px;
background: #99ff99;
border-color: #669966;
}
.conpherence-header-upload-photo .edit,
.conpherence-header-upload-photo .header-image,
.conpherence-header-upload-photo .custom-header-image,
.conpherence-header-upload-photo .title,
.conpherence-header-upload-photo .custom-title,
.conpherence-header-upload-photo .subtitle,
.conpherence-header-upload-photo .custom-subtitle {
display: none;
}