mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Move base drop shadow into CelerityResourceTransformer
Summary: Simplifies some common CSS rules. Test Plan: Test some dialogs and menus. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12406
This commit is contained in:
parent
2697dd53b6
commit
e66d6448b6
10 changed files with 30 additions and 29 deletions
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
return array(
|
||||
'names' => array(
|
||||
'core.pkg.css' => '7812d0b2',
|
||||
'core.pkg.css' => 'b693aff2',
|
||||
'core.pkg.js' => '6a4f677f',
|
||||
'darkconsole.pkg.js' => '8ab24e01',
|
||||
'differential.pkg.css' => '3500921f',
|
||||
|
@ -18,7 +18,7 @@ return array(
|
|||
'maniphest.pkg.js' => 'df4aa49f',
|
||||
'rsrc/css/aphront/aphront-bars.css' => '231ac33c',
|
||||
'rsrc/css/aphront/dark-console.css' => '6378ef3d',
|
||||
'rsrc/css/aphront/dialog-view.css' => 'd2e76b88',
|
||||
'rsrc/css/aphront/dialog-view.css' => '9fddf890',
|
||||
'rsrc/css/aphront/lightbox-attachment.css' => '7acac05d',
|
||||
'rsrc/css/aphront/list-filter-view.css' => 'b2161041',
|
||||
'rsrc/css/aphront/multi-column.css' => 'fd18389d',
|
||||
|
@ -34,8 +34,8 @@ return array(
|
|||
'rsrc/css/aphront/typeahead.css' => '0e403212',
|
||||
'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af',
|
||||
'rsrc/css/application/auth/auth.css' => '1e655982',
|
||||
'rsrc/css/application/base/main-menu-view.css' => 'fd6382c0',
|
||||
'rsrc/css/application/base/notification-menu.css' => '6aa0a74b',
|
||||
'rsrc/css/application/base/main-menu-view.css' => 'c648b2f5',
|
||||
'rsrc/css/application/base/notification-menu.css' => '3c9d8aa1',
|
||||
'rsrc/css/application/base/phabricator-application-launch-view.css' => '16ca323f',
|
||||
'rsrc/css/application/base/standard-page-view.css' => 'd2a6518d',
|
||||
'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
|
||||
|
@ -115,7 +115,7 @@ return array(
|
|||
'rsrc/css/font/font-source-sans-pro.css' => '4a2430d7',
|
||||
'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3',
|
||||
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
|
||||
'rsrc/css/layout/phabricator-hovercard-view.css' => '893f4783',
|
||||
'rsrc/css/layout/phabricator-hovercard-view.css' => '44394670',
|
||||
'rsrc/css/layout/phabricator-side-menu-view.css' => '7e8c6341',
|
||||
'rsrc/css/layout/phabricator-source-code-view.css' => '2ceee894',
|
||||
'rsrc/css/phui/calendar/phui-calendar-day.css' => 'de035c8a',
|
||||
|
@ -123,15 +123,15 @@ return array(
|
|||
'rsrc/css/phui/calendar/phui-calendar-month.css' => 'a92e47d2',
|
||||
'rsrc/css/phui/calendar/phui-calendar.css' => '8675968e',
|
||||
'rsrc/css/phui/phui-action-header-view.css' => '89c497e7',
|
||||
'rsrc/css/phui/phui-action-list.css' => '4d1fe90a',
|
||||
'rsrc/css/phui/phui-action-list.css' => 'cd356eeb',
|
||||
'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5',
|
||||
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
|
||||
'rsrc/css/phui/phui-button.css' => '53f55a72',
|
||||
'rsrc/css/phui/phui-button.css' => 'f780e520',
|
||||
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
|
||||
'rsrc/css/phui/phui-document.css' => 'ffaf9eb9',
|
||||
'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5',
|
||||
'rsrc/css/phui/phui-fontkit.css' => '1fa79503',
|
||||
'rsrc/css/phui/phui-form-view.css' => '28062c92',
|
||||
'rsrc/css/phui/phui-form-view.css' => 'b147d2ed',
|
||||
'rsrc/css/phui/phui-form.css' => 'f535f938',
|
||||
'rsrc/css/phui/phui-header-view.css' => 'da4586b1',
|
||||
'rsrc/css/phui/phui-icon.css' => 'bc766998',
|
||||
|
@ -141,7 +141,7 @@ return array(
|
|||
'rsrc/css/phui/phui-list.css' => '2e25ebfb',
|
||||
'rsrc/css/phui/phui-object-box.css' => '7d160002',
|
||||
'rsrc/css/phui/phui-object-item-list-view.css' => '9db65899',
|
||||
'rsrc/css/phui/phui-pinboard-view.css' => '3dd4a269',
|
||||
'rsrc/css/phui/phui-pinboard-view.css' => 'eaab2b1b',
|
||||
'rsrc/css/phui/phui-property-list-view.css' => '5b671934',
|
||||
'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b',
|
||||
'rsrc/css/phui/phui-spacing.css' => '042804d6',
|
||||
|
@ -501,7 +501,7 @@ return array(
|
|||
'almanac-css' => 'dbb9b3af',
|
||||
'aphront-bars' => '231ac33c',
|
||||
'aphront-dark-console-css' => '6378ef3d',
|
||||
'aphront-dialog-view-css' => 'd2e76b88',
|
||||
'aphront-dialog-view-css' => '9fddf890',
|
||||
'aphront-list-filter-view-css' => 'b2161041',
|
||||
'aphront-multi-column-view-css' => 'fd18389d',
|
||||
'aphront-pager-view-css' => '2e3539af',
|
||||
|
@ -712,7 +712,7 @@ return array(
|
|||
'paste-css' => 'eb997ddd',
|
||||
'path-typeahead' => 'f7fc67ec',
|
||||
'people-profile-css' => '25970776',
|
||||
'phabricator-action-list-view-css' => '4d1fe90a',
|
||||
'phabricator-action-list-view-css' => 'cd356eeb',
|
||||
'phabricator-application-launch-view-css' => '16ca323f',
|
||||
'phabricator-busy' => '59a7976a',
|
||||
'phabricator-chatlog-css' => '852140ff',
|
||||
|
@ -728,14 +728,14 @@ return array(
|
|||
'phabricator-filetree-view-css' => 'fccf9f82',
|
||||
'phabricator-flag-css' => '5337623f',
|
||||
'phabricator-hovercard' => '7e8468ae',
|
||||
'phabricator-hovercard-view-css' => '893f4783',
|
||||
'phabricator-hovercard-view-css' => '44394670',
|
||||
'phabricator-keyboard-shortcut' => '1ae869f2',
|
||||
'phabricator-keyboard-shortcut-manager' => 'c1700f6f',
|
||||
'phabricator-main-menu-view' => 'fd6382c0',
|
||||
'phabricator-main-menu-view' => 'c648b2f5',
|
||||
'phabricator-nav-view-css' => '7aeaf435',
|
||||
'phabricator-notification' => '0c6946e7',
|
||||
'phabricator-notification-css' => '9c279160',
|
||||
'phabricator-notification-menu-css' => '6aa0a74b',
|
||||
'phabricator-notification-menu-css' => '3c9d8aa1',
|
||||
'phabricator-object-selector-css' => '029a133d',
|
||||
'phabricator-phtize' => 'd254d646',
|
||||
'phabricator-prefab' => '72da38cc',
|
||||
|
@ -775,7 +775,7 @@ return array(
|
|||
'phui-action-header-view-css' => '89c497e7',
|
||||
'phui-action-panel-css' => '3ee9afd5',
|
||||
'phui-box-css' => '7b3a2eed',
|
||||
'phui-button-css' => '53f55a72',
|
||||
'phui-button-css' => 'f780e520',
|
||||
'phui-calendar-css' => '8675968e',
|
||||
'phui-calendar-day-css' => 'de035c8a',
|
||||
'phui-calendar-list-css' => 'c1d0ca59',
|
||||
|
@ -786,7 +786,7 @@ return array(
|
|||
'phui-font-icon-base-css' => '3dad2ae3',
|
||||
'phui-fontkit-css' => '1fa79503',
|
||||
'phui-form-css' => 'f535f938',
|
||||
'phui-form-view-css' => '28062c92',
|
||||
'phui-form-view-css' => 'b147d2ed',
|
||||
'phui-header-view-css' => 'da4586b1',
|
||||
'phui-icon-view-css' => 'bc766998',
|
||||
'phui-image-mask-css' => '5a8b09c8',
|
||||
|
@ -796,7 +796,7 @@ return array(
|
|||
'phui-list-view-css' => '2e25ebfb',
|
||||
'phui-object-box-css' => '7d160002',
|
||||
'phui-object-item-list-view-css' => '9db65899',
|
||||
'phui-pinboard-view-css' => '3dd4a269',
|
||||
'phui-pinboard-view-css' => 'eaab2b1b',
|
||||
'phui-property-list-view-css' => '5b671934',
|
||||
'phui-remarkup-preview-css' => '19ad512b',
|
||||
'phui-spacing-css' => '042804d6',
|
||||
|
|
|
@ -175,6 +175,9 @@ final class CelerityResourceTransformer {
|
|||
'basefont' => "13px/1.231 'Segoe UI', 'Segoe UI Web Regular', ".
|
||||
"'Segoe UI Symbol', 'Helvetica Neue', Helvetica, Arial, sans-serif",
|
||||
|
||||
// Drop Shadow
|
||||
'dropshadow' => '0 1px 6px rgba(0, 0, 0, .25)',
|
||||
|
||||
// Base Colors
|
||||
'red' => '#c0392b',
|
||||
'lightred' => '#f4dddb',
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
margin: 32px auto 16px;
|
||||
border: 1px solid {$lightblueborder};
|
||||
border-bottom: 1px solid {$blueborder};
|
||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
||||
box-shadow: {$dropshadow};
|
||||
}
|
||||
|
||||
.device-phone .aphront-dialog-view {
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
background: #ffffff;
|
||||
word-wrap: break-word;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border: {$blueborder};
|
||||
border-radius: 3px;
|
||||
margin-left: 40px;
|
||||
|
@ -504,7 +504,7 @@
|
|||
background: #fff;
|
||||
top: 38px;
|
||||
padding: 2px;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border: {$blueborder};
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
font-size: 11px;
|
||||
word-wrap: break-word;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border: 1px solid {$blueborder};
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
.phabricator-hovercard-container {
|
||||
float: left;
|
||||
width: 100%;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border: 1px solid {$blueborder};
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
right: 16px;
|
||||
top: 42px;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
}
|
||||
|
||||
.device-phone .phabricator-action-list-view.phabricator-action-list-toggle {
|
||||
|
|
|
@ -192,7 +192,7 @@ button.link:hover {
|
|||
background: #fff;
|
||||
margin-top: -1px;
|
||||
padding: 5px 0;
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border: 1px solid {$lightgreyborder};
|
||||
border-bottom: 1px solid {$greyborder};
|
||||
border-radius: 3px;
|
||||
|
|
|
@ -442,7 +442,7 @@ table.aphront-form-control-checkbox-layout th {
|
|||
background-color: white;
|
||||
border: 1px solid {$lightblueborder};
|
||||
border-bottom: 1px solid {$blueborder};
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
|
||||
box-shadow: {$dropshadow};
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
@ -453,7 +453,7 @@ table.aphront-form-control-checkbox-layout th {
|
|||
.phui-form-divider hr {
|
||||
height: 1px;
|
||||
border: 0;
|
||||
background: #c0c0c0;
|
||||
background: {$thinblueborder};
|
||||
width: 85%;
|
||||
margin: 15px auto;
|
||||
}
|
||||
|
@ -488,7 +488,6 @@ table.aphront-form-control-checkbox-layout th {
|
|||
width: 180px;
|
||||
}
|
||||
|
||||
|
||||
.aphront-form-choose-table td {
|
||||
vertical-align: middle;
|
||||
padding: 4px 0;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
|
||||
.device-desktop .phui-pinboard-item-view:hover {
|
||||
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.30);
|
||||
box-shadow: {$dropshadow};
|
||||
}
|
||||
|
||||
/* On phones, show a single column of items. */
|
||||
|
|
Loading…
Reference in a new issue