Changed source of pagination arrows from CSS to block attributes. (#5532)

This commit is contained in:
Jason Crist 2022-02-16 10:01:15 -05:00 committed by GitHub
parent 2b260c3074
commit 8f9b43086a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 12 additions and 126 deletions

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,24 +1,6 @@
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
.wp-block-query-pagination-previous {
&::before{
content:"";
margin-right: 0.5em;
}
}
.wp-block-query-pagination-next {
&::after{
content:"";
margin-left: 0.5em;
}
}
.wp-block-query-pagination-previous::before,
.wp-block-query-pagination-next::after {
display: inline-block;
}
.page-numbers {
padding: 0 0.1em;
}

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
@ -138,18 +137,6 @@ ul ul {
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before {
content: "←";
margin-right: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-next::after {
content: "→";
margin-left: 0.5em;
}
.wp-block-query-pagination .wp-block-query-pagination-previous::before,
.wp-block-query-pagination .wp-block-query-pagination-next::after {
display: inline-block;
}
.wp-block-query-pagination .page-numbers {
padding: 0 0.1em;
}

View file

@ -16,7 +16,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -15,7 +15,7 @@
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->

View file

@ -1,24 +1,6 @@
.wp-block-query-pagination {
border-top: 1px solid var(--wp--custom--color--primary);
.wp-block-query-pagination-previous {
&::before{
content:"";
margin-right: 0.5em;
}
}
.wp-block-query-pagination-next {
&::after{
content:"";
margin-left: 0.5em;
}
}
.wp-block-query-pagination-previous::before,
.wp-block-query-pagination-next::after {
display: inline-block;
}
.page-numbers {
padding: 0 0.1em;
}