1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/******************************************************************************
*
* Copyright (c) 2017, the Perspective Authors.
*
* This file is part of the Perspective library, distributed under the terms of
* the Apache License 2.0. The full license can be found in the LICENSE file.
*
*/
:host {
:-webkit-calendar-picker-indicator {
filter: var(--calendar--filter, none);
}
#top_panel {
.rrow {
.input-sizer {
display: inline-grid;
align-items: center;
position: relative;
margin-top: 1px;
font-size: 12px;
min-width: 45px;
overflow: hidden;
height: 16px;
&:after,
input,
textarea {
width: auto;
grid-area: 1 / 1;
font-family: inherit;
}
input,
textarea {
grid-area: 1 / 1;
padding: 0;
border: none;
border-bottom: 1px solid var(--inactive--color, #ccc);
background: transparent;
font-size: 12px;
color: inherit;
}
&:after {
content: attr(data-value) " ";
color: var(--inactive--color, inherit);
visibility: hidden;
white-space: nowrap;
padding-right: 12px;
}
&.num-filter {
input,
textarea {
width: 100%;
position: absolute;
}
}
&.num-filter:after {
padding-right: 25px;
}
input.date-filter {
width: 120px;
}
input.datetime-filter {
width: 230px;
}
input.time-filter {
grid-area: 1/2;
}
&:focus-within {
textarea:focus,
input:focus {
outline: none;
}
}
}
}
// The filter comparator
#filter {
.pivot-column {
.dropdown-width-container {
height: 100%;
flex: 0 0 auto;
select {
padding-right: 12px;
padding-left: 4px;
max-width: 100%;
position: absolute;
height: 100%;
}
}
}
}
}
}