|
|
|
// stylelint-disable no-descending-specificity
|
|
|
|
|
|
|
|
.network-catalog fieldset {
|
|
|
|
border-top: solid 2px var(--accent);
|
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
text-transform: none;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
all: inherit;
|
|
|
|
width: 100%;
|
|
|
|
padding: 1rem 1.1875rem;
|
|
|
|
margin: 0;
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: var(--primary);
|
|
|
|
background: var(--bg-body);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[aria-expanded="true"] {
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
svg {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
[aria-expanded="true"] {
|
|
|
|
border-bottom: solid 2px var(--accent);
|
|
|
|
background: var(--body-bg-alt);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="radio"] {
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
display: inline-block;
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="radio"] + label {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
padding: 1rem 1.1875rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="radio"]:focus {
|
|
|
|
label {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="radio"]:checked + label {
|
|
|
|
color: var(--primary);
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
fill: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: solid 2px var(--accent);
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.js .filter-sort [type="submit"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear-filters {
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
margin: 0 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-template-page-catalog {
|
|
|
|
.books {
|
|
|
|
width: calc(100% - 1rem);
|
|
|
|
padding: 0;
|
|
|
|
margin: 2rem 0 1rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book, .featured_book {
|
|
|
|
height: 14.375rem;
|
|
|
|
width: calc(50% - 1rem);
|
|
|
|
margin: 0 1rem 1rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.catalog-navigation {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: rem(40);
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
align-items: baseline;
|
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--body-text);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous,
|
|
|
|
.next {
|
|
|
|
display: block;
|
|
|
|
margin: 0 rem(26);
|
|
|
|
font-family: $font-family-sans-serif;
|
|
|
|
font-size: rem(16);
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1rem;
|
|
|
|
margin: 0.25rem rem(6) 0;
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pages {
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: solid 2px #ececec;
|
|
|
|
|
|
|
|
a,
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
width: rem(41);
|
|
|
|
padding: rem(8) 0;
|
|
|
|
font-size: rem(24);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current {
|
|
|
|
border-bottom: solid rem(6) var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media #{$breakpoint-medium} {
|
|
|
|
.filter-sort {
|
|
|
|
width: calc(100% - 1rem);
|
|
|
|
height: 7rem;
|
|
|
|
margin: 2rem 0 1rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
width: calc(100% / 3 - 1rem);
|
|
|
|
margin: 0 1rem 1rem 0;
|
|
|
|
float: left;
|
|
|
|
border-top: 0;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset h2 button {
|
|
|
|
border-bottom: solid 2px var(--accent);
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset div:not([hidden]) {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
background: var(--body-bg);
|
|
|
|
z-index: 99;
|
|
|
|
border-right: rem(1) solid #ececec;
|
|
|
|
border-left: rem(1) solid #ececec;
|
|
|
|
border-bottom: rem(1) solid #ececec;
|
|
|
|
|
|
|
|
.subject-groups {
|
|
|
|
width: calc(100% + 0.125rem);
|
|
|
|
margin-left: -0.0612rem;
|
|
|
|
|
|
|
|
div {
|
|
|
|
position: relative;
|
|
|
|
width: calc(100% + 0.125rem);
|
|
|
|
margin-left: -0.0612rem;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear-filters {
|
|
|
|
width: calc(100% / 3 - 1rem);
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-template-page-catalog .book {
|
|
|
|
height: 16.25rem;
|
|
|
|
width: calc(100% / 3 - 1rem);
|
|
|
|
margin: 0 1rem 1rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media #{$breakpoint-large} {
|
|
|
|
.page-template-page-catalog #content {
|
|
|
|
width: calc(100% - 1rem);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: rem(1650);
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-sort {
|
|
|
|
width: calc(25% - 2rem);
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
margin: 2rem 1rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset div:not([hidden]) {
|
|
|
|
position: relative;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear-filters {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-template-page-catalog .books {
|
|
|
|
width: 75%;
|
|
|
|
float: right;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-template-page-catalog .book {
|
|
|
|
height: 16.25rem;
|
|
|
|
max-width: calc(100% / 3 - 1rem);
|
|
|
|
margin: 0 1rem 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.catalog-navigation {
|
|
|
|
width: 75%;
|
|
|
|
float: right;
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|