- md5
- 203b17e33d6ea2089af9efe75a9ea950
- sha1
- ee4de1cdde349cdf50849a0a9dd2ddfdc3eeb51b
- sha256
- 01e22d2ea6d9533321d6ae92122fc975875f3e5f9e09f1f7cae13d9f121abc43
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
// CSS Grid
@supports (display: grid) {
.site-grid {
display: grid;
grid-template-areas: ". head head head head ."
". banner banner banner banner ."
". top-a top-a top-a top-a ."
". top-b top-b top-b top-b ."
". comp comp comp comp ."
". side-r side-r side-r side-r ."
". side-l side-l side-l side-l ."
". bot-a bot-a bot-a bot-a ."
". bot-b bot-b bot-b bot-b ."
". footer footer footer footer ."
". debug debug debug debug .";
grid-template-columns: [full-start] minmax(0, 1fr) [main-start] repeat(4, minmax(0, 16.875rem)) [main-end] minmax(0, 1fr) [full-end];
grid-gap: 0 $cassiopeia-grid-gutter;
> [class^="container-"],
> [class*=" container-"] {
width: 100%;
max-width: none;
}
&:not(.has-sidebar-left) .container-component {
grid-column-start: main-start;
}
&:not(.has-sidebar-right) .container-component {
grid-column-end: main-end;
}
> .full-width {
grid-column: full-start / full-end;
}
@include media-breakpoint-up(md) {
grid-template-areas: ". head head head head ."
". banner banner banner banner ."
". top-a top-a top-a top-a ."
". top-b top-b top-b top-b ."
". side-l comp comp side-r ."
". bot-a bot-a bot-a bot-a ."
". bot-b bot-b bot-b bot-b ."
". footer footer footer footer ."
". debug debug debug debug .";
}
&.wrapper-fluid {
grid-template-columns: [full-start] minmax(0, 1fr) [main-start] repeat(4, minmax(0, 25%)) [main-end] minmax(0, 1fr) [full-end];
grid-gap: 0 ($cassiopeia-grid-gutter*2);
.grid-child {
max-width: none;
}
header > .grid-child,
footer > .grid-child {
padding-right: $cassiopeia-grid-gutter*2;
padding-left: $cassiopeia-grid-gutter*2;
}
}
}
}
.container-header {
grid-area: head;
}
.container-banner {
grid-area: banner;
}
.container-top-a {
grid-area: top-a;
}
.container-top-b {
grid-area: top-b;
}
.container-component {
grid-area: comp;
}
.container-sidebar-left {
grid-area: side-l;
}
.container-sidebar-right {
grid-area: side-r;
}
.container-main-top {
grid-area: main-t;
}
.container-main-bottom {
grid-area: main-b;
}
.container-bradcrumbs {
grid-area: bread;
}
.container-bottom-a {
grid-area: bot-a;
}
.container-bottom-b {
grid-area: bot-b;
}
.container-footer {
grid-area: footer;
}
.system-debug {
grid-area: debug;
}
The same content is in 2 releases, Joomla 4.0.0-beta6 to 4.0.0-beta7. See them all, or every version of this file.