mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
c9a0d68340
Summary: See PHI242. All use cases for this that I know of are pretty hacky, but they don't seem perilous, and it's easier than webhooks. See P1895, T10183, and T9853 for me previously refusing to implement this since all those use cases were also pretty bad. Test Plan: - Wrote a rule to add comments, saw it add comments. - Reviewed summary, re-edited rule, reviewed transcript to check that all the strings worked OK. - Wrote a new rule for a non-commentable object (a blog) to make sure I wasn't offered the "Add a comment" action. Reviewers: amckinley Reviewed By: amckinley Differential Revision: https://secure.phabricator.com/D18823
63 lines
961 B
CSS
63 lines
961 B
CSS
/**
|
|
* @provides herald-css
|
|
*/
|
|
|
|
.herald-action-table,
|
|
.herald-condition-table {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.herald-condition-table select {
|
|
width: 160px;
|
|
}
|
|
|
|
.device-phone .herald-condition-table select {
|
|
width: 90px;
|
|
}
|
|
|
|
.herald-action-table td,
|
|
.herald-condition-table td {
|
|
padding: 2px 8px 2px 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.herald-action-table td.remove-column,
|
|
.herald-condition-table td.remove-column {
|
|
padding: 2px 0 2px 4px;
|
|
}
|
|
|
|
.herald-condition-table td.value {
|
|
width: 100%;
|
|
}
|
|
|
|
.herald-action-table td input,
|
|
.herald-condition-table td input {
|
|
width: 95%;
|
|
max-width: 460px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.herald-action-table td textarea {
|
|
width: 95%;
|
|
height: 8em;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.herald-action-table td.target {
|
|
width: 100%;
|
|
}
|
|
|
|
.herald-list-description {
|
|
color: {$bluetext};
|
|
font-weight: bold;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.herald-list-icon {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.herald-list-item {
|
|
padding-bottom: 4px;
|
|
color: {$darkbluetext};
|
|
}
|