jekyll-theme-open-project 1.1.18 → 1.1.19

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: cbbeb25a641389d5a1223c874cf869f5fb272b927cc2aa2b6babbca1d48b398d
4
- data.tar.gz: 9721bb489d92889b20c8054b0763bf282d152923a1edb0d50d1f2207b6eff10e
3
+ metadata.gz: b461f63939633e9a199a7f34a84ee6def299d5128d2d2efed0154539098ae949
4
+ data.tar.gz: 672e1b9dc23ae7e45b48a12d40ba8de7df5a30ff005f1d6c6eab3f02ab150481
5
5
  SHA512:
6
- metadata.gz: 42f683272134eebba6ffd7a71b6c64836be8195950bade105a62068b31032618bcc5185329d94fdeb279bb8eaed4729f05b684035a280c6458e8610cc8de38cd
7
- data.tar.gz: fd373199041f54d2211e95a2d96294196ee3f0afe83289b39869d213d7e15555487c0a60cc638d9b6e859942f34a06aeed7d0cb4604c7d849f740dd2f534413c
6
+ metadata.gz: bbcecd6c40a406055a6f2e0723c436afc372ad2e89e1041df2f1c52f91b239e9af5e445b64aaa7b4b1d7ba966f47815a6ddeabd881e6263ebcc8d0a62d0206f3
7
+ data.tar.gz: 2fa35330550a6ca3de4ff7cec8cf78c992ec14aa92f2d0b5c5f215143e6952ed46b84cd7afb76fb07d613456aedeeb63a8c2642a1c65dc2fa87d2c5863b9c66e
@@ -33,7 +33,7 @@
33
33
  {% else %}
34
34
  <h2 class="title">
35
35
  Featured Software
36
- <a class="more-link" href="/software/" title="See all {{ site.title }} software">(see all)</a>
36
+ <a class="more-link" href="/software/" title="See all {{ site.title }} software">(see&nbsp;all)</a>
37
37
  </h2>
38
38
  {% endif %}
39
39
 
@@ -88,7 +88,7 @@
88
88
  {% else %}
89
89
  Featured Specifications
90
90
  <a class="more-link"
91
- href="/specs/" title="See all {{ site.title }} specs">(see all)</a>
91
+ href="/specs/" title="See all {{ site.title }} specs">(see&nbsp;all)</a>
92
92
  {% endif %}
93
93
  </h2>
94
94
 
@@ -9,7 +9,8 @@
9
9
  {% assign product_home_url = include.item.url | relative_url %}
10
10
  {% endif %}
11
11
 
12
- <a class="item" href="{{ product_home_url }}" role="article">
12
+ <a class="item {% if include.item.feature_with_priority != nil %}featured-item{% endif %}"
13
+ href="{{ product_home_url }}" role="article">
13
14
  {% if include.item_type == 'software' and site.is_hub != true %}
14
15
  <div class="logo-container">
15
16
  {% include software-symbol.html item_id=include.item.id %}
@@ -33,6 +33,15 @@ a {
33
33
  > .item {
34
34
  margin-right: $gutter;
35
35
  flex: 1;
36
+
37
+ &.featured-item::before {
38
+ // Reposition featured item label for grid layout
39
+ // !important overrides .item-card which ends up with higher specificity
40
+ top: -1em !important;
41
+ left: 30px !important; // Matches corresponding item card padding
42
+ right: auto !important;
43
+ bottom: auto !important;
44
+ }
36
45
  }
37
46
  }
38
47
  }
@@ -121,12 +130,26 @@ a {
121
130
  .item-card {
122
131
  background: white;
123
132
  display: block;
133
+ position: relative;
124
134
 
125
135
  &:link, &:hover, &:visited {
126
136
  color: inherit;
127
137
  text-decoration: none;
128
138
  }
129
139
 
140
+ &.featured-item::before {
141
+ content: "👍 featured";
142
+
143
+ position: absolute;
144
+ bottom: 2.5em;
145
+ right: 2em;
146
+ padding: 2px 6px;
147
+ font-size: 12px;
148
+ background: linear-gradient(135deg, rgba($primary-color, 0.7) 0%, rgba($primary-dark-color, 0.9) 100%);
149
+ color: white;
150
+ font-weight: bold;
151
+ }
152
+
130
153
  header {
131
154
  > .parent-project {
132
155
  display: flex;
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.18
4
+ version: 1.1.19
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-10-24 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.18
75
+ version: 1.1.19
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.18
82
+ version: 1.1.19
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement