-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Datatables should use the same styling that has been introduced in JENKINS-75990.
Currently, we use a totally different styling, it would make sense to use the same styling that has been introduced by ridemountainpig in jenkinsci/jenkins#11016.
Styles that needs to be adapted are located in
data-tables-api-plugin/src/main/webapp/css/jenkins-style.css
Lines 17 to 25 in bf48741
| /* Add rounded border for table header hover */ | |
| table.dataTable thead > tr > th.dt-orderable-asc:hover, | |
| table.dataTable thead > tr > th.dt-orderable-desc:hover, | |
| table.dataTable thead > tr > td.dt-orderable-asc:hover, | |
| table.dataTable thead > tr > td.dt-orderable-desc:hover { | |
| outline: 1.5px solid var(--bs-table-border-color); | |
| outline-offset: -5px; | |
| border-radius: 10px; | |
| } |
Originally reported by
drulli, imported from: Use Jenkins mouse-over effects for data tables header
- status: Open
- priority: Minor
- component(s): data-tables-api-plugin
- label(s): help-wanted, newbie-friendly
- resolution: Unresolved
- votes: 0
- watchers: 1
- imported: 20260107-220949
Raw content of original issue
Datatables should use the same styling that has been introduced in
JENKINS-75990.Currently, we use a totally different styling, it would make sense to use the same styling that has been introduced by ridemountainpig in jenkinsci/jenkins#11016.
Styles that needs to be adapted are located in
.data-tables-api-plugin/src/main/webapp/css/jenkins-style.css
Lines 17 to 25 in bf48741
/* Add rounded border for table header hover */ table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover, table.dataTable thead > tr > td.dt-orderable-asc:hover, table.dataTable thead > tr > td.dt-orderable-desc:hover { outline: 1.5px solid var(--bs-table-border-color); outline-offset: -5px; border-radius: 10px; }



