File tree Expand file tree Collapse file tree 17 files changed +461
-24
lines changed Expand file tree Collapse file tree 17 files changed +461
-24
lines changed Original file line number Diff line number Diff line change 8
8
padding-top : 0.5rem !important ;
9
9
padding-left : 1.5rem ;
10
10
padding-right : 1rem ;
11
- padding-bottom : 1 rem ;
11
+ padding-bottom : 5 px ;
12
12
}
13
13
@media (min-width : 1300px ) {
14
14
padding-left : 2.5rem ;
74
74
border-bottom : $black 2px solid ;
75
75
}
76
76
}
77
+ }
78
+ }
79
+
80
+ .search-by-tag {
81
+ position : relative ;
82
+ width : 100% ;
83
+ font-size : 12px ;
84
+ text-align : right ;
85
+ @media (max-width : 767px ) {
86
+ display : none ;
87
+ }
88
+ @media (min-width : 768px ) {
89
+ width : calc (100% - 20px );
77
90
}
91
+ padding-left : calc (20px + 20px );
92
+ @media (min-width : 768px ) {
93
+ padding-left : 30px ;
94
+ }
95
+ @media (min-width : 992px ) {
96
+ padding-left : 35px ;
97
+ }
98
+ @media (min-width : 1100px ) {
99
+ padding-left : calc (20px + 20px );
100
+ }
101
+
78
102
}
Original file line number Diff line number Diff line change 15
15
@import ' footer' ;
16
16
@import ' header' ;
17
17
@import ' cookie-banner' ;
18
+ @import ' tag-search' ;
18
19
@import ' main' ;
19
20
@import ' search' ;
20
21
@import ' sidebar-left' ;
Original file line number Diff line number Diff line change
1
+ // Hide the sidebar on Taxonomy Search/Browse page.
2
+ .td-taxonomy .td-sidebar-toc {
3
+ display : none !important ;
4
+ }
5
+
6
+ // Adding padding to bottom of Taxonomy Browse page.
7
+ .td-taxonomy .td-main main {
8
+ padding-bottom : 6rem ;
9
+ }
10
+
11
+ // Tags container.
12
+ .canonical-tag-container {
13
+ margin-top : 1.5625rem ;
14
+ display : grid ;
15
+ grid-template-columns : repeat (auto-fill , minmax (96px , 1fr ));
16
+ gap : 20px ;
17
+ @media (min-width : 768px ) {
18
+ display : flex ;
19
+ flex-wrap : wrap ;
20
+ align-items : center ;
21
+ margin-bottom : 3rem ;
22
+ }
23
+ @media (max-width : 767px ) {
24
+ > span {
25
+ display : flex ;
26
+ align-items : center ;
27
+ align-content : center ;
28
+ justify-content : center ;
29
+ }
30
+ }
31
+ }
32
+
33
+ // Tag item. Default gray.
34
+ .canonical-tag {
35
+ // button reset
36
+ border : none ;
37
+ background : none ;
38
+ box-sizing : border-box ;
39
+ // button sizing.
40
+ min-width : 96px ;
41
+ // style to match _taxonomy/.tax-term
42
+ display : block ;
43
+ background : #efefef ;
44
+ color : black ;
45
+ border-radius : 50px ;
46
+ padding-top : 7px ;
47
+ padding-bottom : 7px ;
48
+ padding-left : 18px ;
49
+ padding-right : 18px ;
50
+ font-weight : 600 ;
51
+ font-size : 10px ;
52
+ line-height : 120% ;
53
+ text-align : center ;
54
+ letter-spacing : 0.02em ;
55
+ // Turn pink when selected is-active.
56
+ & .is-active {
57
+ background-color : $link-color ;
58
+ color : white ;
59
+ @media (hover : hover) {
60
+ & :hover {
61
+ background-color : $link-color ;
62
+ color : white ;
63
+ }
64
+ }
65
+ }
66
+ @media (hover : hover) {
67
+ // Hover default state.
68
+ & :hover {
69
+ background-color : #d2d2d2 ;
70
+ }
71
+ }
72
+ }
73
+
74
+ // Reset buttons to look like text.
75
+ .button-reset-to-text {
76
+ border : none ;
77
+ background : none ;
78
+ box-sizing : border-box ;
79
+ padding : 0 ;
80
+ cursor : pointer ;
81
+ display : block ;
82
+ margin-left : initial ;
83
+ margin-right : initial ;
84
+ width : unset ;
85
+ // styling.
86
+ font-size : 10px ;
87
+ line-height : 120% ;
88
+ font-weight : 600 ;
89
+ letter-spacing : 0.02em ;
90
+ color : black ;
91
+ & :active {
92
+ color : inherit ;
93
+ }
94
+ & :hover {
95
+ color : $link-color ;
96
+ }
97
+ }
98
+
99
+ // Results
100
+ #terms-by-tag {
101
+ margin-top : 1rem ;
102
+ > div {
103
+ margin-top : 2.5rem ;
104
+ }
105
+ h3 {
106
+ margin-top : 2.5rem ;
107
+ margin-bottom : 1rem ;
108
+ a {
109
+ color : black ;
110
+ & :hover {
111
+ color : $link-color ;
112
+ }
113
+ }
114
+ }
115
+ }
116
+
117
+ // Tag results.
118
+ .invisible {
119
+ visibility : hidden ;
120
+ }
121
+
122
+ .hide {
123
+ display : none ;
124
+ }
Original file line number Diff line number Diff line change 1
- // Container for Taxonomy items.
2
1
.article-meta {
3
2
margin-bottom : 3rem ;
4
3
}
5
4
5
+ .taxonomy-terms {
6
+ list-style : none ;
7
+ margin : 0 ;
8
+ padding : 0 ;
9
+ overflow : hidden ;
10
+ display : flex ;
11
+ flex-wrap : wrap ;
12
+ gap : 13px ;
13
+ }
14
+
6
15
.tax-term {
16
+ display : block ;
17
+ color : $white ;
7
18
background-color : $link-color ;
8
19
border-radius : 50px ;
9
- font-weight : 500 ;
20
+ padding-top : 7px ;
21
+ padding-bottom : 7px ;
22
+ padding-left : 15px ;
23
+ padding-right : 15px ;
24
+ font-weight : 600 ;
10
25
font-size : 10px ;
11
- line-height : 140 % ;
26
+ line-height : 120 % ;
12
27
text-align : center ;
13
28
letter-spacing : 0.02em ;
14
- color : $white ;
15
- padding : 5px 12px ;
16
- margin-right : 8px ;
17
29
& :hover {
18
30
color : $white ;
19
31
text-decoration : none ;
20
32
background-color : $primary-300 ;
21
33
}
22
34
}
23
35
24
- .taxonomy-terms {
25
- list-style : none ;
26
- margin : 0 ;
27
- overflow : hidden ;
28
- padding : 0 ;
29
- display : flex ;
30
- flex-wrap : wrap ;
31
- }
32
-
36
+ // Used in Tax Terms Cloud
33
37
.tax-terms {
34
38
list-style : none ;
35
39
margin : 60px 0 ;
39
43
}
40
44
}
41
45
46
+ // Used in Tax Terms Cloud
42
47
.taxonomy-count {
43
48
padding-left : 0 ;
44
49
margin-left : 0 ;
Original file line number Diff line number Diff line change @@ -25,7 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
-
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
29
38
30
39
# Footer text
31
40
[footer_all_rights_reserved ]
Original file line number Diff line number Diff line change @@ -25,7 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
-
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
29
38
30
39
# Footer text
31
40
[footer_all_rights_reserved ]
Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
28
38
29
39
# Footer text
30
40
[footer_all_rights_reserved ]
Original file line number Diff line number Diff line change @@ -25,7 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
-
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
29
38
30
39
# Footer text
31
40
[footer_all_rights_reserved ]
Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
28
38
29
39
# Footer text
30
40
[footer_all_rights_reserved ]
Original file line number Diff line number Diff line change @@ -25,7 +25,16 @@ other = "See all tags"
25
25
other = " Tag"
26
26
[ui_tags ]
27
27
other = " Tags"
28
-
28
+ [ui_search_by_tags ]
29
+ other = " Browse by Tags"
30
+ [ui_tags_intro ]
31
+ other = " We've categorized the glossary terms. Use the filters to browse terms by tag."
32
+ [ui_or_search_by_tags ]
33
+ other = " ...or browse by tag"
34
+ [ui_select_all ]
35
+ other = " Select All"
36
+ [ui_deselect_all ]
37
+ other = " Deselect All"
29
38
30
39
# Footer text
31
40
[footer_all_rights_reserved ]
You can’t perform that action at this time.
0 commit comments