admin display improvements
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* Admin views tables: compact paddings + width constraint.
|
||||
*
|
||||
* Transposed from the retired matminimal theme, adapted for Gin.
|
||||
*/
|
||||
|
||||
/* General: compact paddings on all admin views tables. */
|
||||
.views-table th,
|
||||
.views-table td {
|
||||
padding: 0.3rem 0.45rem;
|
||||
}
|
||||
.views-table td {
|
||||
vertical-align: top;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* Hard constraint for the materials admin view: fixed layout forces the
|
||||
table to fit 100% of the available width, whatever the content.
|
||||
Column widths must sum to 100%. */
|
||||
.view-id-admin_nodes .views-table {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
.view-id-admin_nodes .views-table th.views-field-views-bulk-operations-bulk-form { width: 2.5%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-title { width: 8%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-thesaurus { width: 9%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-tags { width: 9%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-manufacturer { width: 7%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-linked-materials { width: 8%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-linked-articles { width: 8%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-samples { width: 6%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-attachments { width: 6%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-workflow { width: 6%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-memo { width: 16%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-changed { width: 6%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-created { width: 6%; }
|
||||
.view-id-admin_nodes .views-table th.views-field-field-index { width: 2.5%; }
|
||||
Reference in New Issue
Block a user