44 left : 0 ;
55 right : 0 ;
66 bottom : 0 ;
7- background-color : rgba (0 , 0 , 0 , 0.5 );
7+ background-color : rgba (0 , 0 , 0 , 0.6 );
88 display : flex ;
99 align-items : center ;
1010 justify-content : center ;
11- z-index : 1000 ;
11+ z-index : 9999 ;
1212 padding : 1rem ;
1313 animation : fadeIn 0.2s ease-out ;
1414}
1515
1616.dialog {
17- background : white ;
18- border-radius : 8px ;
19- box-shadow : 0 20px 25px -5px rgba (0 , 0 , 0 , 0.1 ), 0 10px 10px -5px rgba (0 , 0 , 0 , 0.04 );
17+ background : var (--card-bg );
18+ color : var (--card-text );
19+ border : 2px solid var (--card-border );
20+ box-shadow : 4px 4px 0px var (--card-shadow );
21+ border-radius : 4px ;
2022 max-width : 90vw ;
2123 max-height : 90vh ;
2224 overflow : hidden ;
3133}
3234
3335.medium {
34- width : 600 px ;
36+ width : 500 px ;
3537}
3638
3739.large {
38- width : 800 px ;
40+ width : 700 px ;
3941}
4042
4143.xlarge {
42- width : 1000 px ;
44+ width : 900 px ;
4345}
4446
4547.header {
4648 display : flex ;
4749 align-items : center ;
4850 justify-content : space-between ;
49- padding : 1.5 rem 1.5 rem 0 1.5 rem ;
50- border-bottom : 1px solid #e5e7eb ;
51+ padding : 1.25 rem 1.25 rem 0 1.25 rem ;
52+ border-bottom : 1px solid var ( --card-border ) ;
5153 margin-bottom : 1rem ;
5254}
5355
5456.title {
5557 margin : 0 ;
56- font-size : 1.25 rem ;
58+ font-size : 1.125 rem ;
5759 font-weight : 600 ;
58- color : #111827 ;
60+ color : var ( --card-text ) ;
5961 flex : 1 ;
6062}
6163
6567 cursor : pointer ;
6668 padding : 0.5rem ;
6769 border-radius : 4px ;
68- color : #6b7280 ;
70+ color : var ( --text-secondary ) ;
6971 transition : all 0.2s ease ;
7072 display : flex ;
7173 align-items : center ;
7274 justify-content : center ;
7375 margin-left : 0.5rem ;
7476
7577 & :hover {
76- background-color : #f3f4f6 ;
77- color : #374151 ;
78+ background-color : var ( --background-secondary ) ;
79+ color : var ( --text-main ) ;
7880 }
7981
8082 & :focus {
81- outline : 2px solid #3b82f6 ;
83+ outline : 2px solid var ( --accent-link ) ;
8284 outline-offset : 2px ;
8385 }
8486}
8587
8688.content {
87- padding : 0 1.5 rem 1.5 rem 1.5 rem ;
89+ padding : 0 1.25 rem 1.25 rem 1.25 rem ;
8890 overflow-y : auto ;
8991 flex : 1 ;
9092}
102104@keyframes slideIn {
103105 from {
104106 opacity : 0 ;
105- transform : scale (0.95 ) translateY (-10 px );
107+ transform : scale (0.95 ) translateY (-20 px );
106108 }
107109 to {
108110 opacity : 1 ;
120122 width : 100% ;
121123 max-width : 100% ;
122124 max-height : 95vh ;
125+ margin : 0.5rem ;
123126 }
124127
125128 .small ,
138141 }
139142
140143 .title {
141- font-size : 1.125 rem ;
144+ font-size : 1 rem ;
142145 }
143146}
144147
145- // Dark mode support (if your app supports it)
146- @media (prefers-color-scheme : dark ) {
147- .dialog {
148- background : #1f2937 ;
149- color : #f9fafb ;
150- }
151-
152- .header {
153- border-bottom-color : #374151 ;
154- }
155-
156- .title {
157- color : #f9fafb ;
158- }
159-
160- .closeButton {
161- color : #9ca3af ;
162-
163- & :hover {
164- background-color : #374151 ;
165- color : #d1d5db ;
166- }
167- }
168- }
148+
0 commit comments