bullet_train-themes-light 1.2.18 → 1.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/showcase/previews/partials/_box.html.erb +10 -14
- data/app/views/showcase/previews/partials/_page.html.erb +14 -4
- data/app/views/showcase/previews/partials/_title.html.erb +3 -3
- data/app/views/showcase/previews/partials/actions/_box.html.erb +3 -3
- data/app/views/showcase/previews/partials/actions/_list.html.erb +3 -4
- data/app/views/themes/light/_box.html.erb +14 -16
- data/app/views/themes/light/_cell.html.erb +7 -9
- data/app/views/themes/light/_link_row.html.erb +2 -4
- data/app/views/themes/light/_page.html.erb +2 -8
- data/app/views/themes/light/_team.html.erb +2 -4
- data/app/views/themes/light/_title.html.erb +2 -6
- data/app/views/themes/light/_well.html.erb +9 -11
- data/app/views/themes/light/actions/_action.html.erb +1 -3
- data/app/views/themes/light/actions/_box.html.erb +1 -6
- data/app/views/themes/light/actions/_list.html.erb +1 -1
- data/app/views/themes/light/attributes/_base.html.erb +2 -14
- data/app/views/themes/light/breadcrumbs/_actions.html.erb +4 -6
- data/app/views/themes/light/commentary/_box.html.erb +1 -3
- data/app/views/themes/light/layouts/_devise.html.erb +1 -1
- data/app/views/themes/light/menu/_item.html.erb +2 -4
- data/app/views/themes/light/workflow/_box.html.erb +3 -5
- data/lib/bullet_train/themes/light/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c62cc0f05d547cf767d72de1500014d78e0ed905de056898048b747c41602618
|
4
|
+
data.tar.gz: 69f3ff1dda8ac73f82807383246db53b1f75ac1bfedfdd1130138e11f5a25ba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc598ba50a4c5c21c1e04960ea59ea04a852200f6bff85e4dd940ae568103911f39db77d96f952764f78670b43c79bae6f524b2bc2dacf823488ddda328ec26
|
7
|
+
data.tar.gz: 74b3ef934ff71d171f95f6f4d9d23066ace0d0db17eb4e6adeefe277449067a25696dfd4817b3c9550b9f80d2c8cfef1027ba04ceeafd98b0dc440583581ca42
|
@@ -1,29 +1,25 @@
|
|
1
1
|
<% showcase.sample "Basic" do %>
|
2
|
-
<%= render "shared/box" do |
|
3
|
-
<%
|
4
|
-
<%
|
5
|
-
<%
|
2
|
+
<%= render "shared/box" do |box| %>
|
3
|
+
<% box.title "Title" %>
|
4
|
+
<% box.description "Description" %>
|
5
|
+
<% box.body "Lorem ipsum dolor sit amet…" %>
|
6
6
|
<% end %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% showcase.sample "With Divider" do %>
|
10
|
-
<%= render "shared/box", divider: true do |
|
11
|
-
<%
|
12
|
-
<%
|
13
|
-
<%
|
10
|
+
<%= render "shared/box", divider: true do |box| %>
|
11
|
+
<% box.title "Title" %>
|
12
|
+
<% box.description "Description" %>
|
13
|
+
<% box.body "Lorem ipsum dolor sit amet…" %>
|
14
14
|
<% end %>
|
15
15
|
<% end %>
|
16
16
|
|
17
17
|
<% showcase.sample "With top border" do %>
|
18
|
-
<%= render "shared/box", border_top: true
|
19
|
-
<% partial.content_for :title, "Title" %>
|
20
|
-
<% end %>
|
18
|
+
<%= render "shared/box", title: "Title", border_top: true %>
|
21
19
|
<% end %>
|
22
20
|
|
23
21
|
<% showcase.sample "Without background" do %>
|
24
|
-
<%= render "shared/box", no_background: true
|
25
|
-
<% partial.content_for :title, "Title" %>
|
26
|
-
<% end %>
|
22
|
+
<%= render "shared/box", title: "Title", no_background: true %>
|
27
23
|
<% end %>
|
28
24
|
|
29
25
|
<% showcase.options.context :nice_partials do |o| %>
|
@@ -13,13 +13,23 @@
|
|
13
13
|
<% end %>
|
14
14
|
|
15
15
|
<% showcase.sample "Basic" do %>
|
16
|
-
<%= render "shared/page" do |
|
17
|
-
<%
|
18
|
-
<%
|
16
|
+
<%= render "shared/page" do |page| %>
|
17
|
+
<% page.title "Title" %>
|
18
|
+
<% page.actions do %>
|
19
19
|
<%= link_to "Home", root_url, class: "border-2 p-2 rounded-full border-indigo-300" %>
|
20
20
|
<%= link_to "Another link", root_url, class: "border-2 p-2 rounded-full border-indigo-300" %>
|
21
21
|
<% end %>
|
22
|
-
<%
|
22
|
+
<% page.body "Lorem ipsum dolor sit amet…" %>
|
23
|
+
<% end %>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% showcase.sample "With box" do %>
|
27
|
+
<%= render "shared/page", title: "Page Title" do |page| %>
|
28
|
+
<% page.body.render "shared/box" do |box| %>
|
29
|
+
<% box.title "Box Title" %>
|
30
|
+
<% box.description "Description" %>
|
31
|
+
<% box.body "Lorem ipsum dolor sit amet…" %>
|
32
|
+
<% end %>
|
23
33
|
<% end %>
|
24
34
|
<% end %>
|
25
35
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% showcase.sample "Basic" do %>
|
2
|
-
<%= render "shared/title" do |
|
3
|
-
<%
|
4
|
-
<%
|
2
|
+
<%= render "shared/title" do |title| %>
|
3
|
+
<% title.title "Title" %>
|
4
|
+
<% title.actions do %>
|
5
5
|
<%= link_to "Home", root_url, class: "border-2 p-2 rounded-full border-indigo-300" %>
|
6
6
|
<%= link_to "Another link", root_url, class: "border-2 p-2 rounded-full border-indigo-300" %>
|
7
7
|
<% end %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% showcase.sample "Basic" do %>
|
2
|
-
<%= render "shared/actions/box" do |
|
3
|
-
<%
|
4
|
-
<%
|
2
|
+
<%= render "shared/actions/box" do |box| %>
|
3
|
+
<% box.title "Title" %>
|
4
|
+
<% box.table "Some table content" %>
|
5
5
|
<% end %>
|
6
6
|
<% end %>
|
7
7
|
|
@@ -1,9 +1,8 @@
|
|
1
1
|
<% showcase.sample "Basic" do %>
|
2
|
-
<%= render "shared/actions/list"
|
3
|
-
|
4
|
-
<% end %>
|
2
|
+
<%= render "shared/actions/list", content: "This is a list" %>
|
3
|
+
<%= render "shared/actions/list", content: "This is a second list" %>
|
5
4
|
|
6
5
|
<%= render "shared/actions/list" do %>
|
7
|
-
This is a
|
6
|
+
This is a block invoked list
|
8
7
|
<% end %>
|
9
8
|
<% end %>
|
@@ -1,48 +1,46 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% divider ||= nil %>
|
4
2
|
<% no_background ||= false %>
|
5
3
|
<% title_size ||= nil %>
|
6
4
|
<% title_padding ||= nil %>
|
7
5
|
<% border_top ||= false %>
|
8
|
-
<% body =
|
6
|
+
<% body = partial.body.presence || partial.raw_body.presence %>
|
9
7
|
<% pagy ||= nil %>
|
10
8
|
|
11
9
|
<div class="<%= "bg-white rounded-md shadow dark:bg-slate-700 dark:bg-opacity-50" unless no_background %> overflow-hidden <%= border_top ? "border-t dark:border-slate-500" : "" %>">
|
12
10
|
<div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border-slate-600' if divider %>">
|
13
|
-
<% if
|
11
|
+
<% if partial.title? %>
|
14
12
|
<h2 class="text-xl font-semibold dark:text-white <%= title_size %>">
|
15
|
-
<%=
|
13
|
+
<%= partial.title %>
|
16
14
|
</h2>
|
17
15
|
<% end %>
|
18
16
|
|
19
|
-
<% if
|
17
|
+
<% if partial.description? %>
|
20
18
|
<p class="text-slate-400 font-light leading-normal">
|
21
|
-
<%=
|
19
|
+
<%= partial.description %>
|
22
20
|
</p>
|
23
21
|
<% end %>
|
24
22
|
</div>
|
25
23
|
|
26
24
|
<div class="space-y-4">
|
27
|
-
<% if
|
25
|
+
<% if partial.table? %>
|
28
26
|
<div class="box-table <%= divider ? 'mt-4' : '-mt-1' %> pb-0.5">
|
29
|
-
<%=
|
27
|
+
<%= partial.table %>
|
30
28
|
</div>
|
31
29
|
<% end %>
|
32
30
|
|
33
31
|
<% if body %>
|
34
|
-
<div class="<%= "pt-7 px-8 space-y-7 #{
|
32
|
+
<div class="<%= "pt-7 px-8 space-y-7 #{partial.actions? ? 'pb-3' : 'pb-7'}" unless partial.raw_body? %>">
|
35
33
|
<div class="space-y-4 <%= '-mt-4' unless divider %>">
|
36
34
|
<%= body %>
|
37
35
|
</div>
|
38
36
|
</div>
|
39
37
|
<% end %>
|
40
38
|
|
41
|
-
<% if
|
39
|
+
<% if partial.actions? || pagy %>
|
42
40
|
<div class="pb-7 px-8 space-y-7">
|
43
41
|
<div class="sm:flex">
|
44
42
|
<div class="flex-1 space-x">
|
45
|
-
<%=
|
43
|
+
<%= partial.actions %>
|
46
44
|
</div>
|
47
45
|
<% if pagy && pagy.pages > 1 %>
|
48
46
|
<div class="flex-0 mt-3 sm:mt-0">
|
@@ -54,15 +52,15 @@
|
|
54
52
|
<% end %>
|
55
53
|
</div>
|
56
54
|
|
57
|
-
<% if
|
55
|
+
<% if partial.footer? %>
|
58
56
|
<div class="py-4 px-8 bg-slate-50 border-t dark:bg-slate-900 dark:border-slate-600">
|
59
|
-
<%=
|
57
|
+
<%= partial.footer %>
|
60
58
|
</div>
|
61
59
|
<% end %>
|
62
60
|
|
63
|
-
<% if
|
61
|
+
<% if partial.raw_footer? %>
|
64
62
|
<div class="bg-slate-50 dark:bg-slate-900">
|
65
|
-
<%=
|
63
|
+
<%= partial.raw_footer %>
|
66
64
|
</div>
|
67
65
|
<% end %>
|
68
66
|
</div>
|
@@ -1,12 +1,10 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% completion_percent ||= nil %>
|
4
2
|
|
5
3
|
<div class="py-4 px-8 w-full space-y-3">
|
6
4
|
<div class="flex space-x-4">
|
7
|
-
<% if
|
5
|
+
<% if partial.memberships? %>
|
8
6
|
<div class="flex-0">
|
9
|
-
<%=
|
7
|
+
<%= partial.memberships %>
|
10
8
|
</div>
|
11
9
|
<% end %>
|
12
10
|
|
@@ -14,13 +12,13 @@
|
|
14
12
|
<div class="flex">
|
15
13
|
<div class="flex-1 space-y-4 py-1">
|
16
14
|
<div>
|
17
|
-
<%=
|
15
|
+
<%= partial.title %>
|
18
16
|
</div>
|
19
17
|
</div>
|
20
18
|
|
21
|
-
<% if
|
19
|
+
<% if partial.actions? %>
|
22
20
|
<div class="flex-0">
|
23
|
-
<%=
|
21
|
+
<%= partial.actions %>
|
24
22
|
</div>
|
25
23
|
<% end %>
|
26
24
|
</div>
|
@@ -31,9 +29,9 @@
|
|
31
29
|
</div>
|
32
30
|
<% end %>
|
33
31
|
|
34
|
-
<% if
|
32
|
+
<% if partial.status? %>
|
35
33
|
<div class="<% "mt-2" if completion_percent %> uppercase text-xs text-slate-400">
|
36
|
-
<%=
|
34
|
+
<%= partial.status %>
|
37
35
|
</div>
|
38
36
|
<% end %>
|
39
37
|
</div>
|
@@ -1,12 +1,10 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<%= link_to path, class: "block group hover:no-underline" do %>
|
4
2
|
<div class="bg-white hover:bg-slate-50 rounded-md shadow dark:bg-slate-700 dark:group-hover:bg-slate-700 dark:bg-opacity-50 dark:group-hover:bg-opacity-25 overflow-hidden">
|
5
3
|
<div class="py-4 px-8 pr-5">
|
6
4
|
<div class="flex items-center">
|
7
|
-
<% if
|
5
|
+
<% if partial.body? %>
|
8
6
|
<div class="flex-1 text-xl font-semibold text-slate-700 dark:text-white dark:group-hover:text-slate-100">
|
9
|
-
<%=
|
7
|
+
<%= partial.body %>
|
10
8
|
</div>
|
11
9
|
<% end %>
|
12
10
|
<div class="ml-5 flex-shink-0">
|
@@ -1,12 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<%= render 'account/shared/title' do |cp| %>
|
4
|
-
<% cp.content_for :title, p.content_for(:title) %>
|
5
|
-
<% cp.content_for :actions, p.content_for(:actions) %>
|
6
|
-
<% end %>
|
7
|
-
|
1
|
+
<%= render 'account/shared/title', partial.slice(:title, :actions) %>
|
8
2
|
<%= render 'account/shared/notices' %>
|
9
3
|
|
10
4
|
<div class="space-y-8 py-4 xl:py-8 xl:px-8">
|
11
|
-
<%=
|
5
|
+
<%= partial.body %>
|
12
6
|
</div>
|
@@ -1,5 +1,3 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% link_url ||= "#" %>
|
4
2
|
<% memberships ||= [] %>
|
5
3
|
|
@@ -8,9 +6,9 @@
|
|
8
6
|
<div class="px-4 py-4 flex items-center sm:pl-8 sm:pr-6">
|
9
7
|
<div class="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
|
10
8
|
<div>
|
11
|
-
<% if
|
9
|
+
<% if partial.name? %>
|
12
10
|
<div class="flex text-xl font-semibold text-blue uppercase group-hover:text-blue-800 tracking-widest dark:text-white">
|
13
|
-
<%=
|
11
|
+
<%= partial.name %>
|
14
12
|
</div>
|
15
13
|
<% end %>
|
16
14
|
</div>
|
@@ -1,15 +1,11 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<div class="flex flex-row items-center">
|
4
2
|
<div class="flex-auto">
|
5
3
|
<h1 class="font-semibold text-base dark:text-white">
|
6
|
-
<%=
|
4
|
+
<%= partial.title %>
|
7
5
|
</h1>
|
8
6
|
</div>
|
9
7
|
<div class="flex-auto text-right leading-none">
|
10
|
-
|
11
|
-
<%= p.content_for :actions %>
|
12
|
-
<% end %>
|
8
|
+
<%= partial.actions.presence %>
|
13
9
|
</div>
|
14
10
|
</div>
|
15
11
|
|
@@ -1,33 +1,31 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<div class="border border-slate-300 dark:border-opacity-10 rounded-md bg-slate-50 dark:bg-opacity-10">
|
4
|
-
<% if
|
2
|
+
<% if partial.title? || partial.description? || partial.body? %>
|
5
3
|
<div class="py-4 px-5 space-y">
|
6
|
-
<% if
|
4
|
+
<% if partial.title? || partial.description? %>
|
7
5
|
<div class="space-y-2">
|
8
|
-
<% if
|
6
|
+
<% if partial.title? %>
|
9
7
|
<h2 class="text-base font-semibold">
|
10
|
-
<%=
|
8
|
+
<%= partial.title %>
|
11
9
|
</h2>
|
12
10
|
<% end %>
|
13
11
|
|
14
|
-
<% if
|
12
|
+
<% if partial.description? %>
|
15
13
|
<p class="text-slate-400 font-light leading-normal">
|
16
|
-
<%=
|
14
|
+
<%= partial.description %>
|
17
15
|
</p>
|
18
16
|
<% end %>
|
19
17
|
</div>
|
20
18
|
<% end %>
|
21
19
|
|
22
|
-
<% if
|
20
|
+
<% if partial.body? %>
|
23
21
|
<div class="space-y">
|
24
|
-
<%=
|
22
|
+
<%= partial.body %>
|
25
23
|
</div>
|
26
24
|
<% end %>
|
27
25
|
</div>
|
28
26
|
<% end %>
|
29
27
|
|
30
28
|
<div>
|
31
|
-
<%=
|
29
|
+
<%= partial.raw_body %>
|
32
30
|
</div>
|
33
31
|
</div>
|
@@ -1,5 +1,3 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<div class="py-4 px-8 w-full space-y-3">
|
4
2
|
<div class="flex space-x-4">
|
5
3
|
<% if action.is_a?(Actions::TracksCreator) %>
|
@@ -15,7 +13,7 @@
|
|
15
13
|
</div>
|
16
14
|
</div>
|
17
15
|
<div class="flex-0">
|
18
|
-
<%=
|
16
|
+
<%= partial.actions if partial.actions? %>
|
19
17
|
<% if action.is_a?(Actions::RequiresApproval) %>
|
20
18
|
<% if !action.approved? && can?(:approve, action) %>
|
21
19
|
<%= button_to t("#{action.class.name.pluralize.underscore}.buttons.shorthand.approve"), [:approve, :account, action], method: :post, class: 'button-secondary button-smaller' %>
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<%= render 'account/shared/box', no_background: true, title_size: "text-2xs", title_padding: "pt-3 pb-3.5", border_top: true do |pp| %>
|
4
|
-
<% pp.content_for :title, p.yield(:title) %>
|
5
|
-
<% pp.content_for :table, p.yield(:table) %>
|
6
|
-
<% end %>
|
1
|
+
<%= render "account/shared/box", **partial.slice(:title, :table), no_background: true, title_size: "text-2xs", title_padding: "pt-3 pb-3.5", border_top: true %>
|
@@ -1,30 +1,18 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% url ||= nil %>
|
4
2
|
<% strategy ||= current_attributes_strategy || :none %>
|
5
3
|
|
6
|
-
<% body =
|
7
|
-
<% if url.present? %>
|
8
|
-
<% link_to url do %>
|
9
|
-
<%= p.content_for :body %>
|
10
|
-
<% end %>
|
11
|
-
<% else %>
|
12
|
-
<%= p.content_for :body %>
|
13
|
-
<% end %>
|
14
|
-
<% end %>
|
4
|
+
<% body = link_to_if url.present?, partial.body, url %>
|
15
5
|
|
16
6
|
<% case strategy %>
|
17
7
|
<% when :label %>
|
18
8
|
<div>
|
19
9
|
<label class="block text-2xs font-semibold py-2 dark:text-white">
|
20
|
-
<%=
|
10
|
+
<%= partial.heading %>
|
21
11
|
</label>
|
22
12
|
<div class="dark:text-slate-400">
|
23
13
|
<%= body %>
|
24
14
|
</div>
|
25
15
|
</div>
|
26
|
-
|
27
16
|
<% else %>
|
28
17
|
<%= body %>
|
29
|
-
|
30
18
|
<% end %>
|
@@ -1,6 +1,4 @@
|
|
1
|
-
<%
|
2
|
-
|
3
|
-
<% p.helpers do
|
1
|
+
<% partial.helpers do
|
4
2
|
def account_controller_name_with_namespace
|
5
3
|
params[:controller].gsub(/^account\//, '')
|
6
4
|
end
|
@@ -11,11 +9,11 @@ end %>
|
|
11
9
|
# included. see `app/views/account/teams/_breadcrumbs.html.erb` for an example.
|
12
10
|
%>
|
13
11
|
|
14
|
-
<% if
|
12
|
+
<% if partial.account_controller_name_with_namespace == only_for %>
|
15
13
|
<% label = if action_name == 'edit'
|
16
|
-
ot("#{
|
14
|
+
ot("#{partial.account_controller_name_with_namespace}.breadcrumbs.edit") || t('breadcrumbs.actions.edit')
|
17
15
|
elsif action_name == 'new'
|
18
|
-
ot("#{
|
16
|
+
ot("#{partial.account_controller_name_with_namespace}.breadcrumbs.new") || t('breadcrumbs.actions.new')
|
19
17
|
end %>
|
20
18
|
|
21
19
|
<%= render 'account/shared/breadcrumb', label: label if label %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<head>
|
3
3
|
<%= render 'shared/layouts/head' %>
|
4
4
|
</head>
|
5
|
-
<body class="devise_layout electron-draggable <%= BulletTrain::Themes::Light.background || "sm:bg-gradient-to-br from-secondary-200 to-primary-400 dark:from-primary-900 dark:to-primary-600" %> text-slate-700 text-sm font-normal dark:text-slate-300">
|
5
|
+
<body class="devise_layout electron-draggable <%= BulletTrain::Themes::Light.background || "bg-white dark:bg-slate-700 sm:bg-gradient-to-br from-secondary-200 to-primary-400 dark:from-primary-900 dark:to-primary-600" %> text-slate-700 text-sm font-normal dark:text-slate-300">
|
6
6
|
<div data-turn-enter data-turn-exit>
|
7
7
|
<%= yield %>
|
8
8
|
</div>
|
@@ -1,14 +1,12 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% method ||= nil %>
|
4
2
|
<% active ||= request.path == url %>
|
5
3
|
|
6
4
|
<%= send (method ? :button_to : :link_to), url, class: "block group hover:text-white hover:no-underline #{'bg-primary-900 dark:bg-black dark:bg-opacity-10' if active} text-white #{@menu_orientation == :top ? "px-5 py-5" : "px-2 py-2 rounded-md hover-indent-child"} #{"rounded-tl-lg" unless @not_first} dark:text-white", data: {"desktop-menu-target": "menuItemLink"}, tabIndex: 0, method: method do %>
|
7
5
|
<div class="inline-block indent-child flex items-center">
|
8
6
|
<!-- Heroicon name: home -->
|
9
|
-
<% if
|
7
|
+
<% if partial.icon? %>
|
10
8
|
<span class="mr-3 h-6 w-6 text-center text-secondary-300 text-xl leading-6 dark:text-slate-400">
|
11
|
-
<%=
|
9
|
+
<%= partial.icon %>
|
12
10
|
</span>
|
13
11
|
<% end %>
|
14
12
|
<%= label %>
|
@@ -1,24 +1,22 @@
|
|
1
|
-
<% yield p = np %>
|
2
|
-
|
3
1
|
<% width ||= "max-w-md" %>
|
4
2
|
|
5
3
|
<div class="min-h-screen flex flex-col justify-center sm:py-12">
|
6
4
|
<div class="mx-auto w-full <%= width %> p-1.5">
|
7
|
-
<div class="bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg dark:bg-slate-700 dark:bg-opacity-80">
|
5
|
+
<div class="sm:bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg sm:dark:bg-slate-700 dark:bg-opacity-80">
|
8
6
|
<div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
|
9
7
|
<a href="<%= main_app.root_path %>" class="block py-3">
|
10
8
|
<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="theme-logo mx-auto h-12 w-auto" />
|
11
9
|
</a>
|
12
10
|
|
13
11
|
<h1 class="mt-6 text-center text-3xl font-semibold tracking-tight dark:text-white">
|
14
|
-
<%=
|
12
|
+
<%= partial.title %>
|
15
13
|
</h1>
|
16
14
|
|
17
15
|
<%= render "shared/line" %>
|
18
16
|
</div>
|
19
17
|
|
20
18
|
<div class="electron-undraggable pt-5 space-y-5">
|
21
|
-
<%=
|
19
|
+
<%= partial.body %>
|
22
20
|
</div>
|
23
21
|
</div>
|
24
22
|
</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.2.
|
4
|
+
version: 1.2.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|