satis 2.1.15 → 2.1.17

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: 8a4ce55d6a1473ecfa1941df7fd71f2319d12b8494dbbdc6d949c9c8e652b08e
4
- data.tar.gz: e3032e60ecf1d85fd7a73416442db26bc038aa898ed917666b324174d2287806
3
+ metadata.gz: 38a8a727484917e2fca379c9414a04c438b8946561976de364b87a8894789954
4
+ data.tar.gz: 1712c400b552134b9846e3e5fe52fd4254fb0e1dbbf0bd45b5a6511d910dbd6c
5
5
  SHA512:
6
- metadata.gz: 3daf6eff098ca5625095b2d200a28f2fc95ea2b77c4894dbd0c48dcb41625b33c3e451c6c17b586dc2824f6fdb9ecd0619db918b40139979a58b98068bcd8e4a
7
- data.tar.gz: 4dd6be7e7f4b804bb64d7ebcc92432172c177ffe4f003d77f93cdfe4b284c6d2435cdf6b9553d710881be32a73623df528e4432fe6d8cc9efadd40331ca9b491
6
+ metadata.gz: 7ac08a0d6f0323d19a089e6f6a7f119f27e23748e7a33e609cdcd55d76fc22b73e0be3e8a216000d03f9f0186f77fbc4a9f2eb021b93388fc563d311772077f1
7
+ data.tar.gz: 5da554227b1c71487ae8bab3e8918693f51c879487ee928a9d933f6c1cb03d1ddc60acff59ec68671ab8759be52a44331dc60d8f1f5373f196a8626fa37a1f8f
@@ -27,7 +27,7 @@ form {
27
27
  @apply mb-0;
28
28
 
29
29
  .form-label {
30
- @apply block text-xs text-gray-400 uppercase;
30
+ @apply block text-xs text-gray-400 dark:text-gray-300 uppercase;
31
31
 
32
32
  &.required:after {
33
33
  content: "*";
@@ -36,19 +36,19 @@ form {
36
36
 
37
37
  input.form-control,
38
38
  select.form-control {
39
- @apply border rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-800 dark:border-gray-700;
39
+ @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
40
40
  }
41
41
 
42
42
  textarea.form-control {
43
- @apply border rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-800 dark:border-gray-700;
43
+ @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
44
44
  }
45
45
 
46
46
  .form-select {
47
- @apply border rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-800 dark:border-gray-700;
47
+ @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
48
48
  }
49
49
 
50
50
  .form-multiselect {
51
- @apply border rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-800 dark:border-gray-700;
51
+ @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
52
52
  }
53
53
 
54
54
  .custom-select {
@@ -116,9 +116,13 @@ form {
116
116
  }
117
117
 
118
118
  .fields_for {
119
+ @apply dark:bg-gray-800;
120
+ .field-for-bg{
121
+ @apply dark:bg-gray-800;
119
122
  .template {
123
+ @apply dark:bg-gray-800;
120
124
  .fields {
121
- @apply opacity-50;
125
+ @apply opacity-50 dark:bg-gray-800;
122
126
  }
123
127
  &:hover {
124
128
  .fields {
@@ -126,6 +130,7 @@ form {
126
130
  }
127
131
  }
128
132
  }
133
+ }
129
134
  }
130
135
 
131
136
  .form-text {
@@ -149,7 +154,6 @@ form {
149
154
  height: 1rem;
150
155
  width: 30%;
151
156
  border-bottom: 1px dashed #e5e7eb;
152
- @apply dark:border-gray-700;
153
157
  }
154
158
 
155
159
  .nested-fields_action {
@@ -92,7 +92,63 @@ trix-toolbar .trix-button--icon {
92
92
  opacity: 1; }
93
93
  trix-toolbar .trix-button--icon:disabled::before {
94
94
  opacity: 0.125; }
95
-
95
+
96
+ .dark trix-editor {
97
+ border: 1px solid #555;
98
+ background-color: #333;
99
+ color: #ddd;
100
+ }
101
+
102
+ .dark trix-toolbar .trix-button-group {
103
+ @apply border-none;
104
+ border: 1px solid #555;
105
+ border-top-color: #666;
106
+ border-bottom-color: #444;
107
+ }
108
+
109
+ .dark trix-toolbar .trix-button {
110
+ @apply border-none;
111
+ color: white;
112
+ }
113
+
114
+ .dark trix-toolbar .trix-button:not(:first-child) {
115
+ @apply border-none;
116
+ border-left: 1px solid #444;
117
+ }
118
+
119
+ .dark trix-toolbar .trix-button.trix-active {
120
+ @apply border-none;
121
+ background: #007acc;
122
+ color: white;
123
+ }
124
+
125
+ .dark trix-toolbar .trix-button:disabled {
126
+ @apply border-none;
127
+ color: rgba(255, 255, 255, 0.125);
128
+ }
129
+
130
+ .dark trix-toolbar .trix-button--icon::before {
131
+ @apply border-none;
132
+ filter: invert(1); /* Inverts the color to white */
133
+ opacity: 0.6;
134
+ }
135
+
136
+ .dark trix-toolbar .trix-button--icon.trix-active::before {
137
+ @apply border-none;
138
+ filter: invert(1); /* Inverts the color to white */
139
+ opacity: 1;
140
+ }
141
+
142
+ .dark trix-toolbar .trix-button--icon:disabled::before {
143
+ @apply border-none;
144
+ opacity: 0.125;
145
+ }
146
+
147
+ .dark trix-editor .pre {
148
+ @apply bg-gray-800 text-white;
149
+ }
150
+
151
+
96
152
  trix-toolbar .trix-button--icon-attach::before {
97
153
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
98
154
  top: 8%;
@@ -2,7 +2,7 @@
2
2
  @apply bg-white h-full sm:rounded-lg sm:shadow dark:bg-gray-800 overflow-hidden;
3
3
 
4
4
  &__header {
5
- @apply px-4 py-5 sm:px-6 dark:bg-gray-800 dark:border-gray-700;
5
+ @apply px-4 py-5 sm:px-6 dark:bg-gray-900 dark:border-gray-700 dark:text-gray-300;
6
6
  }
7
7
 
8
8
  &__tabs {
@@ -13,6 +13,10 @@
13
13
  }
14
14
  }
15
15
 
16
+ .sts-card__header{
17
+ @apply dark:bg-gray-900 dark:bg-opacity-50;
18
+ }
19
+
16
20
  a.tab:not(.selected) {
17
21
  @apply dark:text-gray-300;
18
22
  }
@@ -6,7 +6,7 @@
6
6
  .ml-4.mt-4.flex-shrink-0.text-primary-600.dark:text-gray-300
7
7
  i class=icon
8
8
  .ml-4.mt-4.flex-1
9
- h3.text-lg.leading-6.font-medium.text-gray-900.dark:text-gray-300
9
+ h3.text-lg.leading-6.font-medium.text-gray-900.dark:text-white
10
10
  == title
11
11
  - if description.present?
12
12
  p.mt-1.text-sm.text-gray-500.dark:text-gray-500
@@ -1,7 +1,7 @@
1
1
  div.satis-date-time-picker data-controller="satis-date-time-picker" data-satis-date-time-picker-time-picker-value=time_picker.to_s data-satis-date-time-picker-clearable-value=clearable.to_s data-satis-date-time-picker-locale-value="" data-satis-date-time-picker-range-value=range.to_s data-satis-date-time-picker-multiple-value=multiple.to_s data-satis-date-time-picker-week-start-value=week_start data-satis-date-time-picker-inline-value=inline.to_s data-satis-date-time-picker-format-value=JSON.dump(format)
2
2
  .relative.flex.items-center
3
3
  = form.text_field attribute, options[:input_html].merge(class: 'hidden')
4
- input.form-control data-action="focus->satis-date-time-picker#showCalendar input->satis-date-time-picker#dateTimeEntered" data-satis-date-time-picker-target="input"
4
+ input.form-control data-action="focus->satis-date-time-picker#showCalendar input->satis-date-time-picker#dateTimeEntered" data-satis-date-time-picker-target="input" type="text"
5
5
  .absolute.inset-y-0.right-0.flex.py-1.5.pr-1.5
6
6
  button.cursor-pointer.w-6.h-full.flex.items-center.text-gray-400.outline-none.focus:outline-none data-satis-date-time-picker-target="clearButton" data-action="click->satis-date-time-picker#clear"
7
7
  i.fas.fa-xmark
@@ -48,3 +48,4 @@
48
48
  @apply dark:border-gray-700 border-b divide-gray-200 divide-opacity-25 hover:bg-gray-200 hover:shadow dark:hover:text-white dark:bg-opacity-75 dark:hover:bg-gray-800 dark:bg-gray-900 dark:divide-gray-100 dark:divide-opacity-5;
49
49
  }
50
50
 
51
+
@@ -5,7 +5,7 @@
5
5
  - if template_object
6
6
  template data-satis-fields-for-target='template'
7
7
  = form.rails_fields_for collection, template_object, child_index: 'TEMPLATE' do |nested_form|
8
- .nested-fields.template.py-2
8
+ .nested-fields.template.py-2.field-for-bg
9
9
  = nested_form.input :id, as: :hidden
10
10
  = nested_form.input :_destroy, as: :hidden
11
11
  .grid.grid-cols-12.gap-4
@@ -21,7 +21,7 @@
21
21
  i.fal.fa-trash
22
22
 
23
23
  = form.rails_fields_for collection do |nested_form|
24
- .nested-fields.py-2
24
+ .nested-fields.field-for-bg.py-2
25
25
  = nested_form.input :id, as: :hidden
26
26
  = nested_form.input :_destroy, as: :hidden
27
27
  .grid.grid-cols-12.gap-4
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.15"
2
+ VERSION = "2.1.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.15
4
+ version: 2.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser