Skip to content

Commit e6f6bd9

Browse files
committed
introduce css file
1 parent 08f391b commit e6f6bd9

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

bigframes/display/table_widget.css

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/**
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
.table-container {
18+
max-height: 500px;
19+
overflow: auto;
20+
}
21+
22+
.footer {
23+
align-items: center;
24+
display: flex;
25+
font-size: 0.8rem;
26+
}
27+
28+
.footer > * {
29+
flex: 1;
30+
}
31+
32+
.pagination {
33+
align-items: center;
34+
display: flex;
35+
flex-direction: row;
36+
gap: 4px;
37+
justify-content: center;
38+
padding: 4px;
39+
}
40+
41+
.page-size {
42+
align-items: center;
43+
display: flex;
44+
flex-direction: row;
45+
gap: 4px;
46+
justify-content: end;
47+
}
48+
49+
table {
50+
border-collapse: collapse;
51+
text-align: left;
52+
width: 100%;
53+
}
54+
55+
th {
56+
background-color: #f8f9fa;
57+
position: sticky;
58+
top: 0;
59+
z-index: 1;
60+
}
61+
62+
button {
63+
cursor: pointer;
64+
display: inline-block;
65+
text-align: center;
66+
text-decoration: none;
67+
user-select: none;
68+
vertical-align: middle;
69+
}
70+
71+
button:disabled {
72+
opacity: 0.65;
73+
pointer-events: none;
74+
}

0 commit comments

Comments
 (0)