1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 23:10:57 +01:00
phorge-phorge/webroot/rsrc/css/application/paste/paste.css
Chad Little 7aeefc0cca Add an Experimental Dark Mode to Phabricator
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work.

Test Plan: Visit lots and lots of pages with dark mode on and off.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18227
2017-07-18 06:44:32 -07:00

33 lines
563 B
CSS

/**
* @provides paste-css
*/
.paste-embed {
background: {$paste.content};
border: 1px solid {$paste.border};
border-radius: 3px;
}
.paste-embed .phabricator-source-code-container {
border: none;
}
.paste-embed-head {
border-bottom: 1px solid {$paste.border};
background: {$paste.highlight};
padding: 8px 12px;
}
.paste-embed-head a {
color: {$darkbluetext};
font-weight: bold;
}
.paste-embed-body {
overflow-y: auto;
}
.paste-embed-body .phabricator-source-code-container {
border-top-right-radius: 0;
border-top-left-radius: 0;
}