-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender-angularplayground.html
143 lines (122 loc) · 4.13 KB
/
render-angularplayground.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<style>
/* Content */
#content {
background: #F4F5F7;
bottom: 0;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
/* Loader */
.loader {
animation: spin 1s infinite linear;
border-radius: 50%;
border: solid 4px #ddd;
border-top-color: #999;
height: 24px;
left: 50%;
margin-left: -12px;
margin-top: -12px;
position: absolute;
top: 50%;
width: 24px;
z-index: 1;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Embed */
.embed__content {
border: none;
margin: 0;
max-width: 100%;
position: relative;
z-index: 2;
}
.embed a,
.embed a:visited {
box-sizing: border-box;
background: #f5f5f5;
border: 1px solid #ccc;
border-radius: 3.01px;
color: #333 !important;
cursor: pointer;
display: none;
font-family: Arial, sans-serif;
font-size: 14px;
font-variant: normal;
font-weight: normal;
height: 2.14285714em;
line-height: 1.42857143;
margin: 5px 0 0;
padding: 4px 10px;
text-decoration: none;
vertical-align: baseline;
white-space: nowrap;
position: relative;
}
.embed a::after {
background: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23999%22%20d%3D%22M4%2010c0%200%200.919-3%206-3v3l6-4-6-4v3c-4%200-6%202.495-6%205zM11%2012h-9v-6h1.967c0.158-0.186%200.327-0.365%200.508-0.534%200.687-0.644%201.509-1.135%202.439-1.466h-6.914v10h13v-4.197l-2%201.333v0.864z%22%3E%3C/path%3E%0A%3C/svg%3E');
content: '';
height: 16px;
max-width: 16px;
margin-left: 5px;
min-width: 16px;
}
.embed a:focus,
.embed a:hover {
background: #e9e9e9;
border-color: #999;
color: #000 !important;
text-decoration: none;
}
.embed a:active {
box-shadow: inset 0 3px 6px 0 rgba(0, 0, 0, 0.1);
background-image: none;
background: #f5f5f5;
text-decoration: none;
}
/* Content Loaded */
.content__loaded #content {
background: white;
}
.content__loaded .loader {
display: none;
}
.content__loaded .embed a,
.content__loaded .embed a:visited {
display: inline-flex;
}
</style>
</head>
<body id="body">
<div class="loader"></div>
<section id="content" class="ac-content embed"></section>
<script id="connect-loader" data-options="sizeToParent:true;hideFooter:true">
(function () {
var getUrlParam = function (param) {
var codedParam = (new RegExp(param + '=([^&]*)')).exec(window.location.search)[1];
return decodeURIComponent(codedParam);
};
var baseUrl = getUrlParam('xdm_e') + getUrlParam('cp');
var options = document.getElementById('connect-loader').getAttribute('data-options');
var script = document.createElement("script");
script.src = baseUrl + '/atlassian-connect/all.js';
if (options) {
script.setAttribute('data-options', options);
}
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
<script type="text/javascript" src="render-angularplayground.js"></script>
</body>
</html>