Skip to content

Commit 8235cb9

Browse files
committed
fix buttons and stars in feedback
1 parent 43880b1 commit 8235cb9

4 files changed

Lines changed: 14 additions & 37 deletions

File tree

assets/css/feedback.css

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,17 @@
1616
}
1717
.rating label {
1818
color: white;
19+
cursor: pointer;
1920
position: relative;
2021
}
21-
/*
22-
.rating label:hover,
23-
.rating label:hover ~ label,
24-
.rating input:checked + label,
25-
.rating input:checked + label ~ label {
26-
color: pink!important;
27-
}
28-
*/
29-
.rating label:hover:before,
30-
.rating label:hover ~ label:before,
31-
.rating input:checked + label:before,
32-
.rating input:checked + label ~ label:before {
33-
content: "\f005"; /* fa-star */
34-
font-family: "Font Awesome 6 Pro";
35-
font-weight: 900;
36-
font-size: 2rem; /* fa-2x */
37-
color: white!important;
38-
position: absolute;
39-
left: 0;
40-
top: 0;
41-
margin-top:-8px;
42-
}
43-
4422

45-
/*
46-
.rating i.fa-star::before {
47-
content: "\f005";
48-
49-
padding-right:5px;
50-
color: white;
23+
.rating label:hover i,
24+
.rating label:hover ~ label i,
25+
.rating input:checked + label i,
26+
.rating input:checked + label ~ label i {
27+
font-family: "Font Awesome 6 Pro";
28+
font-weight: 900;
5129
}
52-
*/
5330

5431

5532
/****************************************************/
@@ -85,4 +62,4 @@ html[theme='dark'] #error-text {color: hsl(0, 73.9%, 60%);} /* 10% lighter than
8562
}
8663
#feedback-3-thanks.smooth-open {
8764
opacity:1
88-
}
65+
}

themes/arm-design-system-hugo-theme/layouts/partials/filter-search-sort/mobile-search-and-filter.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<!-- Filter div -->
2020
<div>
2121
<!-- Filter button -->
22-
<ads-button id="filter-button" level="tertiary" class="lg:u-hide u-position-relative" type="button" size="default" onclick="mobileFilterClickedSearch(this)">
22+
<ads-button id="filter-button" level="secondary" class="lg:u-hide u-position-relative" type="button" size="default" onclick="mobileFilterClickedSearch(this)">
2323
<i class="fal fa-filter"></i>
2424
</ads-button>
2525

@@ -38,4 +38,4 @@
3838
</div>
3939
</div>
4040
</div>
41-
</div>
41+
</div>

themes/arm-design-system-hugo-theme/layouts/partials/navigation/content-navigation-mobile.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div>
2020
<!-- Sticky Header, always visible -->
2121
<div class="content-head-mobile lg:u-hide u-flex">
22-
<ads-button id="filter-button" is-circular="" class="u-position-relative u-align-self-center lg:u-hide content-header-btn-mobile" level="tertiary" size="default" onclick="mobileFilterClickedContent(this)">
22+
<ads-button id="filter-button" is-circular="" class="u-position-relative u-align-self-center lg:u-hide content-header-btn-mobile" level="secondary" size="default" onclick="mobileFilterClickedContent(this)">
2323
<i class="fas fa-list" style="color:white;"></i>
2424
</ads-button>
2525
<h6 class="u-margin-top-1/2 u-margin-left-1 u-position-relative lg:u-hide content-header-txt-mobile">
@@ -55,4 +55,4 @@ <h6 class="u-margin-top-1/2 u-margin-left-1 u-position-relative lg:u-hide conten
5555
</div>
5656
</div>
5757
</div>
58-
</div>
58+
</div>

themes/arm-design-system-hugo-theme/layouts/partials/navigation/nav-buttons.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- Create HTML buttons -->
3030
{{ if $backlink }} <!-- Not on intro page -->
3131
<div class="c-col">
32-
<ads-button name="{{$backname}}" class="inner-learning-path-navbtn-element {{$backnum}}-weight" style="float:left" onclick="window.location.href={{$backlink}}" level="tertiary">
32+
<ads-button name="{{$backname}}" class="inner-learning-path-navbtn-element {{$backnum}}-weight" style="float:left" onclick="window.location.href={{$backlink}}" level="secondary">
3333
Back
3434
</ads-button>
3535
</div>
@@ -56,4 +56,4 @@
5656
{{end}}
5757
{{ $counter = add $counter 1 }}
5858
{{end}}
59-
</div>
59+
</div>

0 commit comments

Comments
 (0)