linaro-jekyll-theme 4.1.6 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,9 @@ layout: base
6
6
  {% elsif page.breadcrumb %}
7
7
  {% include components/breadcrumb.html %}
8
8
  {% endif %}
9
+ {% if page.sticky_tab_bar %}
10
+ {% include components/sticky_tab_bar.html object=page %}
11
+ {% endif %}
9
12
  <div class="container-fluid main_content" id="flow_wrapper">
10
13
  {% if page.flow %}
11
14
  {% for each in page.flow %}
@@ -4,7 +4,7 @@ $secondary: #575757;
4
4
  $theme-colors: (
5
5
  "primary": $primary,
6
6
  "secondary": $secondary,
7
- "danger": #ff4136
7
+ "danger": #ff4136,
8
8
  );
9
9
  // Universal Navbar
10
10
  $universal_navbar_height_padding: 0px;
@@ -14,19 +14,26 @@ $universal_navbar_bg_color: $primary;
14
14
  $navbar_height_padding: 5px;
15
15
  $navbar_text_color: #575757;
16
16
  $navbar_bg_color: #fff;
17
+ // Breakpoint at which navbars are expanded
18
+ // Also set in the _data/nav.yml file - both are needed
19
+ $nav_expand_point: "lg";
17
20
  // Jumbotron
18
21
  $jumbotron_bg_color: lightgray;
19
22
  $jumbotron_height: 350px;
20
23
  // Typography
21
24
  @font-face {
22
25
  font-display: fallback;
23
- font-family: 'Lato';
24
- src: url('/assets/fonts/lato/Lato-regular.eot'); /* IE9 Compat Modes */
25
- src: url('/assets/fonts/lato/Lato-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
26
- url('/assets/fonts/lato/Lato-regular.woff2') format('woff2'), /* Super Modern Browsers */
27
- url('/assets/fonts/lato/Lato-regular.woff') format('woff'), /* Pretty Modern Browsers */
28
- url('/assets/fonts/lato/Lato-regular.ttf') format('truetype'), /* Safari, Android, iOS */
29
- url('/assets/fonts/lato/Lato-regular.svg') format('svg'); /* Legacy iOS */
26
+ font-family: "Lato";
27
+ src: url("/assets/fonts/lato/Lato-regular.eot"); /* IE9 Compat Modes */
28
+ src: url("/assets/fonts/lato/Lato-regular.eot?#iefix")
29
+ format("embedded-opentype"),
30
+ /* IE6-IE8 */ url("/assets/fonts/lato/Lato-regular.woff2") format("woff2"),
31
+ /* Super Modern Browsers */ url("/assets/fonts/lato/Lato-regular.woff")
32
+ format("woff"),
33
+ /* Pretty Modern Browsers */ url("/assets/fonts/lato/Lato-regular.ttf")
34
+ format("truetype"),
35
+ /* Safari, Android, iOS */ url("/assets/fonts/lato/Lato-regular.svg")
36
+ format("svg"); /* Legacy iOS */
30
37
  }
31
38
  // Fonts
32
39
  $font-family-base: "Lato";
@@ -41,3 +48,9 @@ $cookie_consent_bg: #000;
41
48
  $cookie_consent_text_color: #fff;
42
49
  // Breadcrumb
43
50
  $breadcrumb_bg_color: #e9ecef;
51
+ // Sticky Tab Bar
52
+ $tabbed_nav_height: 80px;
53
+ $tabbed_nav_bg: #fff;
54
+ $tabbed_nav_text_colour: #000;
55
+ $tabbed_nav_active_bg_colour: $secondary;
56
+ $tabbed_nav_active_colour: #fff;
@@ -1,6 +1,8 @@
1
1
  // Core Jumbo Jekyll Theme Sass includes.
2
2
  @import "core/normalize";
3
3
  @import "core/navbar";
4
+ @import "core/sticky_tab_bar";
5
+ @import "core/documentation";
4
6
  @import "core/theme";
5
7
  @import "core/breadcrumb";
6
8
  @import "core/jumbotron";
@@ -1,18 +1,40 @@
1
1
  #wrapper {
2
- #breadcrumb {
3
- background-color: $breadcrumb_bg_color;
4
- h1 {
5
- margin-top:0px;
6
- margin-bottom:0px;
7
- padding-top:10px;
8
- }
2
+ #breadcrumb {
3
+ background-color: $breadcrumb_bg_color;
4
+ &.breadcrumb_bg {
5
+ position: relative;
6
+ img.breadcrumb_image {
7
+ position: absolute;
8
+ height: 100%;
9
+ width: 100%;
10
+ object-fit: cover;
11
+ filter: brightness(0.8);
12
+ z-index: 0;
13
+ }
14
+ .container {
15
+ z-index: 1;
16
+ position: relative;
9
17
  ol {
10
- background-color: $breadcrumb_bg_color;
11
- padding-left:0px;
12
- li:not(:first-child)::before {
13
- content: "\00bb\00a0";
14
- padding-left:5px;
15
- }
18
+ background-color: transparent;
19
+ color: white;
20
+ }
21
+ h1 {
22
+ color: white;
16
23
  }
24
+ }
25
+ }
26
+ h1 {
27
+ margin-top: 0px;
28
+ margin-bottom: 0px;
29
+ padding-top: 10px;
30
+ }
31
+ ol {
32
+ background-color: $breadcrumb_bg_color;
33
+ padding-left: 0px;
34
+ li:not(:first-child)::before {
35
+ content: "\00bb\00a0";
36
+ padding-left: 5px;
37
+ }
17
38
  }
39
+ }
18
40
  }
@@ -1,91 +1,83 @@
1
1
  // Full Width Slider
2
2
  .carousel-fade .carousel-inner .item {
3
- opacity: 0;
4
- transition-property: opacity;
3
+ opacity: 0;
4
+ transition-property: opacity;
5
5
  }
6
6
  .carousel-fade .carousel-inner .active {
7
- opacity: 1;
7
+ opacity: 1;
8
8
  }
9
9
  .carousel-fade .carousel-inner .active.left,
10
10
  .carousel-fade .carousel-inner .active.right {
11
- left: 0;
12
- opacity: 0;
13
- z-index: 1;
11
+ left: 0;
12
+ opacity: 0;
13
+ z-index: 1;
14
14
  }
15
15
  .carousel-fade .carousel-inner .next.left,
16
16
  .carousel-fade .carousel-inner .prev.right {
17
- opacity: 1;
17
+ opacity: 1;
18
18
  }
19
19
  .carousel-fade .carousel-control {
20
- z-index: 2;
20
+ z-index: 2;
21
21
  }
22
- @media all and (transform-3d),
23
- (-webkit-transform-3d) {
24
- .carousel-fade .carousel-inner > .item.next,
25
- .carousel-fade .carousel-inner > .item.active.right {
26
- opacity: 0;
27
- }
28
- .carousel-fade .carousel-inner > .item.prev,
29
- .carousel-fade .carousel-inner > .item.active.left {
30
- opacity: 0;
31
- }
32
- .carousel-fade .carousel-inner > .item.next.left,
33
- .carousel-fade .carousel-inner > .item.prev.right,
34
- .carousel-fade .carousel-inner > .item.active {
35
- opacity: 1;
36
- }
22
+ @media all and (transform-3d), (-webkit-transform-3d) {
23
+ .carousel-fade .carousel-inner > .item.next,
24
+ .carousel-fade .carousel-inner > .item.active.right {
25
+ opacity: 0;
26
+ }
27
+ .carousel-fade .carousel-inner > .item.prev,
28
+ .carousel-fade .carousel-inner > .item.active.left {
29
+ opacity: 0;
30
+ }
31
+ .carousel-fade .carousel-inner > .item.next.left,
32
+ .carousel-fade .carousel-inner > .item.prev.right,
33
+ .carousel-fade .carousel-inner > .item.active {
34
+ opacity: 1;
35
+ }
37
36
  }
38
37
  .item:nth-child(1) {
39
- -webkit-background-size: cover;
40
- -moz-background-size: cover;
41
- -o-background-size: cover;
42
- background-size: cover;
38
+ -webkit-background-size: cover;
39
+ -moz-background-size: cover;
40
+ -o-background-size: cover;
41
+ background-size: cover;
43
42
  }
44
43
  .item:nth-child(2) {
45
- -webkit-background-size: cover;
46
- -moz-background-size: cover;
47
- -o-background-size: cover;
48
- background-size: cover;
44
+ -webkit-background-size: cover;
45
+ -moz-background-size: cover;
46
+ -o-background-size: cover;
47
+ background-size: cover;
49
48
  }
50
49
  .item:nth-child(3) {
51
- -webkit-background-size: cover;
52
- -moz-background-size: cover;
53
- -o-background-size: cover;
54
- background-size: cover;
50
+ -webkit-background-size: cover;
51
+ -moz-background-size: cover;
52
+ -o-background-size: cover;
53
+ background-size: cover;
55
54
  }
56
55
  .carousel .item {
57
- position: fixed;
58
- z-index: 99999;
59
- width: 100%;
60
- height: $jumbotron_height + 100px;
61
- // margin-top: $navbar-height;
56
+ position: fixed;
57
+ z-index: 99999;
58
+ width: 100%;
59
+ height: $jumbotron_height + 100px;
60
+ // margin-top: $navbar-height;
62
61
  }
63
62
  .carousel.slide.carousel-fade {
64
- position: absolute;
65
- top: 0px;
66
- z-index: 0;
67
- overflow: hidden;
68
- }
69
- nav#universal-nav {
70
- z-index: 2;
71
- position: static;
72
- }
73
- nav#main-navigation {
74
- z-index: 999999;
63
+ position: absolute;
64
+ top: 0px;
65
+ z-index: 0;
66
+ overflow: hidden;
75
67
  }
76
68
  #content-container {
77
- background-color: $body-bg;
78
- position: relative;
69
+ background-color: $body-bg;
70
+ position: relative;
79
71
  }
80
72
  div#jumbotron {
81
- text-align: center;
82
- height: $jumbotron_height;
83
- z-index: 0;
84
- position: relative;
85
- background: none;
73
+ text-align: center;
74
+ height: $jumbotron_height;
75
+ z-index: 0;
76
+ position: relative;
77
+ background: none;
86
78
  }
87
79
  @include media-breakpoint-down(sm) {
88
- #jumbotron {
89
- font-size: 32px;
90
- }
80
+ #jumbotron {
81
+ font-size: 32px;
82
+ }
91
83
  }
@@ -0,0 +1,39 @@
1
+ #wrapper {
2
+ ul.docs_nav {
3
+ li.toc-entry > a {
4
+ color: black;
5
+ }
6
+ li.toc-entry {
7
+ padding: 5px 0;
8
+ }
9
+ &.sticky-top {
10
+ top: 80px;
11
+ }
12
+ max-height: 60vh;
13
+ overflow-y: auto;
14
+ &.fixed_nav {
15
+ position: fixed;
16
+ }
17
+ li.toc-entry {
18
+ list-style: none;
19
+ padding-left: 10px;
20
+ }
21
+ li {
22
+ padding-left: 10px;
23
+ list-style: none;
24
+ }
25
+ ul.list-group {
26
+ li {
27
+ list-style: none;
28
+ }
29
+ }
30
+ }
31
+ #doc_content {
32
+ a.anchor {
33
+ padding-top: 200px;
34
+ margin-top: -200px;
35
+ visibility: hidden;
36
+ display: block;
37
+ }
38
+ }
39
+ }
@@ -1,8 +1,7 @@
1
1
  @font-face {
2
2
  font-family: "fontello";
3
3
  src: url("/assets/fonts/fontello/fontello.eot");
4
- src: url("/assets/fonts/fontello/fontello.eot")
5
- format("embedded-opentype"),
4
+ src: url("/assets/fonts/fontello/fontello.eot") format("embedded-opentype"),
6
5
  url("/assets/fonts/fontello/fontello.woff2") format("woff2"),
7
6
  url("/assets/fonts/fontello/fontello.woff") format("woff"),
8
7
  url("/assets/fonts/fontello/fontello.ttf") format("truetype"),
@@ -46,46 +45,180 @@
46
45
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
47
46
  }
48
47
 
49
-
50
- .icon-search:before { content: '\e800'; } /* '' */
51
- .icon-stop:before { content: '\e801'; } /* '' */
52
- .icon-pause:before { content: '\e802'; } /* '' */
53
- .icon-fast-fw:before { content: '\e803'; } /* '' */
54
- .icon-fast-bw:before { content: '\e804'; } /* '' */
55
- .icon-terminal:before { content: '\e805'; } /* '' */
56
- .icon-basket:before { content: '\e806'; } /* '' */
57
- .icon-users:before { content: '\e807'; } /* '' */
58
- .icon-user:before { content: '\e808'; } /* '' */
59
- .icon-folder-open:before { content: '\e809'; } /* '' */
60
- .icon-minus:before { content: '\e80a'; } /* '' */
61
- .icon-minus-circled:before { content: '\e80b'; } /* '' */
62
- .icon-plus:before { content: '\e80c'; } /* '' */
63
- .icon-plus-circled:before { content: '\e80d'; } /* '' */
64
- .icon-down-open:before { content: '\e80e'; } /* '' */
65
- .icon-up-open:before { content: '\e80f'; } /* '' */
66
- .icon-github-circled-alt2:before { content: '\f056'; } /* '' */
67
- .icon-link-ext:before { content: '\f08e'; } /* '' */
68
- .icon-terminal-1:before { content: '\f120'; } /* '' */
69
- .icon-play-circled:before { content: '\f144'; } /* '' */
70
- .icon-link-ext-alt:before { content: '\f14c'; } /* '' */
71
- .icon-youtube-squared:before { content: '\f166'; } /* '' */
72
- .icon-youtube:before { content: '\f167'; } /* '' */
73
- .icon-youtube-play:before { content: '\f16a'; } /* '' */
74
- .icon-file-code:before { content: '\f1c9'; } /* '' */
75
- .icon-newspaper:before { content: '\f1ea'; } /* '' */
76
- .icon-cart-plus:before { content: '\f217'; } /* '' */
77
- .icon-github:before { content: '\f300'; } /* '' */
78
- .icon-github-circled:before { content: '\f301'; } /* '' */
79
- .icon-flickr:before { content: '\f303'; } /* '' */
80
- .icon-flickr-circled:before { content: '\f304'; } /* '' */
81
- .icon-twitter:before { content: '\f309'; } /* '' */
82
- .icon-twitter-circled:before { content: '\f30a'; } /* '' */
83
- .icon-facebook:before { content: '\f30c'; } /* '' */
84
- .icon-facebook-circled:before { content: '\f30d'; } /* '' */
85
- .icon-facebook-squared:before { content: '\f30e'; } /* '' */
86
- .icon-pinterest:before { content: '\f312'; } /* '' */
87
- .icon-pinterest-circled:before { content: '\f313'; } /* '' */
88
- .icon-linkedin:before { content: '\f318'; } /* '' */
89
- .icon-linkedin-circled:before { content: '\f319'; } /* '' */
90
- .icon-spotify-circled:before { content: '\f328'; } /* '' */
91
- .icon-instagram:before { content: '\f32d'; } /* '' */
48
+ .icon-cancel:before {
49
+ content: "\2715";
50
+ } /* '' */
51
+ .icon-cancel-circled:before {
52
+ content: "\2716";
53
+ } /* '' */
54
+ .icon-left-open:before {
55
+ content: "\e75d";
56
+ } /* '' */
57
+ .icon-right-open:before {
58
+ content: "\e75e";
59
+ } /* '' */
60
+ .icon-search:before {
61
+ content: "\e800";
62
+ } /* '' */
63
+ .icon-stop:before {
64
+ content: "\e801";
65
+ } /* '' */
66
+ .icon-pause:before {
67
+ content: "\e802";
68
+ } /* '' */
69
+ .icon-fast-fw:before {
70
+ content: "\e803";
71
+ } /* '' */
72
+ .icon-fast-bw:before {
73
+ content: "\e804";
74
+ } /* '' */
75
+ .icon-terminal:before {
76
+ content: "\e805";
77
+ } /* '' */
78
+ .icon-basket:before {
79
+ content: "\e806";
80
+ } /* '' */
81
+ .icon-users:before {
82
+ content: "\e807";
83
+ } /* '' */
84
+ .icon-user:before {
85
+ content: "\e808";
86
+ } /* '' */
87
+ .icon-folder-open:before {
88
+ content: "\e809";
89
+ } /* '' */
90
+ .icon-minus:before {
91
+ content: "\e80a";
92
+ } /* '' */
93
+ .icon-minus-circled:before {
94
+ content: "\e80b";
95
+ } /* '' */
96
+ .icon-plus:before {
97
+ content: "\e80c";
98
+ } /* '' */
99
+ .icon-plus-circled:before {
100
+ content: "\e80d";
101
+ } /* '' */
102
+ .icon-down-open:before {
103
+ content: "\e80e";
104
+ } /* '' */
105
+ .icon-up-open:before {
106
+ content: "\e80f";
107
+ } /* '' */
108
+ .icon-github-circled-alt2:before {
109
+ content: "\f056";
110
+ } /* '' */
111
+ .icon-link-ext:before {
112
+ content: "\f08e";
113
+ } /* '' */
114
+ .icon-sort-down:before {
115
+ content: "\f0dd";
116
+ } /* '' */
117
+ .icon-sort-up:before {
118
+ content: "\f0de";
119
+ } /* '' */
120
+ .icon-angle-left:before {
121
+ content: "\f104";
122
+ } /* '' */
123
+ .icon-angle-right:before {
124
+ content: "\f105";
125
+ } /* '' */
126
+ .icon-terminal-1:before {
127
+ content: "\f120";
128
+ } /* '' */
129
+ .icon-play-circled:before {
130
+ content: "\f144";
131
+ } /* '' */
132
+ .icon-link-ext-alt:before {
133
+ content: "\f14c";
134
+ } /* '' */
135
+ .icon-sort-name-up:before {
136
+ content: "\f15d";
137
+ } /* '' */
138
+ .icon-sort-name-down:before {
139
+ content: "\f15e";
140
+ } /* '' */
141
+ .icon-sort-alt-up:before {
142
+ content: "\f160";
143
+ } /* '' */
144
+ .icon-sort-alt-down:before {
145
+ content: "\f161";
146
+ } /* '' */
147
+ .icon-sort-number-up:before {
148
+ content: "\f162";
149
+ } /* '' */
150
+ .icon-sort-number-down:before {
151
+ content: "\f163";
152
+ } /* '' */
153
+ .icon-youtube-squared:before {
154
+ content: "\f166";
155
+ } /* '' */
156
+ .icon-youtube:before {
157
+ content: "\f167";
158
+ } /* '' */
159
+ .icon-youtube-play:before {
160
+ content: "\f16a";
161
+ } /* '' */
162
+ .icon-file-code:before {
163
+ content: "\f1c9";
164
+ } /* '' */
165
+ .icon-newspaper:before {
166
+ content: "\f1ea";
167
+ } /* '' */
168
+ .icon-cart-plus:before {
169
+ content: "\f217";
170
+ } /* '' */
171
+ .icon-microchip:before {
172
+ content: "\f2db";
173
+ } /* '' */
174
+ .icon-github:before {
175
+ content: "\f300";
176
+ } /* '' */
177
+ .icon-github-circled:before {
178
+ content: "\f301";
179
+ } /* '' */
180
+ .icon-flickr:before {
181
+ content: "\f303";
182
+ } /* '' */
183
+ .icon-flickr-circled:before {
184
+ content: "\f304";
185
+ } /* '' */
186
+ .icon-twitter:before {
187
+ content: "\f309";
188
+ } /* '' */
189
+ .icon-twitter-circled:before {
190
+ content: "\f30a";
191
+ } /* '' */
192
+ .icon-facebook:before {
193
+ content: "\f30c";
194
+ } /* '' */
195
+ .icon-facebook-circled:before {
196
+ content: "\f30d";
197
+ } /* '' */
198
+ .icon-facebook-squared:before {
199
+ content: "\f30e";
200
+ } /* '' */
201
+ .icon-pinterest:before {
202
+ content: "\f312";
203
+ } /* '' */
204
+ .icon-pinterest-circled:before {
205
+ content: "\f313";
206
+ } /* '' */
207
+ .icon-linkedin:before {
208
+ content: "\f318";
209
+ } /* '' */
210
+ .icon-linkedin-circled:before {
211
+ content: "\f319";
212
+ } /* '' */
213
+ .icon-spotify-circled:before {
214
+ content: "\f328";
215
+ } /* '' */
216
+ .icon-instagram:before {
217
+ content: "\f32d";
218
+ } /* '' */
219
+ .icon-calendar:before {
220
+ content: "📅";
221
+ } /* '\1f4c5' */
222
+ .icon-book:before {
223
+ content: "📕";
224
+ } /* '\1f4d5' */