1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-17 02:50:54 +01:00
phorge-phorge/webroot/rsrc/css/application/policy/policy-edit.css
epriestley 11fbd213b1 Custom Policy Editor
Summary:
Ref T603. This isn't remotely usable yet, but I wanted to get any feedback before I build it out anymore.

I think this is a reasonable interface for defining custom policies? It's basically similar to Herald, although it's a bit simpler.

I imagine users will rarely interact with this, but this will service the high end of policy complexity (and allow the definition of things like "is member of LDAP group" or whatever).

Test Plan: See screenshots.

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran, asherkin

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7217
2013-10-09 14:05:10 -07:00

32 lines
482 B
CSS

/**
* @provides policy-edit-css
*/
.policy-rules-table {
width: 100%;
}
.policy-rules-table td {
padding: 4px;
width: 32px;
vertical-align: middle;
}
.policy-rules-table td.action-cell {
width: 120px;
}
.policy-rules-table td.rule-cell {
width: 180px;
}
.policy-rules-table td.value-cell {
width: auto;
padding-right: 12px;
}
.policy-rules-table td.action-cell select,
.policy-rules-table td.rule-cell select,
.policy-rules-table td input {
width: 100%;
}