testio-tailwind 0.8.0 → 0.8.6

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.
@@ -1985,10 +1985,6 @@ select{
1985
1985
  padding-left: 20px;
1986
1986
  }
1987
1987
 
1988
- .pt-6{
1989
- padding-top: 1.5rem;
1990
- }
1991
-
1992
1988
  .pt-xs{
1993
1989
  padding-top: 10px;
1994
1990
  }
@@ -3860,7 +3856,7 @@ footer.actionbar summary > .btn,
3860
3856
  }
3861
3857
 
3862
3858
  .btn,
3863
- input.btn,
3859
+ input.btn,
3864
3860
  input[type="submit"].btn{
3865
3861
  display: inline-flex;
3866
3862
  height: 40px;
@@ -3881,7 +3877,15 @@ input[type="submit"].btn{
3881
3877
  color: rgb(35 106 132 / var(--tw-text-opacity, 1));
3882
3878
  }
3883
3879
 
3884
- .btn:hover, .btn:focus, .btn:active, input.btn:hover, input.btn:focus, input.btn:active, input[type="submit"].btn:hover, input[type="submit"].btn:focus, input[type="submit"].btn:active{
3880
+ .btn:hover,
3881
+ .btn:focus,
3882
+ .btn:active,
3883
+ input.btn:hover,
3884
+ input.btn:focus,
3885
+ input.btn:active,
3886
+ input[type="submit"].btn:hover,
3887
+ input[type="submit"].btn:focus,
3888
+ input[type="submit"].btn:active{
3885
3889
  --tw-border-opacity: 1;
3886
3890
  border-color: rgb(33 190 244 / var(--tw-border-opacity, 1));
3887
3891
  --tw-bg-opacity: 1;
@@ -3895,8 +3899,8 @@ input[type="submit"].btn{
3895
3899
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
3896
3900
  }
3897
3901
 
3898
- .btn-primary,
3899
- input.btn-primary,
3902
+ .btn-primary,
3903
+ input.btn-primary,
3900
3904
  input[type="submit"].btn-primary{
3901
3905
  --tw-bg-opacity: 1;
3902
3906
  background-color: rgb(35 106 132 / var(--tw-bg-opacity, 1));
@@ -3987,7 +3991,7 @@ input[type="submit"].btn-ghost-inverted{
3987
3991
  }
3988
3992
 
3989
3993
  .btn-danger,
3990
- input[type="submit"].btn-danger,
3994
+ input[type="submit"].btn-danger,
3991
3995
  .btn-warning,
3992
3996
  input[type="submit"].btn-warning{
3993
3997
  --tw-bg-opacity: 1;
@@ -3996,7 +4000,7 @@ input[type="submit"].btn-warning{
3996
4000
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
3997
4001
  }
3998
4002
 
3999
- .btn-success,
4003
+ .btn-success,
4000
4004
  input[type="submit"].btn-success{
4001
4005
  --tw-bg-opacity: 1;
4002
4006
  background-color: rgb(140 189 36 / var(--tw-bg-opacity, 1));
@@ -4118,7 +4122,7 @@ input[type="submit"].btn-dashed{
4118
4122
  }
4119
4123
 
4120
4124
  .btn-intercom {
4121
- box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
4125
+ box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
4122
4126
  }
4123
4127
 
4124
4128
  .btn-intercom .icon-intercom::before{
@@ -4126,26 +4130,26 @@ input[type="submit"].btn-dashed{
4126
4130
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
4127
4131
  }
4128
4132
 
4129
- .btn:disabled,
4130
- .btn[disabled],
4131
- button:disabled,
4132
- button[disabled],
4133
- .btn.disabled,
4134
- .btn-sm:disabled,
4135
- .btn-sm[disabled],
4136
- .btn-sm.disabled,
4137
- .btn-lg-wrapper:disabled .btn-lg,
4138
- .btn-lg-wrapper[disabled] .btn-lg,
4139
- .btn-lg-wrapper.disabled .btn-lg,
4140
- .btn-lg:disabled,
4141
- .btn-lg[disabled],
4142
- .btn-lg.disabled,
4143
- .btn-xl:disabled,
4144
- .btn-xl[disabled],
4145
- .btn-xl.disabled,
4146
- input[type="submit"].btn[disabled],
4147
- input.btn[disabled],
4148
- input.btn-sm[disabled],
4133
+ .btn:disabled,
4134
+ .btn[disabled],
4135
+ button:disabled,
4136
+ button[disabled],
4137
+ .btn.disabled,
4138
+ .btn-sm:disabled,
4139
+ .btn-sm[disabled],
4140
+ .btn-sm.disabled,
4141
+ .btn-lg-wrapper:disabled .btn-lg,
4142
+ .btn-lg-wrapper[disabled] .btn-lg,
4143
+ .btn-lg-wrapper.disabled .btn-lg,
4144
+ .btn-lg:disabled,
4145
+ .btn-lg[disabled],
4146
+ .btn-lg.disabled,
4147
+ .btn-xl:disabled,
4148
+ .btn-xl[disabled],
4149
+ .btn-xl.disabled,
4150
+ input[type="submit"].btn[disabled],
4151
+ input.btn[disabled],
4152
+ input.btn-sm[disabled],
4149
4153
  input.btn-lg[disabled]{
4150
4154
  cursor: not-allowed;
4151
4155
  border-width: 1px;
@@ -4160,26 +4164,26 @@ input.btn-lg[disabled]{
4160
4164
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
4161
4165
  }
4162
4166
 
4163
- .btn:disabled:hover,
4164
- .btn[disabled]:hover,
4165
- button:disabled:hover,
4166
- button[disabled]:hover,
4167
- .btn.disabled:hover,
4168
- .btn-sm:disabled:hover,
4169
- .btn-sm[disabled]:hover,
4170
- .btn-sm.disabled:hover,
4171
- .btn-lg-wrapper:disabled .btn-lg:hover,
4172
- .btn-lg-wrapper[disabled] .btn-lg:hover,
4173
- .btn-lg-wrapper.disabled .btn-lg:hover,
4174
- .btn-lg:disabled:hover,
4175
- .btn-lg[disabled]:hover,
4176
- .btn-lg.disabled:hover,
4177
- .btn-xl:disabled:hover,
4178
- .btn-xl[disabled]:hover,
4179
- .btn-xl.disabled:hover,
4180
- input[type="submit"].btn[disabled]:hover,
4181
- input.btn[disabled]:hover,
4182
- input.btn-sm[disabled]:hover,
4167
+ .btn:disabled:hover,
4168
+ .btn[disabled]:hover,
4169
+ button:disabled:hover,
4170
+ button[disabled]:hover,
4171
+ .btn.disabled:hover,
4172
+ .btn-sm:disabled:hover,
4173
+ .btn-sm[disabled]:hover,
4174
+ .btn-sm.disabled:hover,
4175
+ .btn-lg-wrapper:disabled .btn-lg:hover,
4176
+ .btn-lg-wrapper[disabled] .btn-lg:hover,
4177
+ .btn-lg-wrapper.disabled .btn-lg:hover,
4178
+ .btn-lg:disabled:hover,
4179
+ .btn-lg[disabled]:hover,
4180
+ .btn-lg.disabled:hover,
4181
+ .btn-xl:disabled:hover,
4182
+ .btn-xl[disabled]:hover,
4183
+ .btn-xl.disabled:hover,
4184
+ input[type="submit"].btn[disabled]:hover,
4185
+ input.btn[disabled]:hover,
4186
+ input.btn-sm[disabled]:hover,
4183
4187
  input.btn-lg[disabled]:hover{
4184
4188
  background-color: transparent;
4185
4189
  background-image: url('/assets/images/pattern-striped-bright.png');
@@ -4187,7 +4191,48 @@ input.btn-lg[disabled]:hover{
4187
4191
  color: rgb(191 193 197 / var(--tw-text-opacity, 1));
4188
4192
  }
4189
4193
 
4190
- .btn:disabled:hover .icon, .btn:disabled:focus .icon, .btn[disabled]:hover .icon, .btn[disabled]:focus .icon, button:disabled:hover .icon, button:disabled:focus .icon, button[disabled]:hover .icon, button[disabled]:focus .icon, .btn.disabled:hover .icon, .btn.disabled:focus .icon, .btn-sm:disabled:hover .icon, .btn-sm:disabled:focus .icon, .btn-sm[disabled]:hover .icon, .btn-sm[disabled]:focus .icon, .btn-sm.disabled:hover .icon, .btn-sm.disabled:focus .icon, .btn-lg-wrapper:disabled .btn-lg:hover .icon, .btn-lg-wrapper:disabled .btn-lg:focus .icon, .btn-lg-wrapper[disabled] .btn-lg:hover .icon, .btn-lg-wrapper[disabled] .btn-lg:focus .icon, .btn-lg-wrapper.disabled .btn-lg:hover .icon, .btn-lg-wrapper.disabled .btn-lg:focus .icon, .btn-lg:disabled:hover .icon, .btn-lg:disabled:focus .icon, .btn-lg[disabled]:hover .icon, .btn-lg[disabled]:focus .icon, .btn-lg.disabled:hover .icon, .btn-lg.disabled:focus .icon, .btn-xl:disabled:hover .icon, .btn-xl:disabled:focus .icon, .btn-xl[disabled]:hover .icon, .btn-xl[disabled]:focus .icon, .btn-xl.disabled:hover .icon, .btn-xl.disabled:focus .icon, input[type="submit"].btn[disabled]:hover .icon, input[type="submit"].btn[disabled]:focus .icon, input.btn[disabled]:hover .icon, input.btn[disabled]:focus .icon, input.btn-sm[disabled]:hover .icon, input.btn-sm[disabled]:focus .icon, input.btn-lg[disabled]:hover .icon, input.btn-lg[disabled]:focus .icon{
4194
+ .btn:disabled:hover .icon,
4195
+ .btn:disabled:focus .icon,
4196
+ .btn[disabled]:hover .icon,
4197
+ .btn[disabled]:focus .icon,
4198
+ button:disabled:hover .icon,
4199
+ button:disabled:focus .icon,
4200
+ button[disabled]:hover .icon,
4201
+ button[disabled]:focus .icon,
4202
+ .btn.disabled:hover .icon,
4203
+ .btn.disabled:focus .icon,
4204
+ .btn-sm:disabled:hover .icon,
4205
+ .btn-sm:disabled:focus .icon,
4206
+ .btn-sm[disabled]:hover .icon,
4207
+ .btn-sm[disabled]:focus .icon,
4208
+ .btn-sm.disabled:hover .icon,
4209
+ .btn-sm.disabled:focus .icon,
4210
+ .btn-lg-wrapper:disabled .btn-lg:hover .icon,
4211
+ .btn-lg-wrapper:disabled .btn-lg:focus .icon,
4212
+ .btn-lg-wrapper[disabled] .btn-lg:hover .icon,
4213
+ .btn-lg-wrapper[disabled] .btn-lg:focus .icon,
4214
+ .btn-lg-wrapper.disabled .btn-lg:hover .icon,
4215
+ .btn-lg-wrapper.disabled .btn-lg:focus .icon,
4216
+ .btn-lg:disabled:hover .icon,
4217
+ .btn-lg:disabled:focus .icon,
4218
+ .btn-lg[disabled]:hover .icon,
4219
+ .btn-lg[disabled]:focus .icon,
4220
+ .btn-lg.disabled:hover .icon,
4221
+ .btn-lg.disabled:focus .icon,
4222
+ .btn-xl:disabled:hover .icon,
4223
+ .btn-xl:disabled:focus .icon,
4224
+ .btn-xl[disabled]:hover .icon,
4225
+ .btn-xl[disabled]:focus .icon,
4226
+ .btn-xl.disabled:hover .icon,
4227
+ .btn-xl.disabled:focus .icon,
4228
+ input[type="submit"].btn[disabled]:hover .icon,
4229
+ input[type="submit"].btn[disabled]:focus .icon,
4230
+ input.btn[disabled]:hover .icon,
4231
+ input.btn[disabled]:focus .icon,
4232
+ input.btn-sm[disabled]:hover .icon,
4233
+ input.btn-sm[disabled]:focus .icon,
4234
+ input.btn-lg[disabled]:hover .icon,
4235
+ input.btn-lg[disabled]:focus .icon{
4191
4236
  --tw-text-opacity: 1;
4192
4237
  color: rgb(191 193 197 / var(--tw-text-opacity, 1));
4193
4238
  }
@@ -4218,6 +4263,10 @@ input.btn-lg[disabled]:hover{
4218
4263
  background-image: url('/assets/images/pattern-striped-dark.png');
4219
4264
  }
4220
4265
 
4266
+ button{
4267
+ font-weight: 600;
4268
+ }
4269
+
4221
4270
  .btn-gray{
4222
4271
  --tw-bg-opacity: 1;
4223
4272
  background-color: rgb(230 230 230 / var(--tw-bg-opacity, 1));
@@ -12822,13 +12871,27 @@ a.listitem:hover .icon{
12822
12871
  line-height: 1.25;
12823
12872
  }
12824
12873
 
12825
- .form-group .form-label{
12874
+ .form-label.optional::after {
12875
+ content: "(optional)";
12876
+ margin-left: 0.25rem;
12877
+ display: inline-block;
12878
+ }
12879
+
12880
+ .form-label.optional-non-en::after {
12881
+ content: attr(data-optional-non-en);
12882
+ margin-left: 0.25rem;
12883
+ display: inline-block;
12884
+ }
12885
+
12886
+ .form-group .form-label,
12887
+ .form-group .field_with_errors{
12826
12888
  padding-bottom: 5px;
12827
12889
  }
12828
12890
 
12829
12891
  @media (min-width: 768px){
12830
12892
 
12831
- .form-group .form-label{
12893
+ .form-group .form-label,
12894
+ .form-group .field_with_errors{
12832
12895
  padding-top: 15px;
12833
12896
  }
12834
12897
  }
@@ -12838,7 +12901,7 @@ a.listitem:hover .icon{
12838
12901
  color: rgb(191 193 197 / var(--tw-text-opacity, 1));
12839
12902
  }
12840
12903
 
12841
- .form-control,
12904
+ .form-control,
12842
12905
  .form-control-static{
12843
12906
  height: 40px;
12844
12907
  width: 100%;
@@ -12849,10 +12912,10 @@ a.listitem:hover .icon{
12849
12912
  line-height: 18px;
12850
12913
  }
12851
12914
 
12852
- .form-check .field_with_errors input[type=checkbox],
12853
- .form-check .field_with_errors input[type=checkbox]:checked,
12854
- .form-radio .field_with_errors input[type=radio],
12855
- .form-radio .field_with_errors input[type=radio]:checked,
12915
+ .form-check .field_with_errors input[type="checkbox"],
12916
+ .form-check .field_with_errors input[type="checkbox"]:checked,
12917
+ .form-radio .field_with_errors input[type="radio"],
12918
+ .form-radio .field_with_errors input[type="radio"]:checked,
12856
12919
  .field_with_errors.dropzone,
12857
12920
  .field_with_errors .form-control{
12858
12921
  --tw-border-opacity: 1;
@@ -12869,8 +12932,9 @@ a.listitem:hover .icon{
12869
12932
 
12870
12933
  .form-hint{
12871
12934
  margin-top: 10px;
12935
+ margin-bottom: 10px;
12872
12936
  display: flex;
12873
- align-items: flex-start;
12937
+ align-items: center;
12874
12938
  font-size: 0.813rem;
12875
12939
  line-height: 0.813rem;
12876
12940
  }
@@ -12934,8 +12998,8 @@ textarea.form-control{
12934
12998
  color: rgb(191 193 197 / var(--tw-text-opacity, 1));
12935
12999
  }
12936
13000
 
12937
- .form-control:disabled,
12938
- .form-control.disabled,
13001
+ .form-control:disabled,
13002
+ .form-control.disabled,
12939
13003
  .form-control[readonly]{
12940
13004
  --tw-bg-opacity: 1;
12941
13005
  background-color: rgb(191 193 197 / var(--tw-bg-opacity, 1));
@@ -13483,21 +13547,22 @@ textarea.form-control{
13483
13547
  @media (min-width: 768px) {
13484
13548
 
13485
13549
  .form-group.trix-editor {
13486
- grid-template-areas: "label trix-toolbar"
13487
- "label trix-editor"
13550
+ grid-template-areas:
13551
+ "label trix-toolbar"
13552
+ "label trix-editor"
13488
13553
  }
13489
- }
13554
+ }
13490
13555
 
13491
- .trix-content{
13556
+ .trix-editor .trix-content{
13492
13557
  margin-top: -20px;
13493
13558
  }
13494
13559
 
13495
13560
  @media (min-width: 768px) {
13496
13561
 
13497
- .trix-content {
13562
+ .trix-editor .trix-content {
13498
13563
  grid-area: trix-editor
13499
13564
  }
13500
- }
13565
+ }
13501
13566
 
13502
13567
  .trix-editor .form-control{
13503
13568
  height: auto;
@@ -13520,7 +13585,7 @@ trix-toolbar{
13520
13585
  trix-toolbar {
13521
13586
  grid-area: trix-toolbar
13522
13587
  }
13523
- }
13588
+ }
13524
13589
 
13525
13590
  trix-toolbar .trix-button-group{
13526
13591
  position: relative;
@@ -13539,8 +13604,8 @@ trix-toolbar .trix-button-row{
13539
13604
 
13540
13605
  .trix-button-row::-webkit-scrollbar {
13541
13606
  display: none;
13542
- -ms-overflow-style: none; /* IE and Edge */
13543
- scrollbar-width: none; /* Firefox */
13607
+ -ms-overflow-style: none; /* IE and Edge */
13608
+ scrollbar-width: none; /* Firefox */
13544
13609
  }
13545
13610
 
13546
13611
  .trix-button-group.trix-button-group--history-tools{
@@ -13567,7 +13632,8 @@ trix-toolbar .trix-button{
13567
13632
 
13568
13633
  /* Fix for safari bug, we don't need to show any text in those buttons */
13569
13634
 
13570
- trix-toolbar .trix-button:hover, trix-toolbar .trix-button:focus{
13635
+ trix-toolbar .trix-button:hover,
13636
+ trix-toolbar .trix-button:focus{
13571
13637
  --tw-bg-opacity: 1;
13572
13638
  background-color: rgb(33 190 244 / var(--tw-bg-opacity, 1));
13573
13639
  --tw-text-opacity: 1;
@@ -13780,6 +13846,19 @@ trix-editor .attachment__progress::-webkit-progress-value{
13780
13846
  background-color: rgb(50 109 209 / var(--tw-bg-opacity, 1));
13781
13847
  }
13782
13848
 
13849
+ /*///// Validation errors /////*/
13850
+
13851
+ .field_with_errors trix-toolbar{
13852
+ margin-bottom: 1.25rem;
13853
+ }
13854
+
13855
+ .field_with_errors .trix-content,
13856
+ .field_with_errors select{
13857
+ border-width: 1px;
13858
+ --tw-border-opacity: 1;
13859
+ border-color: rgb(236 4 4 / var(--tw-border-opacity, 1));
13860
+ }
13861
+
13783
13862
  /*///// File upload and attachments /////*/
13784
13863
 
13785
13864
  .form-file{
@@ -15249,11 +15328,11 @@ details[open] .drawer-trigger .close-btn {
15249
15328
  position: fixed;
15250
15329
  top: 0px;
15251
15330
  left: 0px;
15252
- z-index: 10;
15331
+ z-index: 50;
15253
15332
  height: 100vh;
15254
15333
  width: 100vw;
15255
15334
  content: "";
15256
- background-color: rgba(0,0,0,.75);
15335
+ background-color: rgba(0, 0, 0, 0.75);
15257
15336
  }
15258
15337
 
15259
15338
  .modal-wrapper[open] .modal-container{
@@ -15261,7 +15340,6 @@ details[open] .drawer-trigger .close-btn {
15261
15340
  position: fixed;
15262
15341
  top: 0px;
15263
15342
  left: 0px;
15264
- z-index: 20;
15265
15343
  display: flex;
15266
15344
  height: 100vh;
15267
15345
  width: 100vw;
@@ -15269,6 +15347,7 @@ details[open] .drawer-trigger .close-btn {
15269
15347
  justify-content: center;
15270
15348
  overflow-y: scroll;
15271
15349
  padding: 50px;
15350
+ z-index: 51;
15272
15351
  }
15273
15352
 
15274
15353
  .modal-wrapper[open] .modal{
@@ -15283,7 +15362,7 @@ details[open] .drawer-trigger .close-btn {
15283
15362
  height: auto;
15284
15363
  max-width: 100vw;
15285
15364
  pointer-events: all;
15286
- z-index: 11;
15365
+ z-index: 52;
15287
15366
  }
15288
15367
 
15289
15368
  .modal-wrapper[open] .modal.modal-sm{
@@ -15381,7 +15460,8 @@ details[open] .drawer-trigger .close-btn {
15381
15460
  opacity: 0.25;
15382
15461
  }
15383
15462
 
15384
- .btn.disabled, :disabled.btn{
15463
+ .btn.disabled,
15464
+ :disabled.btn{
15385
15465
  background-color: transparent;
15386
15466
  --tw-text-opacity: 1;
15387
15467
  color: rgb(191 193 197 / var(--tw-text-opacity, 1));
@@ -17925,6 +18005,16 @@ select.select2 {
17925
18005
  margin-right: 0px;
17926
18006
  }
17927
18007
 
18008
+ /*///// Validation errors /////*/
18009
+
18010
+ .form-select .field_with_errors .select2-container .select2-selection,
18011
+ .form-select .field_with_errors .select2-container .select2-search__field{
18012
+ --tw-border-opacity: 1;
18013
+ border-color: rgb(236 4 4 / var(--tw-border-opacity, 1));
18014
+ --tw-bg-opacity: 1;
18015
+ background-color: rgb(236 4 4 / var(--tw-bg-opacity, 1));
18016
+ }
18017
+
17928
18018
  .form-select{
17929
18019
  width: 100%;
17930
18020
  }
@@ -18042,11 +18132,21 @@ select{
18042
18132
  padding-bottom: 5px;
18043
18133
  }
18044
18134
 
18045
- .form-select-native option:hover, .form-select-native option:focus{
18135
+ .form-select-native option:hover,
18136
+ .form-select-native option:focus{
18046
18137
  --tw-bg-opacity: 1;
18047
18138
  background-color: rgb(33 190 244 / var(--tw-bg-opacity, 1));
18048
18139
  }
18049
18140
 
18141
+ /*///// Validation errors /////*/
18142
+
18143
+ .form-select-native .field_with_errors select{
18144
+ --tw-border-opacity: 1;
18145
+ border-color: rgb(236 4 4 / var(--tw-border-opacity, 1));
18146
+ --tw-bg-opacity: 1;
18147
+ background-color: rgb(236 4 4 / var(--tw-bg-opacity, 1));
18148
+ }
18149
+
18050
18150
  .test-header.tester{
18051
18151
  display: grid;
18052
18152
  --tw-bg-opacity: 1;