File tree 7 files changed +56
-37
lines changed
7 files changed +56
-37
lines changed Original file line number Diff line number Diff line change 144
144
@include media-breakpoint-up (md) {
145
145
@supports (position : sticky ) {
146
146
position : sticky ;
147
- top : 4 rem ;
147
+ top : 5 rem ;
148
148
z-index : 10 ;
149
- height : calc (100vh - 4 rem );
149
+ height : calc (100vh - 5 rem );
150
150
}
151
151
}
152
152
Original file line number Diff line number Diff line change @@ -201,7 +201,9 @@ h7, .h7 {
201
201
}
202
202
203
203
.td-sidebar-toc {
204
+ top : 6rem ;
204
205
border-left : unset ;
206
+ height : calc (100vh - 10rem );
205
207
}
206
208
207
209
// Breadcrumb styling
@@ -1261,6 +1263,12 @@ td > ul, td > ol {
1261
1263
animation : linear 2s wiggle 2s 2 ;
1262
1264
}
1263
1265
1266
+ @media (min-width : 992px ) {
1267
+ #scrollButton {
1268
+ margin-right : 10% ;
1269
+ }
1270
+ }
1271
+
1264
1272
#chatButtonContent {
1265
1273
display : flex ;
1266
1274
justify-content : space-evenly ;
@@ -1399,7 +1407,7 @@ img.frame {
1399
1407
// This ensures the gray sidebar covers the area where the sticky buttons are rendered.
1400
1408
@media (min-width : 768px ) {
1401
1409
.td-sidebar {
1402
- padding-bottom : 76px ;
1410
+ // padding-bottom: 76px;
1403
1411
margin-bottom : -76px ;
1404
1412
}
1405
1413
}
@@ -2027,7 +2035,7 @@ a.ais-Pagination-link:hover {
2027
2035
// ensure tutorials page is 100% of height
2028
2036
2029
2037
.row.flex-xl-nowrap {
2030
- min-height : 90 % ;
2038
+ min-height : 100 % ;
2031
2039
}
2032
2040
2033
2041
@@ -3327,4 +3335,16 @@ div.tablestep > table td, div.tablestep table td {
3327
3335
margin-top : 1rem ;
3328
3336
}
3329
3337
3330
- // Numbered list styling END
3338
+ footer .py-5 {
3339
+ padding-bottom : 0 !important ;
3340
+ padding-top : 1rem !important ;
3341
+ margin-bottom : -2rem !important ;
3342
+ }
3343
+
3344
+ .td-main main {
3345
+ padding-bottom : 0rem !important ;
3346
+ }
3347
+
3348
+ footer {
3349
+ min-height : 30px !important ;
3350
+ }// Numbered list styling END
Original file line number Diff line number Diff line change 21
21
</ aside >
22
22
{{ if .Params.noToc }}
23
23
{{ else }}
24
+ < aside class ="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none ">
25
+ {{ partial "page-meta-links.html" . }}
26
+ {{ partial "toc.html" . }}
27
+ {{ partial "taxonomy_terms_clouds.html" . }}
28
+ </ aside >
24
29
{{ end }}
25
- < main class ="col-12 col-md-9 {{ if .Params.noToc }}col-xl-10{{ else }}col-xl-10 {{ end }} pl-md-5 " role ="main ">
30
+ < main class ="col-12 col-md-9 {{ if .Params.noToc }}col-xl-10{{ else }}col-xl-8 {{ end }} pl-md-5 " role ="main ">
26
31
{{ partial "version-banner.html" . }}
27
32
{{ if ne .Params.noedit true }}
28
33
{{ partial "edit-on-github.html" . }}
34
39
</ main >
35
40
{{ $img := resources.GetMatch "/icons/learn-viam-robot-icon-ai.svg" }}
36
41
</ div >
37
- < button class ="docsbutton " id ="chatButton " title ="Chatbot and support ">
38
- < span id ="chatButtonContent ">
39
- < i style ="font-size:x-large; " class ="fas fa-comments "> </ i >
40
- < span > Ask AI</ span >
41
- </ span >
42
- </ button >
43
- < button onclick ="toTop() " class ="docsbutton " id ="scrollButton " title ="Go to top " style ="visibility: hidden; ">
44
- < i style ="font-size:x-large; " class ="fas fa-chevron-up "> </ i >
45
- </ button >
46
42
</ div >
47
- {{ partial "footer.html" . }}
48
43
</ div >
49
44
{{ partial "scripts.html" . }}
50
45
</ body >
Original file line number Diff line number Diff line change @@ -47,6 +47,16 @@ <h4 class="alert-heading">DRAFT</h4>
47
47
48
48
{{ .Content }}
49
49
50
+ < button class ="docsbutton " id ="chatButton " title ="Chatbot and support ">
51
+ < span id ="chatButtonContent ">
52
+ < i style ="font-size:x-large; " class ="fas fa-comments "> </ i >
53
+ < span > Ask AI</ span >
54
+ </ span >
55
+ </ button >
56
+ < button onclick ="toTop() " class ="docsbutton " id ="scrollButton " title ="Go to top " style ="visibility: hidden; ">
57
+ < i style ="font-size:x-large; " class ="fas fa-chevron-up "> </ i >
58
+ </ button >
59
+
50
60
{{ if ne .Params.no_list true}}
51
61
{{ $pages := union .Sections .Pages }}
52
62
< div id ="next-page " class ="card-container ">
@@ -90,4 +100,6 @@ <h4 class="alert-heading">DRAFT</h4>
90
100
{{ partial "feedback.html" . }}
91
101
< br />
92
102
{{ end }}{{- end -}}
93
- </ div >
103
+ </ div >
104
+
105
+ {{ partial "footer.html" . }}
Original file line number Diff line number Diff line change 31
31
</ span >
32
32
</ button >
33
33
</ div >
34
- {{ partial "footer.html" . }}
35
- </ div >
34
+
35
+ </ div >
36
36
37
37
{{ partial "scripts.html" . }}
38
38
Original file line number Diff line number Diff line change 2
2
< footer class ="bg-dark py-5 row d-print-none ">
3
3
< div class ="container-fluid mx-sm-5 ">
4
4
< div class ="row ">
5
- < div class ="col-6 col-sm-4 text-xs-center order-sm-2 ">
6
- {{ with $links }}
5
+ < div class ="col-2 col-sm-2 text-xs-center order-sm-2 ">
6
+ <!-- {{ with $links }}
7
7
{{ with index . "user"}}
8
8
{{ template "footer-links-block" . }}
9
9
{{ end }}
10
- {{ end }}
10
+ {{ end }} -->
11
11
</ div >
12
- < div class ="col-6 col-sm-4 text-right text-xs-center order-sm-3 ">
13
- {{ with $links }}
12
+ < div class ="col-6 col-sm-2 text-right text-xs-center order-sm-3 ">
13
+ <!-- {{ with $links }}
14
14
{{ with index . "developer"}}
15
15
{{ template "footer-links-block" . }}
16
16
{{ end }}
17
- {{ end }}
17
+ {{ end }} -->
18
18
</ div >
19
- < div class ="col-12 col-sm-4 text-center py-2 order-sm-2 ">
19
+ < div class ="col-12 col-sm-8 text-center py-2 order-sm-2 ">
20
20
{{ with .Site.Params.copyright }}< small class ="text-white "> © {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</ small > < BR > {{ end }}
21
21
{{ with .Site.Params.privacy_policy }}< small class ="ml-2 "> < a href ="{{ . }} " target ="_blank " rel ="noopener "> {{ "PRIVACY POLICY" }}</ a > </ small > {{ end }}
22
22
{{ with .Site.Params.tos_statement }}< small class ="ml-2 "> < a href ="{{ . }} " target ="_blank " rel ="noopener "> {{ "TERMS" }}</ a > </ small > {{ end }}
32
32
</ div >
33
33
</ div >
34
34
</ footer >
35
- {{ define "footer-links-block" }}
35
+ <!-- {{ define "footer-links-block" }}
36
36
<ul class="list-inline mb-0">
37
37
{{ range . }}
38
38
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
42
42
</li>
43
43
{{ end }}
44
44
</ul>
45
- {{ end }}
45
+ {{ end }} -->
Original file line number Diff line number Diff line change 59
59
< span > Tutorials </ span >
60
60
</ a >
61
61
< li class ="active-path tutorial-heading ">
62
- < a href ="" title ="{{ $p.Title }} " class ="active "> {{ $p.LinkTitle }}
63
- </ a >
64
- < div class ="td-toc " id ="TableOfContents "> </ div >
62
+ < a href ="" title ="{{ $p.Title }} " class ="active "> {{ $p.LinkTitle }}</ a >
65
63
</ li >
66
64
{{ else }}
67
65
105
103
{{- end -}}
106
104
</ span >
107
105
</ span >
108
- {{- if and ($active) (not .Params.notoc) -}}
109
- < div class ="td-toc " id ="TableOfContents "> </ div >
110
- {{- end -}}
111
106
{{ else }}
112
107
{{ if $s.Params.canonical }}
113
108
< a href ="{{$s.Params.canonical | relURL}} "{{ if ne $s.LinkTitle $manualLinkTitle }} title ="{{ $manualLinkTitle }} "{{ end }}{{ with $s.Params.manualLinkTarget }} target ="{{ . }} "{{ if eq . "_blank" }} rel="noopener "{{ end }}{{ end }} > {{ $s.LinkTitle }} < i class ="fas fa-external-link-alt fa-sm "> </ i >
114
109
</ a >
115
110
{{ else }}
116
111
< a href ="{{ $manualLink }} "{{ if ne $s.LinkTitle $manualLinkTitle }} title ="{{ $manualLinkTitle }} "{{ end }}{{ with $s.Params.manualLinkTarget }} target ="{{ . }} "{{ if eq . "_blank" }} rel="noopener "{{ end }}{{ end }} class ="{{ if $active}} active{{ end }}{{ if $treeRoot }} tree-root{{ end }} "> {{ $s.LinkTitle }}
117
112
</ a >
118
- {{- if and ($active) (not .Params.notoc) -}}
119
- < div class ="td-toc " id ="TableOfContents "> </ div >
120
- {{- end -}}
121
113
{{- end }}
122
114
{{ end }}
123
115
{{- end }}
You can’t perform that action at this time.
0 commit comments