bullet_train-themes-light 1.0.11 → 1.0.14

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: 8f380dad7175edc562c592b197569cc6a435c2a33f2e1b3470d665311599d462
4
- data.tar.gz: bae286373604c34f7e2cc77b99bd44757a525e3ce70087f5a1271ee55e7ca557
3
+ metadata.gz: 273572abc86b3d5dfbdd46e9971d01bb5058b092dea03fede0c3439b09735760
4
+ data.tar.gz: a61a73b5cbca952422c243a8719927dda45efd7ca13c49b1478594010c735734
5
5
  SHA512:
6
- metadata.gz: 9178d4aa910c1c52389aa88d88c158e38b70d333f002de7f654003c93334a13ead015abc224f4b9d79b50097a3e2ffce6197a7897c0a0fd78567a71c5256dcf0
7
- data.tar.gz: f0c5cfba40511514fe08c53be82286f6118df4b004b80015282c58bd60b6075b98114cfc7d17dce0531cb1b53f0116e68a5b0a01cc45430dca551f60da582e7f
6
+ metadata.gz: 2884d258a59ffade5e60e111308690b5fb822aa3e92867a9c6ee4029dc719e9dd0a40aecd01b4006b47a04741a824411e46f715458e200327f2b6f8f94aa6e9a
7
+ data.tar.gz: 21abb80f0952ace87932441be16db25443cbc63f7b7278faf14a53b485af89fc4aa1b700f68b0ea0d6b5f1e4b866a3359998856d79f8a1003c3b6ba13723acfc
@@ -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="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">
47
+ <%== pagy_nav(pagy) %>
48
+ </div>
49
+ <% end %>
50
+ </div>
42
51
  </div>
43
52
  <% end %>
44
53
  </div>
@@ -15,7 +15,7 @@
15
15
 
16
16
  <% menu = capture do %>
17
17
  <div class="flex items-center flex-shrink-0 p-4 bg-blue-darker md:rounded-tl-lg electron-draggable electron-title-bar dark:bg-black dark:bg-opacity-10">
18
- <%= image_tag image_path('light/logo/logo.png'), class: 'h-5 w-auto mx-auto' %>
18
+ <%= image_tag image_path("logo/logo.png"), class: 'h-5 w-auto mx-auto' %>
19
19
 
20
20
  <div class="lg:hidden absolute right-0">
21
21
  <button class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white dark:ring-transparent"
@@ -1,6 +1,6 @@
1
1
  <%= stylesheet_link_tag 'https://rsms.me/inter/inter.css', media: 'all', 'data-turbo-track': 'reload' %>
2
- <link href="<%= image_path('light/logo/favicon.png') %>" rel="shortcut icon" />
3
- <link href="<%= image_path('light/logo/logo-square-bg.png') %>" rel="apple-touch-icon" />
2
+ <link href="<%= image_path('logo/favicon.png') %>" rel="shortcut icon" />
3
+ <link href="<%= image_path('logo/icon.png') %>" rel="apple-touch-icon" />
4
4
  <%= javascript_include_tag 'application', 'data-turbo-track': 'reload' %>
5
5
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbo-track': 'reload' %>
6
6
  <%= javascript_include_tag 'application.light', 'data-turbo-track': 'reload' %>
@@ -7,14 +7,14 @@
7
7
  <div class="bg-white py-8 px-10 shadow rounded-lg dark:bg-sealBlue-400">
8
8
  <div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
9
9
  <a href="<%= main_app.root_path %>" class="block py-3">
10
- <img alt="" src="<%= image_path("light/logo/logo.png") %>" width="<%= image_width_for_height('light/logo/logo.png', 54) %>" height="54" class="mx-auto h-12 w-auto" />
10
+ <img alt="" src="<%= image_path("logo/logo.png") %>" width="<%= image_width_for_height("logo/logo.png", BulletTrain::Themes.logo_height) %>" height="<%= BulletTrain::Themes.logo_height %>" class="mx-auto h-12 w-auto" />
11
11
  </a>
12
12
 
13
13
  <h1 class="mt-6 text-center text-3xl font-semibold tracking-tight dark:text-white">
14
14
  <%= p.yield :title %>
15
15
  </h1>
16
16
 
17
- <%= render "themes/light/line" %>
17
+ <%= render "shared/line" %>
18
18
  </div>
19
19
 
20
20
  <div class="electron-undraggable pt-5 space-y-5">
@@ -24,8 +24,7 @@
24
24
  </div>
25
25
  </div>
26
26
 
27
- <% # we have to list out the evaluations we want possible above so purgecss includes them in production. %>
27
+ <% # We have to list out every option we want to be available at runtime so they're included in our Tailwind output. %>
28
28
  <% if false %>
29
- <div class="max-w-md"></div>
30
- <div class="max-w-lg"></div>
29
+ <div class="max-w-md max-w-lg"></div>
31
30
  <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.0.11"
4
+ VERSION = "1.0.14"
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.11
4
+ version: 1.0.14
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-03-25 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'