logchimp 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +2 -2
- data/_layouts/post.html +1 -3
- data/_layouts/widget.html +38 -0
- data/_sass/2-base/_global.sass +0 -4
- data/_sass/4-modules/_card.sass +0 -1
- data/_sass/4-modules/_time.sass +6 -1
- data/_sass/5-pages/_post.sass +5 -0
- data/_sass/5-pages/_widget.sass +70 -0
- data/widget.md +3 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1762d0a7cc5d7bf8d4b090876bcaf4613eab7047adfcd38a2ea54f3b66466d2c
|
4
|
+
data.tar.gz: 7046268fe4a4cb6f5a908b0a6db742db5ae7e418644c08796b6ff5717b7a9d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a983b27e3d2a14c727808ba395893bc5d94d8b6577801fa7a6a4eecebe2598dbd2006060af99ed9e6059827d65a4bbb16f32560cea79d072e903d7e124f9d43e
|
7
|
+
data.tar.gz: 76d428395c6b8b29a6211b28c4e8e83c0f2a7fc6f090590f988f4f35f9578535ccf698ccb6f409ef6ec0eaeba02dc1e7458750a631b2e0c6005c30b0eaa7e62e
|
data/_includes/footer.html
CHANGED
@@ -3,5 +3,5 @@
|
|
3
3
|
<p><a href="https://gitlab.com/codecarrot/logchimp/logchimp/issues/new">report an issue</a> / <a href="https://www.twitter.com/@logchimp">@logchimp</a></p>
|
4
4
|
</footer>
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
7
|
+
<script src="{{ '../assets/js/infinite-scroll.js' | relative_url }}"></script>
|
data/_layouts/post.html
CHANGED
@@ -13,9 +13,7 @@ layout: default
|
|
13
13
|
<li style="border-top: 1px solid #f3f3f3;">
|
14
14
|
<h2>{{ page.title }}</h2>
|
15
15
|
<div class="time minWidth900">
|
16
|
-
|
17
|
-
{{ page.date | timeago }}
|
18
|
-
</a>
|
16
|
+
{{ page.date | timeago }}
|
19
17
|
</div>
|
20
18
|
<div class="category">
|
21
19
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: empty
|
3
|
+
permalink: /widget/
|
4
|
+
---
|
5
|
+
|
6
|
+
<head>
|
7
|
+
{% include meta.html %}
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
<div class="logchimp">
|
12
|
+
<h3 class="logchimp-heading">
|
13
|
+
{{ site.terminology }}
|
14
|
+
</h3>
|
15
|
+
<div class="logchimp-list">
|
16
|
+
{% for post in site.posts limit: site.widget.loglimit %}
|
17
|
+
<a href="{{ post.url | relative_url }}?source=widget" target="blank" class="logchimp-item">
|
18
|
+
{% if post.category %}
|
19
|
+
{% for categoryMeta in site.data.badge.category %}
|
20
|
+
{% if post.category == categoryMeta.name %}
|
21
|
+
<div class="logchimp-item-category" style="background-color: #{{ categoryMeta.color }}">
|
22
|
+
{{ post.category }}
|
23
|
+
</div>
|
24
|
+
{% endif %}
|
25
|
+
{% endfor %}
|
26
|
+
{% endif %}
|
27
|
+
<strong class="logchimp-item-title">{{ post.title }}.</strong>
|
28
|
+
<div class="logchimp-item-description">
|
29
|
+
{{ post.content | strip_html | truncate: 95 }}
|
30
|
+
</div>
|
31
|
+
</a>
|
32
|
+
{% endfor %}
|
33
|
+
</div>
|
34
|
+
<div class="logchimp-seemore">
|
35
|
+
<a target="blank" href="{{ site.url }}">{{ site.title }}</a> powered by <a target="blank" href="https://logchimp.now.sh/">LogChimp</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</body>
|
data/_sass/2-base/_global.sass
CHANGED
data/_sass/4-modules/_card.sass
CHANGED
data/_sass/4-modules/_time.sass
CHANGED
@@ -3,9 +3,14 @@
|
|
3
3
|
-webkit-transition: opacity .3s ease
|
4
4
|
transition: opacity .3s ease
|
5
5
|
font-size: .9rem
|
6
|
+
color: rgba(71,82,93,.4)
|
6
7
|
|
7
8
|
a
|
8
|
-
|
9
|
+
text-decoration: inherit
|
10
|
+
color: inherit
|
11
|
+
|
12
|
+
&:hover
|
13
|
+
text-decoration: underline
|
9
14
|
|
10
15
|
@media (max-width: 900px)
|
11
16
|
.minWidth900
|
data/_sass/5-pages/_post.sass
CHANGED
@@ -0,0 +1,70 @@
|
|
1
|
+
.logchimp
|
2
|
+
display: flex
|
3
|
+
flex-direction: column
|
4
|
+
|
5
|
+
&-heading
|
6
|
+
padding: 12px 0
|
7
|
+
text-align: center
|
8
|
+
border-bottom: 1px solid #f1f1f1
|
9
|
+
font-weight: 500
|
10
|
+
background-color: rgba(255,255,255,.9)
|
11
|
+
font-size: 14px
|
12
|
+
top: 0
|
13
|
+
border-top-left-radius: 6px
|
14
|
+
border-top-right-radius: 6px
|
15
|
+
|
16
|
+
&-item
|
17
|
+
display: flex
|
18
|
+
padding: 7px 16px
|
19
|
+
flex-direction: row
|
20
|
+
color: #666
|
21
|
+
font-size: 13px
|
22
|
+
flex-wrap: wrap
|
23
|
+
text-decoration: inherit
|
24
|
+
|
25
|
+
&:hover
|
26
|
+
.logchimp-item-description
|
27
|
+
text-decoration: underline
|
28
|
+
|
29
|
+
&:first-child
|
30
|
+
padding-top: 12px
|
31
|
+
|
32
|
+
&:last-child
|
33
|
+
padding-bottom: 12px
|
34
|
+
|
35
|
+
&-category
|
36
|
+
border-radius: 10px
|
37
|
+
color: $white
|
38
|
+
font-size: 11px
|
39
|
+
padding: 2px 6px
|
40
|
+
margin-right: 5px
|
41
|
+
|
42
|
+
&-title
|
43
|
+
color: #222c36
|
44
|
+
font-weight: 500
|
45
|
+
margin-right: 5px
|
46
|
+
|
47
|
+
&-description
|
48
|
+
line-height: 18px
|
49
|
+
|
50
|
+
&-seemore
|
51
|
+
background: #fcfcfc
|
52
|
+
color: #a8a8a8
|
53
|
+
font-size: 12px
|
54
|
+
padding: 10px 0
|
55
|
+
text-align: center
|
56
|
+
border-top: 1px solid #f1f1f1
|
57
|
+
margin-top: auto
|
58
|
+
bottom: 0
|
59
|
+
border-bottom-left-radius: 6px
|
60
|
+
border-bottom-right-radius: 6px
|
61
|
+
|
62
|
+
a
|
63
|
+
color: #a8a8a8
|
64
|
+
text-decoration: underline
|
65
|
+
|
66
|
+
&-heading, &-seemore
|
67
|
+
position: sticky
|
68
|
+
|
69
|
+
html, body, .logchimp
|
70
|
+
height: 100%
|
data/widget.md
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logchimp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yashu Mittal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- _layouts/home.html
|
102
102
|
- _layouts/page.html
|
103
103
|
- _layouts/post.html
|
104
|
+
- _layouts/widget.html
|
104
105
|
- _sass/1-helpers/_functions.sass
|
105
106
|
- _sass/1-helpers/_helpers.sass
|
106
107
|
- _sass/1-helpers/_mixins.sass
|
@@ -121,10 +122,12 @@ files:
|
|
121
122
|
- _sass/5-pages/_index.sass
|
122
123
|
- _sass/5-pages/_pages.sass
|
123
124
|
- _sass/5-pages/_post.sass
|
125
|
+
- _sass/5-pages/_widget.sass
|
124
126
|
- assets/css/style.sass
|
125
127
|
- assets/img/happy.png
|
126
128
|
- assets/img/logchimp.png
|
127
129
|
- assets/img/logchimp.svg
|
130
|
+
- widget.md
|
128
131
|
homepage: https://gitlab.com/codecarrot/logchimp/logchimp
|
129
132
|
licenses:
|
130
133
|
- MIT
|
@@ -145,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
148
|
version: '0'
|
146
149
|
requirements: []
|
147
150
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.7.
|
151
|
+
rubygems_version: 2.7.7
|
149
152
|
signing_key:
|
150
153
|
specification_version: 4
|
151
154
|
summary: Keep customers in the loop about your product with LogChimp.
|