File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 99*/
1010
1111/* --- 1. General Variables & Container --- */
12- /* We'll use some of your original styling for consistency. */
1312: root {
1413 --table-border-color : # E7E7E7 ;
1514 --table-border-radius : 8px ;
8685}
8786
8887
88+ /* --- 5. Table Search UI & Hooks --- */
89+ /* Container (optional) placed above tables to hold a search input */
90+ .docs-content .table-search {
91+ display : flex;
92+ justify-content : flex-end;
93+ align-items : center;
94+ margin : 12px 0 ;
95+ gap : 8px ;
96+ }
97+
98+ /* Utility: hide rows when filtered out (works for mobile block rows and desktop table rows) */
99+ .docs-content .row-hidden {
100+ display : none !important ;
101+ }
102+
103+ /* Optional: subtle highlight for rows that match a search */
104+ .docs-content .row-highlight {
105+ background-color : # FFFBEA ; /* very light highlight */
106+ }
107+
108+ /* Optional: style for a single full-width "no results" row */
109+ .docs-content tr .no-results td {
110+ text-align : center;
111+ color : # 5F5F5F ;
112+ font-style : italic;
113+ }
114+
89115/* The magic: The data-label attribute becomes a visible label for every cell */
90116.docs-content td ::before {
91117 content : attr (data-label);
You can’t perform that action at this time.
0 commit comments