Skip to content

Commit

Permalink
inversed colors on comments buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed May 24, 2021
1 parent 5a2a355 commit d97042d
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 4 deletions.
157 changes: 155 additions & 2 deletions quadrat/assets/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions quadrat/sass/blocks/_post-comments.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
@import "../../../blank-canvas-blocks/sass/blocks/button";

.wp-block-post-comments {

font-size: var(--wp--preset--font-size--normal);
line-height: var(--wp--custom--line-height--body);

.reply a {

@include button-border-styles;
--wp--custom--button--color--text: var(--wp--custom--button--hover--color--text);
--wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
--wp--custom--button--border--color: var(--wp--custom--button--hover--color--text);

& ,
&:hover,
&:focus,
&:active {
font-size: 1em;
line-height: 1.2;
line-height: 1;
}
&:not(.has-background):not(.has-text-color) {
&:hover,
&:focus,
&.has-focus {
--wp--custom--button--color--text: var(--wp--custom--button--hover--color--background);
--wp--custom--button--color--background: var(--wp--custom--button--hover--color--text);
}
}
}

Expand Down

0 comments on commit d97042d

Please sign in to comment.