Restrict font-smoothing to actual buttons
Summary: We use font-smoothing to make better looking buttons, but it makes text buttons look bad. Test Plan: Test a button in an actionlist, font looks same as other action list items. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11776
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'core.pkg.css' => '86353aff',
|
'core.pkg.css' => 'f8f4b8dc',
|
||||||
'core.pkg.js' => '65e04767',
|
'core.pkg.js' => '65e04767',
|
||||||
'darkconsole.pkg.js' => '8ab24e01',
|
'darkconsole.pkg.js' => '8ab24e01',
|
||||||
'differential.pkg.css' => '380f07e5',
|
'differential.pkg.css' => '380f07e5',
|
||||||
@@ -124,7 +124,7 @@ return array(
|
|||||||
'rsrc/css/phui/phui-action-list.css' => '9ee9910a',
|
'rsrc/css/phui/phui-action-list.css' => '9ee9910a',
|
||||||
'rsrc/css/phui/phui-action-panel.css' => '4bcb288d',
|
'rsrc/css/phui/phui-action-panel.css' => '4bcb288d',
|
||||||
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
|
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
|
||||||
'rsrc/css/phui/phui-button.css' => '008ba5e2',
|
'rsrc/css/phui/phui-button.css' => 'ffe12633',
|
||||||
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
|
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
|
||||||
'rsrc/css/phui/phui-document.css' => 'a494bdf8',
|
'rsrc/css/phui/phui-document.css' => 'a494bdf8',
|
||||||
'rsrc/css/phui/phui-error-view.css' => 'ad042fdd',
|
'rsrc/css/phui/phui-error-view.css' => 'ad042fdd',
|
||||||
@@ -773,7 +773,7 @@ return array(
|
|||||||
'phui-action-header-view-css' => '89c497e7',
|
'phui-action-header-view-css' => '89c497e7',
|
||||||
'phui-action-panel-css' => '4bcb288d',
|
'phui-action-panel-css' => '4bcb288d',
|
||||||
'phui-box-css' => '7b3a2eed',
|
'phui-box-css' => '7b3a2eed',
|
||||||
'phui-button-css' => '008ba5e2',
|
'phui-button-css' => 'ffe12633',
|
||||||
'phui-calendar-css' => '8675968e',
|
'phui-calendar-css' => '8675968e',
|
||||||
'phui-calendar-day-css' => 'de035c8a',
|
'phui-calendar-day-css' => 'de035c8a',
|
||||||
'phui-calendar-list-css' => 'c1d0ca59',
|
'phui-calendar-list-css' => 'c1d0ca59',
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ a.button {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.phabricator-action-view-item {
|
||||||
|
-webkit-font-smoothing: auto;
|
||||||
|
}
|
||||||
|
|
||||||
button::-moz-focus-inner {
|
button::-moz-focus-inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user