1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Clean up SIMPLE button styles

Summary: Some of these are unused, defaults to a lighter color naturally.

Test Plan: uiexamples, grep, phriction

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18020
This commit is contained in:
Chad Little 2017-05-25 14:43:58 -07:00
parent 19572f53fd
commit 6b3d04683d
5 changed files with 13 additions and 18 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array(
'conpherence.pkg.css' => 'ff161f2d',
'conpherence.pkg.js' => 'b5b51108',
'core.pkg.css' => 'd556e3e2',
'core.pkg.css' => '2c6a5ba4',
'core.pkg.js' => '21d34805',
'darkconsole.pkg.js' => '1f9a31bc',
'differential.pkg.css' => '7d4cfa59',
@ -140,14 +140,14 @@ return array(
'rsrc/css/phui/phui-basic-nav-view.css' => 'a0705f53',
'rsrc/css/phui/phui-big-info-view.css' => 'bd903741',
'rsrc/css/phui/phui-box.css' => '269cbc99',
'rsrc/css/phui/phui-button.css' => '8d23596a',
'rsrc/css/phui/phui-button.css' => 'ccd8c6c5',
'rsrc/css/phui/phui-chart.css' => '6bf6f78e',
'rsrc/css/phui/phui-cms.css' => '504b4b23',
'rsrc/css/phui/phui-comment-form.css' => '57af2e14',
'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' => '62c4dcbf',
'rsrc/css/phui/phui-document-pro.css' => '58199f99',
'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf',
'rsrc/css/phui/phui-document.css' => 'c32e8dec',
'rsrc/css/phui/phui-feed-story.css' => '44a9c8e9',
@ -838,7 +838,7 @@ return array(
'phui-basic-nav-view-css' => 'a0705f53',
'phui-big-info-view-css' => 'bd903741',
'phui-box-css' => '269cbc99',
'phui-button-css' => '8d23596a',
'phui-button-css' => 'ccd8c6c5',
'phui-calendar-css' => '477acfaa',
'phui-calendar-day-css' => '572b1893',
'phui-calendar-list-css' => '576be600',
@ -851,7 +851,7 @@ return array(
'phui-curtain-view-css' => '55dd0e59',
'phui-document-summary-view-css' => '9ca48bdf',
'phui-document-view-css' => 'c32e8dec',
'phui-document-view-pro-css' => '62c4dcbf',
'phui-document-view-pro-css' => '58199f99',
'phui-feed-story-css' => '44a9c8e9',
'phui-font-icon-base-css' => '870a7360',
'phui-fontkit-css' => '1320ed01',

View file

@ -131,9 +131,6 @@ final class PHUIButtonExample extends PhabricatorUIExample {
);
$colors = array(
PHUIButtonView::SIMPLE,
PHUIButtonView::SIMPLE_YELLOW,
PHUIButtonView::SIMPLE_GREY,
PHUIButtonView::SIMPLE_BLUE,
);
$column = array();
foreach ($colors as $color) {

View file

@ -5,11 +5,7 @@ final class PHUIButtonView extends AphrontTagView {
const GREEN = 'green';
const GREY = 'grey';
const DISABLED = 'disabled';
const SIMPLE = 'simple';
const SIMPLE_YELLOW = 'simple simple-yellow';
const SIMPLE_GREY = 'simple simple-grey';
const SIMPLE_BLUE = 'simple simple-blue';
const SMALL = 'small';
const BIG = 'big';

View file

@ -91,8 +91,8 @@ input[type="submit"].simple,
a.simple,
a.simple:visited {
background: #fff;
color: {$blue};
border: 1px solid {$blue};
color: {$bluetext};
border: 1px solid {$lightblueborder};
}
a.simple.current {
@ -103,7 +103,7 @@ button.simple .phui-icon-view,
input[type="submit"].simple .phui-icon-view,
a.simple .phui-icon-view,
a.simple:visited .phui-icon-view {
color: {$blue};
color: {$lightbluetext};
}
a.disabled,
@ -145,10 +145,10 @@ button.green:hover {
a.button.simple:hover,
button.simple:hover {
background-color: {$blue};
background-color: {$lightblue};
background-image: linear-gradient(to bottom, {$blue}, {$blue});
color: #fff;
transition: 0.1s;
transition: 0s;
}
a.button.simple:hover .phui-icon-view,

View file

@ -75,7 +75,8 @@ a.button.phui-document-toc {
display: inline-block;
height: 16px;
width: 20px;
padding: 3px 8px 4px 8px;
padding-left: 8px;
padding-right: 8px;
}
.phui-document-view-pro .phui-document-toc-list {
@ -105,6 +106,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 {