|
@@ -1021,11 +1021,17 @@ object {
|
|
min-width: 300px;
|
|
min-width: 300px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * Placeholder button style
|
|
|
|
+ * - Since buttons appear in various blocks,
|
|
|
|
+ * let’s use a placeholder to keep them all
|
|
|
|
+ * in-sync
|
|
|
|
+ */
|
|
button,
|
|
button,
|
|
.button,
|
|
.button,
|
|
input[type="submit"],
|
|
input[type="submit"],
|
|
.wp-block-button__link,
|
|
.wp-block-button__link,
|
|
-.wp-block-file__button {
|
|
|
|
|
|
+.wp-block-file__button, .a8c-posts-list__view-all {
|
|
line-height: 1;
|
|
line-height: 1;
|
|
color: white;
|
|
color: white;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
@@ -1038,15 +1044,15 @@ input[type="submit"],
|
|
padding: 16px 16px;
|
|
padding: 16px 16px;
|
|
}
|
|
}
|
|
|
|
|
|
-button:before, button:after,
|
|
|
|
|
|
+button:before,
|
|
.button:before,
|
|
.button:before,
|
|
-.button:after,
|
|
|
|
input[type="submit"]:before,
|
|
input[type="submit"]:before,
|
|
-input[type="submit"]:after,
|
|
|
|
.wp-block-button__link:before,
|
|
.wp-block-button__link:before,
|
|
|
|
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, button:after,
|
|
|
|
+.button:after,
|
|
|
|
+input[type="submit"]:after,
|
|
.wp-block-button__link:after,
|
|
.wp-block-button__link:after,
|
|
-.wp-block-file__button:before,
|
|
|
|
-.wp-block-file__button:after {
|
|
|
|
|
|
+.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
|
content: '';
|
|
content: '';
|
|
display: block;
|
|
display: block;
|
|
height: 0;
|
|
height: 0;
|
|
@@ -1057,7 +1063,7 @@ button:before,
|
|
.button:before,
|
|
.button:before,
|
|
input[type="submit"]:before,
|
|
input[type="submit"]:before,
|
|
.wp-block-button__link:before,
|
|
.wp-block-button__link:before,
|
|
-.wp-block-file__button:before {
|
|
|
|
|
|
+.wp-block-file__button:before, .a8c-posts-list__view-all:before {
|
|
margin-bottom: -0.12em;
|
|
margin-bottom: -0.12em;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1065,23 +1071,23 @@ button:after,
|
|
.button:after,
|
|
.button:after,
|
|
input[type="submit"]:after,
|
|
input[type="submit"]:after,
|
|
.wp-block-button__link:after,
|
|
.wp-block-button__link:after,
|
|
-.wp-block-file__button:after {
|
|
|
|
|
|
+.wp-block-file__button:after, .a8c-posts-list__view-all:after {
|
|
margin-top: -0.11em;
|
|
margin-top: -0.11em;
|
|
}
|
|
}
|
|
|
|
|
|
-button:hover, button:focus, button.has-focus,
|
|
|
|
|
|
+button:hover,
|
|
.button:hover,
|
|
.button:hover,
|
|
-.button:focus,
|
|
|
|
-.button.has-focus,
|
|
|
|
-input[type="submit"]:hover,
|
|
|
|
-input[type="submit"]:focus,
|
|
|
|
-input[type="submit"].has-focus,
|
|
|
|
|
|
+input:hover[type="submit"],
|
|
.wp-block-button__link:hover,
|
|
.wp-block-button__link:hover,
|
|
|
|
+.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, button:focus,
|
|
|
|
+.button:focus,
|
|
|
|
+input:focus[type="submit"],
|
|
.wp-block-button__link:focus,
|
|
.wp-block-button__link:focus,
|
|
-.wp-block-button__link.has-focus,
|
|
|
|
-.wp-block-file__button:hover,
|
|
|
|
-.wp-block-file__button:focus,
|
|
|
|
-.wp-block-file__button.has-focus {
|
|
|
|
|
|
+.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, button.has-focus,
|
|
|
|
+.has-focus.button,
|
|
|
|
+input.has-focus[type="submit"],
|
|
|
|
+.has-focus.wp-block-button__link,
|
|
|
|
+.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all {
|
|
color: white;
|
|
color: white;
|
|
background-color: indigo;
|
|
background-color: indigo;
|
|
}
|
|
}
|
|
@@ -1567,6 +1573,76 @@ p.has-background:not(.has-background-background-color) a {
|
|
color: currentColor;
|
|
color: currentColor;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.a8c-posts-list__listing {
|
|
|
|
+ list-style: none;
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__listing:not(:last-child) {
|
|
|
|
+ margin-bottom: calc(3 * 32px);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list-item__featured span {
|
|
|
|
+ color: white;
|
|
|
|
+ background-color: blue;
|
|
|
|
+ font-family: sans-serif;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 0.83333rem;
|
|
|
|
+ line-height: 1;
|
|
|
|
+ padding: calc(0.5 * 16px) calc(0.66 * 16px);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item {
|
|
|
|
+ display: block;
|
|
|
|
+ /* Vertical margins logic between posts */
|
|
|
|
+ margin-top: calc(3 * 32px);
|
|
|
|
+ margin-bottom: calc(3 * 32px);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item:first-child {
|
|
|
|
+ margin-top: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item:last-child {
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .entry > * {
|
|
|
|
+ /* Vertical margins logic between post details */
|
|
|
|
+ margin-top: 16px;
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .entry > *:first-child {
|
|
|
|
+ margin-top: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .entry > *:last-child {
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .a8c-posts-list-item__meta {
|
|
|
|
+ color: #767676;
|
|
|
|
+ font-size: 0.83333rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .a8c-posts-list-item__meta a {
|
|
|
|
+ color: currentColor;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .a8c-posts-list-item__meta a:hover, .a8c-posts-list__item .a8c-posts-list-item__meta a:active {
|
|
|
|
+ color: indigo;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__item .a8c-posts-list-item__edit-link {
|
|
|
|
+ margin-right: 16px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.a8c-posts-list__view-all {
|
|
|
|
+ display: inline-block;
|
|
|
|
+}
|
|
|
|
+
|
|
.wp-block-pullquote {
|
|
.wp-block-pullquote {
|
|
padding: calc( 3 * 16px) 0;
|
|
padding: calc( 3 * 16px) 0;
|
|
margin-right: 0;
|
|
margin-right: 0;
|