1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 07:50:57 +01:00

Minor Differential CSS tweaks

Summary: Fixes notices, uses standard colors for TODOs. Mutes comments just a hair.

Test Plan: Will test on epriestley. Also Differentail and Diffusion.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T3952

Differential Revision: https://secure.phabricator.com/D7311
This commit is contained in:
Chad Little 2013-10-14 13:12:36 -07:00
parent cb64bef3c5
commit e1e17a3378
2 changed files with 49 additions and 45 deletions

View file

@ -1031,7 +1031,7 @@ celerity_register_resource_map(array(
),
'differential-changeset-view-css' =>
array(
'uri' => '/res/5fd9d5c0/rsrc/css/application/differential/changeset-view.css',
'uri' => '/res/333e7039/rsrc/css/application/differential/changeset-view.css',
'type' => 'css',
'requires' =>
array(
@ -4368,7 +4368,7 @@ celerity_register_resource_map(array(
'uri' => '/res/pkg/4ccfeb47/darkconsole.pkg.js',
'type' => 'js',
),
'4dc2311c' =>
'1b8a291d' =>
array(
'name' => 'differential.pkg.css',
'symbols' =>
@ -4387,7 +4387,7 @@ celerity_register_resource_map(array(
11 => 'differential-local-commits-view-css',
12 => 'inline-comment-summary-css',
),
'uri' => '/res/pkg/4dc2311c/differential.pkg.css',
'uri' => '/res/pkg/1b8a291d/differential.pkg.css',
'type' => 'css',
),
'5e9e5c4e' =>
@ -4507,21 +4507,21 @@ celerity_register_resource_map(array(
'aphront-tokenizer-control-css' => '0ed58ed4',
'aphront-tooltip-css' => '0ed58ed4',
'aphront-typeahead-control-css' => '0ed58ed4',
'differential-changeset-view-css' => '4dc2311c',
'differential-core-view-css' => '4dc2311c',
'differential-changeset-view-css' => '1b8a291d',
'differential-core-view-css' => '1b8a291d',
'differential-inline-comment-editor' => '5e9e5c4e',
'differential-local-commits-view-css' => '4dc2311c',
'differential-results-table-css' => '4dc2311c',
'differential-revision-add-comment-css' => '4dc2311c',
'differential-revision-comment-css' => '4dc2311c',
'differential-revision-comment-list-css' => '4dc2311c',
'differential-revision-history-css' => '4dc2311c',
'differential-revision-list-css' => '4dc2311c',
'differential-table-of-contents-css' => '4dc2311c',
'differential-local-commits-view-css' => '1b8a291d',
'differential-results-table-css' => '1b8a291d',
'differential-revision-add-comment-css' => '1b8a291d',
'differential-revision-comment-css' => '1b8a291d',
'differential-revision-comment-list-css' => '1b8a291d',
'differential-revision-history-css' => '1b8a291d',
'differential-revision-list-css' => '1b8a291d',
'differential-table-of-contents-css' => '1b8a291d',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '0ed58ed4',
'inline-comment-summary-css' => '4dc2311c',
'inline-comment-summary-css' => '1b8a291d',
'javelin-aphlict' => 'adee86d9',
'javelin-behavior' => '3e3be199',
'javelin-behavior-aphlict-dropdown' => 'adee86d9',
@ -4600,7 +4600,7 @@ celerity_register_resource_map(array(
'phabricator-action-list-view-css' => '0ed58ed4',
'phabricator-application-launch-view-css' => '0ed58ed4',
'phabricator-busy' => 'adee86d9',
'phabricator-content-source-view-css' => '4dc2311c',
'phabricator-content-source-view-css' => '1b8a291d',
'phabricator-core-css' => '0ed58ed4',
'phabricator-crumbs-view-css' => '0ed58ed4',
'phabricator-drag-and-drop-file-upload' => '5e9e5c4e',
@ -4618,7 +4618,7 @@ celerity_register_resource_map(array(
'phabricator-notification' => 'adee86d9',
'phabricator-notification-css' => '0ed58ed4',
'phabricator-notification-menu-css' => '0ed58ed4',
'phabricator-object-selector-css' => '4dc2311c',
'phabricator-object-selector-css' => '1b8a291d',
'phabricator-phtize' => 'adee86d9',
'phabricator-prefab' => 'adee86d9',
'phabricator-project-tag-css' => '49898640',

View file

@ -11,8 +11,8 @@
.differential-diff {
background: transparent;
width: 100%;
border-top: 1px solid #cca;
border-bottom: 1px solid #cca;
border-top: 1px solid {$lightblueborder};
border-bottom: 1px solid {$lightblueborder};
}
.differential-diff td {
@ -75,11 +75,11 @@
}
.differential-diff td.old {
background: #ffd0d0;
background: #ffd0d0;
}
.differential-diff td.new {
background: #d0ffd0;
background: #d0ffd0;
}
.differential-diff td.old-rebase {
@ -157,14 +157,16 @@ td.cov-X {
background: #f3f6ff;
}
.differential-diff td.show-more,
.differential-diff th.show-context-line,
.differential-diff td.show-context,
.differential-diff td.differential-shield {
background: #ffffee;
background: {$lightbluebackground};
padding: 12px 0;
border-top: 1px solid #ccccaa;
border-bottom: 1px solid #ccccaa;
border-top: 1px solid {$thinblueborder};
border-bottom: 1px solid {$thinblueborder};
}
.differential-diff td.show-more,
@ -176,7 +178,7 @@ td.cov-X {
.differential-diff td.show-more {
text-align: center;
color: #999966;
color: {$bluetext};
}
.differential-diff th.show-context-line {
@ -204,32 +206,34 @@ td.cov-X {
}
.differential-meta-notice {
border: 1px solid #ffdd99;
background: #ffeeaa;
font-family: "Helvetica Neue", "Arial", sans-serif;
font-size: 12px;
padding: 1em;
margin: 0 0 6px 0;
border-top: 1px solid {$yellow};
border-bottom: 1px solid {$yellow};
background-color: {$lightyellow};
padding: 12px;
}
.differential-meta-notice + .differential-diff {
border-top: none;
}
.differential-changeset h1 {
font-size: 14px;
font-size: 15px;
padding: 2px 0 12px 12px;
}
.differential-reticle {
background: #ffeeaa;
border: 1px solid #ffcc00;
position: absolute;
opacity: 0.5;
top: 0px;
left: 0px;
background: {$lightyellow};
border: 1px solid {$yellow};
position: absolute;
opacity: 0.5;
top: 0px;
left: 0px;
}
.differential-inline-comment,
.differential-inline-comment-edit {
background: #f9f9f1;
border: 1px solid #aaaa88;
background: #ffffee;
border: 1px solid #ccccaa;
font-family: "Helvetica Neue", "Arial", sans-serif;
font-size: 12px;
margin: 6px 0px;
@ -249,9 +253,9 @@ td.cov-X {
.differential-inline-comment-head {
font-weight: bold;
color: #333333;
border-bottom: 1px solid #ccccaa;
padding-bottom: 6px;
margin-bottom: 4px;
border-bottom: 1px solid rgba(204,204,170,0.37);
padding-bottom: 4px;
margin-bottom: 8px;
}
.differential-inline-comment-unsaved-draft .differential-inline-comment-head {
@ -259,12 +263,12 @@ td.cov-X {
}
.differential-inline-comment-synthetic {
background: #efffff;
border: 1px solid #20dfdf;
background: {$lightblue};
border: 1px solid {$blue};
}
.differential-inline-comment-synthetic .differential-inline-comment-head {
border-bottom: 1px solid #20dfdf;
border-bottom: 1px solid {$thinblueborder};
}