1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00
phorge-phorge/webroot/rsrc/css/application/owners/owners-path-editor.css
epriestley a4cc1373d3 Use a tokenizer, not a gigantic poorly-ordered "<select />", to choose repositories in Owners
Summary: Depends on D19190. Fixes T12590. Ref T13099. Replaces the barely-usable, gigantic, poorly ordered "<select />" control with a tokenizer. Attempts to fix various minor issues.

Test Plan:
  - Edited paths: include/exclude paths, from different repositories, different actual paths.
  - Used "Add New Path" to add rows, got repository selector prepopulated with last value.
  - Used "remove".
  - Used validation typeahead, got reasonable behaviors?

The error behavior if you delete the repository for a path is a little sketchy still, but roughly okay.

Maniphest Tasks: T13099, T12590

Differential Revision: https://secure.phabricator.com/D19191
2018-03-07 20:57:24 -08:00

49 lines
878 B
CSS

/**
* @provides owners-path-editor-css
*/
.owners-path-editor-table {
margin: 10px 0;
width: 100%;
}
.owners-path-editor-table td {
padding: 2px 4px;
vertical-align: middle;
}
.owners-path-editor-table td.owners-path-mode-control {
width: 180px;
}
.owners-path-editor-table td.owners-path-mode-control select {
width: 100%;
}
.owners-path-editor-table td.owners-path-repo-control {
width: 280px;
}
.owners-path-editor-table td.owners-path-path-control {
width: auto;
}
.owners-path-editor-table td.owners-path-path-control input {
width: 100%;
}
.owners-path-editor-table td.owners-path-path-control .jx-typeahead-results a {
padding: 4px;
}
.owners-path-editor-table td.owners-path-icon-control {
width: 18px;
}
.owners-path-editor-table td.remove-column {
width: 100px;
}
.owners-path-editor-table td.remove-column a {
display: block;
}