move the list-filter sticky related style back to be in admin-interface.css
as it was there before moving files from templates to static csspull/157/head
parent
809c39a9ff
commit
a68094ff10
|
|
@ -343,6 +343,23 @@
|
||||||
color: var(--admin-interface-generic-link-hover-color);
|
color: var(--admin-interface-generic-link-hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* list-filter sticky */
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.admin-interface.list-filter-sticky .module.filtered #changelist-filter {
|
||||||
|
position: sticky;
|
||||||
|
top: 40px;
|
||||||
|
float: right;
|
||||||
|
z-index: 30;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* feature not available for django < 3.1.2 */
|
||||||
|
.admin-interface.list-filter-sticky .module.filtered #toolbar + #changelist-filter {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
z-index: 30;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.admin-interface .module.filtered #changelist-filter {
|
.admin-interface .module.filtered #changelist-filter {
|
||||||
border-bottom-left-radius: var(--admin-interface-module-border-radius);
|
border-bottom-left-radius: var(--admin-interface-module-border-radius);
|
||||||
border-bottom-right-radius: var(--admin-interface-module-border-radius);
|
border-bottom-right-radius: var(--admin-interface-module-border-radius);
|
||||||
|
|
|
||||||
|
|
@ -31,21 +31,6 @@
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* list-filter sticky */
|
|
||||||
.admin-interface.list-filter-sticky .module.filtered #changelist-filter {
|
|
||||||
position: sticky;
|
|
||||||
top: 40px;
|
|
||||||
float: right;
|
|
||||||
z-index: 30;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* feature not available for django < 3.1.2 */
|
|
||||||
.admin-interface.list-filter-sticky .module.filtered #toolbar + #changelist-filter {
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
z-index: 30;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width:1024px) {
|
@media (min-width:1024px) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue