-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datatables): ✨ rework search pane and filter styles
- Loading branch information
1 parent
54ca25f
commit 84abe5a
Showing
4 changed files
with
228 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,10 @@ blockquote { | |
} | ||
} | ||
|
||
button { | ||
font-family: var( --font-family-base ); | ||
} | ||
|
||
sup, | ||
sub { | ||
line-height: 1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
skinStyles/extensions/SemanticResultFormats/datatables/ext.srf.datatables.v2.format.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Citizen | ||
* | ||
* SkinStyles for Extension:SemanticResultsFormats | ||
* Module: ext.srf.datatables.v2.format | ||
* Version: 4.2.1 | ||
* | ||
* Date: 2024-03-19 | ||
*/ | ||
|
||
// Re-implement datatable responsiveness broken by SRF | ||
// FIXME: Remove when upstream is fixed | ||
@media screen and ( max-width: 640px ) { | ||
.srf-datatable { | ||
.dataTables_filter, | ||
.dataTables_length { | ||
float: none; | ||
} | ||
|
||
.dataTables_filter, | ||
.dt-buttons { | ||
margin-right: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters