mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 13:10:14 +01:00
Move breadcrumbs styling in _listing.scss to its own _breadcrumbs.scss file
This commit is contained in:
parent
6f92a71253
commit
f4f08ee2fe
15
client/scss/components/_breadcrumbs.scss
Normal file
15
client/scss/components/_breadcrumbs.scss
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
.page-explorer .w-breadcrumbs {
|
||||||
|
@apply sm:w-py-2.5;
|
||||||
|
|
||||||
|
li[hidden] ~ li:last-child,
|
||||||
|
li:only-child {
|
||||||
|
a {
|
||||||
|
font-size: theme('fontSize.18');
|
||||||
|
font-weight: theme('fontWeight.extrabold');
|
||||||
|
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
font-size: theme('fontSize.22');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -413,22 +413,6 @@ table.listing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-explorer .w-breadcrumbs {
|
|
||||||
@apply sm:w-py-2.5;
|
|
||||||
|
|
||||||
li[hidden] ~ li:last-child,
|
|
||||||
li:only-child {
|
|
||||||
a {
|
|
||||||
font-size: theme('fontSize.18');
|
|
||||||
font-weight: theme('fontWeight.extrabold');
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
font-size: theme('fontSize.22');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-explorer .listing {
|
.page-explorer .listing {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@ -163,6 +163,7 @@ These are classes for components.
|
|||||||
@import 'components/preview-error';
|
@import 'components/preview-error';
|
||||||
@import 'components/form-side';
|
@import 'components/form-side';
|
||||||
@import 'components/userbar';
|
@import 'components/userbar';
|
||||||
|
@import 'components/breadcrumbs';
|
||||||
|
|
||||||
@import '../src/components/Sidebar/Sidebar';
|
@import '../src/components/Sidebar/Sidebar';
|
||||||
@import '../src/components/Minimap/Minimap';
|
@import '../src/components/Minimap/Minimap';
|
||||||
|
Loading…
Reference in New Issue
Block a user