File size: 4,100 Bytes
89af3b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
816fa8a
 
 
 
89af3b2
 
 
816fa8a
 
 
89af3b2
 
816fa8a
 
 
 
 
 
89af3b2
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
.home-recents-bar:has(.home-find-toolbar) {
  justify-content: flex-start;
  margin-bottom: var(--lp-section-gap);
}

.home-layout-toggle.home-find-toolbar {
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-width: 0;
  box-sizing: border-box;
  padding: calc(var(--lp-home-pagination-gap) / 2);
  border: var(--lp-hairline-width) solid var(--lp-line);
  border-radius: var(--lp-r-md);
  background: var(--lp-surface);
}

.home-find-layout {
  display: contents;
}

.home-find-toolbar .home-find-layout {
  display: inline-flex;
  flex-wrap: wrap;
  flex: none;
  align-items: center;
  gap: calc(var(--lp-home-pagination-gap) / 2);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-inline-start: calc(var(--lp-home-pagination-gap) / 2);
  border-inline-start: var(--lp-hairline-width) solid var(--lp-line);
}

.home-find-toolbar .home-layout-btn {
  height: var(--lp-home-pagination-control-size);
}

.home-layout-toggle.home-find-toolbar .home-layout-btn:disabled {
  opacity: var(--lp-home-disabled-opacity);
  cursor: not-allowed;
}

.home-find-search {
  display: flex;
  align-items: center;
  gap: var(--lp-home-pagination-gap);
  flex: 1 1 var(--lp-home-tile-min-width);
  min-width: 0;
  height: var(--lp-home-pagination-control-size);
  box-sizing: border-box;
  padding-inline: calc(var(--lp-home-pagination-gap) * 2);
  border: 0;
  border-radius: var(--lp-r-sm);
  background: transparent;
  color: var(--lp-muted);
}

.home-find-search .st-chip-glyph {
  flex: none;
  width: var(--lp-home-grid-gap);
  height: var(--lp-home-grid-gap);
  fill: none;
  stroke: currentColor;
}

.home-find-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lp-ink);
  font: inherit;
  font-size: var(--lp-fs-xs);
}

.home-find-input::placeholder {
  color: var(--lp-muted);
}

.home-find-search:focus-within {
  outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-blue-deep);
  outline-offset: calc(var(--lp-hairline-width) * -1);
}

.home-find-input:focus-visible {
  outline: none;
}

.home-find-sort {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--lp-home-pagination-gap) * 2);
  height: var(--lp-home-pagination-control-size);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding-inline: calc(var(--lp-home-pagination-gap) * 2);
  border-inline-start: var(--lp-hairline-width) solid var(--lp-line);
  border-radius: var(--lp-r-sm);
  color: var(--lp-muted);
  font-size: var(--lp-fs-2xs);
  cursor: pointer;
}

.home-find-sort > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-find-sort:hover,
.home-find-sort[aria-expanded=true] {
  background: var(--lp-surface-2);
}

.home-find-sort:focus-visible {
  outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-blue-deep);
  outline-offset: calc(var(--lp-hairline-width) * -1);
}

.home-find-caret {
  flex: none;
  width: var(--lp-home-pagination-gap);
  height: var(--lp-home-pagination-gap);
  border-right: var(--lp-hairline-width) solid currentColor;
  border-bottom: var(--lp-hairline-width) solid currentColor;
  transform: rotate(45deg);
}

.home-find-check {
  display: inline-flex;
  align-items: center;
  width: var(--lp-home-grid-gap);
}

/* The Data grid's pager keeps its own look. Home sets its distance from the tiles and centres it (owner correction). */
.home-paged-grid + .cg-pager {
  margin-top: var(--lp-section-gap);
  padding-top: var(--lp-home-grid-gap);
  justify-content: center;
}

/* Every tile in a grid row takes the row's height: the cell stretches and each tile fills it. */
.home-paged-grid.is-grid {
  align-items: stretch;
}

.home-paged-grid.is-grid > .home-tile,
.home-paged-grid.is-grid > .st-tilewrap,
.home-paged-grid.is-grid > .home-data-tile,
.home-paged-grid.is-grid > .home-data-tile > .st-tilewrap {
  align-self: stretch;
  box-sizing: border-box;
}