1
1
@layer theme, base, primevue, components, utilities;
2
2
3
- @import './fonts.css' ;
4
- @import 'tailwindcss/theme' layer(theme);
5
- @import 'tailwindcss/utilities' layer(utilities);
6
- @import 'tw-animate-css' ;
3
+ @import url ( './fonts.css' ) ;
4
+ @import url ( 'tailwindcss/theme' ) layer(theme);
5
+ @import url ( 'tailwindcss/utilities' ) layer(utilities);
6
+ @import url ( 'tw-animate-css' ) ;
7
7
8
8
@plugin 'tailwindcss-primeui' ;
9
9
33
33
--content-hover-fg : # 000 ;
34
34
35
35
/* Code styling colors for help menu*/
36
- --code-text-color : rgba ( 0 , 122 , 255 , 1 );
37
- --code-bg-color : rgba (96 , 165 , 250 , 0.2 );
38
- --code-block-bg-color : rgba (60 , 60 , 60 , 0.12 );
36
+ --code-text-color : rgb ( 0 122 255 / 1 );
37
+ --code-bg-color : rgb (96 165 250 / 0.2 );
38
+ --code-block-bg-color : rgb (60 60 60 / 0.12 );
39
39
}
40
40
41
41
@media (prefers-color-scheme : dark) {
@@ -496,7 +496,7 @@ body {
496
496
497
497
/* Strong and emphasis */
498
498
.comfy-markdown-content strong {
499
- font-weight : bold ;
499
+ font-weight : 700 ;
500
500
}
501
501
502
502
.comfy-markdown-content em {
@@ -507,7 +507,7 @@ body {
507
507
display : none; /* Hidden by default */
508
508
position : fixed; /* Stay in place */
509
509
z-index : 100 ; /* Sit on top */
510
- padding : 30px 30px 10px 30 px ;
510
+ padding : 30px 30px 10px ;
511
511
background-color : var (--comfy-menu-bg ); /* Modal background */
512
512
color : var (--error-text );
513
513
box-shadow : 0 0 20px # 888888 ;
@@ -555,8 +555,8 @@ body {
555
555
background-color : var (--comfy-menu-bg );
556
556
font-family : sans-serif;
557
557
padding : 10px ;
558
- border-radius : 0 8px 8px 8 px ;
559
- box-shadow : 3px 3px 8px rgba ( 0 , 0 , 0 , 0.4 );
558
+ border-radius : 0 8px 8px ;
559
+ box-shadow : 3px 3px 8px rgb ( 0 0 0 / 0.4 );
560
560
}
561
561
562
562
.comfy-menu-header {
@@ -574,7 +574,7 @@ body {
574
574
}
575
575
576
576
.comfy-menu .comfy-menu-actions button {
577
- background-color : rgba ( 0 , 0 , 0 , 0 );
577
+ background-color : rgb ( 0 0 0 / 0 );
578
578
padding : 0 ;
579
579
border : none;
580
580
cursor : pointer;
@@ -689,7 +689,7 @@ span.drag-handle::after {
689
689
min-width : 160px ;
690
690
margin : 0 ;
691
691
padding : 3px ;
692
- font-weight : normal ;
692
+ font-weight : 400 ;
693
693
}
694
694
695
695
.comfy-list-items button {
@@ -744,10 +744,7 @@ button.comfy-queue-btn {
744
744
745
745
@media only screen and (max-height : 850px ) {
746
746
.comfy-menu {
747
- top : 0 !important ;
748
- bottom : 0 !important ;
749
- left : auto !important ;
750
- right : 0 !important ;
747
+ inset : 0 0 0 auto !important ;
751
748
border-radius : 0 ;
752
749
}
753
750
@@ -806,14 +803,11 @@ dialog {
806
803
}
807
804
808
805
dialog ::backdrop {
809
- background : rgba ( 0 , 0 , 0 , 0.5 );
806
+ background : rgb ( 0 0 0 / 0.5 );
810
807
}
811
808
812
809
.comfy-dialog .comfyui-dialog .comfy-modal {
813
- top : 0 ;
814
- left : 0 ;
815
- right : 0 ;
816
- bottom : 0 ;
810
+ inset : 0 ;
817
811
transform : none;
818
812
}
819
813
@@ -825,8 +819,7 @@ dialog::backdrop {
825
819
}
826
820
827
821
.comfy-dialog .comfy-modal-content {
828
- flex-direction : row;
829
- flex-wrap : wrap;
822
+ flex-flow : row wrap;
830
823
gap : 10px ;
831
824
color : var (--fg-color );
832
825
}
@@ -898,8 +891,7 @@ dialog::backdrop {
898
891
overflow : hidden;
899
892
display : flex;
900
893
flex-wrap : wrap;
901
- align-content : flex-start;
902
- justify-content : center;
894
+ place-content : flex-start center;
903
895
}
904
896
905
897
.comfy-img-preview img {
@@ -1012,9 +1004,9 @@ audio.comfy-audio.empty-audio-widget {
1012
1004
.lg-node {
1013
1005
/* Disable text selection on all nodes */
1014
1006
user-select : none;
1015
- -webkit- user-select: none;
1016
- -moz- user-select: none;
1017
- -ms- user-select: none;
1007
+ user-select : none;
1008
+ user-select : none;
1009
+ user-select : none;
1018
1010
}
1019
1011
1020
1012
.lg-node .lg-slot ,
@@ -1041,7 +1033,7 @@ audio.comfy-audio.empty-audio-widget {
1041
1033
filter : none;
1042
1034
backdrop-filter : none;
1043
1035
text-shadow : none;
1044
- -webkit- mask-image: none;
1036
+ mask-image : none;
1045
1037
mask-image : none;
1046
1038
clip-path : none;
1047
1039
background-image : none;
0 commit comments