avo 3.0.1.beta9 → 3.0.1.beta10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +2 -0
- data/app/assets/builds/avo.base.css +278 -36
- data/app/controllers/avo/application_controller.rb +12 -0
- data/app/views/layouts/avo/application.html.erb +1 -2
- data/bin/dev +2 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/tailwindcss/install_generator.rb +58 -12
- data/lib/generators/avo/templates/tailwindcss/avo.tailwind.css +5 -3
- data/lib/generators/avo/templates/tailwindcss/tailwind.config.js +11 -0
- data/lib/tasks/avo_tasks.rake +33 -5
- data/public/avo-assets/avo.base.css +51 -3957
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d41facc3b8991d0d8f35381b5e802fc6e21dafc7cff9fbb0e30d45c4ee4b159
|
4
|
+
data.tar.gz: 986a54076e03412e55025a97019bcaad9b7a5f6777fdbf4be5926d42e8d52e29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7fa3479f4793ffb0bfaa0cb13c7b0c8cbe2aaec8fcdd1c9b87d8e8a3b11e31f0e9ae5327cec3ac0b31c8726dd6ffdae06380f7b291f191ca5d9c4b2a1d3068f
|
7
|
+
data.tar.gz: 0cd9c8dd5438cb08cb5321e347d91a5e76a564c78b694781111a6481134adb0c94e063dcfdd92e221ee972d51e01a16b5d561e0c24093d10e9f3db66af779eab
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -3393,7 +3393,7 @@ body.dark,body[data-theme=dark]{
|
|
3393
3393
|
transition:inherit
|
3394
3394
|
}
|
3395
3395
|
|
3396
|
-
/*! tailwindcss v3.3.
|
3396
|
+
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
|
3397
3397
|
*/
|
3398
3398
|
|
3399
3399
|
/*
|
@@ -3583,6 +3583,10 @@ select,
|
|
3583
3583
|
textarea {
|
3584
3584
|
font-family: inherit;
|
3585
3585
|
/* 1 */
|
3586
|
+
font-feature-settings: inherit;
|
3587
|
+
/* 1 */
|
3588
|
+
font-variation-settings: inherit;
|
3589
|
+
/* 1 */
|
3586
3590
|
font-size: 100%;
|
3587
3591
|
/* 1 */
|
3588
3592
|
font-weight: inherit;
|
@@ -3733,6 +3737,14 @@ menu {
|
|
3733
3737
|
padding: 0;
|
3734
3738
|
}
|
3735
3739
|
|
3740
|
+
/*
|
3741
|
+
Reset default styling for dialogs.
|
3742
|
+
*/
|
3743
|
+
|
3744
|
+
dialog {
|
3745
|
+
padding: 0;
|
3746
|
+
}
|
3747
|
+
|
3736
3748
|
/*
|
3737
3749
|
Prevent resizing textareas horizontally by default.
|
3738
3750
|
*/
|
@@ -6432,6 +6444,18 @@ tag.tagify__tag{
|
|
6432
6444
|
}
|
6433
6445
|
}
|
6434
6446
|
|
6447
|
+
.sr-only{
|
6448
|
+
position:absolute;
|
6449
|
+
width:1px;
|
6450
|
+
height:1px;
|
6451
|
+
padding:0;
|
6452
|
+
margin:-1px;
|
6453
|
+
overflow:hidden;
|
6454
|
+
clip:rect(0, 0, 0, 0);
|
6455
|
+
white-space:nowrap;
|
6456
|
+
border-width:0
|
6457
|
+
}
|
6458
|
+
|
6435
6459
|
.pointer-events-none{
|
6436
6460
|
pointer-events:none
|
6437
6461
|
}
|
@@ -6485,6 +6509,14 @@ tag.tagify__tag{
|
|
6485
6509
|
right:0px
|
6486
6510
|
}
|
6487
6511
|
|
6512
|
+
.-bottom-1{
|
6513
|
+
bottom:-0.25rem
|
6514
|
+
}
|
6515
|
+
|
6516
|
+
.-bottom-1\.5{
|
6517
|
+
bottom:-0.375rem
|
6518
|
+
}
|
6519
|
+
|
6488
6520
|
.-top-\[0\.1rem\]{
|
6489
6521
|
top:-0.1rem
|
6490
6522
|
}
|
@@ -6521,10 +6553,18 @@ tag.tagify__tag{
|
|
6521
6553
|
left:1.25rem
|
6522
6554
|
}
|
6523
6555
|
|
6556
|
+
.left-auto{
|
6557
|
+
left:auto
|
6558
|
+
}
|
6559
|
+
|
6524
6560
|
.right-0{
|
6525
6561
|
right:0px
|
6526
6562
|
}
|
6527
6563
|
|
6564
|
+
.right-3{
|
6565
|
+
right:0.75rem
|
6566
|
+
}
|
6567
|
+
|
6528
6568
|
.start-1{
|
6529
6569
|
inset-inline-start:0.25rem
|
6530
6570
|
}
|
@@ -6537,6 +6577,10 @@ tag.tagify__tag{
|
|
6537
6577
|
top:50%
|
6538
6578
|
}
|
6539
6579
|
|
6580
|
+
.top-2{
|
6581
|
+
top:0.5rem
|
6582
|
+
}
|
6583
|
+
|
6540
6584
|
.top-3{
|
6541
6585
|
top:0.75rem
|
6542
6586
|
}
|
@@ -6549,6 +6593,10 @@ tag.tagify__tag{
|
|
6549
6593
|
top:-1px
|
6550
6594
|
}
|
6551
6595
|
|
6596
|
+
.top-auto{
|
6597
|
+
top:auto
|
6598
|
+
}
|
6599
|
+
|
6552
6600
|
.top-full{
|
6553
6601
|
top:100%
|
6554
6602
|
}
|
@@ -6597,6 +6645,34 @@ tag.tagify__tag{
|
|
6597
6645
|
grid-column:span 4 / span 4
|
6598
6646
|
}
|
6599
6647
|
|
6648
|
+
.col-span-full{
|
6649
|
+
grid-column:1 / -1
|
6650
|
+
}
|
6651
|
+
|
6652
|
+
.row-span-1{
|
6653
|
+
grid-row:span 1 / span 1
|
6654
|
+
}
|
6655
|
+
|
6656
|
+
.row-span-2{
|
6657
|
+
grid-row:span 2 / span 2
|
6658
|
+
}
|
6659
|
+
|
6660
|
+
.row-span-3{
|
6661
|
+
grid-row:span 3 / span 3
|
6662
|
+
}
|
6663
|
+
|
6664
|
+
.row-span-4{
|
6665
|
+
grid-row:span 4 / span 4
|
6666
|
+
}
|
6667
|
+
|
6668
|
+
.row-span-5{
|
6669
|
+
grid-row:span 5 / span 5
|
6670
|
+
}
|
6671
|
+
|
6672
|
+
.row-span-6{
|
6673
|
+
grid-row:span 6 / span 6
|
6674
|
+
}
|
6675
|
+
|
6600
6676
|
.float-right{
|
6601
6677
|
float:right
|
6602
6678
|
}
|
@@ -6609,6 +6685,16 @@ tag.tagify__tag{
|
|
6609
6685
|
margin:0.25rem
|
6610
6686
|
}
|
6611
6687
|
|
6688
|
+
.-mx-1{
|
6689
|
+
margin-left:-0.25rem;
|
6690
|
+
margin-right:-0.25rem
|
6691
|
+
}
|
6692
|
+
|
6693
|
+
.-mx-1\.5{
|
6694
|
+
margin-left:-0.375rem;
|
6695
|
+
margin-right:-0.375rem
|
6696
|
+
}
|
6697
|
+
|
6612
6698
|
.-mx-2{
|
6613
6699
|
margin-left:-0.5rem;
|
6614
6700
|
margin-right:-0.5rem
|
@@ -6680,6 +6766,10 @@ tag.tagify__tag{
|
|
6680
6766
|
margin-top:-3rem
|
6681
6767
|
}
|
6682
6768
|
|
6769
|
+
.-mt-2{
|
6770
|
+
margin-top:-0.5rem
|
6771
|
+
}
|
6772
|
+
|
6683
6773
|
.-mt-9{
|
6684
6774
|
margin-top:-2.25rem
|
6685
6775
|
}
|
@@ -6712,6 +6802,10 @@ tag.tagify__tag{
|
|
6712
6802
|
margin-left:8.333333%
|
6713
6803
|
}
|
6714
6804
|
|
6805
|
+
.ml-1\/2{
|
6806
|
+
margin-left:50%
|
6807
|
+
}
|
6808
|
+
|
6715
6809
|
.ml-10{
|
6716
6810
|
margin-left:2.5rem
|
6717
6811
|
}
|
@@ -6728,6 +6822,10 @@ tag.tagify__tag{
|
|
6728
6822
|
margin-left:1rem
|
6729
6823
|
}
|
6730
6824
|
|
6825
|
+
.ml-6{
|
6826
|
+
margin-left:1.5rem
|
6827
|
+
}
|
6828
|
+
|
6731
6829
|
.ml-auto{
|
6732
6830
|
margin-left:auto
|
6733
6831
|
}
|
@@ -6756,6 +6854,10 @@ tag.tagify__tag{
|
|
6756
6854
|
margin-right:1rem
|
6757
6855
|
}
|
6758
6856
|
|
6857
|
+
.mr-px{
|
6858
|
+
margin-right:1px
|
6859
|
+
}
|
6860
|
+
|
6759
6861
|
.mt-0{
|
6760
6862
|
margin-top:0px
|
6761
6863
|
}
|
@@ -6956,10 +7058,34 @@ tag.tagify__tag{
|
|
6956
7058
|
min-height:6rem
|
6957
7059
|
}
|
6958
7060
|
|
7061
|
+
.min-h-\[16rem\]{
|
7062
|
+
min-height:16rem
|
7063
|
+
}
|
7064
|
+
|
7065
|
+
.min-h-\[24rem\]{
|
7066
|
+
min-height:24rem
|
7067
|
+
}
|
7068
|
+
|
7069
|
+
.min-h-\[32rem\]{
|
7070
|
+
min-height:32rem
|
7071
|
+
}
|
7072
|
+
|
6959
7073
|
.min-h-\[3rem\]{
|
6960
7074
|
min-height:3rem
|
6961
7075
|
}
|
6962
7076
|
|
7077
|
+
.min-h-\[40rem\]{
|
7078
|
+
min-height:40rem
|
7079
|
+
}
|
7080
|
+
|
7081
|
+
.min-h-\[48rem\]{
|
7082
|
+
min-height:48rem
|
7083
|
+
}
|
7084
|
+
|
7085
|
+
.min-h-\[8rem\]{
|
7086
|
+
min-height:8rem
|
7087
|
+
}
|
7088
|
+
|
6963
7089
|
.min-h-full{
|
6964
7090
|
min-height:100%
|
6965
7091
|
}
|
@@ -7008,6 +7134,10 @@ tag.tagify__tag{
|
|
7008
7134
|
width:1.25rem
|
7009
7135
|
}
|
7010
7136
|
|
7137
|
+
.w-52{
|
7138
|
+
width:13rem
|
7139
|
+
}
|
7140
|
+
|
7011
7141
|
.w-64{
|
7012
7142
|
width:16rem
|
7013
7143
|
}
|
@@ -7020,6 +7150,10 @@ tag.tagify__tag{
|
|
7020
7150
|
width:1%
|
7021
7151
|
}
|
7022
7152
|
|
7153
|
+
.w-\[calc\(100\%\+1rem\)\]{
|
7154
|
+
width:calc(100% + 1rem)
|
7155
|
+
}
|
7156
|
+
|
7023
7157
|
.w-auto{
|
7024
7158
|
width:auto
|
7025
7159
|
}
|
@@ -7072,10 +7206,18 @@ tag.tagify__tag{
|
|
7072
7206
|
max-width:32rem
|
7073
7207
|
}
|
7074
7208
|
|
7209
|
+
.max-w-xs{
|
7210
|
+
max-width:20rem
|
7211
|
+
}
|
7212
|
+
|
7075
7213
|
.flex-1{
|
7076
7214
|
flex:1 1 0%
|
7077
7215
|
}
|
7078
7216
|
|
7217
|
+
.flex-auto{
|
7218
|
+
flex:1 1 auto
|
7219
|
+
}
|
7220
|
+
|
7079
7221
|
.flex-shrink{
|
7080
7222
|
flex-shrink:1
|
7081
7223
|
}
|
@@ -7257,6 +7399,10 @@ tag.tagify__tag{
|
|
7257
7399
|
justify-content:space-evenly
|
7258
7400
|
}
|
7259
7401
|
|
7402
|
+
.gap-0{
|
7403
|
+
gap:0px
|
7404
|
+
}
|
7405
|
+
|
7260
7406
|
.gap-1{
|
7261
7407
|
gap:0.25rem
|
7262
7408
|
}
|
@@ -7534,6 +7680,11 @@ tag.tagify__tag{
|
|
7534
7680
|
border-color:rgb(172 177 185 / var(--tw-border-opacity))
|
7535
7681
|
}
|
7536
7682
|
|
7683
|
+
.border-gray-50{
|
7684
|
+
--tw-border-opacity:1;
|
7685
|
+
border-color:rgb(241 242 243 / var(--tw-border-opacity))
|
7686
|
+
}
|
7687
|
+
|
7537
7688
|
.border-gray-500{
|
7538
7689
|
--tw-border-opacity:1;
|
7539
7690
|
border-color:rgb(117 125 138 / var(--tw-border-opacity))
|
@@ -7652,11 +7803,6 @@ tag.tagify__tag{
|
|
7652
7803
|
border-color:rgb(113 113 122 / var(--tw-border-opacity))
|
7653
7804
|
}
|
7654
7805
|
|
7655
|
-
.bg-\[\#59b739\]{
|
7656
|
-
--tw-bg-opacity:1;
|
7657
|
-
background-color:rgb(89 183 57 / var(--tw-bg-opacity))
|
7658
|
-
}
|
7659
|
-
|
7660
7806
|
.bg-amber-500{
|
7661
7807
|
--tw-bg-opacity:1;
|
7662
7808
|
background-color:rgb(245 158 11 / var(--tw-bg-opacity))
|
@@ -7854,36 +8000,6 @@ tag.tagify__tag{
|
|
7854
8000
|
background-color:rgb(113 113 122 / var(--tw-bg-opacity))
|
7855
8001
|
}
|
7856
8002
|
|
7857
|
-
.bg-\[\#f154b2\]{
|
7858
|
-
--tw-bg-opacity:1;
|
7859
|
-
background-color:rgb(241 84 178 / var(--tw-bg-opacity))
|
7860
|
-
}
|
7861
|
-
|
7862
|
-
.bg-\[\#f154b3\]{
|
7863
|
-
--tw-bg-opacity:1;
|
7864
|
-
background-color:rgb(241 84 179 / var(--tw-bg-opacity))
|
7865
|
-
}
|
7866
|
-
|
7867
|
-
.bg-\[\#e3f337\]{
|
7868
|
-
--tw-bg-opacity:1;
|
7869
|
-
background-color:rgb(227 243 55 / var(--tw-bg-opacity))
|
7870
|
-
}
|
7871
|
-
|
7872
|
-
.bg-\[\#975343\]{
|
7873
|
-
--tw-bg-opacity:1;
|
7874
|
-
background-color:rgb(151 83 67 / var(--tw-bg-opacity))
|
7875
|
-
}
|
7876
|
-
|
7877
|
-
.bg-\[\#37e7a7\]{
|
7878
|
-
--tw-bg-opacity:1;
|
7879
|
-
background-color:rgb(55 231 167 / var(--tw-bg-opacity))
|
7880
|
-
}
|
7881
|
-
|
7882
|
-
.bg-\[\#121313\]{
|
7883
|
-
--tw-bg-opacity:1;
|
7884
|
-
background-color:rgb(18 19 19 / var(--tw-bg-opacity))
|
7885
|
-
}
|
7886
|
-
|
7887
8003
|
.bg-opacity-25{
|
7888
8004
|
--tw-bg-opacity:0.25
|
7889
8005
|
}
|
@@ -7920,6 +8036,10 @@ tag.tagify__tag{
|
|
7920
8036
|
padding:0.5rem
|
7921
8037
|
}
|
7922
8038
|
|
8039
|
+
.p-3{
|
8040
|
+
padding:0.75rem
|
8041
|
+
}
|
8042
|
+
|
7923
8043
|
.p-4{
|
7924
8044
|
padding:1rem
|
7925
8045
|
}
|
@@ -7928,6 +8048,10 @@ tag.tagify__tag{
|
|
7928
8048
|
padding:1.5rem
|
7929
8049
|
}
|
7930
8050
|
|
8051
|
+
.p-px{
|
8052
|
+
padding:1px
|
8053
|
+
}
|
8054
|
+
|
7931
8055
|
.px-0{
|
7932
8056
|
padding-left:0px;
|
7933
8057
|
padding-right:0px
|
@@ -7938,6 +8062,11 @@ tag.tagify__tag{
|
|
7938
8062
|
padding-right:0.25rem
|
7939
8063
|
}
|
7940
8064
|
|
8065
|
+
.px-1\.5{
|
8066
|
+
padding-left:0.375rem;
|
8067
|
+
padding-right:0.375rem
|
8068
|
+
}
|
8069
|
+
|
7941
8070
|
.px-10{
|
7942
8071
|
padding-left:2.5rem;
|
7943
8072
|
padding-right:2.5rem
|
@@ -7973,6 +8102,11 @@ tag.tagify__tag{
|
|
7973
8102
|
padding-bottom:0px
|
7974
8103
|
}
|
7975
8104
|
|
8105
|
+
.py-0\.5{
|
8106
|
+
padding-top:0.125rem;
|
8107
|
+
padding-bottom:0.125rem
|
8108
|
+
}
|
8109
|
+
|
7976
8110
|
.py-1{
|
7977
8111
|
padding-top:0.25rem;
|
7978
8112
|
padding-bottom:0.25rem
|
@@ -8046,6 +8180,10 @@ tag.tagify__tag{
|
|
8046
8180
|
padding-bottom:1.5rem
|
8047
8181
|
}
|
8048
8182
|
|
8183
|
+
.pl-1{
|
8184
|
+
padding-left:0.25rem
|
8185
|
+
}
|
8186
|
+
|
8049
8187
|
.pr-0{
|
8050
8188
|
padding-right:0px
|
8051
8189
|
}
|
@@ -8102,11 +8240,25 @@ tag.tagify__tag{
|
|
8102
8240
|
text-align:justify
|
8103
8241
|
}
|
8104
8242
|
|
8243
|
+
.font-sans{
|
8244
|
+
font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
|
8245
|
+
}
|
8246
|
+
|
8105
8247
|
.text-2xl{
|
8106
8248
|
font-size:1.5rem;
|
8107
8249
|
line-height:2rem
|
8108
8250
|
}
|
8109
8251
|
|
8252
|
+
.text-3xl{
|
8253
|
+
font-size:1.875rem;
|
8254
|
+
line-height:2.25rem
|
8255
|
+
}
|
8256
|
+
|
8257
|
+
.text-5xl{
|
8258
|
+
font-size:3rem;
|
8259
|
+
line-height:1
|
8260
|
+
}
|
8261
|
+
|
8110
8262
|
.text-base{
|
8111
8263
|
font-size:1rem;
|
8112
8264
|
line-height:1.5rem
|
@@ -8140,6 +8292,10 @@ tag.tagify__tag{
|
|
8140
8292
|
font-weight:500
|
8141
8293
|
}
|
8142
8294
|
|
8295
|
+
.font-normal{
|
8296
|
+
font-weight:400
|
8297
|
+
}
|
8298
|
+
|
8143
8299
|
.font-semibold{
|
8144
8300
|
font-weight:600
|
8145
8301
|
}
|
@@ -8304,6 +8460,10 @@ tag.tagify__tag{
|
|
8304
8460
|
color:rgb(236 72 153 / var(--tw-text-opacity))
|
8305
8461
|
}
|
8306
8462
|
|
8463
|
+
.text-primary-400{
|
8464
|
+
color:rgb(var(--color-primary-400))
|
8465
|
+
}
|
8466
|
+
|
8307
8467
|
.text-primary-500{
|
8308
8468
|
color:rgb(var(--color-primary-500))
|
8309
8469
|
}
|
@@ -8395,6 +8555,10 @@ tag.tagify__tag{
|
|
8395
8555
|
text-decoration-line:line-through
|
8396
8556
|
}
|
8397
8557
|
|
8558
|
+
.no-underline{
|
8559
|
+
text-decoration-line:none
|
8560
|
+
}
|
8561
|
+
|
8398
8562
|
.antialiased{
|
8399
8563
|
-webkit-font-smoothing:antialiased;
|
8400
8564
|
-moz-osx-font-smoothing:grayscale
|
@@ -8509,6 +8673,12 @@ tag.tagify__tag{
|
|
8509
8673
|
transition-duration:150ms
|
8510
8674
|
}
|
8511
8675
|
|
8676
|
+
.transition-all{
|
8677
|
+
transition-property:all;
|
8678
|
+
transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
|
8679
|
+
transition-duration:150ms
|
8680
|
+
}
|
8681
|
+
|
8512
8682
|
.transition-opacity{
|
8513
8683
|
transition-property:opacity;
|
8514
8684
|
transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
|
@@ -8680,6 +8850,10 @@ trix-editor {
|
|
8680
8850
|
background-color:rgb(var(--color-primary-400))
|
8681
8851
|
}
|
8682
8852
|
|
8853
|
+
.focus-within\:border-primary-500:focus-within{
|
8854
|
+
border-color:rgb(var(--color-primary-500))
|
8855
|
+
}
|
8856
|
+
|
8683
8857
|
.hover\:z-\[21\]:hover{
|
8684
8858
|
z-index:21
|
8685
8859
|
}
|
@@ -8853,6 +9027,11 @@ trix-editor {
|
|
8853
9027
|
background-color:rgb(227 229 232 / var(--tw-bg-opacity))
|
8854
9028
|
}
|
8855
9029
|
|
9030
|
+
.hover\:bg-gray-25:hover{
|
9031
|
+
--tw-bg-opacity:1;
|
9032
|
+
background-color:rgb(246 246 247 / var(--tw-bg-opacity))
|
9033
|
+
}
|
9034
|
+
|
8856
9035
|
.hover\:bg-gray-50:hover{
|
8857
9036
|
--tw-bg-opacity:1;
|
8858
9037
|
background-color:rgb(241 242 243 / var(--tw-bg-opacity))
|
@@ -9045,6 +9224,16 @@ trix-editor {
|
|
9045
9224
|
color:rgb(94 100 110 / var(--tw-text-opacity))
|
9046
9225
|
}
|
9047
9226
|
|
9227
|
+
.hover\:text-gray-700:hover{
|
9228
|
+
--tw-text-opacity:1;
|
9229
|
+
color:rgb(70 75 83 / var(--tw-text-opacity))
|
9230
|
+
}
|
9231
|
+
|
9232
|
+
.hover\:text-gray-900:hover{
|
9233
|
+
--tw-text-opacity:1;
|
9234
|
+
color:rgb(23 25 28 / var(--tw-text-opacity))
|
9235
|
+
}
|
9236
|
+
|
9048
9237
|
.hover\:text-white:hover{
|
9049
9238
|
--tw-text-opacity:1;
|
9050
9239
|
color:rgb(255 255 255 / var(--tw-text-opacity))
|
@@ -9819,10 +10008,23 @@ trix-editor {
|
|
9819
10008
|
display:block
|
9820
10009
|
}
|
9821
10010
|
|
10011
|
+
.group:hover .group-hover\:bg-gray-200{
|
10012
|
+
--tw-bg-opacity:1;
|
10013
|
+
background-color:rgb(200 203 208 / var(--tw-bg-opacity))
|
10014
|
+
}
|
10015
|
+
|
10016
|
+
.group:hover .group-hover\:bg-primary-500{
|
10017
|
+
background-color:rgb(var(--color-primary-500))
|
10018
|
+
}
|
10019
|
+
|
9822
10020
|
.group:hover .group-hover\:pt-4{
|
9823
10021
|
padding-top:1rem
|
9824
10022
|
}
|
9825
10023
|
|
10024
|
+
.group:active .group-active\:bg-primary-400{
|
10025
|
+
background-color:rgb(var(--color-primary-400))
|
10026
|
+
}
|
10027
|
+
|
9826
10028
|
@media print{
|
9827
10029
|
.print\:hidden{
|
9828
10030
|
display:none
|
@@ -9862,6 +10064,26 @@ trix-editor {
|
|
9862
10064
|
right:0px
|
9863
10065
|
}
|
9864
10066
|
|
10067
|
+
.sm\:col-span-1{
|
10068
|
+
grid-column:span 1 / span 1
|
10069
|
+
}
|
10070
|
+
|
10071
|
+
.sm\:col-span-2{
|
10072
|
+
grid-column:span 2 / span 2
|
10073
|
+
}
|
10074
|
+
|
10075
|
+
.sm\:col-span-3{
|
10076
|
+
grid-column:span 3 / span 3
|
10077
|
+
}
|
10078
|
+
|
10079
|
+
.sm\:col-span-4{
|
10080
|
+
grid-column:span 4 / span 4
|
10081
|
+
}
|
10082
|
+
|
10083
|
+
.sm\:col-span-5{
|
10084
|
+
grid-column:span 5 / span 5
|
10085
|
+
}
|
10086
|
+
|
9865
10087
|
.sm\:col-span-6{
|
9866
10088
|
grid-column:span 6 / span 6
|
9867
10089
|
}
|
@@ -9894,6 +10116,10 @@ trix-editor {
|
|
9894
10116
|
width:auto
|
9895
10117
|
}
|
9896
10118
|
|
10119
|
+
.sm\:min-w-\[16rem\]{
|
10120
|
+
min-width:16rem
|
10121
|
+
}
|
10122
|
+
|
9897
10123
|
.sm\:min-w-\[300px\]{
|
9898
10124
|
min-width:300px
|
9899
10125
|
}
|
@@ -9910,6 +10136,22 @@ trix-editor {
|
|
9910
10136
|
grid-template-columns:repeat(2, minmax(0, 1fr))
|
9911
10137
|
}
|
9912
10138
|
|
10139
|
+
.sm\:grid-cols-3{
|
10140
|
+
grid-template-columns:repeat(3, minmax(0, 1fr))
|
10141
|
+
}
|
10142
|
+
|
10143
|
+
.sm\:grid-cols-4{
|
10144
|
+
grid-template-columns:repeat(4, minmax(0, 1fr))
|
10145
|
+
}
|
10146
|
+
|
10147
|
+
.sm\:grid-cols-5{
|
10148
|
+
grid-template-columns:repeat(5, minmax(0, 1fr))
|
10149
|
+
}
|
10150
|
+
|
10151
|
+
.sm\:grid-cols-6{
|
10152
|
+
grid-template-columns:repeat(6, minmax(0, 1fr))
|
10153
|
+
}
|
10154
|
+
|
9913
10155
|
.sm\:flex-row{
|
9914
10156
|
flex-direction:row
|
9915
10157
|
}
|
@@ -25,6 +25,7 @@ module Avo
|
|
25
25
|
before_action :add_initial_breadcrumbs
|
26
26
|
before_action :set_view
|
27
27
|
before_action :set_sidebar_open
|
28
|
+
before_action :set_stylesheet_assets_path
|
28
29
|
|
29
30
|
rescue_from Avo::NotAuthorizedError, with: :render_unauthorized
|
30
31
|
rescue_from ActiveRecord::RecordInvalid, with: :exception_logger
|
@@ -314,5 +315,16 @@ module Avo
|
|
314
315
|
rescue => exception
|
315
316
|
Avo.logger.debug "Failed to set ActiveStorage::Current.url_options, #{exception.inspect}"
|
316
317
|
end
|
318
|
+
|
319
|
+
def set_stylesheet_assets_path
|
320
|
+
# Prefer the user's tailwind config if it exists, otherwise use the default one from Avo
|
321
|
+
@stylesheet_assets_path = if Rails.root.join("config", "avo", "tailwind.config.js").exist?
|
322
|
+
"avo.tailwind"
|
323
|
+
elsif Avo::PACKED
|
324
|
+
"/avo-assets/avo.base"
|
325
|
+
else
|
326
|
+
"avo.base"
|
327
|
+
end
|
328
|
+
end
|
317
329
|
end
|
318
330
|
end
|
@@ -10,12 +10,11 @@
|
|
10
10
|
<%= render partial: 'avo/partials/branding' %>
|
11
11
|
<%= render partial: 'avo/partials/pre_head' %>
|
12
12
|
<%= render Avo::AssetManager::StylesheetComponent.new asset_manager: Avo.asset_manager %>
|
13
|
+
<%= stylesheet_link_tag @stylesheet_assets_path, "data-turbo-track": "reload", defer: true %>
|
13
14
|
<% if Avo::PACKED %>
|
14
15
|
<%= javascript_include_tag "/avo-assets/avo.base", "data-turbo-track": "reload", defer: true %>
|
15
|
-
<%= stylesheet_link_tag "/avo-assets/avo.base", "data-turbo-track": "reload", defer: true %>
|
16
16
|
<% else %>
|
17
17
|
<%= javascript_include_tag "avo.base", "data-turbo-track": "reload", defer: true %>
|
18
|
-
<%= stylesheet_link_tag "avo.base", "data-turbo-track": "reload", defer: true %>
|
19
18
|
<% if Rails.env.development? %>
|
20
19
|
<%= javascript_include_tag "hotwire-livereload", defer: true %>
|
21
20
|
<% end %>
|
data/bin/dev
CHANGED
data/lib/avo/version.rb
CHANGED