-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.scss
114 lines (100 loc) · 2.13 KB
/
content.scss
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// Reset
#tab-view-content-wrapper #tab-view-iframe #tab-view-modal-container {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
// Prevent body from scrolling. Use when there is overflow in body
body.tab-view-modal-open-disable-scroll-with-bar {
height: 100vh !important;
overflow-y: hidden !important;
padding-right: 15px !important; // to prevent reflow from removing scroll bar
}
// Prevent body from scrolling. Use when there is not overflow in body
body.tab-view-modal-open-disable-scroll-no-bar {
height: 100vh !important;
overflow-y: hidden !important;
}
#tab-view-modal-container {
animation: fadeIn 0.3s;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 2000000000;
background-color: rgba(0, 0, 0, 0.7);
#tab-view-modal {
position: relative;
height: 80%;
width: 80%;
margin: auto;
top: 10%;
#tab-view-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: #020202 10px 10px 4px;
border-radius: 8px;
border-style: solid;
border-color: #020202;
border-width: 2px;
}
button {
padding: 0;
z-index: 2000000001;
outline: none;
border: none;
cursor: default;
}
#tab-view-modal-close-button {
background: url("images/delete-button.png");
background-size: contain;
position: absolute;
top: 11px;
right: 7px;
width: 29px;
height: 29px;
}
#tab-view-modal-scan-button {
background: url("images/scan.svg");
background-size: contain;
position: absolute;
top: 52px;
right: 8px;
width: 26px;
height: 22px;
}
#tab-view-modal-help-button {
background: url("images/help.svg");
background-size: contain;
position: absolute;
top: 87px;
right: 14px;;
width: 14px;
height: 22px;
}
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyFrames fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}