diff --git a/acf-json/group_5dfccae53e4bc.json b/acf-json/group_5dfccae53e4bc.json index b69533a..57588fd 100644 --- a/acf-json/group_5dfccae53e4bc.json +++ b/acf-json/group_5dfccae53e4bc.json @@ -509,6 +509,26 @@ "media_upload": 1, "delay": 0 }, + { + "key": "field_66c5b84bc694f", + "label": "Footer additional texts", + "name": "footer_additional_texts", + "aria-label": "", + "type": "wysiwyg", + "instructions": "If used footer will split in two columns on desktop: first columns contains \"Footer texts\", second column contains \"Footer additional texts\".", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "delay": 0 + }, { "key": "field_5edcf2dea1256", "label": "Favicons path", @@ -794,5 +814,5 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1696353688 -} \ No newline at end of file + "modified": 1724233898 +} diff --git a/acf-json/group_66ee8b7f358e2.json b/acf-json/group_66ee8b7f358e2.json new file mode 100644 index 0000000..ff8b53f --- /dev/null +++ b/acf-json/group_66ee8b7f358e2.json @@ -0,0 +1,53 @@ +{ + "key": "group_66ee8b7f358e2", + "title": "Books page settings", + "fields": [ + { + "key": "field_66ee8b7f1d4ce", + "label": "Page layout", + "name": "books_page_layout", + "aria-label": "", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "books-list": "List", + "books-mosaic": "Mosaic" + }, + "default_value": false, + "return_format": "value", + "multiple": 0, + "allow_null": 0, + "ui": 0, + "ajax": 0, + "placeholder": "" + } + ], + "location": [ + [ + { + "param": "page_template", + "operator": "==", + "value": "page-books.php" + } + ] + ], + "menu_order": 0, + "position": "acf_after_title", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": [ + "the_content" + ], + "active": true, + "description": "", + "show_in_rest": 0, + "modified": 1726909434 +} diff --git a/assets/css/desktop/_fullhd-grid-exc.scss b/assets/css/desktop/_fullhd-grid-exc.scss index afe4c34..cc9f5a2 100644 --- a/assets/css/desktop/_fullhd-grid-exc.scss +++ b/assets/css/desktop/_fullhd-grid-exc.scss @@ -19,6 +19,10 @@ .flex-hold-child:nth-child(4n) { margin-right: 0; } + + &.books-listing { + justify-content: start; + } } } diff --git a/assets/css/desktop/_grid-exc.scss b/assets/css/desktop/_grid-exc.scss index 820757f..7aeb507 100644 --- a/assets/css/desktop/_grid-exc.scss +++ b/assets/css/desktop/_grid-exc.scss @@ -18,6 +18,7 @@ .flex-hold-child:nth-child(5n) { margin-right: 0; } + } } @@ -37,6 +38,10 @@ .flex-hold-child:nth-child(3n) { margin-right: 0; } + + &.books-listing { + justify-content: start; + } } } diff --git a/assets/css/desktop/_header-footer.scss b/assets/css/desktop/_header-footer.scss index 41a9220..114b80c 100644 --- a/assets/css/desktop/_header-footer.scss +++ b/assets/css/desktop/_header-footer.scss @@ -162,9 +162,9 @@ margin-left: -90px; padding: 15px 0 !important; text-transform: none; - -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); - box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); + //-webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); + //-moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); + //box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15); opacity: 0; pointer-events: none; @include define-basic-transition(opacity, 0.15s); @@ -281,4 +281,10 @@ } } } +} + +#footer { + .right { + text-align: right; + } } \ No newline at end of file diff --git a/assets/css/global/_colors-dark.scss b/assets/css/global/_colors-dark.scss index d5585bd..440054d 100644 --- a/assets/css/global/_colors-dark.scss +++ b/assets/css/global/_colors-dark.scss @@ -270,4 +270,8 @@ body.dark-theme { } } } + + .book-mosaic-item { + background-color: $color-4-dark; + } } \ No newline at end of file diff --git a/assets/css/global/_defaults.scss b/assets/css/global/_defaults.scss index 9550a77..b715d3e 100644 --- a/assets/css/global/_defaults.scss +++ b/assets/css/global/_defaults.scss @@ -386,6 +386,23 @@ a.absl:link { border-bottom: 1px solid; } +.book-mosaic-item { + position: relative; + width: 100%; + aspect-ratio: 1/1; + + img, + video { + position: absolute; + top: 20px; + left: 20px; + width: calc(100% - 40px); + height: calc(100% - 40px); + object-fit: contain; + object-position: 50% 50%; + } +} + .lined { border-bottom: 1px solid; } @@ -426,4 +443,29 @@ a.absl:link { display: block; clear: both; } +} + +#footer { + .flex-hold { + margin-top: 0; + padding: 0; + align-items: normal; + + .flex-hold-child { + margin-bottom: 0; + } + } +} + +.screen-reader-text { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + word-wrap: normal !important; } \ No newline at end of file diff --git a/footer.php b/footer.php index e7f0d7a..6ea3539 100644 --- a/footer.php +++ b/footer.php @@ -4,33 +4,45 @@ ?>