1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00
phorge-phorge/webroot/rsrc/css/application/phame/phame.css
Chad Little efb6bb3dcf Add "Blogs" section to PhameHome
Summary: Ref T9927. Adds a "Blogs" section to PhameHome. Removes "New Post" Controller. Adds flipped layout for PHUITwoColumnView

Test Plan:
Test PhameHome, Ponder, New Post, etc. Mobile and Desktop states.

{F1022080}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: johnny-bit, Korvin

Maniphest Tasks: T9927

Differential Revision: https://secure.phabricator.com/D14744
2015-12-12 01:23:09 +00:00

133 lines
2.3 KiB
CSS

/**
* @provides phame-css
*/
.phame-blog-description {
max-width: 800px;
margin: 32px auto;
position: relative;
padding: 0 8px;
}
.phame-blog-description-name {
font-weight: bold;
font-size: {$biggerfontsize};
margin: 0 0 4px 50px;
}
.phame-blog-description-content {
margin-left: 50px;
}
.phame-blog-description-image {
display: inline-block;
background-repeat: no-repeat;
background-size: 100%;
box-shadow: inset 0 0 0 1px rgba(55,55,55,.15);
width: 40px;
height: 40px;
border-radius: 3px;
position: absolute;
}
.phame-blog-description + .phui-property-list-section {
border-top: 1px solid rgba(71, 87, 120, 0.20);
padding-top: 16px;
}
.phame-home-view .phui-document-view.phui-document-view-pro {
margin: 0;
}
.phame-home-view .phui-side-column {
background-color: #fff;
}
.device .phame-home-view .phui-side-column {
background-color: transparent;
}
.phame-blog-list {
margin: 24px 16px 16px 16px;
padding: 16px;
background-color: {$bluebackground};
border-radius: 3px;
}
.device .phame-blog-list {
background-color: #fff;
padding: 8px;
}
.phame-blog-list-item:last-child {
margin-bottom: 0;
}
.phame-blog-list-header {
font-size: {$biggerfontsize};
margin-bottom: 16px;
}
.phame-blog-list-header a {
color: {$darkbluetext};
}
.phame-blog-list-item {
display: block;
color: {$darkgreytext};
height: 24px;
position: relative;
margin-bottom: 8px;
padding-right: 20px;
}
.phame-blog-list-title:hover {
color: {$indigo};
text-decoration: none;
}
.phame-blog-list-image {
display: inline-block;
background-repeat: no-repeat;
background-size: 100%;
box-shadow: inset 0 0 0 1px rgba(55,55,55,.15);
width: 24px;
height: 24px;
border-radius: 3px;
position: absolute;
}
.phame-blog-list-title {
margin-left: 30px;
margin-top: 4px;
display: inline-block;
font-weight: bold;
color: {$bluetext};
width: 190px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.phame-blog-list-new-post {
display: block;
position: absolute;
top: 6px;
right: 0;
}
.phame-blog-list-new-post:hover {
color: {$indigo};
text-decoration: none;
}
.phame-blog-list-new-post:hover .phame-blog-list-icon {
color: {$indigo};
}
.phame-blog-list-icon {
display: block;
height: 14px;
width: 14px;
color: {$lightbluetext};
}