Dotclear

source: admin/style/jsUpload/style.css @ 1166:5a63ea323db3

Revision 1166:5a63ea323db3, 2.0 KB checked in by Nicolas <nikrou77@…>, 12 years ago (diff)

[jsUpload] button clean only clean already upload files
button cancel and clean are hidden when they are not needed
button start is hidden by default

Line 
1.enhanced_uploader .button {
2  display: inline-block;
3  *display: inline;
4  border-radius: .2em;
5  background: #2373A8;
6  background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
7  background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
8  outline: none;
9  border: 1px solid #2373A8;
10  text-decoration: none;
11  text-shadow: 0 1px 1px rgba(0,0,0,.3);
12  text-align: center;
13  cursor: pointer;
14  color: #fff;
15  margin-right: 4px;
16  padding: .1em .5em 0 .5em;
17  font-size: 1em;
18  float: left;
19}
20
21.enhanced_uploader .button:hover {
22  background: #2373A8;
23  border: 1px solid #2C8FD1;
24}
25
26.enhanced_uploader .cancel, .enhanced_uploader .clean, .enhanced_uploader .start {
27  margin-top: 0;
28}
29
30.enhanced_uploader #upfile {
31  width: 0;
32  height: 0;
33  visibility: hidden;
34  margin: 0;
35  opacity: 0;
36  filter: alpha(opacity=0);
37  cursor: pointer;
38}
39
40.button.clean, .button.cancel, .button.add, .enhanced_uploader .fileupload-buttonbar .button.start {
41  display: none;
42}
43
44.enhanced_uploader .button.add {
45  display: inline-block;
46}
47
48.enhanced_uploader .max-size {
49  display: block;
50}
51
52.enhanced_uploader .one-file {
53  display: none;
54}
55
56label span.one-file {
57  display: inline;
58}
59
60/* files */
61.upload-msg {
62  font-weight: bold;
63}
64
65.upload-msg.upload-error {
66  color: #c00;
67}
68
69.upload-files {
70  padding: 0 0.5em;
71  margin: 10px 0;
72}
73
74.upload-file {
75  margin: 0 0 8px 0;
76  position: relative;
77}
78
79.upload-fileinfo {
80  margin-left: 16px;
81}
82
83.upload-fileinfo .upload-filecancel {
84  display: block;
85  margin-top: 3px;
86  width: 20px;
87  height: 20px;
88  background: transparent url("cancel.png") no-repeat left top;
89  text-indent: -1000px;
90  cursor: pointer;
91  float: left;
92}
93
94.upload-filemsg {
95  font-weight: bold;
96  color: green;
97}
98
99.upload-filemsg.upload-error {
100  color: #c00;
101}
102
103.upload-progress {
104  padding: 0 1em;
105}
106
107.upload-progress div {
108  height: 10px;
109  width: 0;
110  font-size: 0.8em;
111  line-height: 1em;
112  height: 1em;
113  padding: .2em 0;
114  text-align: right;
115  background: green url(loader.png) repeat-x left top;
116  color: white;
117  font-weight: bold;
118  border-radius: 2px;
119}
Note: See TracBrowser for help on using the repository browser.

Sites map