bullet_train-themes-light 1.0.12 → 1.0.15

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: 96f779182e8373c6020cb89424e06e6ff4668995a4136b20fc5a350410464774
4
- data.tar.gz: 374ce6de5236b4e9b8c1dde2ed22ea553984a334e60955b1f1a86d150b2dc4ac
3
+ metadata.gz: 9227ffd19e9fbb1fc0a7320121eaba512167d45764ecebff31d2c79126d0038b
4
+ data.tar.gz: b102d53292d1facdae2317d1ee75a1c253bf1ba2f723bef2a8582dbc28881b5c
5
5
  SHA512:
6
- metadata.gz: 5ac02d1e6a3eb567ceaf8171349196aca74012a4418f4dd18fb2f0e3cb1002954d7938b8a5223f4ff96e2463e2163d2ea1020de0957849cfa7f020551346e8ac
7
- data.tar.gz: 1585dd612e3d0b56543afd41a84e50fe2f06235ca3a1bc8c9bdbad1dd901f14e04ad31b75d029c5680e99f41e7d674887544069a652f949589e92206c6b23ce5
6
+ metadata.gz: 8bba3471cce54db81e9ddf31ce5eb5339fee0770124a228b2cf3f9a91ea9ec0fa1510019b86dd337a2e2f93926a258bd556a184d287fe67987b68c4ccbfec90e
7
+ data.tar.gz: e4dc74d57c38967b414a339395482bfe04389b4038a9ecf036b9fb39de277e3d9325935ced6ad683f875289c50d354133d01a2dcbf112a43ed2a549b4f746975
@@ -40,6 +40,8 @@ a[href^="bullettrain://users"], a[href^="bullettrain://teams"], span.tribute-use
40
40
  display: none;
41
41
  }
42
42
  li {
43
+ @apply flex items-center;
44
+
43
45
  span {
44
46
  font-weight: normal;
45
47
  }
@@ -133,4 +133,19 @@
133
133
  }
134
134
  }
135
135
  }
136
+
137
+ .pagy-nav .page a,
138
+ .pagy-nav .page.active {
139
+ @apply button-alternative;
140
+ }
141
+
142
+ .pagy-nav .page.prev.disabled,
143
+ .pagy-nav .page.next.disabled {
144
+ @apply hidden;
145
+ }
146
+
147
+ .pagy-nav .page.active,
148
+ .pagy-nav-js .page.active {
149
+ @apply button;
150
+ }
136
151
  }
@@ -7,13 +7,11 @@
7
7
  background-color: rgba(0, 0, 0, 0.15);
8
8
  }
9
9
 
10
- @variants dark {
11
- .bg-dark-blue-gradient {
12
- &:before {
13
- background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
14
- }
10
+ .bg-dark-blue-gradient {
11
+ &:before {
15
12
  background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
16
13
  }
14
+ background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
17
15
  }
18
16
 
19
17
  /**
@@ -185,6 +183,22 @@
185
183
  }
186
184
  }
187
185
 
186
+ .tribute-container {
187
+ ul {
188
+ @apply bg-sealBlue-300 border-sealBlue-100 !important;
189
+ }
190
+ }
191
+
192
+ .trix-dialogs {
193
+ @apply bg-sealBlue-300 border-sealBlue-100 !important;
194
+ }
195
+
196
+ .trix-content {
197
+ a[href^="bullettrain://"] {
198
+ @apply bg-sealBlue-600 text-white;
199
+ }
200
+ }
201
+
188
202
  /* CKEditor */
189
203
  .ck {
190
204
  --ck-color-base-background: theme('colors.sealBlue.300');
@@ -3,6 +3,8 @@
3
3
  <% divider ||= nil %>
4
4
  <% no_background ||= false %>
5
5
  <% title_size ||= "text-xl" %>
6
+ <% body = p.content_for(:body) || p.content_for(:raw_body) %>
7
+ <% pagy ||= nil %>
6
8
 
7
9
  <div class="<%= "bg-white rounded-md shadow dark:bg-sealBlue-400" unless no_background %> overflow-hidden">
8
10
  <div class="py-6 px-8 space-y-2 <%= 'border-b shadow-sm dark:border-sealBlue-500' if divider %>">
@@ -26,19 +28,26 @@
26
28
  </div>
27
29
  <% end %>
28
30
 
29
- <% if p.content_for?(:body) || p.content_for?(:actions) %>
30
- <div class="<%= p.content_for?(:body) ? 'py-7' : 'pb-7' %> px-8 space-y-7">
31
- <% if p.content_for? :body %>
32
- <div class="space-y-4 <%= '-mt-4' unless divider %>">
33
- <%= p.content_for :body %>
34
- </div>
35
- <% end %>
31
+ <% if body %>
32
+ <div class="<%= "pt-7 px-8 space-y-7 #{p.content_for?(:actions) ? 'pb-3' : 'pb-7'}" unless p.content_for?(:raw_body) %>">
33
+ <div class="space-y-4 <%= '-mt-4' unless divider %>">
34
+ <%= body %>
35
+ </div>
36
+ </div>
37
+ <% end %>
36
38
 
37
- <% if p.content_for? :actions %>
38
- <div class="space-x">
39
+ <% if p.content_for? :actions || pagy %>
40
+ <div class="pb-7 px-8 space-y-7">
41
+ <div class="sm:flex">
42
+ <div class="flex-1 space-x">
39
43
  <%= p.content_for :actions %>
40
44
  </div>
41
- <% end %>
45
+ <% if pagy && pagy.pages > 1 %>
46
+ <div class="flex-0 mt-3 sm:mt-0">
47
+ <%== pagy_nav(pagy) %>
48
+ </div>
49
+ <% end %>
50
+ </div>
42
51
  </div>
43
52
  <% end %>
44
53
  </div>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.0.12"
4
+ VERSION = "1.0.15"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-light
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-26 00:00:00.000000000 Z
11
+ date: 2022-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.2.22
124
+ rubygems_version: 3.3.7
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: 'Bullet Train Themes: Light'