From f66c6e5c1fc8c8d230993b85e412ec2148d4e144 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 4 Jun 2017 08:52:36 -0700 Subject: [PATCH] Fix Phriction toc button states Summary: Some unneeded CSS here. Test Plan: Click on ToC button, see more normal colors. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18073 --- resources/celerity/map.php | 10 +++++----- webroot/rsrc/css/phui/phui-document-pro.css | 17 ++--------------- webroot/rsrc/css/phui/phui-header-view.css | 2 +- 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 702bc0e609..bced050105 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -9,7 +9,7 @@ return array( 'names' => array( 'conpherence.pkg.css' => 'ff161f2d', 'conpherence.pkg.js' => 'b5b51108', - 'core.pkg.css' => 'ea94e844', + 'core.pkg.css' => '8ac2e6b8', 'core.pkg.js' => '1475bd91', 'darkconsole.pkg.js' => '1f9a31bc', 'differential.pkg.css' => 'a2755617', @@ -149,7 +149,7 @@ return array( 'rsrc/css/phui/phui-comment-panel.css' => 'f50152ad', 'rsrc/css/phui/phui-crumbs-view.css' => '6ece3bbb', 'rsrc/css/phui/phui-curtain-view.css' => '55dd0e59', - 'rsrc/css/phui/phui-document-pro.css' => 'bb18da6b', + 'rsrc/css/phui/phui-document-pro.css' => '8af7ea27', 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', 'rsrc/css/phui/phui-document.css' => 'c32e8dec', 'rsrc/css/phui/phui-feed-story.css' => '44a9c8e9', @@ -157,7 +157,7 @@ return array( 'rsrc/css/phui/phui-form-view.css' => '6175808d', 'rsrc/css/phui/phui-form.css' => 'a5570f70', 'rsrc/css/phui/phui-head-thing.css' => 'fd311e5f', - 'rsrc/css/phui/phui-header-view.css' => 'a3d1aecd', + 'rsrc/css/phui/phui-header-view.css' => '73edce66', 'rsrc/css/phui/phui-hovercard.css' => 'f0592bcf', 'rsrc/css/phui/phui-icon-set-selector.css' => '87db8fee', 'rsrc/css/phui/phui-icon.css' => '4c46b6ba', @@ -834,14 +834,14 @@ return array( 'phui-curtain-view-css' => '55dd0e59', 'phui-document-summary-view-css' => '9ca48bdf', 'phui-document-view-css' => 'c32e8dec', - 'phui-document-view-pro-css' => 'bb18da6b', + 'phui-document-view-pro-css' => '8af7ea27', 'phui-feed-story-css' => '44a9c8e9', 'phui-font-icon-base-css' => '870a7360', 'phui-fontkit-css' => '1320ed01', 'phui-form-css' => 'a5570f70', 'phui-form-view-css' => '6175808d', 'phui-head-thing-view-css' => 'fd311e5f', - 'phui-header-view-css' => 'a3d1aecd', + 'phui-header-view-css' => '73edce66', 'phui-hovercard' => '1bd28176', 'phui-hovercard-view-css' => 'f0592bcf', 'phui-icon-set-selector-css' => '87db8fee', diff --git a/webroot/rsrc/css/phui/phui-document-pro.css b/webroot/rsrc/css/phui/phui-document-pro.css index a4c05a0ecd..60b5106154 100644 --- a/webroot/rsrc/css/phui/phui-document-pro.css +++ b/webroot/rsrc/css/phui/phui-document-pro.css @@ -64,21 +64,13 @@ body.printable { .phui-document-view-pro .phui-document-toc { position: absolute; top: 34px; - left: -36px; + left: -44px; } .printable .phui-document-view-pro a.phui-document-toc { display: none; } -a.button.phui-document-toc { - display: inline-block; - height: 16px; - width: 20px; - padding-left: 8px; - padding-right: 8px; -} - .phui-document-view-pro .phui-document-toc-list { margin: 8px; border: 1px solid {$lightgreyborder}; @@ -105,12 +97,7 @@ a.button.phui-document-toc { } .phui-document-toc-open .phui-document-toc { - background-color: {$blue}; - border-color: {$blue}; -} - -.phui-document-toc-open .phui-document-toc .phui-icon-view { - color: #fff; + border-color: {$blueborder}; } .phui-document-view-pro .phui-document-toc-content { diff --git a/webroot/rsrc/css/phui/phui-header-view.css b/webroot/rsrc/css/phui/phui-header-view.css index 470e821544..f0c37a1a75 100644 --- a/webroot/rsrc/css/phui/phui-header-view.css +++ b/webroot/rsrc/css/phui/phui-header-view.css @@ -120,7 +120,7 @@ body .phui-header-shell.phui-bleed-header .device-phone .phui-header-action-link .phui-button-text { visibility: hidden; width: 0; - margin-left: 4px; + margin-left: 8px; } .device-phone .phui-header-action-link.button .phui-icon-view {