bullet_train-themes-light 1.0.50 → 1.0.51
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14ac085c828df5d4739cddfdae12ab3b462a2996d413a34290ef06445206336e
|
4
|
+
data.tar.gz: 81196ed67604317f370ac0b1744dd53f6910f4d322b44744f2c323190308c9fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef8ec3d24b6042559b94a5e9b9aba430d5b4fcb7646923cb4e968de0e2d2ae28cd63bf263ab907d4cf8fe2299bc036da3df62b6c3f255b81f685383be3609ac3
|
7
|
+
data.tar.gz: b5d54ab69ae7effc020575bc3492f90c806fd929d0c23d80becb102817343c92cbf422e95e7c4908dda89416bab744f1babc48fae9b54991eb2744dbc80645ae
|
@@ -13,10 +13,24 @@
|
|
13
13
|
|
14
14
|
.button {
|
15
15
|
@apply shadow-sm text-white hover:text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-600 hover:no-underline;
|
16
|
+
|
17
|
+
&.button-red {
|
18
|
+
@apply bg-red-500 hover:bg-red-600 focus:ring-red-600;
|
19
|
+
}
|
16
20
|
}
|
17
21
|
|
18
22
|
.button-secondary {
|
19
23
|
@apply text-primary-500 hover:text-primary-600 hover:underline;
|
24
|
+
&.button-increase-contrast {
|
25
|
+
@apply text-primary-700 hover:text-primary-900;
|
26
|
+
}
|
27
|
+
|
28
|
+
&.button-red {
|
29
|
+
@apply text-red-500 hover:text-red-600;
|
30
|
+
&.button-increase-contrast {
|
31
|
+
@apply text-red-700 hover:text-red-900;
|
32
|
+
}
|
33
|
+
}
|
20
34
|
}
|
21
35
|
|
22
36
|
.button, .button-secondary, .button-alternative {
|
@@ -64,6 +78,24 @@
|
|
64
78
|
form.form {
|
65
79
|
@apply space-y-5;
|
66
80
|
|
81
|
+
.form-wrapper {
|
82
|
+
@apply space-y-5;
|
83
|
+
&[disabled] {
|
84
|
+
opacity: 0.3;
|
85
|
+
position: relative;
|
86
|
+
user-select: none;
|
87
|
+
&:before {
|
88
|
+
content: "";
|
89
|
+
position: absolute;
|
90
|
+
background-color: transparent;
|
91
|
+
top: 0;
|
92
|
+
bottom: 0;
|
93
|
+
left: 0;
|
94
|
+
right: 0;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
67
99
|
/*
|
68
100
|
This is the best way I know how to solve the problem of Tailwind's `space-y-5` creating extra space at the top
|
69
101
|
because Rails injects hidden fields at the top of our forms. However, we don't need this on `get` forms, because
|
@@ -1,13 +1,15 @@
|
|
1
1
|
<% color ||= 'yellow' %>
|
2
|
+
<% tighter ||= false %>
|
2
3
|
|
3
4
|
<div class="rounded-md bg-<%= color %>-400 border border-<%= color %>-500 py-4 px-5 mb-3">
|
4
|
-
<h3 class="text-sm text
|
5
|
+
<h3 class="text-sm text-<%= color %>-800 font-light">
|
5
6
|
<%= yield %>
|
6
7
|
</h3>
|
7
8
|
</div>
|
8
9
|
|
9
10
|
<% # we have to list out the evaluations we want possible above so purgecss includes them in production. %>
|
10
11
|
<% if false %>
|
11
|
-
<div class="bg-yellow-400 border-yellow-500 dark:border-yellow-200 text-yellow-
|
12
|
-
<div class="bg-red-400 border-red-500 dark:border-red-200 text-red-
|
12
|
+
<div class="bg-yellow-400 border-yellow-500 dark:border-yellow-200 text-yellow-800 dark:text-yellow-200"></div>
|
13
|
+
<div class="bg-red-400 border-red-500 dark:border-red-200 text-red-800 dark:text-red-200"></div>
|
14
|
+
<div class="bg-blue-400 border-blue-500 dark:border-blue-200 text-blue-800 dark:text-blue-200"></div>
|
13
15
|
<% end %>
|
@@ -7,6 +7,12 @@
|
|
7
7
|
<% end %>
|
8
8
|
<% end %>
|
9
9
|
|
10
|
+
<% if flash[:error] == "create_limit" %>
|
11
|
+
<% model = @child_object ? @child_object.class : @parent_object.send(@child_collection).model %>
|
12
|
+
<%= render "shared/limits/error", model: model, count: 1 %>
|
13
|
+
<% flash[:error] = nil %>
|
14
|
+
<% end %>
|
15
|
+
|
10
16
|
<% if alert.present? || flash[:error] %>
|
11
17
|
<%= render 'account/shared/alert', color: 'red' do %>
|
12
18
|
<%= alert %>
|
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.51
|
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-09-
|
11
|
+
date: 2022-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|