main
css 189 lines 3.5 KB
Raw
1 .Profiler {
2 width: 100%;
3 height: 100%;
4 position: relative;
5 display: flex;
6 flex-direction: row;
7 align-items: stretch;
8 font-family: var(--font-family-sans);
9 font-size: var(--font-size-sans-normal);
10 background-color: var(--color-background);
11 color: var(--color-text);
12 }
13
14 .Profiler, .Profiler * {
15 box-sizing: border-box;
16 -webkit-font-smoothing: var(--font-smoothing);
17 }
18
19 .LeftColumn {
20 display: flex;
21 flex-direction: column;
22 flex: 2 1 200px;
23 border-top: 1px solid var(--color-border);
24 }
25
26 .RightColumn {
27 display: flex;
28 flex-direction: column;
29 flex: 1 1 100px;
30 max-width: 300px;
31 overflow-x: hidden;
32 border-left: 1px solid var(--color-border);
33 border-top: 1px solid var(--color-border);
34 }
35
36 .Content {
37 position: relative;
38 flex: 1 1 auto;
39 display: flex;
40 flex-direction: column;
41 align-items: center;
42 justify-content: center;
43 }
44
45 .Column {
46 display: flex;
47 flex-direction: column;
48 align-items: center;
49 justify-content: center;
50 padding: 0 1rem;
51 }
52
53 .Paragraph {
54 text-align: center;
55 }
56
57 .Row {
58 display: flex;
59 flex-direction: row;
60 align-items: center;
61 justify-content: center;
62 }
63
64 .Header {
65 font-size: var(--font-size-sans-large);
66 font-weight: bold;
67 margin-bottom: 0.25rem;
68 }
69
70 .Description {
71 max-width: 100%;
72 text-align: center;
73 color: var(--color-dim);
74 }
75
76 .DescriptionLink {
77 color: var(--color-link);
78 text-decoration: underline;
79 }
80
81 .PerformanceTracksCard {
82 margin-top: 1.5rem;
83 max-width: 80%;
84 padding: 0.625rem 0.75rem;
85 background: var(--color-background-hover);
86 /* Squarer than the CTA's pill, so the two don't read as the same control. */
87 border-radius: 0.25rem;
88 text-align: center;
89 }
90
91 .CTAButton {
92 margin-top: 0.5rem;
93 padding: 0.375rem 1rem;
94 border: none;
95 border-radius: 1rem;
96 background: var(--color-background-hover);
97 color: var(--color-button-focus);
98 font-family: inherit;
99 font-size: var(--font-size-sans-normal);
100 font-weight: bold;
101 cursor: pointer;
102 }
103
104 .CTAButton:hover {
105 background: var(--color-background-selected);
106 color: var(--color-text-selected);
107 }
108
109 .CTAButton:focus-visible {
110 outline: 2px solid var(--color-button-active);
111 outline-offset: 2px;
112 }
113
114 .Toolbar {
115 height: 2.25rem;
116 padding: 0 0.25rem;
117 flex: 0 0 auto;
118 display: flex;
119 align-items: center;
120 border-bottom: 1px solid var(--color-border);
121 }
122
123 .VRule {
124 height: 20px;
125 width: 1px;
126 border-left: 1px solid var(--color-border);
127 padding-left: 0.25rem;
128 margin-left: 0.25rem;
129 }
130
131 .Spacer {
132 flex: 1;
133 }
134
135 .StopRecordingButton {
136 font-size: var(--font-size-sans-large);
137 padding: 0.5rem;
138 }
139
140 .ContentFallback {
141 width: 100%;
142 height: 100%;
143 display: flex;
144 align-items: center;
145 justify-content: center;
146 font-size: var(--font-size-sans-large);
147 color: var(--color-dim);
148 }
149
150 .SnapshotSelectorFallback {
151 height: 100%;
152 padding-left: 0.5rem;
153 display: flex;
154 align-items: center;
155 justify-content: center;
156 font-size: var(--font-size-sans-large);
157 color: var(--color-dim);
158 }
159
160 .Link {
161 color: var(--color-button);
162 }
163
164 .TimelineSearchInputContainer {
165 flex: 1 1;
166 display: flex;
167 align-items: center;
168 }
169
170 /* Pinned to the bottom of the main view (like a Chrome-style find bar). */
171 .SearchInputOverlay {
172 position: absolute;
173 left: 0;
174 right: 0;
175 bottom: 0;
176 z-index: 3;
177 display: flex;
178 align-items: center;
179 padding: 0.25rem 0.5rem;
180 background-color: var(--color-background);
181 border-top: 1px solid var(--color-border);
182 box-shadow: 0 -2px 8px var(--color-shadow);
183 }
184
185 .LearnMoreLink {
186 color: var(--color-link);
187 margin-left: 0.25rem;
188 margin-right: 0.25rem;
189 }