-
Notifications
You must be signed in to change notification settings - Fork 13
/
style.css
97 lines (84 loc) · 1.71 KB
/
style.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
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
.dialog-widget.background {
position: fixed;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 9999;
width: 100%;
height: 100%;
}
.dialog-widget.alert, .dialog-widget.confirm, .dialog-widget.prompt {
position: fixed;
left: calc(50% - 160px);
width: 300px;
top: calc(50% - 115px);
border: solid 1px #ddd;
background: whitesmoke;
z-index: 10000;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
color: black;
padding: 15px 10px 15px 10px;
font-family: arial;
}
.dialog-widget img {
width: 40px;
height: 40px;
position: fixed;
}
.dialog-widget img[src=""] {
display: none;
}
.dialog-widget.alert .divider, .dialog-widget.alert input, .dialog-widget.alert .cancel {
display: none;
}
.dialog-widget.confirm input {
display: none;
}
.dialog-widget.alert .ok {
margin-top: 15px;
float: right;
}
.dialog-widget input {
padding: 8px;
-webkit-appearance: none;
border: solid 1px #ccc;
border-radius: 5px;
margin: 15px 5px 5px 5px;
width: calc(100% - 16px - 2px - 10px);
font-size: 12px;
}
.dialog-widget .url {
text-align: center;
font-size: 18px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-weight: bold;
}
.dialog-widget[data-icon="true"] .url {
margin-left: 40px;
}
.dialog-widget .title {
text-align: center;
display:block;
font-size: 14px;
}
.dialog-widget .divider {
border-top: solid 1px #ddd;
padding: 0;
margin: 15px 0 15px -10px;
width: calc(100% + 20px);
}
.dialog-widget .ok, .dialog-widget .cancel {
color: #005AFF;
padding: 8px;
width: calc(50% - 5px);
font-size: 13px;
background-color: #EBEBF1;
border: none;
border-radius: 5px;
}
.dialog-widget .ok {
margin-left: 5px;
}