summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/active_downloads.html
blob: 6d4303c4c382b68c471e1685a07c124fa6ae39a5 (plain)
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
196
197
198
199
200
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="icon" href="../../app/theme/downloads_favicon.png">
<style type="text/css">
*:-khtml-drag {
  background-color: rgba(238,238,238, 0.5);
}

*[draggable] {
  -khtml-user-drag: element;
  cursor: move;
}

ul.downloadlist {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.menuicon {
  margin: 20px auto auto auto;
  height: 4px;
  width: 5px;
  background: url('shared/images/active_downloads_menu.png') no-repeat;
}

.menubutton {
  float: right;
  height: 43px;
  width: 24px;
  border-left: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  cursor: pointer;
}

/* TODO(achuith): fix rtl */
html[dir=rtl] .menubutton {
  float: left;
}

.rowbg {
  border-bottom: 1px solid #CCC;
  background: -webkit-gradient(linear, left top, left bottom,
    from(#f3f3f3), to(#ebebeb), color-stop(0.8, #ededed));
}

.rowbg:hover {
  background: -webkit-gradient(linear, left top, left bottom,
    from(#fdfdfd), to(#f1f1f1), color-stop(0.8, #f5f5f5));
}

.rowbg:active {
  background: -webkit-gradient(linear, left top, left bottom,
    from(#d2e0f0), to(#dee6f0), color-stop(0.1, #e3e9f0));
}

.downloadrow {
  height: 36px;
}

.rowbutton {
  padding: 5px 5px 0 7px;
  position: relative;
  width:213px;
  height: 30px;
}

.rowbutton div.icon {
  float: left;
  margin-top: 1px;
  width: 21px;
  height: 17px;
  background-repeat: no-repeat;
}

.rowbutton div.iconwarning {
  float: left;
  margin-top: 1px;
  width: 37px;
  height: 30px;
  background: url('shared/images/icon_warning2.png') no-repeat;
}

.rowbutton span.title {
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  width: 191px;
  margin-right: -20px;
  color: #325282;
  font-size: .8em;
}

.dangerousprompt {
  margin: 0 5px 5px 3px;
  display: block;
}

.dangerousprompttext {
  font-size: .7em;
  color: #325282;
}

.confirm {
  font-size: .6em;
  text-decoration: underline;
  margin-left: 5px;
  color: #254f9b;
  cursor: pointer;
}

.progress {
  font-size: .7em;
  text-align: right;
  color: #325282;
  margin-top: 2px;
}

div.columnlist {
  width: 100%;
  top: 0;
  left: 0;
  bottom: 29px;
  position: absolute;
  background: #e8e8e8
}

span.showallfilestext {
  color: #254f9b;
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
  height: 15px;
}

div.showallfiles {
  width: 100%;
  bottom: 0;
  height: 29px;
  position: absolute;
  margin-left: -8px;
  text-align: center;
  background: #e8e8e8
}

.menu {
  margin-top: 5px;
  right: 15px;
  border-bottom-left-radius: 4px 4px;
  border-bottom-right-radius: 4px 4px;
  border-top-left-radius: 4px 4px;
  border-top-right-radius: 0px 0px;
  position: absolute;
  display: none;
  z-index: 999;
  background: -webkit-gradient(linear, left top, left bottom,
    from(#f3f3f3), to(#ebebeb), color-stop(0.8, #ededed));
  border: 1px solid rgba(0, 0, 0, 0.6);
  padding: 2px 5px 0 5px;
}

.menuitem {
  width: 100%;
  height: 20px;
  font-size: .8em;
  text-align: left;
  cursor: pointer;
  left: 0;
  color: #0D0052;
  -webkit-transition: color 1.0s ease-out ;
}

.menuitem:hover {
  text-decoration: underline;
  color: #20c;
  background: #ebeff9;
  -webkit-transition: color 0.0s ease-out ;
}

</style>
<script src="chrome://resources/js/local_strings.js"></script>
<script src="chrome://resources/js/media_common.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://active-downloads/strings.js"></script>
<script src="chrome://active-downloads/active_downloads.js"></script>
<body i18n-values=".style.fontFamily:fontfamily">
<div id="main" class="columnlist"></div>
<div id="showallfiles" class="showallfiles">
  <span id="showallfilestext" class="showallfilestext"></span>
</div>
<script src="chrome://resources/js/i18n_template.js"></script>
<script src="chrome://resources/js/i18n_process.js"></script>
</body>
</html>