2013-08-27 12:14:00 +02:00
|
|
|
/**
|
|
|
|
* @provides diviner-shared-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.diviner-monospace {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2013-09-04 20:50:57 +02:00
|
|
|
.diviner-table-view {
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
margin: 0 0 24px;
|
2013-09-04 20:50:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .diviner-table-view {
|
|
|
|
margin: 0 8px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-table-header {
|
|
|
|
padding: 4px 16px;
|
|
|
|
background-color: {$greybackground};
|
|
|
|
border-left: 1px solid {$lightblueborder};
|
|
|
|
border-right: 1px solid {$lightblueborder};
|
|
|
|
border-top: 1px solid {$lightblueborder};
|
|
|
|
display: inline-block;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: {$bluetext};
|
|
|
|
}
|
|
|
|
|
2013-08-27 12:14:00 +02:00
|
|
|
.diviner-return-table-view,
|
|
|
|
.diviner-parameter-table-view {
|
|
|
|
width: 100%;
|
2013-09-04 20:50:57 +02:00
|
|
|
background: {$lightgreybackground};
|
|
|
|
border: 1px solid {$lightblueborder};
|
2013-08-27 12:14:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-return-table-type,
|
|
|
|
.diviner-parameter-table-type {
|
2013-09-04 20:50:57 +02:00
|
|
|
padding: 6px 8px 6px 12px;
|
2013-08-27 12:14:00 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
text-align: right;
|
2013-09-04 20:50:57 +02:00
|
|
|
color: {$bluetext};
|
2013-08-27 12:14:00 +02:00
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-parameter-table-name {
|
2013-09-04 20:50:57 +02:00
|
|
|
padding: 6px 8px;
|
2013-08-27 12:14:00 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-return-table-docs,
|
|
|
|
.diviner-parameter-table-docs {
|
2013-09-04 20:50:57 +02:00
|
|
|
padding: 6px 12px 6px 8px;
|
2013-08-27 12:14:00 +02:00
|
|
|
width: 80%;
|
2013-09-04 20:50:57 +02:00
|
|
|
background-color: #fff;
|
2013-08-27 12:14:00 +02:00
|
|
|
}
|
2013-09-05 21:29:07 +02:00
|
|
|
|
|
|
|
.diviner-document-section {
|
|
|
|
padding: 0 0 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .diviner-document-section {
|
|
|
|
padding: 0 8px 16px 0;
|
|
|
|
}
|
|
|
|
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
.phui-header-shell.diviner-section-header .phui-header-header {
|
2017-07-19 23:38:55 +02:00
|
|
|
color: {$blacktext};
|
2014-03-06 20:28:24 +01:00
|
|
|
font-size: 20px;
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body .diviner-view .diviner-document-section
|
|
|
|
.phui-header-shell.diviner-section-header {
|
|
|
|
padding: 0 24px 8px 0;
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
|
|
margin: 32px 0 16px;
|
2015-06-16 15:46:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body .diviner-document-section .phui-header-shell.phui-bleed-header {
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
padding: 16px 0 0 0;
|
|
|
|
border-bottom: none;
|
2013-09-10 16:26:00 +02:00
|
|
|
}
|
|
|
|
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
body .diviner-view .diviner-section-content .phui-header-shell {
|
|
|
|
margin: 24px 0 8px;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
2013-09-17 18:12:37 +02:00
|
|
|
}
|
|
|
|
|
2013-09-08 18:13:46 +02:00
|
|
|
.diviner-message-not-documented {
|
2013-09-05 21:29:07 +02:00
|
|
|
color: {$lightgreytext};
|
2013-09-08 18:13:46 +02:00
|
|
|
font-style: italic;
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
margin: 12px 0 32px;
|
|
|
|
font-size: {$biggerfontsize};
|
2013-09-05 21:29:07 +02:00
|
|
|
}
|
|
|
|
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
.diviner-document-section .diviner-message-not-documented {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-document-content .phabricator-remarkup.diviner-remarkup-section {
|
|
|
|
padding: 16px 0 32px 0;
|
2013-09-08 18:11:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-atom-signature-name {
|
|
|
|
font-weight: bold;
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
color: {$violet};
|
2013-09-08 18:11:59 +02:00
|
|
|
}
|
2013-09-08 18:12:33 +02:00
|
|
|
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
.diviner-atom-signature {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-header-view .phui-header-header a.diviner-atom-signature-name {
|
2014-03-06 20:28:24 +01:00
|
|
|
color: {$violet};
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-header-view .phui-header-header a.diviner-atom-signature-name:hover {
|
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-list .diviner-atom-signature {
|
2014-03-06 20:28:24 +01:00
|
|
|
margin-left: -16px;
|
2013-09-08 18:12:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-list a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2013-09-08 18:15:22 +02:00
|
|
|
|
|
|
|
.diviner-method-implementation-header {
|
|
|
|
color: {$greytext};
|
|
|
|
margin-bottom: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-method-implementation-inherited {
|
|
|
|
color: {$darkgreytext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-method-implementation-inherited .diviner-method-implementation-header {
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fix excessive padding between method headers and method documentation for
|
|
|
|
* methods with no inherited context.
|
|
|
|
*/
|
2013-09-17 18:12:37 +02:00
|
|
|
.diviner-document-section .phui-header-shell + .phabricator-remarkup {
|
2013-09-08 18:15:22 +02:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
2013-09-08 18:16:55 +02:00
|
|
|
|
2014-03-06 20:28:24 +01:00
|
|
|
.diviner-list {
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
padding-left: 17px;
|
2014-03-06 20:28:24 +01:00
|
|
|
}
|
|
|
|
|
2013-09-10 16:26:00 +02:00
|
|
|
.diviner-list li {
|
2014-03-06 20:28:24 +01:00
|
|
|
line-height: 20px;
|
|
|
|
padding-bottom: 12px;
|
2013-09-10 16:26:00 +02:00
|
|
|
}
|
|
|
|
|
2013-09-10 18:39:50 +02:00
|
|
|
/* - Book Index ----------------------------------------------------------------
|
|
|
|
|
|
|
|
How big lists of book indexes get displayed
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.diviner-book-item {
|
|
|
|
display: block;
|
2014-03-06 20:28:24 +01:00
|
|
|
padding: 6px 16px;
|
|
|
|
margin: 4px -16px;
|
2013-09-10 18:39:50 +02:00
|
|
|
}
|
|
|
|
|
2017-02-14 06:06:01 +01:00
|
|
|
a.diviner-book-item:hover {
|
2013-09-10 18:39:50 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
Redesign Diviner
Summary:
This implements `PHUIDocumentViewPro` which should move to be the base for all documents (Phame, Phriction, Legalpad, Diviner). Overall this feels really good to me, but I'd like to roll it out into Diviner specifically first to work through the issues and then move into other apps and drop `PHUIDocumentView` once everything is converted. Some features are:
- White Background, no border on page
- Table of Contents is move to hidden menu (more space for documentation)
- Property List sits under the document
Some design decisions above are in anticipation of Phriction v3 and Unbeta Phame, specifically commenting and maybe some cool new Remarkup text layout options for Phame.
Test Plan:
Went through tons of pages on Diviner on Desktop, Tablet, Mobile. Bounce back to Phriction to make sure DocumentView CSS changes actually look better there.
{F930518}
{F930519}
{F930520}
{F930521}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: tycho.tatitscheff, joshuaspence, Korvin
Differential Revision: https://secure.phabricator.com/D14374
2015-11-01 17:56:46 +01:00
|
|
|
.device-desktop .diviner-book-item:hover .diviner-book-item-title {
|
|
|
|
color: {$violet};
|
2013-09-10 18:39:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-book-item-title {
|
[Redesign] Swap Slabo for Roboto Slab
Summary: Ref T8099, Moving to Roboto Slab for Document Headers. It's a little less serif-y and fits well with Lato. Also took a pass at cleaning up edge cases in Documents, Diviner, Phriction, Legalpad, and Welcome Screen.
Test Plan: Test Phriction, Diviner, Legalpad, Welcome Screen
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: epriestley, Korvin
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D13439
2015-06-25 18:20:51 +02:00
|
|
|
font-weight: bold;
|
2015-06-16 15:46:53 +02:00
|
|
|
font-size: 15px;
|
[Redesign] Swap Slabo for Roboto Slab
Summary: Ref T8099, Moving to Roboto Slab for Document Headers. It's a little less serif-y and fits well with Lato. Also took a pass at cleaning up edge cases in Documents, Diviner, Phriction, Legalpad, and Welcome Screen.
Test Plan: Test Phriction, Diviner, Legalpad, Welcome Screen
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: epriestley, Korvin
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D13439
2015-06-25 18:20:51 +02:00
|
|
|
color: {$darkbluetext};
|
2013-09-10 18:39:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-book-item-type {
|
|
|
|
color: {$lightgreytext};
|
|
|
|
padding-left: 8px
|
|
|
|
}
|
|
|
|
|
|
|
|
.diviner-book-item-subtitle {
|
|
|
|
display: block;
|
2014-03-06 20:28:24 +01:00
|
|
|
line-height: 20px;
|
|
|
|
color: {$lightgreytext};
|
2013-09-10 18:39:50 +02:00
|
|
|
}
|