linaro-jekyll-theme 0.10.59 → 0.10.60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75cbb78e7c1b31c17bfe7ff0a604024426ada07f
4
- data.tar.gz: 005e09c61617dc585d3d0a41933a8b658213e4aa
3
+ metadata.gz: 232abf3c91e23e581d17765feaf34db18707d294
4
+ data.tar.gz: 577d15bf84ab02c47580c41d359cd969f1186220
5
5
  SHA512:
6
- metadata.gz: 9e5a2e422949ed95975cd4f6eee68079bc75cac73100dc0d68d0456e8e72297244b710e56141d6f6c7e9c1c7a7c16305d04773b309c176ce8b8fd1a1e873c678
7
- data.tar.gz: 33ede055ec8c4a24119a12c05572e3c47aade103d92d9ac4d5bb7e8435af4d65c22b2f7133dce5f571aa74263a9e55c4399e4bdb3f055ab2ab7d16aae6caa714
6
+ metadata.gz: e3d6804021e455714c0db566d712f1fa92a5aa0e1a67358ddfa5a526b7a23647eaa0945088756458577a39ec30fd5448e0b73c12f645048c0a1e5106adcbfd16
7
+ data.tar.gz: 7c3881eb61c072c941e603a5e48572e64494abbdd24a53393f51bc245151701f893b312c96efeec06d31e793cf9355bab038d2c4a0a4b4ca9f257cbc58986a58
@@ -40,6 +40,42 @@
40
40
  <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{section.title}} <span class="caret"></span></a>
41
41
  <ul class="dropdown-menu">
42
42
  {% for menu_option in section.options %}
43
+ {% if menu_option.options %}
44
+ <li class="menu-item dropdown dropdown-submenu">
45
+ {% for sub-option in menu_option.options %}
46
+ {% if sub-option.options %}
47
+ <ul class="dropdown-menu">
48
+ {% for sub-sub-option in sub-option.options %}
49
+ {% if sub-sub-option.options %}
50
+ <li class="menu-item dropdown dropdown-submenu">
51
+ {% for sub-sub-sub-option in sub-sub-option.options %}
52
+ {% if sub-sub-sub-option.options %}
53
+ <ul class="dropdown-menu">
54
+ {% for sub-sub-sub-sub-option in sub-sub-sub-option.options %}
55
+ <li>
56
+ <a href="{{sub-sub-sub-sub-option.url}}">{{sub-sub-sub-sub-option.text}}</a>
57
+ </li>
58
+ {% endfor %}
59
+ </ul>
60
+ {% else %}
61
+ <a href="{{sub-sub-sub-option.url}}" class="dropdown-toggle" data-toggle="dropdown">{{sub-sub-sub-option.text}}</a>
62
+ {% endif %}
63
+ {% endfor %}
64
+ </li>
65
+ {% else %}
66
+ <li class="menu-item ">
67
+ <a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a>
68
+ </li>
69
+ {% endif %}
70
+ {% endfor %}
71
+ </ul>
72
+ {% else %}
73
+ <a href="{{sub-option.url}}" class="dropdown-toggle" data-toggle="dropdown">{{sub-option.text}}</a>
74
+ {% endif %}
75
+ {% endfor %}
76
+
77
+ </li>
78
+ {% endif %}
43
79
  <li>
44
80
  <a target="_self" href="{{menu_option.url}}" class="dropdown-item " title="{{menu_option.txt}}">{{menu_option.text}} {% if menu_option.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}</a>
45
81
  </li>
data/_sass/core/nav.scss CHANGED
@@ -562,3 +562,48 @@ li.side-nav-button {
562
562
  border: 1px solid $gray-lighter;
563
563
  margin-bottom: -3px;
564
564
  }
565
+
566
+
567
+
568
+ //Sub Menu for Bootstrap 3 Dropdowns
569
+ .dropdown-submenu {
570
+ position:relative;
571
+ }
572
+ .dropdown-submenu>.dropdown-menu {
573
+ top:0;
574
+ left:100%;
575
+ margin-top:-6px;
576
+ margin-left:-1px;
577
+ -webkit-border-radius:0 6px 6px 6px;
578
+ -moz-border-radius:0 6px 6px 6px;
579
+ border-radius:0 6px 6px 6px;
580
+ }
581
+ .dropdown-submenu:hover>.dropdown-menu {
582
+ display:block;
583
+ }
584
+ .dropdown-submenu>a:after {
585
+ display:block;
586
+ content:" ";
587
+ float:right;
588
+ width:0;
589
+ height:0;
590
+ border-color:transparent;
591
+ border-style:solid;
592
+ border-width:5px 0 5px 5px;
593
+ border-left-color:#cccccc;
594
+ margin-top:5px;
595
+ margin-right:-10px;
596
+ }
597
+ .dropdown-submenu:hover>a:after {
598
+ border-left-color:#ffffff;
599
+ }
600
+ .dropdown-submenu.pull-left {
601
+ float:none;
602
+ }
603
+ .dropdown-submenu.pull-left>.dropdown-menu {
604
+ left:-100%;
605
+ margin-left:10px;
606
+ -webkit-border-radius:6px 0 6px 6px;
607
+ -moz-border-radius:6px 0 6px 6px;
608
+ border-radius:6px 0 6px 6px;
609
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.59
4
+ version: 0.10.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby