mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/ldap_groups_sync.git
synced 2026-03-09 18:07:41 -03:00
Inicializa módulo base ldap_groups_sync
Cria super-módulo com infraestrutura compartilhada de regras de acesso para os módulos de sincronização LDAP de grupos. - GroupAccessRulesService: serviço parametrizável por config name - AccessRulesFormBase: listagem/remoção de regras (classe abstrata) - AccessRuleFormBase: formulário modal de criação/edição (classe abstrata) - Sub-módulos ldap_departments_sync e ldap_research_groups_sync refatorados para estender as classes base com subclasses mínimas - Traduções pt-br centralizadas em ldap_groups_sync.pt-br.po Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
73
ldap_research_groups_sync/css/role-mapping.css
Normal file
73
ldap_research_groups_sync/css/role-mapping.css
Normal file
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* Role mapping table styles
|
||||
*/
|
||||
|
||||
/* Limita a largura da tabela e permite scroll horizontal se necessário */
|
||||
.role-mappings-table {
|
||||
max-width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
/* Define larguras fixas para cada coluna */
|
||||
.role-mappings-table th:nth-child(1),
|
||||
.role-mappings-table td:nth-child(1) {
|
||||
width: 20%;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(2),
|
||||
.role-mappings-table td:nth-child(2) {
|
||||
width: 15%;
|
||||
min-width: 130px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(3),
|
||||
.role-mappings-table td:nth-child(3) {
|
||||
width: 25%;
|
||||
min-width: 180px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(4),
|
||||
.role-mappings-table td:nth-child(4) {
|
||||
width: 30%;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.role-mappings-table th:nth-child(5),
|
||||
.role-mappings-table td:nth-child(5) {
|
||||
width: 10%;
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Estilo dos selects para limitar largura e truncar texto */
|
||||
.role-mapping-field-select {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Estilo para options dentro dos selects - mostra texto completo no dropdown */
|
||||
.role-mapping-field-select option {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
/* Estilo do textarea */
|
||||
.role-mapping-values-textarea {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
/* Responsividade: em telas menores, permite scroll horizontal */
|
||||
@media (max-width: 1200px) {
|
||||
.role-mappings-table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user