-
Notifications
You must be signed in to change notification settings - Fork 2
/
drawio-renderer.css
53 lines (48 loc) · 1.17 KB
/
drawio-renderer.css
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
.drawio-diagram-loading{
position: relative;
}
.drawio-diagram-loading:before{
content: "( )";
text-align: center;
display: block;
-webkit-animation:spin 2s linear infinite;
-moz-animation:spin 2s linear infinite;
animation:spin 2s linear infinite;
position: absolute;
font-size: 20px;
font-family: monospace;
line-height: 25px;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
.drawio-diagram-loading:after{
content: "Loading diagram...";
display: block;
margin-left: 35px;
line-height: 25px;
}
.drawio-diagram-error{
color: #000000;
border: 1px solid #ff0000;
border-radius: 3px;
padding: 5px;
background: #ff8888;
margin-bottom: 10px;
position: relative;
text-indent: 35px;
}
.drawio-diagram-error:before{
content: "(!)";
text-align: center;
display: block;
position: absolute;
font-size: 20px;
font-family: monospace;
line-height: 25px;
color: #ff0000;
text-indent: 0px;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform:rotate(45deg);
}