Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#27] Demo grids #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"containerEnv": { "CODESPACE_NAME": "${localEnv:CODESPACE_NAME}" },
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/node:1": {}
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"overrideFeatureInstallOrder": [
"ghcr.io/devcontainers/features/common-utils"
Expand Down
Binary file added .ops/output/vrt/approved/Grids--desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .ops/output/vrt/approved/Grids--mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Header_Menus--desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Header_Menus--mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Home--desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Home--mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Long_Menus--desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Long_Menus--mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Menus--desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .ops/output/vrt/approved/Menus--mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions .ops/urls.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Title Path
Header Menus, /, clickMenu.js
Home, /
Menus, /menus
Long Menus, /menus/long
Header Menus, /, clickMenu.js
Grids, /grids
Home, /
Menus, /menus
Long Menus, /menus/long
136 changes: 124 additions & 12 deletions dist/main.compiled.css
Original file line number Diff line number Diff line change
Expand Up @@ -3279,10 +3279,6 @@ html .layout .l-top{
padding-right: 0;
}

html .layout .l-top{
margin-top: 2rem;
}

html .layout .l-bottom,
html .layout .l-middle{
padding-left: 20px;
Expand Down Expand Up @@ -6407,6 +6403,7 @@ fieldset .summary{
padding: 0;
}

.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
Expand All @@ -6420,6 +6417,7 @@ fieldset .summary{
backface-visibility: hidden;
}

.bordered-block:hover,
.bordered > article:hover,
.bordered.views-grid-box:hover,
.aplenty-card-border .aplenty-card > .content:hover{
Expand All @@ -6428,31 +6426,137 @@ fieldset .summary{
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-top: 3rem;
}

@media (min-width: 768px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-top: 3.6rem;
}
}

@media (min-width: 1500px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-top: 3.8rem;
}
}

.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
margin-bottom: 3rem;
}

@media (min-width: 768px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
margin-bottom: 3.6rem;
}
}

@media (min-width: 1500px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
margin-bottom: 3.8rem;
}
}

.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-left: 3rem;
padding-right: 3rem;
}

@media (min-width: 768px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-left: 3.6rem;
padding-right: 3.6rem;
}
}

@media (min-width: 1500px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-left: 3.8rem;
padding-right: 3.8rem;
}
}

.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-bottom: 3.4rem;
}

@media (min-width: 768px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-bottom: 5.8rem;
}
}

@media (min-width: 1500px){
.bordered-block,
.bordered > article,
.bordered.views-grid-box,
.aplenty-card-border .aplenty-card > .content{
padding-bottom: 6.1rem;
}
}

.bordered-block h3, .bordered-block h2, .bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
font-size: 1.32em;
letter-spacing: -0.012em;
}

@media (min-width: 768px){
.bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
.bordered-block h3, .bordered-block h2, .bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
font-size: 1.44em;
}
}

@media (min-width: 992px){
.bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
.bordered-block h3, .bordered-block h2, .bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
font-size: 1.56em;
}
}

.bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
.bordered-block h3, .bordered-block h2, .bordered > article h3, .bordered > article h2, .bordered.views-grid-box h3, .bordered.views-grid-box h2, .aplenty-card-border .aplenty-card > .content h3, .aplenty-card-border .aplenty-card > .content h2{
z-index: 20;
margin-bottom: 0.8em;
font-family: "Source Serif 4", "Source Serif Pro", Georgia, Times, "Times New Roman", serif;
font-size: 3rem;
}

.bordered > article .field-name-field-aplenty-title,
.bordered-block .field-name-field-aplenty-title,
.bordered-block .field-type-link-field,
.bordered-block .field-type-text-long,
.bordered > article .field-name-field-aplenty-title,
.bordered > article .field-type-link-field,
.bordered > article .field-type-text-long,
.bordered.views-grid-box .field-name-field-aplenty-title,
Expand All @@ -6465,6 +6569,9 @@ fieldset .summary{
}

@media (min-width: 768px){
.bordered-block .field-name-field-aplenty-title,
.bordered-block .field-type-link-field,
.bordered-block .field-type-text-long,
.bordered > article .field-name-field-aplenty-title,
.bordered > article .field-type-link-field,
.bordered > article .field-type-text-long,
Expand All @@ -6479,6 +6586,9 @@ fieldset .summary{
}

@media (min-width: 1500px){
.bordered-block .field-name-field-aplenty-title,
.bordered-block .field-type-link-field,
.bordered-block .field-type-text-long,
.bordered > article .field-name-field-aplenty-title,
.bordered > article .field-type-link-field,
.bordered > article .field-type-text-long,
Expand All @@ -6492,7 +6602,9 @@ fieldset .summary{
}
}

.bordered > article:hover .postcard-image img,
.bordered-block:hover .postcard-image img,
.bordered-block:hover .lead-image img,
.bordered > article:hover .postcard-image img,
.bordered > article:hover .lead-image img,
.bordered.views-grid-box:hover .postcard-image img,
.bordered.views-grid-box:hover .lead-image img,
Expand All @@ -6503,7 +6615,7 @@ fieldset .summary{
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.bordered > article:hover .node-readmore a:after, .bordered.views-grid-box:hover .node-readmore a:after, .aplenty-card-border .aplenty-card > .content:hover .node-readmore a:after{
.bordered-block:hover .node-readmore a:after, .bordered > article:hover .node-readmore a:after, .bordered.views-grid-box:hover .node-readmore a:after, .aplenty-card-border .aplenty-card > .content:hover .node-readmore a:after{
--tw-translate-x: 0.2em;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
Expand Down Expand Up @@ -7183,7 +7295,7 @@ fieldset .summary{
}

.block-hero{
margin-bottom: 0;
margin-bottom: 2rem;
width: 100%;
text-align: center;
--tw-text-opacity: 1;
Expand Down
12 changes: 12 additions & 0 deletions profiles/decanter_profile/config/block.custom.default_width.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"_config_name": "block.custom.default_width",
"delta": "default_width",
"info": "Default Width",
"title": "Default Width",
"description": "",
"body": {
"value": "<p>\r\n This block takes up the default width for the region. For footer regions this is 1/4 width. For some regions that is full width. This can be changed by adding a class to the block using the \"Style settings\"\r\n</p>",
"format": "content_editor_text_format"
},
"default_langcode": "und"
}
12 changes: 12 additions & 0 deletions profiles/decanter_profile/config/block.custom.half_width.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"_config_name": "block.custom.half_width",
"delta": "half_width",
"info": "Half Width",
"title": "Half Width (.col-half)",
"description": "",
"body": {
"value": "<p>\r\n This block will always take up half the total width (6 columns at desktop sizes). It collapses down to a single column for mobile.\r\n</p>",
"format": "content_editor_text_format"
},
"default_langcode": "und"
}
12 changes: 12 additions & 0 deletions profiles/decanter_profile/config/block.custom.quarter_width.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"_config_name": "block.custom.quarter_width",
"delta": "quarter_width",
"info": "Quarter Width",
"title": "Quarter Width",
"description": "",
"body": {
"value": "<p>\r\n This block will always take up a quarter the total width (3 columns at desktop sizes). It collapses down to a single column for mobile.\r\n</p>",
"format": "content_editor_text_format"
},
"default_langcode": "und"
}
Loading