From 1562dca2141c12e1f0c51e3e858cf540fd35bfc2 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 19 May 2015 06:38:48 -0700 Subject: [PATCH] [Redesign] Anchor blue Summary: Use a consistent blue across all anchors. Slightly lighter than current blue. Ref T8099 Test Plan: Visit Phriction, Remarkup, various apps. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T8099 Differential Revision: https://secure.phabricator.com/D12918 --- resources/celerity/map.php | 22 +++++++++---------- .../celerity/CelerityResourceTransformer.php | 3 +++ .../application/base/notification-menu.css | 2 +- webroot/rsrc/css/core/core.css | 4 ++-- webroot/rsrc/css/core/remarkup.css | 2 +- webroot/rsrc/css/phui/phui-action-list.css | 2 +- webroot/rsrc/css/phui/phui-fontkit.css | 7 ------ 7 files changed, 19 insertions(+), 23 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index c214cd99f6..be78e68718 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '869d9929', + 'core.pkg.css' => '031b8d6d', 'core.pkg.js' => 'f3e08b38', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => 'bb338e4b', @@ -35,7 +35,7 @@ return array( 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 'rsrc/css/application/auth/auth.css' => '44975d4b', 'rsrc/css/application/base/main-menu-view.css' => 'ac574fc3', - 'rsrc/css/application/base/notification-menu.css' => '3c9d8aa1', + 'rsrc/css/application/base/notification-menu.css' => '713df25a', 'rsrc/css/application/base/phabricator-application-launch-view.css' => '132f9d14', 'rsrc/css/application/base/standard-page-view.css' => '062f0f54', 'rsrc/css/application/chatlog/chatlog.css' => '852140ff', @@ -107,8 +107,8 @@ return array( 'rsrc/css/application/slowvote/slowvote.css' => '266df6a1', 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 'rsrc/css/application/uiexample/example.css' => '528b19de', - 'rsrc/css/core/core.css' => '6230ff55', - 'rsrc/css/core/remarkup.css' => '0037bdbf', + 'rsrc/css/core/core.css' => 'bbc7187b', + 'rsrc/css/core/remarkup.css' => '8ad937ee', 'rsrc/css/core/syntax.css' => '6b7b24d9', 'rsrc/css/core/z-index.css' => '8c8c40aa', 'rsrc/css/diviner/diviner-shared.css' => '38813222', @@ -123,14 +123,14 @@ return array( 'rsrc/css/phui/calendar/phui-calendar-list.css' => 'c1d0ca59', 'rsrc/css/phui/calendar/phui-calendar-month.css' => '75e6a2ee', 'rsrc/css/phui/calendar/phui-calendar.css' => '8675968e', - 'rsrc/css/phui/phui-action-list.css' => '4f4d09f2', + 'rsrc/css/phui/phui-action-list.css' => '32c388b3', 'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5', 'rsrc/css/phui/phui-box.css' => 'a5bb366d', 'rsrc/css/phui/phui-button.css' => 'b995182d', 'rsrc/css/phui/phui-crumbs-view.css' => 'aeff7a21', 'rsrc/css/phui/phui-document.css' => '08059961', 'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5', - 'rsrc/css/phui/phui-fontkit.css' => '1e71371a', + 'rsrc/css/phui/phui-fontkit.css' => '489a1341', 'rsrc/css/phui/phui-form-view.css' => 'e1abbe8e', 'rsrc/css/phui/phui-form.css' => 'f535f938', 'rsrc/css/phui/phui-header-view.css' => '2ad5de97', @@ -694,12 +694,12 @@ return array( 'paste-css' => 'eb997ddd', 'path-typeahead' => 'f7fc67ec', 'people-profile-css' => '25970776', - 'phabricator-action-list-view-css' => '4f4d09f2', + 'phabricator-action-list-view-css' => '32c388b3', 'phabricator-application-launch-view-css' => '132f9d14', 'phabricator-busy' => '59a7976a', 'phabricator-chatlog-css' => '852140ff', 'phabricator-content-source-view-css' => '4b8b05d4', - 'phabricator-core-css' => '6230ff55', + 'phabricator-core-css' => 'bbc7187b', 'phabricator-countdown-css' => '86b7b0a0', 'phabricator-dashboard-css' => 'eb458607', 'phabricator-drag-and-drop-file-upload' => '07de8873', @@ -717,12 +717,12 @@ return array( 'phabricator-nav-view-css' => '949b43d9', 'phabricator-notification' => '0c6946e7', 'phabricator-notification-css' => '9c279160', - 'phabricator-notification-menu-css' => '3c9d8aa1', + 'phabricator-notification-menu-css' => '713df25a', 'phabricator-object-selector-css' => '029a133d', 'phabricator-phtize' => 'd254d646', 'phabricator-prefab' => '6920d200', 'phabricator-profile-css' => '1a20dcbf', - 'phabricator-remarkup-css' => '0037bdbf', + 'phabricator-remarkup-css' => '8ad937ee', 'phabricator-search-results-css' => '15c71110', 'phabricator-shaped-request' => '7cbe244b', 'phabricator-side-menu-view-css' => 'a440478a', @@ -764,7 +764,7 @@ return array( 'phui-document-view-css' => '08059961', 'phui-feed-story-css' => 'c9f3a0b5', 'phui-font-icon-base-css' => '3dad2ae3', - 'phui-fontkit-css' => '1e71371a', + 'phui-fontkit-css' => '489a1341', 'phui-form-css' => 'f535f938', 'phui-form-view-css' => 'e1abbe8e', 'phui-header-view-css' => '2ad5de97', diff --git a/src/applications/celerity/CelerityResourceTransformer.php b/src/applications/celerity/CelerityResourceTransformer.php index a6211e950d..c21ce6fdaa 100644 --- a/src/applications/celerity/CelerityResourceTransformer.php +++ b/src/applications/celerity/CelerityResourceTransformer.php @@ -178,6 +178,9 @@ final class CelerityResourceTransformer { // Drop Shadow 'dropshadow' => '0 1px 6px rgba(0, 0, 0, .25)', + // Anchors + 'anchor' => '#136CB2', + // Base Colors 'red' => '#c0392b', 'lightred' => '#f4dddb', diff --git a/webroot/rsrc/css/application/base/notification-menu.css b/webroot/rsrc/css/application/base/notification-menu.css index 1fa106baf9..3f928f78f9 100644 --- a/webroot/rsrc/css/application/base/notification-menu.css +++ b/webroot/rsrc/css/application/base/notification-menu.css @@ -86,7 +86,7 @@ } .phabricator-notification-header .phabricator-notification-clear-all { - color: #18559D; + color: {$anchor}; float: right; font-weight: normal; } diff --git a/webroot/rsrc/css/core/core.css b/webroot/rsrc/css/core/core.css index 4bb08ea3df..8d026c7962 100644 --- a/webroot/rsrc/css/core/core.css +++ b/webroot/rsrc/css/core/core.css @@ -47,7 +47,7 @@ body { direction: ltr; text-align: left; unicode-bidi: embed; - background: #f7f7f7; + background: {$lightgreybackground}; /* By default, the iPhone zooms all text on the page by some percentage when you rotate from portrait mode to landscape mode. Disable this, since it @@ -80,7 +80,7 @@ h2 { a { -moz-outline-style: none; text-decoration: none; - color: #18559D; + color: {$anchor}; cursor: pointer; } diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css index 63e4224ba3..5fd2bd3dd8 100644 --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -62,7 +62,7 @@ /* NOTE: You can currently produce this with [[link | `name`]]. Restore the link color. */ .phabricator-remarkup a tt.remarkup-monospaced { - color: #18559d; + color: {$anchor}; } .phabricator-remarkup ul.remarkup-list { diff --git a/webroot/rsrc/css/phui/phui-action-list.css b/webroot/rsrc/css/phui/phui-action-list.css index d1a9106fd8..8cfc46c255 100644 --- a/webroot/rsrc/css/phui/phui-action-list.css +++ b/webroot/rsrc/css/phui/phui-action-list.css @@ -58,7 +58,7 @@ text-shadow: none; border-radius: 0; - color: #18559D; + color: {$anchor}; font: inherit; display: inline; min-width: 0; diff --git a/webroot/rsrc/css/phui/phui-fontkit.css b/webroot/rsrc/css/phui/phui-fontkit.css index 22016e7479..60949fcec1 100644 --- a/webroot/rsrc/css/phui/phui-fontkit.css +++ b/webroot/rsrc/css/phui/phui-fontkit.css @@ -89,13 +89,6 @@ font-size: 12px; } -.phui-font-source-sans a.atom-ref, -.phui-font-source-sans a.remarkup-link, -.phui-font-source-sans a.phriction-link, -.phui-font-source-sans a.phabricator-remarkup-embed-layout-link { - color: {$blue}; -} - body .phui-font-source-sans .phui-header-shell.phui-bleed-header .phui-header-view { font-size: 18px;