Skip to content

Commit

Permalink
インラインボタンスタイルの不具合修正(aタグが子要素に入ったケース)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Mar 20, 2024
1 parent 5d61619 commit fe81754
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
4 changes: 4 additions & 0 deletions amp.css
Expand Up @@ -3898,6 +3898,10 @@ div.search-form {
[class*=inline-button-]:hover {
opacity: 0.7;
}
[class*=inline-button-] a {
color: inherit;
text-decoration: none;
}

.inline-button-black {
border-color: var(--cocoon-black-color);
Expand Down
12 changes: 12 additions & 0 deletions css/admin.css
Expand Up @@ -3958,6 +3958,10 @@ body.wp-admin {
.admin-settings .demo [class*=inline-button-]:hover {
opacity: 0.7;
}
.admin-settings .demo [class*=inline-button-] a {
color: inherit;
text-decoration: none;
}
.admin-settings .demo .inline-button-black {
border-color: var(--cocoon-black-color);
}
Expand Down Expand Up @@ -12362,6 +12366,10 @@ body.wp-admin {
.admin-settings .demo [class*=inline-button-]:hover {
opacity: 0.7;
}
.admin-settings .demo [class*=inline-button-] a {
color: inherit;
text-decoration: none;
}
.admin-settings .demo .inline-button-black {
border-color: var(--cocoon-black-color);
}
Expand Down Expand Up @@ -21482,6 +21490,10 @@ textarea[name=the_page_memo] {
.components-popover__content [class*=inline-button-]:hover {
opacity: 0.7;
}
.components-popover__content [class*=inline-button-] a {
color: inherit;
text-decoration: none;
}
.components-popover__content .inline-button-black {
border-color: var(--cocoon-black-color);
}
Expand Down
4 changes: 4 additions & 0 deletions css/gutenberg-editor.css
Expand Up @@ -1911,6 +1911,10 @@ div.search-form {
[class*=inline-button-]:hover {
opacity: 0.7;
}
[class*=inline-button-] a {
color: inherit;
text-decoration: none;
}

.inline-button-black {
border-color: var(--cocoon-black-color);
Expand Down
11 changes: 9 additions & 2 deletions scss/_extension.scss
Expand Up @@ -879,8 +879,15 @@ div.search-form{
}
}

[class*="inline-button-"]:hover{
opacity: .7;
[class*="inline-button-"]{
&:hover{
opacity: .7;
}

a{
color: inherit;
text-decoration:none;
}
}

.inline-button-black{
Expand Down
4 changes: 4 additions & 0 deletions style.css
Expand Up @@ -3923,6 +3923,10 @@ div.search-form {
[class*=inline-button-]:hover {
opacity: 0.7;
}
[class*=inline-button-] a {
color: inherit;
text-decoration: none;
}

.inline-button-black {
border-color: var(--cocoon-black-color);
Expand Down

0 comments on commit fe81754

Please sign in to comment.