1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Slightly smaller badges

Summary: Drops size about 20%. Ref T8954

Test Plan: Review in timeline, hovercards

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8954

Differential Revision: https://secure.phabricator.com/D13710
This commit is contained in:
Chad Little 2015-07-25 08:58:22 -07:00
parent 36fc6a622c
commit 4e67413c2c
3 changed files with 19 additions and 9 deletions

View file

@ -117,7 +117,7 @@ return array(
'rsrc/css/font/font-roboto-slab.css' => 'f24a53cb', 'rsrc/css/font/font-roboto-slab.css' => 'f24a53cb',
'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3', 'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '1239cd52', 'rsrc/css/layout/phabricator-hovercard-view.css' => '2ca21170',
'rsrc/css/layout/phabricator-side-menu-view.css' => 'bec2458e', 'rsrc/css/layout/phabricator-side-menu-view.css' => 'bec2458e',
'rsrc/css/layout/phabricator-source-code-view.css' => '5e0178de', 'rsrc/css/layout/phabricator-source-code-view.css' => '5e0178de',
'rsrc/css/phui/calendar/phui-calendar-day.css' => 'd1cf6f93', 'rsrc/css/phui/calendar/phui-calendar-day.css' => 'd1cf6f93',
@ -126,7 +126,7 @@ return array(
'rsrc/css/phui/calendar/phui-calendar.css' => 'ccabe893', 'rsrc/css/phui/calendar/phui-calendar.css' => 'ccabe893',
'rsrc/css/phui/phui-action-list.css' => 'c5eba19d', 'rsrc/css/phui/phui-action-list.css' => 'c5eba19d',
'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5', 'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5',
'rsrc/css/phui/phui-badge.css' => 'b6218fa8', 'rsrc/css/phui/phui-badge.css' => '26db39af',
'rsrc/css/phui/phui-box.css' => 'a5bb366d', 'rsrc/css/phui/phui-box.css' => 'a5bb366d',
'rsrc/css/phui/phui-button.css' => '16020a60', 'rsrc/css/phui/phui-button.css' => '16020a60',
'rsrc/css/phui/phui-crumbs-view.css' => 'd842f867', 'rsrc/css/phui/phui-crumbs-view.css' => 'd842f867',
@ -732,7 +732,7 @@ return array(
'phabricator-filetree-view-css' => 'fccf9f82', 'phabricator-filetree-view-css' => 'fccf9f82',
'phabricator-flag-css' => '5337623f', 'phabricator-flag-css' => '5337623f',
'phabricator-hovercard' => '14ac66f5', 'phabricator-hovercard' => '14ac66f5',
'phabricator-hovercard-view-css' => '1239cd52', 'phabricator-hovercard-view-css' => '2ca21170',
'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut' => '1ae869f2',
'phabricator-keyboard-shortcut-manager' => 'c1700f6f', 'phabricator-keyboard-shortcut-manager' => 'c1700f6f',
'phabricator-main-menu-view' => '2f670a96', 'phabricator-main-menu-view' => '2f670a96',
@ -775,7 +775,7 @@ return array(
'phrequent-css' => 'ffc185ad', 'phrequent-css' => 'ffc185ad',
'phriction-document-css' => 'd1861e06', 'phriction-document-css' => 'd1861e06',
'phui-action-panel-css' => '3ee9afd5', 'phui-action-panel-css' => '3ee9afd5',
'phui-badge-view-css' => 'b6218fa8', 'phui-badge-view-css' => '26db39af',
'phui-box-css' => 'a5bb366d', 'phui-box-css' => 'a5bb366d',
'phui-button-css' => '16020a60', 'phui-button-css' => '16020a60',
'phui-calendar-css' => 'ccabe893', 'phui-calendar-css' => 'ccabe893',

View file

@ -91,6 +91,16 @@
float: left; float: left;
} }
.hovercard-badges .phui-badge-mini {
height: 25px;
width: 25px;
line-height: 24px;
}
.hovercard-badges .phui-badge-mini .phui-icon-view {
font-size: 12px;
}
.phabricator-hovercard-tail { .phabricator-hovercard-tail {
width: 396px; width: 396px;
float: left; float: left;

View file

@ -171,12 +171,12 @@
.phui-badge-mini { .phui-badge-mini {
background-color: {$greyborder}; background-color: {$greyborder};
border-radius: 18px; border-radius: 18px;
height: 25px; height: 20px;
width: 25px; width: 20px;
line-height: 24px; line-height: 19px;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
opacity: 0.7; opacity: 0.8;
} }
.phui-badge-mini:hover { .phui-badge-mini:hover {
@ -185,7 +185,7 @@
.phui-badge-mini .phui-icon-view { .phui-badge-mini .phui-icon-view {
color: #fff; color: #fff;
font-size: 12px; font-size: 10px;
margin: 0; margin: 0;
} }