|
15 | 15 | */ |
16 | 16 |
|
17 | 17 | .bigframes-widget { |
18 | | - display: flex; |
19 | | - flex-direction: column; |
| 18 | + display: flex; |
| 19 | + flex-direction: column; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .bigframes-widget .table-container { |
23 | | - max-height: 620px; |
24 | | - overflow: auto; |
| 23 | + max-height: 620px; |
| 24 | + overflow: auto; |
25 | 25 | } |
26 | 26 |
|
27 | 27 | .bigframes-widget .footer { |
28 | | - align-items: center; |
29 | | - /* TODO(b/460861328): We will support dark mode in a media selector once we |
30 | | - * determine how to override the background colors as well. */ |
31 | | - color: black; |
32 | | - display: flex; |
33 | | - font-family: |
34 | | - "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", sans-serif; |
35 | | - font-size: 0.8rem; |
36 | | - justify-content: space-between; |
37 | | - padding: 8px; |
| 28 | + align-items: center; |
| 29 | + /* TODO(b/460861328): We will support dark mode in a media selector once we |
| 30 | + * determine how to override the background colors as well. */ |
| 31 | + color: black; |
| 32 | + display: flex; |
| 33 | + font-family: |
| 34 | + "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", sans-serif; |
| 35 | + font-size: 0.8rem; |
| 36 | + justify-content: space-between; |
| 37 | + padding: 8px; |
38 | 38 | } |
39 | 39 |
|
40 | 40 | .bigframes-widget .footer > * { |
41 | | - flex: 1; |
| 41 | + flex: 1; |
42 | 42 | } |
43 | 43 |
|
44 | 44 | .bigframes-widget .pagination { |
45 | | - align-items: center; |
46 | | - display: flex; |
47 | | - flex-direction: row; |
48 | | - gap: 4px; |
49 | | - justify-content: center; |
50 | | - padding: 4px; |
| 45 | + align-items: center; |
| 46 | + display: flex; |
| 47 | + flex-direction: row; |
| 48 | + gap: 4px; |
| 49 | + justify-content: center; |
| 50 | + padding: 4px; |
51 | 51 | } |
52 | 52 |
|
53 | 53 | .bigframes-widget .page-indicator { |
54 | | - margin: 0 8px; |
| 54 | + margin: 0 8px; |
55 | 55 | } |
56 | 56 |
|
57 | 57 | .bigframes-widget .row-count { |
58 | | - margin: 0 8px; |
| 58 | + margin: 0 8px; |
59 | 59 | } |
60 | 60 |
|
61 | 61 | .bigframes-widget .page-size { |
62 | | - align-items: center; |
63 | | - display: flex; |
64 | | - flex-direction: row; |
65 | | - gap: 4px; |
66 | | - justify-content: end; |
| 62 | + align-items: center; |
| 63 | + display: flex; |
| 64 | + flex-direction: row; |
| 65 | + gap: 4px; |
| 66 | + justify-content: end; |
67 | 67 | } |
68 | 68 |
|
69 | 69 | .bigframes-widget .page-size label { |
70 | | - margin-right: 8px; |
| 70 | + margin-right: 8px; |
71 | 71 | } |
72 | 72 |
|
73 | 73 | .bigframes-widget table { |
74 | | - border-collapse: collapse; |
75 | | - /* TODO(b/460861328): We will support dark mode in a media selector once we |
76 | | - * determine how to override the background colors as well. */ |
77 | | - color: black; |
78 | | - text-align: left; |
| 74 | + border-collapse: collapse; |
| 75 | + /* TODO(b/460861328): We will support dark mode in a media selector once we |
| 76 | + * determine how to override the background colors as well. */ |
| 77 | + color: black; |
| 78 | + text-align: left; |
79 | 79 | } |
80 | 80 |
|
81 | 81 | .bigframes-widget th { |
82 | | - background-color: var(--colab-primary-surface-color, var(--jp-layout-color0)); |
83 | | - padding: 0; |
84 | | - position: sticky; |
85 | | - top: 0; |
86 | | - z-index: 1; |
| 82 | + background-color: var(--colab-primary-surface-color, var(--jp-layout-color0)); |
| 83 | + padding: 0; |
| 84 | + position: sticky; |
| 85 | + text-align: left; |
| 86 | + top: 0; |
| 87 | + z-index: 1; |
87 | 88 | } |
88 | 89 |
|
89 | 90 | .bigframes-widget .bf-header-content { |
90 | | - box-sizing: border-box; |
91 | | - height: 100%; |
92 | | - overflow: auto; |
93 | | - padding: 0.5em; |
94 | | - resize: horizontal; |
95 | | - width: 100%; |
| 91 | + box-sizing: border-box; |
| 92 | + height: 100%; |
| 93 | + overflow: auto; |
| 94 | + padding: 0.5em; |
| 95 | + resize: horizontal; |
| 96 | + width: 100%; |
96 | 97 | } |
97 | 98 |
|
98 | 99 | .bigframes-widget th .sort-indicator { |
99 | | - padding-left: 4px; |
100 | | - visibility: hidden; |
| 100 | + padding-left: 4px; |
| 101 | + visibility: hidden; |
101 | 102 | } |
102 | 103 |
|
103 | 104 | .bigframes-widget th:hover .sort-indicator { |
104 | | - visibility: visible; |
| 105 | + visibility: visible; |
105 | 106 | } |
106 | 107 |
|
107 | 108 | .bigframes-widget button { |
108 | | - cursor: pointer; |
109 | | - display: inline-block; |
110 | | - text-align: center; |
111 | | - text-decoration: none; |
112 | | - user-select: none; |
113 | | - vertical-align: middle; |
| 109 | + cursor: pointer; |
| 110 | + display: inline-block; |
| 111 | + text-align: center; |
| 112 | + text-decoration: none; |
| 113 | + user-select: none; |
| 114 | + vertical-align: middle; |
114 | 115 | } |
115 | 116 |
|
116 | 117 | .bigframes-widget button:disabled { |
117 | | - opacity: 0.65; |
118 | | - pointer-events: none; |
| 118 | + opacity: 0.65; |
| 119 | + pointer-events: none; |
119 | 120 | } |
120 | 121 |
|
121 | 122 | .bigframes-widget .bigframes-error-message { |
122 | | - background-color: #fbe; |
123 | | - border: 1px solid red; |
124 | | - border-radius: 4px; |
125 | | - font-family: |
126 | | - "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", sans-serif; |
127 | | - font-size: 14px; |
128 | | - margin-bottom: 8px; |
129 | | - padding: 8px; |
| 123 | + background-color: #fbe; |
| 124 | + border: 1px solid red; |
| 125 | + border-radius: 4px; |
| 126 | + font-family: |
| 127 | + "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", sans-serif; |
| 128 | + font-size: 14px; |
| 129 | + margin-bottom: 8px; |
| 130 | + padding: 8px; |
130 | 131 | } |
131 | 132 |
|
132 | 133 | .bigframes-widget .cell-align-right { |
133 | | - text-align: right; |
| 134 | + text-align: right; |
134 | 135 | } |
135 | 136 |
|
136 | 137 | .bigframes-widget .cell-align-left { |
137 | | - text-align: left; |
| 138 | + text-align: left; |
| 139 | +} |
| 140 | + |
| 141 | +.bigframes-widget .null-value { |
| 142 | + color: gray; |
138 | 143 | } |
139 | 144 |
|
140 | 145 | .bigframes-widget td { |
141 | | - padding: 0.5em; |
| 146 | + padding: 0.5em; |
142 | 147 | } |
143 | 148 |
|
144 | 149 | .bigframes-widget tr:hover td, |
145 | 150 | .bigframes-widget td.row-hover { |
146 | | - background-color: var(--colab-hover-surface-color, var(--jp-layout-color2)); |
| 151 | + background-color: var(--colab-hover-surface-color, var(--jp-layout-color2)); |
147 | 152 | } |
0 commit comments