mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
139 lines
2.3 KiB
SCSS
139 lines
2.3 KiB
SCSS
.homepage .summary {
|
|
@include clearfix();
|
|
margin-bottom: 2em;
|
|
padding-top: 2em;
|
|
|
|
ul.stats {
|
|
@include clearfix();
|
|
@include unlist();
|
|
width: 100%;
|
|
margin-inline-start: -$padding;
|
|
|
|
li {
|
|
@include column(4);
|
|
margin-bottom: 2em;
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
li.icon::before,
|
|
li svg.icon {
|
|
opacity: 0.2;
|
|
font-size: 6em;
|
|
float: left;
|
|
|
|
@include media-breakpoint-down(md) {
|
|
font-size: 5em;
|
|
}
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
font-size: 4.5em;
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
font-size: 4em;
|
|
}
|
|
|
|
// Media for Windows High Contrast Mode
|
|
@media (forced-colors: $media-forced-colours) {
|
|
color: $system-color-link-text;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
li svg.icon {
|
|
width: 1em;
|
|
height: 1em;
|
|
margin-inline-end: 0.5em;
|
|
}
|
|
|
|
a {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
span {
|
|
font-family: $font-sans;
|
|
display: block;
|
|
font-size: 4em;
|
|
line-height: 1em;
|
|
font-weight: 300;
|
|
|
|
@include media-breakpoint-down(md) {
|
|
font-size: 3em;
|
|
}
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
font-size: 2.5em;
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
font-size: 2em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.search-bar {
|
|
@include clearfix();
|
|
border-top: 1px solid $color-grey-4;
|
|
padding: 1em 0 0;
|
|
|
|
h2 {
|
|
display: inline-block;
|
|
margin-inline-end: 1em;
|
|
}
|
|
|
|
.fields {
|
|
display: inline-block;
|
|
clear: none;
|
|
}
|
|
|
|
.field {
|
|
display: inline-block;
|
|
}
|
|
|
|
label {
|
|
display: inline-block;
|
|
}
|
|
|
|
input {
|
|
background-color: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.homepage .object.collapsible .object-layout .title-wrapper::before {
|
|
display: none;
|
|
}
|
|
|
|
.homepage .object-layout {
|
|
// enforce flex display at all screen sizes
|
|
display: flex;
|
|
flex-flow: row-reverse wrap;
|
|
|
|
.listing--push-top {
|
|
margin-top: 3em;
|
|
|
|
thead {
|
|
display: table-row-group;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.listing {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.listing tbody {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.homepage .task .icon {
|
|
margin-inline-start: -1.75em; // pull out the icon so it aligns with no-icon text
|
|
}
|