-
Notifications
You must be signed in to change notification settings - Fork 2
/
frame-markup.html
55 lines (49 loc) · 1.27 KB
/
frame-markup.html
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
<style>
.orama-window {
position: absolute;
margin: 0 auto;
display: block;
height: calc(var(--orama-window-height) + var(--orama-title-size));
width: var(--orama-window-width);
bottom: 0;
right: 0;
left: 0;
top: calc(50% - (var(--orama-title-size) / 2));
background-color: var(--orama-window-color);
overflow: hidden;
transform: translateY(-50%);
border-radius: var(--orama-title-radius);
}
.orama-title {
position: absolute;
width: 100%;
height: var(--orama-title-size);
background-color: var(--orama-window-color);
}
.orama-title div {
position: relative;
display: inline-block;
width: var(--orama-button-size);
height: var(--orama-button-size);
margin-right: calc(var(--orama-button-size) / 3);
top: 50%;
transform: translate(calc(var(--orama-button-size) * 1.3), -50%);
border-radius: 100%;
}
.orama-title div:nth-child(1) {
background-color: var(--orama-close-color);
}
.orama-title div:nth-child(2) {
background-color: var(--orama-max-color);
}
.orama-title div:nth-child(3) {
background-color: var(--orama-min-color);
}
</style>
<div class="orama-window">
<div class="orama-title">
<div></div>
<div></div>
<div></div>
</div>
</div>