blob: 0bf3a88e68eede4844267c7c644d5de7f22a254b (
plain)
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
|
// Copyright 2023 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
import { css } from 'lit';
export const styles = css`
* {
box-sizing: border-box;
}
:host {
display: flex;
flex-direction: column;
gap: 2rem;
height: var(--sys-log-viewer-height);
width: 100%;
/* Material Web properties */
--md-icon-font: 'Material Symbols Rounded';
--md-icon-size: 1.25rem;
--md-filled-button-label-text-type: 'Roboto Flex', Arial, sans-serif;
--md-outlined-button-label-text-type: 'Roboto Flex', Arial, sans-serif;
--md-icon-button-unselected-icon-color: var(
--md-sys-color-on-surface-variant
);
--md-icon-button-unselected-hover-icon-color: var(
--md-sys-color-on-primary-container
);
--md-filled-button-container-color: var(--sys-log-viewer-color-primary);
/* Log View */
--sys-log-viewer-height: 100%;
--sys-log-viewer-view-outline-width: 1px;
--sys-log-viewer-view-corner-radius: 0.5rem;
/* Log List */
--sys-log-viewer-table-cell-padding: 0.375rem 0.75rem;
--sys-log-viewer-table-cell-icon-size: 1.125rem;
}
.grid-container {
display: grid;
grid-gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
height: 100%;
overflow: hidden;
}
.add-button {
width: 8rem;
height: 2rem;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
`;
|