2828 }
2929}
3030
31-
32-
33-
34-
35-
3631.flex-container {
3732 display : flex ;
3833 padding : 20px ;
7772
7873.tooltip {
7974 position : relative ;
80- display : inline-block ;
75+ display : block ;
76+ width : fit-content ;
8177}
8278
8379.tooltip .tooltiptext {
9288 z-index : 1 ;
9389 bottom : 150% ;
9490 left : 50% ;
95- margin-left : -60 px ;
91+ transform : translateX ( -50 % ) ;
9692}
9793
9894.tooltip .tooltiptext ::after {
9995 content : " " ;
10096 position : absolute ;
10197 top : 100% ;
10298 left : 50% ;
103- margin-left : -5px ;
99+ transform : translateX (-50% );
100+ margin-left : 0 ;
104101 border-width : 5px ;
105102 border-style : solid ;
106103 border-color : black transparent transparent transparent ;
123120 white-space : nowrap ;
124121 }
125122
126-
127-
128123 tr th :nth-child (1 ) {
129124 width : fit-content ;
130125 white-space : nowrap ;
@@ -138,55 +133,76 @@ div.whitebox {
138133
139134div .blackbox {
140135 border : 5px dashed #333333 ;
141- color : #ffffff ;
142136 padding : 20px ;
143137}
144138
139+ div .na_or_both {
140+ padding : 20px ;
141+ }
142+
143+ div .blackbox ,
144+ div .whitebox div .na_or_both {
145+ display : flex ;
146+ flex-direction : column ;
147+ align-items : flex-start ;
148+ /* optional: keeps left alignment */
149+ }
145150
146151.SAFGridTable {
147152 tr .SAF_Domain_C td {
148153 background-color : #A5A5A5 ;
149154 color : #000000 ;
155+
150156 A {
151157 color : #000000 ;
152158 text-decoration-color : #000000 ;
153159 }
154160 }
161+
155162 tr .SAF_Domain_F td {
156163 background-color : #00B0F0 ;
157164 color : #000000 ;
165+
158166 A {
159167 color : #000000 ;
160168 text-decoration-color : #000000 ;
161169 }
162170 }
171+
163172 tr .SAF_Domain_L td {
164173 background-color : #FFC000 ;
165174 color : #000000 ;
175+
166176 A {
167177 color : #000000 ;
168178 text-decoration-color : #000000 ;
169179 }
170180 }
181+
171182 tr .SAF_Domain_O td {
172183 background-color : #4472C4 ;
173184 color : #000000 ;
185+
174186 A {
175187 color : #000000 ;
176188 text-decoration-color : #000000 ;
177189 }
178190 }
191+
179192 tr .SAF_Domain_P td {
180193 background-color : #92D050 ;
181194 color : #000000 ;
195+
182196 A {
183197 color : #000000 ;
184198 text-decoration-color : #000000 ;
185199 }
186200 }
201+
187202 tr .SAF_Domain_D td {
188203 background-color : #C040C0 ;
189204 color : #000000 ;
205+
190206 A {
191207 color : #000000 ;
192208 text-decoration-color : #000000 ;
@@ -195,18 +211,43 @@ div.blackbox {
195211}
196212
197213
198- :root { --control-height : 36px ; --control-padding : 6px 10px ; --gap : 8px ; }
199- #gallery-controls { display : inline-flex ; gap : var (--gap ); align-items : center ; }
200- #gallery-controls button , #gallery-controls select {
214+ :root {
215+ --control-height : 36px ;
216+ --control-padding : 6px 10px ;
217+ --gap : 8px ;
218+ }
219+
220+ #gallery-controls {
221+ display : inline-flex ;
222+ gap : var (--gap );
223+ align-items : center ;
224+ }
225+
226+ #gallery-controls button ,
227+ #gallery-controls select {
201228 height : var (--control-height );
202229 padding : var (--control-padding );
203230 line-height : 1 ;
204231 box-sizing : border-box ;
205232 font : inherit ;
206233}
207- #gallery-controls button { display : inline-flex ; align-items : center ; justify-content : center ; cursor : pointer ; }
208- #gallery-controls select { min-width : 120px ; }
209- #gallery-container img { max-width : 100% ; height : auto ; display : block ; }
234+
235+ #gallery-controls button {
236+ display : inline-flex ;
237+ align-items : center ;
238+ justify-content : center ;
239+ cursor : pointer ;
240+ }
241+
242+ #gallery-controls select {
243+ min-width : 120px ;
244+ }
245+
246+ #gallery-container img {
247+ max-width : 100% ;
248+ height : auto ;
249+ display : block ;
250+ }
210251
211252
212253#gallery-container {
@@ -240,4 +281,4 @@ div.blackbox {
240281#prev-btn :focus ,
241282#next-btn :focus {
242283 outline : 2px solid #ffffff ;
243- }
284+ }
0 commit comments