• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15.trace-info-page {
16  overflow-y: auto;
17  overflow-x: hidden;
18  padding: 0 20px;
19  user-select: text;
20
21  section {
22    margin: 20px auto;
23    max-width: 800px;
24    font-size: 1rem;
25    padding: 20px;
26    border-radius: 8px;
27
28    &.errors {
29      background-color: #F3E5F5;
30    }
31
32    .metric-error {
33      font-family: var(--monospace-font);
34      font-size: 12px;
35      padding: 5px;
36      word-break: break-all;
37    }
38
39    h2 {
40      font-family: 'Raleway', sans-serif;
41      font-weight: 400;
42      letter-spacing: 0.25px;
43      font-size: 2rem;
44      margin-bottom: 1rem;
45    }
46
47    h3 {
48      font-size: 0.9rem;
49      font-weight: 400;
50      line-height: 1.25rem;
51      margin: 10px 0;
52      color: #333;
53    }
54
55    .contextual-help {
56      font-size: 18px;
57      margin-left: 10px;
58      color: #43a047;
59      cursor: default;
60    }
61
62    table {
63      border-spacing: 4px 1px;
64
65      thead td {
66        margin-bottom: 5px;
67        padding-bottom: 5px;
68        border-bottom: 1px solid #333;
69        font-weight: 500;
70      }
71      tr td {
72        min-height: 20px;
73      }
74
75      tbody {
76        tr:nth-child(2n + 1) td {
77          background-color: rgba(0, 0, 0, 0.04);
78        }
79
80        td {
81          font-family: var(--monospace-font);
82          font-size: 12px;
83          padding: 5px;
84          word-break: break-all;
85          white-space: pre-wrap;
86          &:first-of-type {
87            font-weight: 800;
88          }
89        }
90      }
91    }
92  }
93}
94