forked from arkime/arkimeweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
add-to-calendar.css
126 lines (104 loc) · 8.4 KB
/
add-to-calendar.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
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
/* --------------------
this css is embedded in the script in
minified version. it is here for reference
only
-------------------- */
.add-to-calendar {
position: relative;
text-align: left;
}
.add-to-calendar > * {
display:none;
}
.add-to-calendar > .add-to-calendar-widget {
display:block;
}
.add-to-calendar-label {
cursor: pointer;
}
.add-to-calendar-checkbox + div.add-to-calendar-dropdown {
display: none;
margin-left: 20px;
}
.add-to-calendar-checkbox:checked + div.add-to-calendar-dropdown {
display: block;
}
input[type=checkbox].add-to-calendar-checkbox {
position: absolute;
visibility:hidden;
}
.add-to-calendar-checkbox + div.add-to-calendar-dropdown a {
cursor:pointer;
display:block;
}
.add-to-calendar-checkbox + div.add-to-calendar-dropdown a:before {
width: 16px;
height: 16px;
display: inline-block;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAQCAYAAACIoli7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wM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pl58NHMK5FCT88diaSGi4DFYnTHvDkgTUyl/8IMABtKh8piZwIuwAAAABJRU5ErkJggg==);
margin-right: .5em;
content: ' ';
}
.icon-ical:before {
background-position: -68px 0;
}
.icon-outlook:before {
/*this is the default icon*/
}
.icon-off365:before {
/*this is the default icon*/
}
.icon-yahoo:before {
background-position: -36px +4px;
}
.icon-google:before {
background-position: -52px 0;
}
/* --------------------
prettify
-------------------- */
.add-to-calendar-widget {
font-family:sans-serif;
margin: 1em 0;
position:relative;
}
.add-to-calendar-label {
display: inline-block;
background-color: white;
background-image: url(data:image/vndmicrosofticon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/wAAAAAAAAAAVlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/AAAAAFZWVv9WVlb///////////9WVlb///////////9WVlb///////////9WVlb///////////9WVlb/VlZW/wAAAABWVlb/VlZW////////////VlZW////////////VlZW////////////VlZW////////////VlZW/1ZWVv8AAAAAVlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/AAAAAFZWVv9WVlb///////////9WVlb///////////9WVlb///////////9WVlb///////////9WVlb/VlZW/wAAAABWVlb/VlZW////////////VlZW////////////VlZW////////////VlZW////////////VlZW/1ZWVv8AAAAAVlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/AAAAAFZWVv9WVlb///////////9WVlb///////////9WVlb///////////9WVlb///////////9WVlb/VlZW/wAAAABWVlb/VlZW////////////VlZW////////////VlZW////////////VlZW////////////VlZW/1ZWVv8AAAAAVlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/AAAAAFZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/1ZWVv9WVlb/VlZW/wAAAAAAAAAAVlZW/1ZWVv///////////1ZWVv9WVlb/VlZW/1ZWVv9WVlb///////////9WVlb/VlZW/wAAAAAAAAAAAAAAAAAAAABWVlb///////////9WVlb/AAAAAAAAAAAAAAAAVlZW////////////VlZW/wAAAAAAAAAAAAAAAAAAAAAAAAAAVlZW/1ZWVv9WVlb/VlZW/wAAAAAAAAAAAAAAAFZWVv9WVlb/VlZW/1ZWVv8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==);
background-position: 10px 45%;
background-repeat:no-repeat;
padding: 1em 1em 1em 40px;
background-size: 20px 20px;
border-radius: 3px;
box-shadow: 0 0 0 0.5px rgba(50, 50, 93, .17),
0 2px 5px 0 rgba(50, 50, 93, .1),
0 1px 1.5px 0 rgba(0, 0, 0, .07),
0 1px 2px 0 rgba(0, 0, 0, .08),
0 0 0 0 transparent!important;
}
.add-to-calendar-dropdown {
position: absolute;
z-index: 99;
background-color: white;
top: 0;
left:0;
padding: 1em;
margin:0!important;
border-radius: 3px;
box-shadow: 0 0 0 0.5px rgba(50, 50, 93, .17),
0 2px 5px 0 rgba(50, 50, 93, .1),
0 1px 1.5px 0 rgba(0, 0, 0, .07),
0 1px 2px 0 rgba(0, 0, 0, .08),
0 0 0 0 transparent!important;
}
.add-to-calendar-dropdown a {
display: block;
line-height: 1.75em;
text-decoration: none;
color: inherit;
opacity:.7;
}
.add-to-calendar-dropdown a:hover {
opacity:1;
}