1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/webroot/rsrc/css/application/project/project-view.css
Chad Little 0bb5dd88c8 Always pre-wrap code blocks
Summary: Fixes T11416. Unclear what the side-effects of this would be, so bark if you find something. Previously, we'd have to overflow and scroll, which is kind of a pain since you're hiding content on long code blocks. This just wraps long lines, and preserves line breaks globally.

Test Plan: Test feed, profile, comments, inline comments, triple backticks.

Reviewers: avivey, epriestley

Reviewed By: avivey, epriestley

Subscribers: Korvin

Maniphest Tasks: T11416

Differential Revision: https://secure.phabricator.com/D16361
2016-08-02 11:46:43 -07:00

93 lines
1.9 KiB
CSS

/**
* @provides project-view-css
*/
.project-view-header-tag {
margin-left: 8px;
font-size: {$normalfontsize};
color: {$bluetext};
font-family: {$fontfamily};
font-weight: normal;
}
.device-phone .project-view-header-tag {
display: block;
margin-left: -4px;
}
.project-view-header-tag .phui-icon-view {
color: {$bluetext};
}
.device .project-view-home .phui-two-column-row {
display: flex;
flex-direction: column-reverse;
}
.project-view-home .phui-box.project-view-properties {
margin: 0 0 16px 0;
padding: 0;
border: 1px solid rgba({$alphagrey}, .2);
background-color: #fff;
}
.device-desktop .phui-two-column-view .project-view-properties
.phui-property-list-container {
padding: 12px 0;
}
.device-phone .phui-box.project-view-properties {
margin: 0 12px 0 12px;
}
.project-view-properties .phui-property-list-container +
.phui-property-list-text-content {
border-color: rgba({$alphagrey},.2);
}
.project-view-properties .phui-property-list-key {
width: auto;
margin-left: 4px;
}
.project-view-properties .phui-property-list-section-header {
border: none;
padding: 12px 4px 0;
}
.project-view-feed.phui-object-box.phui-box-border {
border: 1px solid rgba({$alphagrey}, .2);
}
.project-view-home .phui-box-grey {
padding: 0;
}
.project-view-home .phui-box-grey .phui-header-shell {
padding: 6px 6px 6px 12px;
}
.project-view-home .phui-box-grey .phui-header-header {
font-size: {$biggerfontsize};
}
.project-view-home .phui-box-grey .phui-header-action-link {
margin-top: 0;
margin-bottom: 0;
}
.project-view-home .phui-box-grey .phui-object-item-list-view {
padding: 4px 8px 0 8px;
}
.project-view-badges .phui-badge-flex-view {
background-color: #fff;
}
.project-view-home .phui-box-grey .phui-object-item-attribute .phui-icon-view {
color: {$lightgreytext};
}
.profile-no-badges {
padding: 24px 0;
}