Skip to content

Commit e69af8d

Browse files
committed
Updated html and css
1 parent 4e5b67c commit e69af8d

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

web/themes/custom/hoeringsportal/assets/css/module/_animated-svg.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
button:has(svg),
2-
a:has(svg) {
1+
button:has(svg) {
32
/* prettier-ignore */
43
--ease-spring-lazy: linear(0, 0.008 1.1%, 0.034 2.3%, 0.134 4.9%, 0.264 7.3%, 0.683 14.3%, 0.797 16.5%, 0.89 18.6%, 0.967 20.7%, 1.027 22.8%, 1.073 25%, 1.104 27.3%, 1.123 30.6%, 1.119 34.3%, 1.018 49.5%, 0.988 58.6%, 0.985 65.2%, 1 84.5%, 1);
54
/* prettier-ignore */
@@ -81,9 +80,8 @@ a:has(svg) {
8180
}
8281
}
8382

84-
/* Click on <a> with thumbs-up svg */
85-
.liked button:has(svg),
86-
.liked a:has(svg) {
83+
/* Click on <button> with thumbs-up svg */
84+
.liked button:has(svg) {
8785
g.thumbs-up {
8886
path:first-of-type {
8987
animation: rotatePop 500ms var(--ease-spring-lazy);
@@ -95,8 +93,7 @@ a:has(svg) {
9593
}
9694

9795
/* Thumbs-up already set*/
98-
.action-unflag button:has(svg),
99-
.action-unflag a:has(svg) {
96+
.action-unflag button:has(svg) {
10097
g.thumbs-up {
10198
path:last-child {
10299
fill: var(--interactive-primary);

web/themes/custom/hoeringsportal/assets/css/module/_dialogue.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
}
1313

1414
.flag-wrapper {
15-
.flag a,
1615
.flag button {
1716
background: none;
1817
border: 0;

web/themes/custom/hoeringsportal/templates/content/flag--support-comment.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
%}
3636

3737
<div class="{{ classes|join(' ') }}">
38-
<button{{ attributes.setAttribute('rel', 'nofollow').setAttribute('title', 'Like this'|t) }}>{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-thumbs-up.svg.html.twig') }} {{ flagcount(flag, flaggable) }} {{ 'Like this'|t }} </button>
38+
<button{{ attributes.setAttribute('title', 'Like this'|t) }}>{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-thumbs-up.svg.html.twig') }} {{ flagcount(flag, flaggable) }} {{ 'Like this'|t }} </button>
3939
</div>

web/themes/custom/hoeringsportal/templates/content/flag--support-proposal.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
%}
3636

3737
<div class="{{ classes|join(' ') }}">
38-
<button{{ attributes.setAttribute('rel', 'nofollow').setAttribute('title', 'Like this'|t) }}>{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-thumbs-up.svg.html.twig') }} {{ flagcount(flag, flaggable) }} {{ 'Like this'|t }} </button>
38+
<button{{ attributes.setAttribute('title', 'Like this'|t) }}>{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-thumbs-up.svg.html.twig') }} {{ flagcount(flag, flaggable) }} {{ 'Like this'|t }} </button>
3939
</div>

0 commit comments

Comments
 (0)