1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +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:
Chad Little 2013-06-17 22:02:16 -07:00
parent ad8fe93cc7
commit 1eafc2b638
7 changed files with 77 additions and 63 deletions

View file

@ -796,7 +796,7 @@ celerity_register_resource_map(array(
),
'aphront-dialog-view-css' =>
array(
'uri' => '/res/b5811686/rsrc/css/aphront/dialog-view.css',
'uri' => '/res/29a054fd/rsrc/css/aphront/dialog-view.css',
'type' => 'css',
'requires' =>
array(
@ -814,7 +814,7 @@ celerity_register_resource_map(array(
),
'aphront-form-view-css' =>
array(
'uri' => '/res/28838b5b/rsrc/css/aphront/form-view.css',
'uri' => '/res/d541ef47/rsrc/css/aphront/form-view.css',
'type' => 'css',
'requires' =>
array(
@ -832,7 +832,7 @@ celerity_register_resource_map(array(
),
'aphront-multi-column-view-css' =>
array(
'uri' => '/res/e01f5f0e/rsrc/css/aphront/multi-column.css',
'uri' => '/res/f7f25fb7/rsrc/css/aphront/multi-column.css',
'type' => 'css',
'requires' =>
array(
@ -923,7 +923,7 @@ celerity_register_resource_map(array(
),
'auth-css' =>
array(
'uri' => '/res/2ed0846e/rsrc/css/application/auth/auth.css',
'uri' => '/res/911e97cb/rsrc/css/application/auth/auth.css',
'type' => 'css',
'requires' =>
array(
@ -3696,7 +3696,7 @@ celerity_register_resource_map(array(
),
'phui-button-css' =>
array(
'uri' => '/res/458ea66c/rsrc/css/phui/phui-button.css',
'uri' => '/res/9f20a528/rsrc/css/phui/phui-button.css',
'type' => 'css',
'requires' =>
array(
@ -4057,7 +4057,7 @@ celerity_register_resource_map(array(
), array(
'packages' =>
array(
'cd17ab77' =>
'd6a36d96' =>
array(
'name' => 'core.pkg.css',
'symbols' =>
@ -4105,7 +4105,7 @@ celerity_register_resource_map(array(
40 => 'phabricator-property-list-view-css',
41 => 'phabricator-tag-view-css',
),
'uri' => '/res/pkg/cd17ab77/core.pkg.css',
'uri' => '/res/pkg/d6a36d96/core.pkg.css',
'type' => 'css',
),
'f2ad0683' =>
@ -4299,16 +4299,16 @@ celerity_register_resource_map(array(
'reverse' =>
array(
'aphront-attached-file-view-css' => 'a7ca34a9',
'aphront-dialog-view-css' => 'cd17ab77',
'aphront-error-view-css' => 'cd17ab77',
'aphront-form-view-css' => 'cd17ab77',
'aphront-list-filter-view-css' => 'cd17ab77',
'aphront-pager-view-css' => 'cd17ab77',
'aphront-panel-view-css' => 'cd17ab77',
'aphront-table-view-css' => 'cd17ab77',
'aphront-tokenizer-control-css' => 'cd17ab77',
'aphront-tooltip-css' => 'cd17ab77',
'aphront-typeahead-control-css' => 'cd17ab77',
'aphront-dialog-view-css' => 'd6a36d96',
'aphront-error-view-css' => 'd6a36d96',
'aphront-form-view-css' => 'd6a36d96',
'aphront-list-filter-view-css' => 'd6a36d96',
'aphront-pager-view-css' => 'd6a36d96',
'aphront-panel-view-css' => 'd6a36d96',
'aphront-table-view-css' => 'd6a36d96',
'aphront-tokenizer-control-css' => 'd6a36d96',
'aphront-tooltip-css' => 'd6a36d96',
'aphront-typeahead-control-css' => 'd6a36d96',
'differential-changeset-view-css' => 'dd27a69b',
'differential-core-view-css' => 'dd27a69b',
'differential-inline-comment-editor' => '9488bb69',
@ -4322,7 +4322,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => 'dd27a69b',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => 'cd17ab77',
'global-drag-and-drop-css' => 'd6a36d96',
'inline-comment-summary-css' => 'dd27a69b',
'javelin-aphlict' => 'f2ad0683',
'javelin-behavior' => 'a9f14d76',
@ -4396,55 +4396,55 @@ celerity_register_resource_map(array(
'javelin-util' => 'a9f14d76',
'javelin-vector' => 'a9f14d76',
'javelin-workflow' => 'a9f14d76',
'lightbox-attachment-css' => 'cd17ab77',
'lightbox-attachment-css' => 'd6a36d96',
'maniphest-task-summary-css' => 'a7ca34a9',
'maniphest-transaction-detail-css' => 'a7ca34a9',
'phabricator-action-list-view-css' => 'cd17ab77',
'phabricator-application-launch-view-css' => 'cd17ab77',
'phabricator-action-list-view-css' => 'd6a36d96',
'phabricator-application-launch-view-css' => 'd6a36d96',
'phabricator-busy' => 'f2ad0683',
'phabricator-content-source-view-css' => 'dd27a69b',
'phabricator-core-css' => 'cd17ab77',
'phabricator-crumbs-view-css' => 'cd17ab77',
'phabricator-core-css' => 'd6a36d96',
'phabricator-crumbs-view-css' => 'd6a36d96',
'phabricator-drag-and-drop-file-upload' => '9488bb69',
'phabricator-dropdown-menu' => 'f2ad0683',
'phabricator-file-upload' => 'f2ad0683',
'phabricator-filetree-view-css' => 'cd17ab77',
'phabricator-flag-css' => 'cd17ab77',
'phabricator-form-view-css' => 'cd17ab77',
'phabricator-header-view-css' => 'cd17ab77',
'phabricator-filetree-view-css' => 'd6a36d96',
'phabricator-flag-css' => 'd6a36d96',
'phabricator-form-view-css' => 'd6a36d96',
'phabricator-header-view-css' => 'd6a36d96',
'phabricator-hovercard' => 'f2ad0683',
'phabricator-jump-nav' => 'cd17ab77',
'phabricator-jump-nav' => 'd6a36d96',
'phabricator-keyboard-shortcut' => 'f2ad0683',
'phabricator-keyboard-shortcut-manager' => 'f2ad0683',
'phabricator-main-menu-view' => 'cd17ab77',
'phabricator-main-menu-view' => 'd6a36d96',
'phabricator-menu-item' => 'f2ad0683',
'phabricator-nav-view-css' => 'cd17ab77',
'phabricator-nav-view-css' => 'd6a36d96',
'phabricator-notification' => 'f2ad0683',
'phabricator-notification-css' => 'cd17ab77',
'phabricator-notification-menu-css' => 'cd17ab77',
'phabricator-object-item-list-view-css' => 'cd17ab77',
'phabricator-notification-css' => 'd6a36d96',
'phabricator-notification-menu-css' => 'd6a36d96',
'phabricator-object-item-list-view-css' => 'd6a36d96',
'phabricator-object-selector-css' => 'dd27a69b',
'phabricator-phtize' => 'f2ad0683',
'phabricator-prefab' => 'f2ad0683',
'phabricator-project-tag-css' => 'a7ca34a9',
'phabricator-property-list-view-css' => 'cd17ab77',
'phabricator-remarkup-css' => 'cd17ab77',
'phabricator-property-list-view-css' => 'd6a36d96',
'phabricator-remarkup-css' => 'd6a36d96',
'phabricator-shaped-request' => '9488bb69',
'phabricator-side-menu-view-css' => 'cd17ab77',
'phabricator-standard-page-view' => 'cd17ab77',
'phabricator-tag-view-css' => 'cd17ab77',
'phabricator-side-menu-view-css' => 'd6a36d96',
'phabricator-standard-page-view' => 'd6a36d96',
'phabricator-tag-view-css' => 'd6a36d96',
'phabricator-textareautils' => 'f2ad0683',
'phabricator-tooltip' => 'f2ad0683',
'phabricator-transaction-view-css' => 'cd17ab77',
'phabricator-zindex-css' => 'cd17ab77',
'phui-button-css' => 'cd17ab77',
'phui-form-css' => 'cd17ab77',
'phui-icon-view-css' => 'cd17ab77',
'phui-spacing-css' => 'cd17ab77',
'sprite-apps-large-css' => 'cd17ab77',
'sprite-gradient-css' => 'cd17ab77',
'sprite-icons-css' => 'cd17ab77',
'sprite-menu-css' => 'cd17ab77',
'syntax-highlighting-css' => 'cd17ab77',
'phabricator-transaction-view-css' => 'd6a36d96',
'phabricator-zindex-css' => 'd6a36d96',
'phui-button-css' => 'd6a36d96',
'phui-form-css' => 'd6a36d96',
'phui-icon-view-css' => 'd6a36d96',
'phui-spacing-css' => 'd6a36d96',
'sprite-apps-large-css' => 'd6a36d96',
'sprite-gradient-css' => 'd6a36d96',
'sprite-icons-css' => 'd6a36d96',
'sprite-menu-css' => 'd6a36d96',
'syntax-highlighting-css' => 'd6a36d96',
),
));

View file

@ -199,10 +199,14 @@ abstract class AphrontFormControl extends AphrontView {
$caption = null;
}
$classes = array();
$classes[] = 'aphront-form-control';
$classes[] = $custom_class;
return phutil_tag(
'div',
array(
'class' => "aphront-form-control {$custom_class}",
'class' => implode(' ', $classes),
'id' => $this->controlID,
'style' => $this->controlStyle,
),

View file

@ -3,13 +3,18 @@
*/
.aphront-dialog-view {
width: 480px;
margin: 16px auto;
width: 540px;
margin: 32px auto 16px;
border-radius: 6px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25),
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
an existing page) has a more pronounced shadow than dialogs do when they
are embedded in a page. */
@ -22,7 +27,7 @@
.aphront-dialog-head .phabricator-action-header {
border-bottom: 1px solid #d4dadf;
padding: 5px 15px;
padding: 4px 16px;
white-space: nowrap;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
@ -43,21 +48,22 @@
.aphront-dialog-body {
background: #ffffff;
padding: 20px 15px;
padding: 16px;
border: none;
}
.aphront-dialog-tail {
border: none;
background: #fff;
padding: 8px 10px;
padding: 8px 16px;
border-top: 1px solid #d4dadf;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
.aphront-dialog-foot {
padding: 6px;
padding: 6px 0;
float: left;
}
.aphront-dialog-tail button,

View file

@ -6,10 +6,15 @@
* These styles are overrides for .aphront-form-view
*/
.aphront-form-view-shaded {
border: 1px solid #d4dae0;
border-top: 1px solid #d4dae0;
border-bottom: 1px solid #d4dae0;
background: #f4f5f8;
}
.aphront-panel-width-form .aphront-form-view-shaded {
border: 1px solid #d4dae0;
}
.aphront-form-view-padded {
padding: 1em;
}
@ -28,7 +33,6 @@
.device-phone .aphront-form-view label.aphront-form-label,
.aphront-form-full-width.aphront-form-view label.aphront-form-label {
display: block;
float: none;
text-align: left;
width: 100%;
margin-bottom: 3px;
@ -50,7 +54,7 @@
.aphront-form-error {
width: 18%;
float: right;
color: #aa0000;
color: #c13728;
font-weight: bold;
padding-top: 4px;
}

View file

@ -20,7 +20,7 @@
.device-phone .aphront-multi-column-outer
div.aphront-multi-column-column-outer {
width: auto;
margin-bottom: 20px;
margin-bottom: 16px;
}
/* math here is based on panel width and margins */

View file

@ -3,12 +3,12 @@
*/
.phabricator-login-buttons {
max-width: 450px;
max-width: 508px;
margin: auto;
}
.phabricator-login-buttons .phabricator-login-button .button {
width: 216px;
width: 246px;
}
.device-desktop .phabricator-login-buttons .aphront-multi-column-column-last {

View file

@ -258,6 +258,6 @@ a.toggle-fixed {
.button.big.has-icon .phui-button-subtext {
color: #888;
font-size: 12px;
line-height: 14px;
line-height: 15px;
font-weight: normal;
}