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 +4 -4
- data/app/assets/stylesheets/light/fields/trix_editor.css +2 -0
- data/app/assets/stylesheets/light/tailwind/components.css +15 -0
- data/app/assets/stylesheets/light/tailwind/dark-mode.css +19 -5
- data/app/views/themes/light/_box.html.erb +19 -10
- data/lib/bullet_train/themes/light/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9227ffd19e9fbb1fc0a7320121eaba512167d45764ecebff31d2c79126d0038b
|
4
|
+
data.tar.gz: b102d53292d1facdae2317d1ee75a1c253bf1ba2f723bef2a8582dbc28881b5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bba3471cce54db81e9ddf31ce5eb5339fee0770124a228b2cf3f9a91ea9ec0fa1510019b86dd337a2e2f93926a258bd556a184d287fe67987b68c4ccbfec90e
|
7
|
+
data.tar.gz: e4dc74d57c38967b414a339395482bfe04389b4038a9ecf036b9fb39de277e3d9325935ced6ad683f875289c50d354133d01a2dcbf112a43ed2a549b4f746975
|
@@ -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
|
-
|
11
|
-
|
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
|
30
|
-
<div class="<%= p.content_for?(:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
|
38
|
-
|
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
|
-
|
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>
|
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.
|
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-
|
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.
|
124
|
+
rubygems_version: 3.3.7
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: 'Bullet Train Themes: Light'
|