jekyll-theme-open-project 1.1.4 → 1.1.5

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
  SHA256:
3
- metadata.gz: 791a372fa8914d810d98620f7b25c2a0190ebdb146e66b751a0e78cd3c984946
4
- data.tar.gz: 7767ec6ee623e21cd2bd548ad0f88c2f952d4eebe880a1bc518393da755ca3cb
3
+ metadata.gz: '002371978d4991d9176ae741dc9201a347144a6e695f05f4e0cf87e584fb75f1'
4
+ data.tar.gz: fb89cfd1cdded7ba09f601efac540a6cbecee303ab4a1ecd1a5bf14d6cd1ddee
5
5
  SHA512:
6
- metadata.gz: c00ba26136da403b8d31f0e755f90bad6ee8c749cc8df4371ecf6d7a90b5a9a66a829b24e6cd43c79d511043ab94cdf601069c3af67a1f57090a33a92d00bc09
7
- data.tar.gz: 0b7b4105cf5e0cf81ac029d5f65bd7087b3d9eb86c24e887ffbc9604b93d19f57cdd65aaecb6406da9ec35f66f0b36fd4d9fe1e0638d639ba6fbfcc9ed182fde
6
+ metadata.gz: f390ca879f0da10542a792d6258bbcf7f281717716a2138f693738cbab1692eaed3412ff3f89619f37168502d18f6bb4637fcdfcbb936f5be43eca9959042e44
7
+ data.tar.gz: 94bb002f4e13b7dd80cf5da9d8945cecafb144f411f9805ebf5f159d3c2c364d1ad5642be55259bd79ccbfc613681710eefd7f2f6a8ca7811aef11545888b88e
@@ -8,24 +8,13 @@
8
8
 
9
9
  <nav class="nav-sidebar">
10
10
  <header class="sidebar-header">
11
- {% if include.item_type == 'software' and page.url != product_base_url %}
11
+ {% if include.item_type == 'software' %}
12
12
  <div class="logo-container" role="presentation">
13
13
  {% include software-symbol.html item_id=page.id %}
14
14
  </div>
15
15
  <h3 class="title">
16
16
  <a href="{{ product_base_url | relative_url }}">{{ item_data.title }}</a>
17
17
  </h3>
18
- {% else %}
19
- <h3 class="title">
20
- <a href="{{ include.item_type | append: "/" | relative_url }}">
21
- &larr;
22
- {% if include.item_type == 'software' %}
23
- Software
24
- {% else if include.item_type == 'specs' %}
25
- Specifications
26
- {% endif %}
27
- </a>
28
- </h3>
29
18
  {% endif %}
30
19
  </header>
31
20
 
@@ -8,7 +8,7 @@
8
8
  {% endif %}
9
9
 
10
10
  {% if active_nested or page.url == include.url %}
11
- <span>{{ include.title }}</span>
11
+ <a class="active" href="{{ include.url }}">{{ include.title }}</a>
12
12
  {% else %}
13
13
  <a href="{{ include.url }}">{{ include.title }}</a>
14
14
  {% endif %}
@@ -476,149 +476,7 @@ main {
476
476
  &.layout--spec > main,
477
477
  &.layout--product > main {
478
478
  > .documentation:only-child {
479
- flex: 1;
480
- display: flex;
481
- flex-flow: row nowrap;
482
-
483
- > .nav-sidebar {
484
- width: 320px;
485
- border-right: #F7F7F7 2px solid;
486
- margin-right: 60px;
487
- padding-top: 70px;
488
- flex-shrink: 0;
489
-
490
- > .sidebar-header {
491
- display: flex;
492
- flex-flow: row nowrap;
493
- align-items: center;
494
-
495
- .title {
496
- flex: 1;
497
- line-height: 1;
498
- font-weight: normal;
499
- font-size: 15px;
500
-
501
- a:link, a:visited {
502
- color: #444;
503
- }
504
- }
505
- .logo-container {
506
- margin-right: 10px;
507
-
508
- .logo > :only-child {
509
- width: 32px;
510
- height: 32px;
511
- }
512
- }
513
- }
514
-
515
- > section {
516
- margin-bottom: 15px;
517
-
518
- &.external-links {
519
- $side-margin: 16px;
520
-
521
- margin-left: -$side-margin;
522
-
523
- > .section-items > .item {
524
- margin-bottom: 10px;
525
- margin-right: $side-margin;
526
-
527
- a {
528
- background-color: #F7F7F7;
529
- display: block;
530
- font-weight: bold;
531
- padding: 4px 0 4px $side-margin;
532
- border-radius: 10px;
533
- }
534
- }
535
- }
536
-
537
- > .section-title {
538
- font-size: 20px;
539
- font-weight: bold;
540
- margin: 0;
541
- line-height: 1.8;
542
- }
543
-
544
- > .section-items {
545
- list-style: none;
546
- margin: 0;
547
- padding: 0;
548
- line-height: 2;
549
-
550
- > .item {
551
- font-size: 15px;
552
- font-weight: normal;
553
-
554
- &.disabled {
555
- span {
556
- $disabled-label-width: 50px;
557
- opacity: 0.5;
558
- position: relative;
559
-
560
- &:before {
561
- opacity: 0.4;
562
- position: absolute;
563
- width: $disabled-label-width;
564
- left: -$disabled-label-width;;
565
- content: "TBD";
566
- font-weight: bold;
567
- }
568
- }
569
- }
570
- &.selected {
571
- span {
572
- font-weight: bold;
573
- color: $primary-dark-color;
574
- }
575
- }
576
- a {
577
- &:link, &:hover, &:visited {
578
- color: #444;
579
- }
580
- }
581
- }
582
- }
583
- }
584
- }
585
-
586
- > article {
587
- @extend .main-article;
588
- flex: 1;
589
-
590
- > header {
591
- > .title {
592
- display: flex;
593
- flex-flow: row nowrap;
594
-
595
- border-bottom: 2px solid $primary-dark-color;
596
- padding-top: 70px;
597
- padding-bottom: 20px;
598
-
599
- > .logo-container {
600
- margin-right: 22px;
601
-
602
- > :only-child {
603
- width: 58px;
604
- height: 58px;
605
- }
606
- }
607
-
608
- .text {
609
- flex: 1;
610
- font-size: 36px;
611
-
612
- margin: 0;
613
- font-weight: 500;
614
- }
615
- }
616
- .lead {
617
- font-weight: normal;
618
- font-size: 20px;
619
- }
620
- }
621
- }
479
+ @include docs-page($primary-dark-color);
622
480
  }
623
481
  }
624
482
  }
@@ -261,9 +261,11 @@ body > .underlay > header {
261
261
 
262
262
  > nav,
263
263
  > .social-links {
264
- span, a:link, a:visited, a:hover {
265
- color: white;
266
- font-size: 1.3em;
264
+ span, a {
265
+ &:link, &:visited, &:hover {
266
+ color: white;
267
+ font-size: 1.3em;
268
+ }
267
269
  }
268
270
  }
269
271
 
@@ -277,7 +279,7 @@ body > .underlay > header {
277
279
  > * {
278
280
  margin: .25em;
279
281
  }
280
- > span {
282
+ > .active {
281
283
  font-weight: bold;
282
284
  }
283
285
  }
@@ -304,12 +306,12 @@ body > .underlay > header {
304
306
  }
305
307
  }
306
308
 
307
- > .top-menu, > .social-links {
309
+ > .top-menu,
310
+ > .social-links {
308
311
  color: white;
309
-
310
312
  display: none;
311
313
 
312
- span {
314
+ .active {
313
315
  background-color: rgba(black, 0.1);
314
316
  }
315
317
  a:link, a:hover, a:visited {
@@ -319,6 +321,7 @@ body > .underlay > header {
319
321
 
320
322
  @media screen and (min-width: $bigscreen-breakpoint) {
321
323
  justify-content: unset;
324
+
322
325
  > button.hamburger {
323
326
  display: none;
324
327
  }
@@ -10,3 +10,156 @@
10
10
  }
11
11
  }
12
12
 
13
+ @mixin docs-page($primary-dark-color) {
14
+ flex: 1;
15
+ display: flex;
16
+ flex-flow: column nowrap;
17
+
18
+ > .nav-sidebar {
19
+ flex-shrink: 0;
20
+ padding-top: 50px;
21
+
22
+ > .sidebar-header {
23
+ display: flex;
24
+ flex-flow: row nowrap;
25
+ align-items: center;
26
+
27
+ .title {
28
+ flex: 1;
29
+ line-height: 1;
30
+ font-weight: normal;
31
+ font-size: 15px;
32
+
33
+ a:link, a:visited {
34
+ color: #444;
35
+ }
36
+ }
37
+ .logo-container {
38
+ margin-right: 10px;
39
+
40
+ .logo > :only-child {
41
+ width: 32px;
42
+ height: 32px;
43
+ }
44
+ }
45
+ }
46
+
47
+ > section {
48
+ margin-bottom: 15px;
49
+
50
+ &.external-links {
51
+ $side-margin: 16px;
52
+
53
+ margin-left: -$side-margin;
54
+
55
+ > .section-items > .item {
56
+ margin-bottom: 10px;
57
+ margin-right: $side-margin;
58
+
59
+ a {
60
+ background-color: #F7F7F7;
61
+ display: block;
62
+ font-weight: bold;
63
+ padding: 4px 0 4px $side-margin;
64
+ border-radius: 10px;
65
+ }
66
+ }
67
+ }
68
+
69
+ > .section-title {
70
+ font-size: 20px;
71
+ font-weight: bold;
72
+ margin: 0;
73
+ line-height: 1.8;
74
+ }
75
+
76
+ > .section-items {
77
+ list-style: none;
78
+ margin: 0;
79
+ padding: 0;
80
+ line-height: 2;
81
+
82
+ > .item {
83
+ font-size: 15px;
84
+ font-weight: normal;
85
+
86
+ &.disabled {
87
+ span {
88
+ $disabled-label-width: 50px;
89
+ opacity: 0.5;
90
+ position: relative;
91
+
92
+ &:before {
93
+ opacity: 0.4;
94
+ position: absolute;
95
+ width: $disabled-label-width;
96
+ left: -$disabled-label-width;;
97
+ content: "TBD";
98
+ font-weight: bold;
99
+ }
100
+ }
101
+ }
102
+ &.selected {
103
+ span {
104
+ font-weight: bold;
105
+ color: $primary-dark-color;
106
+ }
107
+ }
108
+ a {
109
+ &:link, &:hover, &:visited {
110
+ color: #444;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ > article {
119
+ @extend .main-article;
120
+ flex: 1;
121
+
122
+ > header {
123
+ > .title {
124
+ display: flex;
125
+ flex-flow: row nowrap;
126
+
127
+ border-bottom: 2px solid $primary-dark-color;
128
+ padding-top: 70px;
129
+ padding-bottom: 20px;
130
+
131
+ > .logo-container {
132
+ margin-right: 22px;
133
+
134
+ > :only-child {
135
+ width: 58px;
136
+ height: 58px;
137
+ }
138
+ }
139
+
140
+ .text {
141
+ flex: 1;
142
+ font-size: 36px;
143
+
144
+ margin: 0;
145
+ font-weight: 500;
146
+ }
147
+ }
148
+ .lead {
149
+ font-weight: normal;
150
+ font-size: 20px;
151
+ }
152
+ }
153
+ }
154
+
155
+ @media screen and (min-width: $bigscreen-breakpoint) {
156
+ flex-flow: row nowrap;
157
+
158
+ > .nav-sidebar {
159
+ width: 320px;
160
+ border-right: #F7F7F7 2px solid;
161
+ margin-right: 60px;
162
+ padding-top: 70px;
163
+ }
164
+ }
165
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-05 00:00:00.000000000 Z
11
+ date: 2018-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll