mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
0ec3291ff4
Summary: This CSS fix replaces the hard coded white background value by the page.content CSS variable. | Before | After | |---------|---------| |{F332921}|{F332922}| Test Plan: - Flush all Phorge caches - Sign in - Go to question with at least one answer. - Check that the answer block background color is consistent with the theme. - Do these steps for each user interface theme in order to check against regression. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25393
152 lines
2.9 KiB
CSS
152 lines
2.9 KiB
CSS
/**
|
|
* @provides ponder-view-css
|
|
*/
|
|
|
|
.ponder-question-container {
|
|
border-top: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.device .ponder-view-properties {
|
|
border-left: none;
|
|
border-right: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.device .ponder-question-view .phui-timeline-view,
|
|
.device .ponder-question-view .phui-timeline-event-view {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-view-properties .phui-property-list-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-question-view .phui-document-container {
|
|
border: none;
|
|
}
|
|
|
|
.phui-two-column-view .phui-main-column .ponder-question-content
|
|
.phui-box.ponder-answer-wiki {
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.ponder-answer-wiki .phabricator-remarkup {
|
|
padding: 16px;
|
|
}
|
|
|
|
.ponder-question-content .phui-timeline-view {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.ponder-answer-view {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* Indent comments so that are more related to the answer */
|
|
.device-desktop .ponder-answer-view .phui-timeline-view {
|
|
margin-left: 32px;
|
|
}
|
|
|
|
/* Indent input box so that it's more related to answer's comments */
|
|
.device-desktop .ponder-answer-view
|
|
.phui-comment-form-view:not(.remarkup-assist-pinned) {
|
|
margin-left: 94px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-subheader {
|
|
display: inline;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.ponder-question-view .ponder-answer .phui-header-shell {
|
|
padding: 4px 8px 3px 8px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-image-href {
|
|
display: flex;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-view .phui-header-header {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-col1 {
|
|
width: 40px;
|
|
}
|
|
|
|
.ponder-answer-view .ponder-answer-content {
|
|
background-color: {$page.content};
|
|
padding: 16px 16px 0 16px;
|
|
}
|
|
|
|
.device-phone .ponder-answer-view .ponder-answer-content {
|
|
padding: 12px 12px 0 12px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-image {
|
|
height: 30px;
|
|
width: 30px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.ponder-answer-wiki-header {
|
|
font-weight: bold;
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
color: {$bluetext};
|
|
padding-bottom: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.ponder-footer-view {
|
|
text-align: left;
|
|
margin-top: 16px;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.ponder-answer-view .ponder-footer-view {
|
|
margin-top: 16px;
|
|
border-top: 1px solid rgba({$alphagrey}, .15);
|
|
border-bottom: none;
|
|
}
|
|
|
|
body .phui-main-column .ponder-question-content .ponder-answer-view
|
|
.phui-object-box.ponder-answer {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-footer-view .ponder-footer-action {
|
|
padding: 8px 0;
|
|
margin-right: 8px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ponder-answer-section {
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.ponder-add-answer-header {
|
|
margin-top: 64px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.ponder-add-answer-view {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.ponder-question-content div.ponder-question-add-comment-view
|
|
div.phui-box.phui-object-box {
|
|
margin-right: 0;
|
|
margin-left: 62px;
|
|
}
|
|
|
|
.device .ponder-question-content div.ponder-question-add-comment-view
|
|
div.phui-box.phui-object-box {
|
|
margin: 0;
|
|
}
|
|
|
|
.ponder-question-add-comment-view .remarkup-assist-textarea {
|
|
height: 8em;
|
|
}
|