bullet_train-themes-light 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96f779182e8373c6020cb89424e06e6ff4668995a4136b20fc5a350410464774
4
- data.tar.gz: 374ce6de5236b4e9b8c1dde2ed22ea553984a334e60955b1f1a86d150b2dc4ac
3
+ metadata.gz: b25323cfe3d83d7ab14bd30cfa6b5af8636f0ee4a9eb521f86204eab3db80bf6
4
+ data.tar.gz: f268d3e1d4b8926860cb82f1c6bea86ff96c86399d3be2a78a9863835e678616
5
5
  SHA512:
6
- metadata.gz: 5ac02d1e6a3eb567ceaf8171349196aca74012a4418f4dd18fb2f0e3cb1002954d7938b8a5223f4ff96e2463e2163d2ea1020de0957849cfa7f020551346e8ac
7
- data.tar.gz: 1585dd612e3d0b56543afd41a84e50fe2f06235ca3a1bc8c9bdbad1dd901f14e04ad31b75d029c5680e99f41e7d674887544069a652f949589e92206c6b23ce5
6
+ metadata.gz: 6f966baf2793fb464120e4fb1219343e8e23e9b8ff7800270ba292d483fa1605b0631df7997b26ccf25d37a6909e1a57bd20a6e6840e441ce2a3c6c431f95ff8
7
+ data.tar.gz: f30f0153412ec7c0fd1fd9a52703e09a8b1647becdd2231ccbe8a0cea88f6658aa9cd88c87b0493fe8c0ef537bcfe81384473f8865bbf7c4c719ba8e1d5cfd33
@@ -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
  }
@@ -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,7 @@
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) %>
6
7
 
7
8
  <div class="<%= "bg-white rounded-md shadow dark:bg-sealBlue-400" unless no_background %> overflow-hidden">
8
9
  <div class="py-6 px-8 space-y-2 <%= 'border-b shadow-sm dark:border-sealBlue-500' if divider %>">
@@ -26,19 +27,19 @@
26
27
  </div>
27
28
  <% end %>
28
29
 
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 %>
36
-
37
- <% if p.content_for? :actions %>
38
- <div class="space-x">
39
- <%= p.content_for :actions %>
40
- </div>
41
- <% end %>
30
+ <% if body %>
31
+ <div class="<%= "pt-7 px-8 space-y-7 #{p.content_for?(:actions) ? 'pb-3' : 'pb-7'}" unless p.content_for?(:raw_body) %>">
32
+ <div class="space-y-4 <%= '-mt-4' unless divider %>">
33
+ <%= body %>
34
+ </div>
35
+ </div>
36
+ <% end %>
37
+
38
+ <% if p.content_for? :actions %>
39
+ <div class="pb-7 px-8 space-y-7">
40
+ <div class="space-x">
41
+ <%= p.content_for :actions %>
42
+ </div>
42
43
  </div>
43
44
  <% end %>
44
45
  </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.13"
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.13
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-06 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'