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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b90e1612f7796e1a8e88a4354aec32d885bb6f872445404d719e9cc9dff76763
4
- data.tar.gz: 3df12909882cbcf6c482e77152da90567fac2ba3e401d9c3d4dc7e6f041564c2
3
+ metadata.gz: 1762d0a7cc5d7bf8d4b090876bcaf4613eab7047adfcd38a2ea54f3b66466d2c
4
+ data.tar.gz: 7046268fe4a4cb6f5a908b0a6db742db5ae7e418644c08796b6ff5717b7a9d4b
5
5
  SHA512:
6
- metadata.gz: 28f971fbcbe75fdaf39e0f5610693ad92d2db6b332759ea94c0a36c81347ab54e8691373789967c6f4d93286f411627765417c7edf69ac28e7565621fcfc315f
7
- data.tar.gz: fa9e5ddebe2b89c68872fa4fd85abf81af4cb35336e310444aa15ceb8fbf44c1e23a98c141e1b3452b2ebf468c23b7c4ce324c7b59a707c1408d7ec348b10ce8
6
+ metadata.gz: a983b27e3d2a14c727808ba395893bc5d94d8b6577801fa7a6a4eecebe2598dbd2006060af99ed9e6059827d65a4bbb16f32560cea79d072e903d7e124f9d43e
7
+ data.tar.gz: 76d428395c6b8b29a6211b28c4e8e83c0f2a7fc6f090590f988f4f35f9578535ccf698ccb6f409ef6ec0eaeba02dc1e7458750a631b2e0c6005c30b0eaa7e62e
@@ -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
- <!-- <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> -->
7
- <!-- <script src="{{ '../assets/js/infinite-scroll.js' | relative_url }}"></script> -->
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>
@@ -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
- <a href="{{ page.url | relative_url }}">
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>
@@ -14,10 +14,6 @@ ul, li
14
14
 
15
15
  a
16
16
  color: $link
17
- text-decoration: none
18
-
19
- &:hover
20
- text-decoration: underline
21
17
 
22
18
  .container
23
19
  max-width: 560px
@@ -27,4 +27,3 @@ li
27
27
 
28
28
  strong
29
29
  font-weight: 500
30
-
@@ -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
- color: rgba(71,82,93,.4)
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
@@ -2,6 +2,11 @@
2
2
  margin-bottom: 35px
3
3
 
4
4
  a
5
+ text-decoration: inherit
6
+
7
+ &:hover
8
+ text-decoration: underline
9
+
5
10
  svg
6
11
  fill: $link
7
12
  width: 20px
@@ -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%
@@ -0,0 +1,3 @@
1
+ ---
2
+ layout: widget
3
+ ---
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.9
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-09-02 00:00:00.000000000 Z
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.6
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.