mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
eab768f705
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
40 lines
635 B
CSS
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;
|
|
}
|
|
|