linaro-jekyll-theme 4.1.2 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +26 -11
  3. data/_data/footer.yml +7 -25
  4. data/_data/nav.yml +18 -3
  5. data/_data/picture.yml +12 -0
  6. data/_data/sticky_tab_bar.yml +24 -0
  7. data/_includes/blog/post_search_fess.html +11 -0
  8. data/_includes/components/breadcrumb.html +5 -2
  9. data/_includes/components/cookie_manager.html +2 -2
  10. data/_includes/components/head.html +2 -2
  11. data/_includes/components/jumbotron.html +24 -5
  12. data/_includes/components/sticky_tab_bar.html +76 -0
  13. data/_includes/flow/blocks.html +1 -1
  14. data/_includes/flow/feature_block.html +3 -0
  15. data/_includes/flow/flow_inner.html +1 -1
  16. data/_includes/flow/members.html +26 -0
  17. data/_includes/footer/footer.html +3 -3
  18. data/_includes/nav/nav.html +24 -14
  19. data/_includes/nav/universal_nav.html +3 -2
  20. data/_layouts/documentation.html +19 -0
  21. data/_layouts/flow.html +3 -0
  22. data/_layouts/post.html +21 -8
  23. data/_sass/app/overrides.scss +21 -8
  24. data/_sass/core.scss +2 -0
  25. data/_sass/core/breadcrumb.scss +35 -13
  26. data/_sass/core/carousel-header.scss +53 -61
  27. data/_sass/core/documentation.scss +39 -0
  28. data/_sass/core/flow.scss +103 -83
  29. data/_sass/core/fontello.scss +178 -45
  30. data/_sass/core/navbar.scss +91 -57
  31. data/_sass/core/sticky_tab_bar.scss +35 -0
  32. data/_sass/core/theme.scss +75 -46
  33. data/assets/fonts/fontello/fontello.eot +0 -0
  34. data/assets/fonts/fontello/fontello.svg +34 -0
  35. data/assets/fonts/fontello/fontello.ttf +0 -0
  36. data/assets/fonts/fontello/fontello.woff +0 -0
  37. data/assets/fonts/fontello/fontello.woff2 +0 -0
  38. data/assets/images/breadcrumb-banner.png +0 -0
  39. data/assets/js/app/main.js +147 -22
  40. metadata +26 -20
  41. data/_includes/flow/members-section.html +0 -24
  42. data/_includes/sticky-tab-bar.html +0 -61
@@ -2,7 +2,7 @@
2
2
  {% if section.format == "title" %}
3
3
  {% include flow/title.html object=section %}
4
4
  {% elsif section.format == "members" %}
5
- {% include flow/members-section.html object=section %}
5
+ {% include flow/members.html object=section %}
6
6
  {% elsif section.format == "youtube" %}
7
7
  <div class="col col-12 youtube_embed">
8
8
  {% include youtube.html url=section.url title=section.title poster_image=section.poster_image %}
@@ -0,0 +1,26 @@
1
+ {% if include.object.members_content.source %}
2
+ {% assign members = site.data[include.object.members_content.source] %}
3
+ {% else %}
4
+ {% assign members = include.object.members_content.items %}
5
+ {% endif %}
6
+ <div class="col col-12 members_section {% if include.object.style %}{{include.object.style}}{% endif %}">
7
+ <div class="row d-flex justify-content-center align-items-center">
8
+ {% for member in members %}
9
+ {% if member.image.path contains "http" %}
10
+ <div class="col col-6 col-sm-{{include.object.members_content.item_width}}">
11
+ {% if member.url %}<a href="{{member.url}}">{% endif %}
12
+ <img class="lazyload img-responsive" alt="{{member.image.alt}}"
13
+ src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
14
+ data-src="{{member.image.path}}"/>
15
+ {% if member.url %}</a>{% endif %}
16
+ </div>
17
+ {% else %}
18
+ <div class="col col-6 col-sm-{{include.object.members_content.item_width}}">
19
+ {% if member.url %}<a href="{{member.url}}">{% endif %}
20
+ {% picture members_image {{member.image.path}} --alt {{member.image.alt}} %}
21
+ {% if member.url %}</a>{% endif %}
22
+ </div>
23
+ {% endif %}
24
+ {% endfor %}
25
+ </div>
26
+ </div>
@@ -16,9 +16,9 @@
16
16
  </div>
17
17
  {% if site.data.footer.footer_brand %}
18
18
  <div class="col col-12 text-white text-center m-t-10">
19
- <a href="{{site.url}}/">
20
- <img src="{{site.data.footer.footer_brand.logo}}" class="footer-logo mx-auto"
21
- alt="{{site.name}} Logo" />
19
+ <a href="{{site.data.footer.footer_brand.url}}/">
20
+ <img src="{{site.data.footer.footer_brand.path}}" class="footer-logo mx-auto"
21
+ alt="{{site.data.footer.footer_brand.alt}}" />
22
22
  </a>
23
23
  </div>
24
24
  {% endif %}
@@ -6,9 +6,16 @@
6
6
  {% if current_page_url == "/" %}
7
7
  {% assign current_page_url = "do-no-set"%}
8
8
  {% endif %}
9
- <nav class="navbar navbar-expand-md navbar-light bg-light" id="main-navigation">
9
+ {% assign nav_expand_point = site.nav_expand_breakpoint %}
10
+ <nav class="navbar navbar-expand-{{nav_expand_point}} navbar-light bg-light {% if site.hover_nav_dropdowns %}hover_animated{% endif %}" id="main-navigation">
10
11
  <div class="container">
11
- {% include nav/brand.html %}
12
+ {% if site.data.nav.brand.custom_include %}
13
+ {% include {{site.data.nav.brand.custom_include}} %}
14
+ {% else %}
15
+ <a class="navbar-brand" href="/">
16
+ <img src="{{site.data.nav.brand.path}}" alt="{{site.data.nav.brand.alt}}" height="60" class="d-inline-block align-top">
17
+ </a>
18
+ {% endif %}
12
19
  <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse"
13
20
  aria-controls="navbar-collapse " aria-expanded="false" aria-label="Toggle navigation">
14
21
  <span class="icon-bar"></span>
@@ -47,15 +54,15 @@
47
54
  {% endif %}
48
55
  {% endfor %}
49
56
 
50
- <li class="nav-item dropdown {{active}}">
57
+ <li class="nav-item dropdown text-center text-{{nav_expand_point}}-left {{active}}">
51
58
  <a class="nav-link dropdown-toggle" href="#" id="dropdown-{{forloop.index}}" role="button" data-toggle="dropdown"
52
59
  aria-haspopup="true" aria-expanded="false">
53
60
  {{section.title}}
54
61
  </a>
55
- <ul class="dropdown-menu" aria-labelledby="dropdown-{{forloop.index}}">
62
+ <ul class="dropdown-menu {% if site.nav_dropdowns_animation_class %}{{site.nav_dropdowns_animation_class}}{% endif %}" aria-labelledby="dropdown-{{forloop.index}}">
56
63
  {% for menu_option in section.options %}
57
64
  {% if menu_option.options %}
58
- <li class="dropdown-item dropdown {% if section.left %} pull-left {% endif %}">
65
+ <li class="dropdown-item dropdown text-center text-{{nav_expand_point}}-left {% if section.left %} pull-left {% endif %}">
59
66
  <a href="#" id="dropdown1-{{forloop.index}}" data-toggle="dropdown" aria-haspopup="true"
60
67
  aria-expanded="false" class="dropdown-toggle">
61
68
  {{menu_option.text}}
@@ -63,7 +70,7 @@
63
70
  <ul class="dropdown-menu" aria-labelledby="dropdown1-{{forloop.index}}">
64
71
  {% for sub-option in menu_option.options %}
65
72
  {% if sub-option.options %}
66
- <li class="dropdown-item dropdown">
73
+ <li class="dropdown-item dropdown text-center text-{{nav_expand_point}}-left">
67
74
  <a href="#" class="dropdown-toggle" id="dropdown1-1-{{forloop.index}}"
68
75
  data-toggle="dropdown" aria-haspopup="true"
69
76
  aria-expanded="false">
@@ -71,23 +78,23 @@
71
78
  </a>
72
79
  <ul class="dropdown-menu" aria-labelledby="dropdown1-1-{{forloop.index}}">
73
80
  {% for sub-sub-option in sub-option.options %}
74
- <li >
81
+ <li class="text-center text-{{nav_expand_point}}-left">
75
82
  <a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a>
76
83
  </li>
77
84
  {% endfor %}
78
85
  </ul>
79
86
  </li>
80
87
  {% else %}
81
- <li><a href="{{sub-option.url}}">{{sub-option.text}}</a></li>
88
+ <li class="text-center text-{{nav_expand_point}}-left"><a href="{{sub-option.url}}">{{sub-option.text}}</a></li>
82
89
  {% endif %}
83
90
  {% endfor %}
84
91
  </ul>
85
92
  </li>
86
93
  {% else %}
87
- <li>
94
+ <li class="text-center text-{{nav_expand_point}}-left">
88
95
  <a href="{{menu_option.url}}">
89
96
  {{menu_option.text}}
90
- {% if menu_option.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
97
+ {% if menu_option.external %}<i class="icon-link-ext-alt float-right"></i>{% endif %}
91
98
  </a>
92
99
  </li>
93
100
  {% endif %}
@@ -106,20 +113,23 @@
106
113
  {% endif %}
107
114
  {% endfor %}
108
115
  {% endif %}
109
- <li class="nav-item {{active}}">
110
- <a class="nav-link" href="{{section.url}}">{{section.title}} {% if active == "active" %}<span class="sr-only">(current)</span>{% endif %}</a>
116
+ <li class="nav-item text-center text-{{nav_expand_point}}-left {{active}}">
117
+ <a class="nav-link" href="{{section.url}}">
118
+ {{section.title}}
119
+ {% if section.external %}<i class="icon-link-ext-alt float-right"></i>{% endif %}
120
+ {% if active == "active" %}<span class="sr-only">(current)</span>{% endif %}</a>
111
121
  </li>
112
122
  {% endif %}
113
123
  {% endfor %}
114
124
  {% if site.data.nav.search.enabled %}
115
- <li class="nav-item dropdown search">
125
+ <li class="nav-item dropdown text-center text-{{nav_expand_point}}-left search">
116
126
  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" aria-label="Search dropdown" data-toggle="dropdown"
117
127
  aria-haspopup="true" aria-expanded="false">
118
128
  <i class="icon-search"></i>
119
129
  </a>
120
130
  <div class="dropdown-menu" aria-labelledby="navbarDropdown">
121
131
  <form class="form-inline flex-nowrap" action="/search/" method="GET" target="_self" id="search_form">
122
- <input class="form-control border-0" name="q" type="search" placeholder="Search..." aria-label="Search">
132
+ <input class="form-control border-0 flex-grow-1" name="q" type="search" placeholder="Search..." aria-label="Search">
123
133
  <button class="btn btn-outline-primary border-0" type="submit">Search</button>
124
134
  <input type="hidden" name="fields.label" value="{{ site.search_label }}">
125
135
  </form>
@@ -1,5 +1,6 @@
1
+ {% assign nav_expand_point = site.nav_expand_breakpoint %}
1
2
  <!-- Universal NavBar-->
2
- <nav class="navbar navbar-expand-md navbar-dark" id="universal_nav">
3
+ <nav class="navbar navbar-expand-{{nav_expand_point}} navbar-dark {% if site.hover_nav_dropdowns %}hover_animated{% endif %}" id="universal_nav">
3
4
  <div class="container">
4
5
  <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
5
6
  aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
@@ -18,7 +19,7 @@
18
19
  aria-haspopup="true" aria-expanded="false">
19
20
  {{item.title}}
20
21
  </a>
21
- <div class="dropdown-menu" aria-labelledby="universalNavbarDropdown">
22
+ <div class="dropdown-menu {% if site.nav_dropdowns_animation_class %}{{site.nav_dropdowns_animation_class}}{% endif %}" aria-labelledby="universalNavbarDropdown">
22
23
  {% for project-site in item.options %}
23
24
  <a class="dropdown-item {% if project-site.active %}active{% endif%}" href="{{project-site.url}}">{{project-site.title}}</a>
24
25
  {% endfor %}
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+ {% include components/breadcrumb.html %}
5
+ {% if page.sticky_tab_bar %}
6
+ {% include components/sticky_tab_bar.html object=page %}
7
+ {% endif %}
8
+ <div class="container-fluid main_content" id="content_wrapper">
9
+ <div class="row" id="doc_content">
10
+ <div class="container">
11
+ <div class="row">
12
+ {% if page.toc %}
13
+ <div class="col col-12 col-lg-3" id="table-of-contents">{{ content | toc_only }}</div>
14
+ {% endif %}
15
+ <div class="col col-12 {% if page.toc %}col-lg-9{% endif %}"id="markdown-content">{{ content | inject_anchors }}</div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
@@ -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 %}
@@ -2,14 +2,26 @@
2
2
  layout: base
3
3
  css_package: blog
4
4
  ---
5
- <div itemscope="" itemtype="http://schema.org/BlogPosting">
5
+ <div itemscope="" itemtype="http://schema.org/BlogPosting" >
6
+ <meta itemprop="mainEntityOfPage" content="{{page.url | absolute_url}}"/>
7
+ <div itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
8
+ <meta itemprop="name" content="{{site.schema.name}}" />
9
+ <meta itemprop="url" content="{{site.schema.url}}" />
10
+ <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
11
+ <meta itemprop="url" content="{{site.schema.logo}}">
12
+ </div>
13
+ </div>
6
14
  <div class="container-fluid" >
7
15
  {% if page.strap_image %}
8
16
  <div class="row" id="image_header">
9
17
  {% assign image_path = page.strap_image %}
10
18
  {% capture image_alt %}{{page.title}} background image{% endcapture %}
11
19
  {% picture header_image {{image_path}} --alt {{image_alt}} %}
20
+ <meta itemprop="image" content="{{image_path | absolute_url}}" />
12
21
  </div>
22
+ {% else %}
23
+ {% assign image_path = page.image %}
24
+ <meta itemprop="image" content="{{image_path | absolute_url}}" />
13
25
  {% endif %}
14
26
  <div class="row">
15
27
  <div class="container">
@@ -18,7 +30,7 @@ css_package: blog
18
30
  </div>
19
31
  <div class="row bg-light">
20
32
  <div class="container">
21
- <div class="row" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
33
+ <div class="row">
22
34
  <div class="col col-12 col-sm-2">
23
35
  {% assign author = site.authors | where: "username", page.author | first %}
24
36
  {% assign author-url = author.url %}
@@ -29,8 +41,9 @@ css_package: blog
29
41
  {% else %}
30
42
  {% assign author_image = site.avatar_placeholder %}
31
43
  {% endif %}
32
- <div class="d-block d-md-inline-block mx-auto my-2 m-md-2 text-md-left text-center">
33
- <a href="{{author-url}}" itemprop="url" rel="author">
44
+ <div class="d-block d-md-inline-block mx-auto my-2 m-md-2 text-md-left text-center" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
45
+ <meta itemprop="name" content="{{author_name}}" />
46
+ <a href="{{author-url}}" itemprop="url" content="{{author-url | absolute_url}}">
34
47
  {% picture author_thumbnail {{author_image}} --alt {{author_image_alt}} %}
35
48
  </a>
36
49
  </div>
@@ -39,12 +52,12 @@ css_package: blog
39
52
  <div class="row">
40
53
  <div class="col col-12">
41
54
  <div class="blockquote d-block d-md-inline-block mx-2 text-md-left text-center">
42
- <strong itemprop="name" rel="author">{{author_name}}</strong>
55
+ <strong>{{author_name}}</strong>
43
56
  </div>
44
57
  <span class="divider d-none d-md-inline-block">|</span>
45
58
  <div class="post_info text-center text-md-left d-block d-md-inline-block">
46
- <div class="author_name d-inline-block mx-2">
47
- <time datetime="{{page.date}}" itemprop="datePublished">{{page.date | date: "%A, %B %-d, %Y"}}</time>
59
+ <div class="d-inline-block mx-2">
60
+ <time datetime="{{page.date}}" itemprop="datePublished dateModified" rel="BlogPosting">{{page.date | date: "%A, %B %-d, %Y"}}</time>
48
61
  </div>
49
62
  <span class="divider">|</span>
50
63
  <div class="read_time d-inline-block mx-2">
@@ -56,7 +69,7 @@ css_package: blog
56
69
  <div class="col col-12">
57
70
  <div class="post_tags text-center text-md-left my-2 my-sm-1">
58
71
  {% assign post_tags = page.tags | sort %}
59
- {% for tag in post_tags limit: site.tag_limit %}
72
+ {% for tag in post_tags %}
60
73
  <a class="btn bg-light text-dark btn-sm my-1" href="/{{page.category | downcase }}/tags/?tag={{tag}}">
61
74
  {{tag}}
62
75
  </a>
@@ -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
  }