1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00
phorge-phorge/webroot/rsrc/css/aphront/error-view.css
epriestley eab768f705 Allow projects to be quickly added from the Maniphest task creation interface
Summary:
Provide a quick workflow for adding a new project. This ended up being sort of
complicated because we don't currently put forms in dialogs. I separated the
actual <form /> tag out of the display/layout of AphrontFormView to enable this
(the dialog is itself a form).

Limitations: if you create a new project and then remove it, it won't appear in
the tokenizer until you reload the page. We need to add the ability for the
datasource to drop its cache to enable this, which is super complicated.

Test Plan:
Used "Create new project" to add a new project when creating a task.

Reviewed By: aran
Reviewers: jungejason, tuomaspelkonen, aran
CC: anjali, aran, epriestley
Differential Revision: 422
2011-06-13 10:17:08 -07:00

40 lines
635 B
CSS

/**
* @provides aphront-error-view-css
*/
.aphront-error-view {
margin: 1em auto;
padding: 1em;
-webkit-box-shadow: 2px 2px 2px #999;
-mox-box-shadow: 2px 2px 2px #999;
box-shadow: 2px 2px 2px #999;
}
.aphront-error-width-default {
width: 720px;
}
.aphront-error-width-dialog {
width: 300px;
}
.aphront-error-width-wide {
width: 95%;
}
.aphront-error-severity-error {
border: 1px solid #aa0000;
background: #f9b9bc;
}
.aphront-error-severity-warning {
border: 1px solid #888800;
background: #ffffdd;
}
.aphront-error-severity-notice {
border: 1px solid #000088;
background: #e3e3ff;
}