forked from BYU-ARCLITE/subtitle-timeline-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimeline.css
196 lines (173 loc) · 4.74 KB
/
timeline.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
.tl-context-menu {
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
padding: 0 20px;
border-radius: 10px;
display: inline-table;
margin: 0; padding: 0; border: 0;
cursor: pointer;
white-space: nowrap;
}
.tl-context-menu li:hover > ul {
display: block;
}
.tl-context-menu ul {
left: 100%; top:-1px;
display: none;
}
.tl-menu-right ul {
right: 100% !important;
left: auto !important;
}
.tl-context-menu, .tl-context-menu ul {
position: absolute;
list-style: none;
background: #5f6975;
border-radius: 0px;
padding: 0;
margin: 0;
}
.tl-context-menu:after, .tl-context-menu ul:after {
content: ""; clear: both; display: block;
}
.tl-menu-up {
top: auto !important;
bottom: -1px !important;
}
.tl-context-menu li {
float: none;
border-top: 1px solid #6b727c;
border-bottom: 1px solid #575f6a; position: relative;
}
.tl-context-menu li:hover {
background: #4b545f;
background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
}
.tl-context-menu li a {
display: block; padding: 25px 40px;
color: #757575; text-decoration: none;
padding: 1px 4px 1px 4px;
color: #fff;
}
.tl-context-menu li a:hover {
background: #4b545f;
color: #fff;
}
.tl-toolbar-holder {
text-align: center;
margin: 5px 0;
width: auto;
overflow-x: auto;
white-space: nowrap;
}
.tl-toolbar {
background: #eee;
padding: 5px;
margin: 5px;
display: inline-block;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.tl-btn-group {
position: relative;
display: inline-block;
font-size: 0;
white-space: nowrap;
vertical-align: middle;
}
.tl-btn-group > .tl-btn:first-child {
margin-left: 0;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
}
.tl-btn-group > .tl-btn:last-child {
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
}
.tl-btn-group>.tl-btn+.tl-btn {
margin-left: -1px;
}
.tl-btn-group>.tl-btn {
position: relative;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.tl-btn {
display: inline-block;
padding: 2px 10px;
margin-bottom: 0;
font-size: 11.9px;
line-height: 20px;
color: #fff;
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
vertical-align: middle;
cursor: pointer;background-color: #363636;
background-image: -moz-linear-gradient(top,#444,#222);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));
background-image: -webkit-linear-gradient(top,#444,#222);
background-image: -o-linear-gradient(top,#444,#222);
background-image: linear-gradient(to bottom,#444,#222);
background-repeat: repeat-x;
border: 1px solid #ccc;
border-color: #222 #222 #000;
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
border-bottom-color: #b3b3b3;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}
.tl-btn.active, .tl-btn:active {
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
}
.tl-btn.disabled, .tl-btn[disabled] {
cursor: default;
background-image: none;
opacity: .65;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.tl-btn.active, .tl-btn.disabled, .tl-btn[disabled] {
color: #fff;
background-color: #222;
}
.tl-timestamp {
color: white;
background: #222;
padding: 5px;
margin: 5px;
display: inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
white-space: nowrap;
-webkit-box-shadow: inset 1px 2px 7px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.2);
-moz-box-shadow: inset 1px 2px 7px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.2);
box-shadow: inset 1px 2px 7px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.2);
/*overflow: hidden;*/
text-align: center;
text-overflow: ellipsis;
min-width: 80px;
}