2011-01-25 20:31:40 +01:00
|
|
|
/**
|
|
|
|
* @provides aphront-form-view-css
|
|
|
|
*/
|
|
|
|
|
2011-06-10 00:28:29 +02:00
|
|
|
/**
|
|
|
|
* These styles are overrides for .aphront-form-view
|
|
|
|
*/
|
|
|
|
.aphront-form-view-shaded {
|
2011-01-25 20:31:40 +01:00
|
|
|
border: 1px solid #c4c4c4;
|
2011-06-10 00:28:29 +02:00
|
|
|
background: #e7e7e7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-view-padded {
|
2011-01-25 20:31:40 +01:00
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2011-06-10 00:28:29 +02:00
|
|
|
|
2011-01-26 02:40:21 +01:00
|
|
|
.aphront-form-view label.aphront-form-label {
|
2011-01-25 20:31:40 +01:00
|
|
|
padding-top: 4px;
|
2011-01-25 22:26:09 +01:00
|
|
|
width: 19%;
|
2011-01-25 20:31:40 +01:00
|
|
|
float: left;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 13px;
|
|
|
|
color: #666666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-input {
|
2011-01-25 22:26:09 +01:00
|
|
|
margin-left: 20%;
|
2011-01-25 20:31:40 +01:00
|
|
|
margin-right: 25%;
|
2011-01-25 22:26:09 +01:00
|
|
|
width: 55%;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2011-04-04 00:50:06 +02:00
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-form-error {
|
|
|
|
width: 23%;
|
|
|
|
float: right;
|
|
|
|
color: #aa0000;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-input input,
|
|
|
|
.aphront-form-input textarea {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2011-01-26 00:19:06 +01:00
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-form-input textarea {
|
|
|
|
height: 12em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-control {
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-control-submit button,
|
|
|
|
.aphront-form-control-submit a.button {
|
|
|
|
float: right;
|
2011-01-26 00:19:06 +01:00
|
|
|
margin: 0.5em 0 0em 2%;
|
|
|
|
}
|
|
|
|
|
2011-01-26 02:17:19 +01:00
|
|
|
.aphront-form-control-textarea textarea.aphront-textarea-very-short {
|
|
|
|
height: 3em;
|
|
|
|
}
|
|
|
|
|
2011-02-05 21:20:18 +01:00
|
|
|
.aphront-form-control-textarea textarea.aphront-textarea-very-tall {
|
|
|
|
height: 24em;
|
|
|
|
}
|
|
|
|
|
2011-01-26 00:19:06 +01:00
|
|
|
.aphront-form-control-select .aphront-form-input {
|
|
|
|
padding-top: 2px;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2011-01-26 00:19:06 +01:00
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-form-view .aphront-form-caption {
|
|
|
|
font-size: 11px;
|
|
|
|
color: #444444;
|
|
|
|
text-align: right;
|
|
|
|
clear: both;
|
|
|
|
margin-right: 25%;
|
2011-01-26 02:40:21 +01:00
|
|
|
margin-left: 20%;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2012-03-05 22:51:25 +01:00
|
|
|
/* override for when inside an aphront-panel-view */
|
|
|
|
.aphront-panel-view .aphront-form-view h1 {
|
|
|
|
padding: 0em 0em .8em 0em;
|
|
|
|
}
|
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-form-instructions {
|
2011-01-26 02:40:21 +01:00
|
|
|
margin: 0.75em 3% 1.25em;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2011-09-06 18:37:35 +02:00
|
|
|
.aphront-form-important {
|
|
|
|
margin: .5em 0;
|
|
|
|
background: #ffffdd;
|
|
|
|
padding: .5em 1em;
|
|
|
|
}
|
|
|
|
.aphront-form-important code {
|
|
|
|
display: block;
|
|
|
|
padding: .25em;
|
|
|
|
margin: .5em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-02-22 19:21:39 +01:00
|
|
|
.aphront-form-control-static .aphront-form-input,
|
|
|
|
.aphront-form-control-markup .aphront-form-input {
|
2011-01-25 20:31:40 +01:00
|
|
|
padding-top: 4px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2011-01-26 02:40:21 +01:00
|
|
|
|
2011-04-04 00:50:06 +02:00
|
|
|
.aphront-form-control-togglebuttons .aphront-form-input {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
Improve Herald personal/global UI/UX
Summary:
- Default "personal" vs "global" choice to "personal".
- Don't show global rules under "My Rules".
- After editing or creating a global rule, redirect back to global rule list.
- Use radio buttons for "personal" vs "global" and add captions explaining the
difference.
- For "global" rules, don't show the owner/author in the rule detail view --
they effectively have no owner (see also D1387).
- For "global" rules, don't show the owner/author in the rule list view, as
above.
- For admin views, show rule type (global vs personal).
Test Plan:
- Created and edited new global and personal rules.
- Viewed "my", "global" and "admin" views.
Reviewers: btrahan, jungejason, nh, xela
Reviewed By: btrahan
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1518
2012-01-31 21:09:29 +01:00
|
|
|
table.aphront-form-control-radio-layout,
|
2011-01-26 02:40:21 +01:00
|
|
|
table.aphront-form-control-checkbox-layout {
|
|
|
|
margin-top: 3px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
Improve Herald personal/global UI/UX
Summary:
- Default "personal" vs "global" choice to "personal".
- Don't show global rules under "My Rules".
- After editing or creating a global rule, redirect back to global rule list.
- Use radio buttons for "personal" vs "global" and add captions explaining the
difference.
- For "global" rules, don't show the owner/author in the rule detail view --
they effectively have no owner (see also D1387).
- For "global" rules, don't show the owner/author in the rule list view, as
above.
- For admin views, show rule type (global vs personal).
Test Plan:
- Created and edited new global and personal rules.
- Viewed "my", "global" and "admin" views.
Reviewers: btrahan, jungejason, nh, xela
Reviewed By: btrahan
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1518
2012-01-31 21:09:29 +01:00
|
|
|
table.aphront-form-control-radio-layout th,
|
2011-01-26 02:40:21 +01:00
|
|
|
table.aphront-form-control-checkbox-layout th {
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-left: 0.35em;
|
2011-12-23 03:08:05 +01:00
|
|
|
padding-bottom: 4px;
|
2011-01-26 02:40:21 +01:00
|
|
|
}
|
|
|
|
|
Improve Herald personal/global UI/UX
Summary:
- Default "personal" vs "global" choice to "personal".
- Don't show global rules under "My Rules".
- After editing or creating a global rule, redirect back to global rule list.
- Use radio buttons for "personal" vs "global" and add captions explaining the
difference.
- For "global" rules, don't show the owner/author in the rule detail view --
they effectively have no owner (see also D1387).
- For "global" rules, don't show the owner/author in the rule list view, as
above.
- For admin views, show rule type (global vs personal).
Test Plan:
- Created and edited new global and personal rules.
- Viewed "my", "global" and "admin" views.
Reviewers: btrahan, jungejason, nh, xela
Reviewed By: btrahan
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1518
2012-01-31 21:09:29 +01:00
|
|
|
.aphront-form-control-radio-layout td input,
|
2011-01-26 02:40:21 +01:00
|
|
|
.aphront-form-control-checkbox-layout td input {
|
2011-12-23 03:08:05 +01:00
|
|
|
margin-top: 4px;
|
2011-01-26 02:40:21 +01:00
|
|
|
width: auto;
|
|
|
|
}
|
2011-02-06 08:56:06 +01:00
|
|
|
|
Improve Herald personal/global UI/UX
Summary:
- Default "personal" vs "global" choice to "personal".
- Don't show global rules under "My Rules".
- After editing or creating a global rule, redirect back to global rule list.
- Use radio buttons for "personal" vs "global" and add captions explaining the
difference.
- For "global" rules, don't show the owner/author in the rule detail view --
they effectively have no owner (see also D1387).
- For "global" rules, don't show the owner/author in the rule list view, as
above.
- For admin views, show rule type (global vs personal).
Test Plan:
- Created and edited new global and personal rules.
- Viewed "my", "global" and "admin" views.
Reviewers: btrahan, jungejason, nh, xela
Reviewed By: btrahan
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1518
2012-01-31 21:09:29 +01:00
|
|
|
.aphront-form-radio-caption {
|
|
|
|
font-size: 11px;
|
|
|
|
color: #444444;
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
|
2011-02-06 08:56:06 +01:00
|
|
|
.aphront-form-input hr {
|
|
|
|
border: none;
|
|
|
|
background: #bbbbbb;
|
|
|
|
height: 1px;
|
|
|
|
position: relative;
|
2011-03-24 19:07:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-form-inset {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
padding: .75em;
|
|
|
|
background: #f3f3f3;
|
|
|
|
border: 1px solid #afafaf;
|
|
|
|
}
|
Improve drag-and-drop uploader
Summary:
Make it discoverable, show uploading progress, show file thumbnails, allow you
to remove files, make it a generic form component.
Test Plan:
Uploaded ducks
Reviewed By: tomo
Reviewers: aran, tomo, jungejason, tuomaspelkonen
CC: anjali, aran, epriestley, tomo
Differential Revision: 334
2011-05-23 01:11:41 +02:00
|
|
|
|
|
|
|
.aphront-form-drag-and-drop-file-list {
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drag-and-drop-instructions {
|
|
|
|
color: #333333;
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 6px 8px;
|
|
|
|
}
|
2011-07-15 23:17:55 +02:00
|
|
|
|
|
|
|
.aphront-textarea-drag-and-drop {
|
|
|
|
background: #99ff99;
|
|
|
|
border-color: #669966;
|
|
|
|
}
|