mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Layout, spacing tweaks for new auth.
Summary: Touches a lot of little spacing things here and there, stuck to 4px grid when possible, checked mobile views. Test Plan: Mobile, Logging In, Multiple Providers. Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6220
This commit is contained in:
parent
ad8fe93cc7
commit
1eafc2b638
7 changed files with 77 additions and 63 deletions
|
@ -796,7 +796,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-dialog-view-css' =>
|
'aphront-dialog-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/b5811686/rsrc/css/aphront/dialog-view.css',
|
'uri' => '/res/29a054fd/rsrc/css/aphront/dialog-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -814,7 +814,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-form-view-css' =>
|
'aphront-form-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/28838b5b/rsrc/css/aphront/form-view.css',
|
'uri' => '/res/d541ef47/rsrc/css/aphront/form-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -832,7 +832,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-multi-column-view-css' =>
|
'aphront-multi-column-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/e01f5f0e/rsrc/css/aphront/multi-column.css',
|
'uri' => '/res/f7f25fb7/rsrc/css/aphront/multi-column.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -923,7 +923,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'auth-css' =>
|
'auth-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/2ed0846e/rsrc/css/application/auth/auth.css',
|
'uri' => '/res/911e97cb/rsrc/css/application/auth/auth.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3696,7 +3696,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phui-button-css' =>
|
'phui-button-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/458ea66c/rsrc/css/phui/phui-button.css',
|
'uri' => '/res/9f20a528/rsrc/css/phui/phui-button.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -4057,7 +4057,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'cd17ab77' =>
|
'd6a36d96' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -4105,7 +4105,7 @@ celerity_register_resource_map(array(
|
||||||
40 => 'phabricator-property-list-view-css',
|
40 => 'phabricator-property-list-view-css',
|
||||||
41 => 'phabricator-tag-view-css',
|
41 => 'phabricator-tag-view-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/cd17ab77/core.pkg.css',
|
'uri' => '/res/pkg/d6a36d96/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'f2ad0683' =>
|
'f2ad0683' =>
|
||||||
|
@ -4299,16 +4299,16 @@ celerity_register_resource_map(array(
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-attached-file-view-css' => 'a7ca34a9',
|
'aphront-attached-file-view-css' => 'a7ca34a9',
|
||||||
'aphront-dialog-view-css' => 'cd17ab77',
|
'aphront-dialog-view-css' => 'd6a36d96',
|
||||||
'aphront-error-view-css' => 'cd17ab77',
|
'aphront-error-view-css' => 'd6a36d96',
|
||||||
'aphront-form-view-css' => 'cd17ab77',
|
'aphront-form-view-css' => 'd6a36d96',
|
||||||
'aphront-list-filter-view-css' => 'cd17ab77',
|
'aphront-list-filter-view-css' => 'd6a36d96',
|
||||||
'aphront-pager-view-css' => 'cd17ab77',
|
'aphront-pager-view-css' => 'd6a36d96',
|
||||||
'aphront-panel-view-css' => 'cd17ab77',
|
'aphront-panel-view-css' => 'd6a36d96',
|
||||||
'aphront-table-view-css' => 'cd17ab77',
|
'aphront-table-view-css' => 'd6a36d96',
|
||||||
'aphront-tokenizer-control-css' => 'cd17ab77',
|
'aphront-tokenizer-control-css' => 'd6a36d96',
|
||||||
'aphront-tooltip-css' => 'cd17ab77',
|
'aphront-tooltip-css' => 'd6a36d96',
|
||||||
'aphront-typeahead-control-css' => 'cd17ab77',
|
'aphront-typeahead-control-css' => 'd6a36d96',
|
||||||
'differential-changeset-view-css' => 'dd27a69b',
|
'differential-changeset-view-css' => 'dd27a69b',
|
||||||
'differential-core-view-css' => 'dd27a69b',
|
'differential-core-view-css' => 'dd27a69b',
|
||||||
'differential-inline-comment-editor' => '9488bb69',
|
'differential-inline-comment-editor' => '9488bb69',
|
||||||
|
@ -4322,7 +4322,7 @@ celerity_register_resource_map(array(
|
||||||
'differential-table-of-contents-css' => 'dd27a69b',
|
'differential-table-of-contents-css' => 'dd27a69b',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => 'cd17ab77',
|
'global-drag-and-drop-css' => 'd6a36d96',
|
||||||
'inline-comment-summary-css' => 'dd27a69b',
|
'inline-comment-summary-css' => 'dd27a69b',
|
||||||
'javelin-aphlict' => 'f2ad0683',
|
'javelin-aphlict' => 'f2ad0683',
|
||||||
'javelin-behavior' => 'a9f14d76',
|
'javelin-behavior' => 'a9f14d76',
|
||||||
|
@ -4396,55 +4396,55 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => 'a9f14d76',
|
'javelin-util' => 'a9f14d76',
|
||||||
'javelin-vector' => 'a9f14d76',
|
'javelin-vector' => 'a9f14d76',
|
||||||
'javelin-workflow' => 'a9f14d76',
|
'javelin-workflow' => 'a9f14d76',
|
||||||
'lightbox-attachment-css' => 'cd17ab77',
|
'lightbox-attachment-css' => 'd6a36d96',
|
||||||
'maniphest-task-summary-css' => 'a7ca34a9',
|
'maniphest-task-summary-css' => 'a7ca34a9',
|
||||||
'maniphest-transaction-detail-css' => 'a7ca34a9',
|
'maniphest-transaction-detail-css' => 'a7ca34a9',
|
||||||
'phabricator-action-list-view-css' => 'cd17ab77',
|
'phabricator-action-list-view-css' => 'd6a36d96',
|
||||||
'phabricator-application-launch-view-css' => 'cd17ab77',
|
'phabricator-application-launch-view-css' => 'd6a36d96',
|
||||||
'phabricator-busy' => 'f2ad0683',
|
'phabricator-busy' => 'f2ad0683',
|
||||||
'phabricator-content-source-view-css' => 'dd27a69b',
|
'phabricator-content-source-view-css' => 'dd27a69b',
|
||||||
'phabricator-core-css' => 'cd17ab77',
|
'phabricator-core-css' => 'd6a36d96',
|
||||||
'phabricator-crumbs-view-css' => 'cd17ab77',
|
'phabricator-crumbs-view-css' => 'd6a36d96',
|
||||||
'phabricator-drag-and-drop-file-upload' => '9488bb69',
|
'phabricator-drag-and-drop-file-upload' => '9488bb69',
|
||||||
'phabricator-dropdown-menu' => 'f2ad0683',
|
'phabricator-dropdown-menu' => 'f2ad0683',
|
||||||
'phabricator-file-upload' => 'f2ad0683',
|
'phabricator-file-upload' => 'f2ad0683',
|
||||||
'phabricator-filetree-view-css' => 'cd17ab77',
|
'phabricator-filetree-view-css' => 'd6a36d96',
|
||||||
'phabricator-flag-css' => 'cd17ab77',
|
'phabricator-flag-css' => 'd6a36d96',
|
||||||
'phabricator-form-view-css' => 'cd17ab77',
|
'phabricator-form-view-css' => 'd6a36d96',
|
||||||
'phabricator-header-view-css' => 'cd17ab77',
|
'phabricator-header-view-css' => 'd6a36d96',
|
||||||
'phabricator-hovercard' => 'f2ad0683',
|
'phabricator-hovercard' => 'f2ad0683',
|
||||||
'phabricator-jump-nav' => 'cd17ab77',
|
'phabricator-jump-nav' => 'd6a36d96',
|
||||||
'phabricator-keyboard-shortcut' => 'f2ad0683',
|
'phabricator-keyboard-shortcut' => 'f2ad0683',
|
||||||
'phabricator-keyboard-shortcut-manager' => 'f2ad0683',
|
'phabricator-keyboard-shortcut-manager' => 'f2ad0683',
|
||||||
'phabricator-main-menu-view' => 'cd17ab77',
|
'phabricator-main-menu-view' => 'd6a36d96',
|
||||||
'phabricator-menu-item' => 'f2ad0683',
|
'phabricator-menu-item' => 'f2ad0683',
|
||||||
'phabricator-nav-view-css' => 'cd17ab77',
|
'phabricator-nav-view-css' => 'd6a36d96',
|
||||||
'phabricator-notification' => 'f2ad0683',
|
'phabricator-notification' => 'f2ad0683',
|
||||||
'phabricator-notification-css' => 'cd17ab77',
|
'phabricator-notification-css' => 'd6a36d96',
|
||||||
'phabricator-notification-menu-css' => 'cd17ab77',
|
'phabricator-notification-menu-css' => 'd6a36d96',
|
||||||
'phabricator-object-item-list-view-css' => 'cd17ab77',
|
'phabricator-object-item-list-view-css' => 'd6a36d96',
|
||||||
'phabricator-object-selector-css' => 'dd27a69b',
|
'phabricator-object-selector-css' => 'dd27a69b',
|
||||||
'phabricator-phtize' => 'f2ad0683',
|
'phabricator-phtize' => 'f2ad0683',
|
||||||
'phabricator-prefab' => 'f2ad0683',
|
'phabricator-prefab' => 'f2ad0683',
|
||||||
'phabricator-project-tag-css' => 'a7ca34a9',
|
'phabricator-project-tag-css' => 'a7ca34a9',
|
||||||
'phabricator-property-list-view-css' => 'cd17ab77',
|
'phabricator-property-list-view-css' => 'd6a36d96',
|
||||||
'phabricator-remarkup-css' => 'cd17ab77',
|
'phabricator-remarkup-css' => 'd6a36d96',
|
||||||
'phabricator-shaped-request' => '9488bb69',
|
'phabricator-shaped-request' => '9488bb69',
|
||||||
'phabricator-side-menu-view-css' => 'cd17ab77',
|
'phabricator-side-menu-view-css' => 'd6a36d96',
|
||||||
'phabricator-standard-page-view' => 'cd17ab77',
|
'phabricator-standard-page-view' => 'd6a36d96',
|
||||||
'phabricator-tag-view-css' => 'cd17ab77',
|
'phabricator-tag-view-css' => 'd6a36d96',
|
||||||
'phabricator-textareautils' => 'f2ad0683',
|
'phabricator-textareautils' => 'f2ad0683',
|
||||||
'phabricator-tooltip' => 'f2ad0683',
|
'phabricator-tooltip' => 'f2ad0683',
|
||||||
'phabricator-transaction-view-css' => 'cd17ab77',
|
'phabricator-transaction-view-css' => 'd6a36d96',
|
||||||
'phabricator-zindex-css' => 'cd17ab77',
|
'phabricator-zindex-css' => 'd6a36d96',
|
||||||
'phui-button-css' => 'cd17ab77',
|
'phui-button-css' => 'd6a36d96',
|
||||||
'phui-form-css' => 'cd17ab77',
|
'phui-form-css' => 'd6a36d96',
|
||||||
'phui-icon-view-css' => 'cd17ab77',
|
'phui-icon-view-css' => 'd6a36d96',
|
||||||
'phui-spacing-css' => 'cd17ab77',
|
'phui-spacing-css' => 'd6a36d96',
|
||||||
'sprite-apps-large-css' => 'cd17ab77',
|
'sprite-apps-large-css' => 'd6a36d96',
|
||||||
'sprite-gradient-css' => 'cd17ab77',
|
'sprite-gradient-css' => 'd6a36d96',
|
||||||
'sprite-icons-css' => 'cd17ab77',
|
'sprite-icons-css' => 'd6a36d96',
|
||||||
'sprite-menu-css' => 'cd17ab77',
|
'sprite-menu-css' => 'd6a36d96',
|
||||||
'syntax-highlighting-css' => 'cd17ab77',
|
'syntax-highlighting-css' => 'd6a36d96',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -199,10 +199,14 @@ abstract class AphrontFormControl extends AphrontView {
|
||||||
$caption = null;
|
$caption = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$classes = array();
|
||||||
|
$classes[] = 'aphront-form-control';
|
||||||
|
$classes[] = $custom_class;
|
||||||
|
|
||||||
return phutil_tag(
|
return phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => "aphront-form-control {$custom_class}",
|
'class' => implode(' ', $classes),
|
||||||
'id' => $this->controlID,
|
'id' => $this->controlID,
|
||||||
'style' => $this->controlStyle,
|
'style' => $this->controlStyle,
|
||||||
),
|
),
|
||||||
|
|
|
@ -3,13 +3,18 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.aphront-dialog-view {
|
.aphront-dialog-view {
|
||||||
width: 480px;
|
width: 540px;
|
||||||
margin: 16px auto;
|
margin: 32px auto 16px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25),
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25),
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.device-phone .aphront-dialog-view {
|
||||||
|
margin: 16px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* The "standalone" dialog (which is delivered over Ajax and appears above
|
/* The "standalone" dialog (which is delivered over Ajax and appears above
|
||||||
an existing page) has a more pronounced shadow than dialogs do when they
|
an existing page) has a more pronounced shadow than dialogs do when they
|
||||||
are embedded in a page. */
|
are embedded in a page. */
|
||||||
|
@ -22,7 +27,7 @@
|
||||||
|
|
||||||
.aphront-dialog-head .phabricator-action-header {
|
.aphront-dialog-head .phabricator-action-header {
|
||||||
border-bottom: 1px solid #d4dadf;
|
border-bottom: 1px solid #d4dadf;
|
||||||
padding: 5px 15px;
|
padding: 4px 16px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border-top-left-radius: 6px;
|
border-top-left-radius: 6px;
|
||||||
border-top-right-radius: 6px;
|
border-top-right-radius: 6px;
|
||||||
|
@ -43,21 +48,22 @@
|
||||||
|
|
||||||
.aphront-dialog-body {
|
.aphront-dialog-body {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
padding: 20px 15px;
|
padding: 16px;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aphront-dialog-tail {
|
.aphront-dialog-tail {
|
||||||
border: none;
|
border: none;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 8px 10px;
|
padding: 8px 16px;
|
||||||
border-top: 1px solid #d4dadf;
|
border-top: 1px solid #d4dadf;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
border-bottom-right-radius: 6px;
|
border-bottom-right-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aphront-dialog-foot {
|
.aphront-dialog-foot {
|
||||||
padding: 6px;
|
padding: 6px 0;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aphront-dialog-tail button,
|
.aphront-dialog-tail button,
|
||||||
|
|
|
@ -6,10 +6,15 @@
|
||||||
* These styles are overrides for .aphront-form-view
|
* These styles are overrides for .aphront-form-view
|
||||||
*/
|
*/
|
||||||
.aphront-form-view-shaded {
|
.aphront-form-view-shaded {
|
||||||
border: 1px solid #d4dae0;
|
border-top: 1px solid #d4dae0;
|
||||||
|
border-bottom: 1px solid #d4dae0;
|
||||||
background: #f4f5f8;
|
background: #f4f5f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.aphront-panel-width-form .aphront-form-view-shaded {
|
||||||
|
border: 1px solid #d4dae0;
|
||||||
|
}
|
||||||
|
|
||||||
.aphront-form-view-padded {
|
.aphront-form-view-padded {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
@ -28,7 +33,6 @@
|
||||||
.device-phone .aphront-form-view label.aphront-form-label,
|
.device-phone .aphront-form-view label.aphront-form-label,
|
||||||
.aphront-form-full-width.aphront-form-view label.aphront-form-label {
|
.aphront-form-full-width.aphront-form-view label.aphront-form-label {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
|
@ -50,7 +54,7 @@
|
||||||
.aphront-form-error {
|
.aphront-form-error {
|
||||||
width: 18%;
|
width: 18%;
|
||||||
float: right;
|
float: right;
|
||||||
color: #aa0000;
|
color: #c13728;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
.device-phone .aphront-multi-column-outer
|
.device-phone .aphront-multi-column-outer
|
||||||
div.aphront-multi-column-column-outer {
|
div.aphront-multi-column-column-outer {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* math here is based on panel width and margins */
|
/* math here is based on panel width and margins */
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.phabricator-login-buttons {
|
.phabricator-login-buttons {
|
||||||
max-width: 450px;
|
max-width: 508px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-login-buttons .phabricator-login-button .button {
|
.phabricator-login-buttons .phabricator-login-button .button {
|
||||||
width: 216px;
|
width: 246px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .phabricator-login-buttons .aphront-multi-column-column-last {
|
.device-desktop .phabricator-login-buttons .aphront-multi-column-column-last {
|
||||||
|
|
|
@ -258,6 +258,6 @@ a.toggle-fixed {
|
||||||
.button.big.has-icon .phui-button-subtext {
|
.button.big.has-icon .phui-button-subtext {
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 14px;
|
line-height: 15px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue