File tree Expand file tree Collapse file tree 9 files changed +15
-14
lines changed
assets-src/styles/sass/30-base
public/dist/assets/styles Expand file tree Collapse file tree 9 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 5
5
svg {
6
6
fill : currentColor ;
7
7
height : auto ;
8
-
9
- & :not ( .svg-inline--fa , .icon--no-width ) {
10
- width : 100 % ;
11
- }
8
+ }
9
+
10
+ svg :not ([ class ]) {
11
+ width : 100 % ;
12
12
}
13
13
14
14
/* *
Original file line number Diff line number Diff line change @@ -1522,7 +1522,8 @@ svg {
1522
1522
fill : currentColor;
1523
1523
height : auto;
1524
1524
}
1525
- svg : not (.svg-inline--fa , .icon--no-width ) {
1525
+
1526
+ svg : not ([class ]) {
1526
1527
width : 100% ;
1527
1528
}
1528
1529
Original file line number Diff line number Diff line change 30
30
{% if card .icon is defined and card .icon %}
31
31
{{ card .icon .inline | markup_attrs({
32
32
' aria-hidden' : ' true' ,
33
- ' class' : ' icon icon--larger icon--no-width ' ,
33
+ ' class' : ' icon icon--larger' ,
34
34
' focusable' : ' false' ,
35
35
' height' : ' 1em' ,
36
36
' width' : ' 1em'
Original file line number Diff line number Diff line change 22
22
<button type =" button" class =" button button--ghost with-icon with-icon--after"
23
23
style =" display:none;" data-toggle =" true" >
24
24
{{ ' listing.blog.filters.categories' | trans({}, ' w3c_website_templates_bundle' ) }}
25
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--no-width "
25
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon"
26
26
focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
27
27
<path class =" angle-down" d =" M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
28
28
<path class =" angle-up" d =" M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z" />
47
47
<button type =" button" class =" button button--ghost with-icon with-icon--after"
48
48
style =" display:none;" data-toggle =" true" >
49
49
{{ ' listing.blog.filters.archives' | trans({}, ' w3c_website_templates_bundle' ) }}
50
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--no-width "
50
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon"
51
51
focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
52
52
<path class =" angle-down" d =" M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
53
53
<path class =" angle-up" d =" M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z" />
Original file line number Diff line number Diff line change 22
22
<button type =" button" class =" button button--ghost with-icon with-icon--after"
23
23
style =" display:none;" data-toggle =" true" >
24
24
{{ ' listing.news.filters.archives' | trans({}, ' w3c_website_templates_bundle' ) }}
25
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--no-width "
25
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon"
26
26
focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
27
27
<path class =" angle-down" d =" M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
28
28
<path class =" angle-up" d =" M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z" />
Original file line number Diff line number Diff line change 6
6
<button type =" button" class =" button button--ghost with-icon with-icon--after"
7
7
style =" display:none;" data-toggle =" true" >
8
8
{{ ' listing.newsletters.filters.archives' | trans({}, ' w3c_website_templates_bundle' ) }}
9
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--no-width "
9
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon"
10
10
focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
11
11
<path class =" angle-down" d =" M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
12
12
<path class =" angle-up" d =" M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z" />
Original file line number Diff line number Diff line change 6
6
<button type =" button" class =" button button--ghost with-icon with-icon--after"
7
7
style =" display:none;" data-toggle =" true" >
8
8
{{ ' listing.press_releases.filters.archives' | trans({}, ' w3c_website_templates_bundle' ) }}
9
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--no-width "
9
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon"
10
10
focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
11
11
<path class =" angle-down" d =" M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
12
12
<path class =" angle-up" d =" M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z" />
Original file line number Diff line number Diff line change 11
11
<ul class =" clean-list" data-component =" nav-double-intro" >
12
12
{% for navItem in navigation %}
13
13
<li class =" top-nav-item has-children" >
14
- <a href =" {{ navItem .titleLink }}" class =" nav-link" >{{ navItem .title }} <svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 256 512" height =" 16" width =" 16" class =" icon icon--submenu icon--no-width " focusable =" false" aria-hidden =" true" fill =" currentColor" style =" visibility: hidden" ><path d =" M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" /></svg ></a >
14
+ <a href =" {{ navItem .titleLink }}" class =" nav-link" >{{ navItem .title }} <svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 256 512" height =" 16" width =" 16" class =" icon icon--submenu" focusable =" false" aria-hidden =" true" fill =" currentColor" style =" visibility: hidden" ><path d =" M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" /></svg ></a >
15
15
<div class =" nav__submenu" data-nav =" submenu" style =" display: none;" >
16
16
<div class =" l-center" >
17
17
<div class =" nav__submenu__intro" >
30
30
{% for child in navItem .children %}
31
31
<li {{ child .startNewColumn is defined and child .startNewColumn ? ' class="break-after"' : ' ' }}>
32
32
<a class =" with-icon--before with-icon--larger" href =" {{ child .url }}" >
33
- <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--larger icon--no-width " focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
33
+ <svg xmlns:xlink =" http://www.w3.org/1999/xlink" viewBox =" 0 0 320 512" class =" icon icon--larger" focusable =" false" aria-hidden =" true" width =" 1em" height =" 1em" >
34
34
<path class =" chevron-left" d =" M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z" />
35
35
<path class =" chevron-right" d =" M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" />
36
36
</svg >
You can’t perform that action at this time.
0 commit comments