blob: d5352bbea214058a711dd416ae47720dc13ce71e (
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
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
.profiler-dialog__frame {
border: none;
height: 100%;
width: 100%;
}
/*
* The current layout of the dialog header is
*
* +-----------------------------+---+
* | dialog title (auto) | X |
* +-----------------------------+---+
*/
.profiler-dialog__header {
align-items: center;
background-color: var(--popup-header-background-color);
color: var(--popup-header-color);
display: grid;
grid-template-columns: 1fr max-content;
padding: var(--base-unit);
}
.profiler-dialog__header__title {
margin-inline-start: calc(var(--base-unit) * 2);
/* Reset <h1> styles */
font-size: 15px;
font-weight: normal;
}
.profiler-dialog__inner {
background-color: var(--box-background);
display: grid;
grid-template-rows: max-content auto;
max-height: calc(100% - calc(var(--base-unit) * 25)); /* 100% - 100px */
position: fixed;
}
.profiler-dialog__inner--medium {
width: calc(var(--base-unit) * 150); /* 600px */
height: calc(var(--base-unit) * 150); /* 600px */
}
.profiler-dialog__inner--large {
width: calc(var(--base-unit) * 200); /* 800px */
height: calc(var(--base-unit) * 175); /* 700px */
}
.profiler-dialog__mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--grey-90-a60);
display: flex;
align-items: center;
justify-content: center;
}
|