forked from fl4p/WP-Filebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-filebase.css
239 lines (192 loc) · 5.7 KB
/
wp-filebase.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
/* #################### DEFAULT FILE TEMPLATE #################### */
.wpfilebase-file-default {
max-width: 420px;
padding: 5px;
margin: 10px auto 25px auto;
/* border: 1px solid #999; twenty14 adjust*/
color: #333;
text-align: left;
line-height: normal;
/*
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px; twenty14 adjust*/
cursor:pointer;
box-shadow: 1px 1px 1px #CCC;
background: #EEE;
/* gradient */
background: -moz-linear-gradient(top, #EEE 0%, #CCC 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EEE), color-stop(100%,#CCC));
background: -webkit-linear-gradient(top, #EEE 0%,#CCC 100%);
background: -o-linear-gradient(top, #EEE 0%,#CCC 100%);
background: -ms-linear-gradient(top, #EEE 0%,#CCC 100%);
background: linear-gradient(to bottom, #EEE 0%,#CCC 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
}
.wpfilebase-file-default .icon { float: left; }
.wpfilebase-file-default .icon img {
margin: 2px 0 2px 2px;
padding: 2px;
background-color: #FFF;
border: 1px solid #999;
}
.wpfilebase-file-default .filetitle {
float: left;
font-size: 10px;
margin: 0 0 4px 8px;
height: 40px;
}
.wpfilebase-file-default .filetitle a {
font-size: 18px;
text-decoration: none;
line-height: 29px;
text-shadow: 1px 1px 1px white;
}
.wpfilebase-file-default .filetitle a.postlink, .wpfilebase-file-default .info a {
text-decoration: none;
padding: 1px 4px 1px 4px;
background-color: #bbb;
border-radius: 3px;
text-shadow: none;
}
.wpfilebase-file-default .filetitle a.postlink {
margin-left: 4px;
font-size: 10px;
text-shadow: 0px 1px 1px #eee;
vertical-align: bottom;
background-color: #ccc;
}
.wpfilebase-file-default .info a {
text-transform: uppercase;
line-height: 18px;
text-shadow: 0px 1px 1px #ddd;
}
.wpfilebase-file-default .info {
float: right;
text-align: right;
font-size: 10px;
margin: 12px 8px 0 auto;
height: 50px;
padding-right: 60px;
padding-top: 3px;
background-image: url('images/down-green.png'); /* change this to ... down-gray.png ... for gray arrow */
background-repeat: no-repeat;
background-position: top right;
}
.wpfilebase-file-default .details {
clear: both;
font-size: 12px;
padding: 8px 18px 0 18px;
overflow: hidden;
}
.wpfilebase-file-default .details table, .wpfilebase-file-default .details table tr, .wpfilebase-file-default .details table tr th, .wpfilebase-file-default .details table tr td {
border: none;
border-collapse: collapse;
background: none;
}
.wpfilebase-file-default .details table {
width: 100%;
margin: 20px 0 0 0;
}
.wpfilebase-file-default .details table tr { border-top: 1px solid #bbb; }
/* #################### DEFAULT FILE TEMPLATE END #################### */
/* #################### DEFAULT CATEGORY TEMPLATE #################### */
.wpfilebase-cat-default {
width: 420px;
margin: 10px auto 25px auto;
text-align: left;
}
.wpfilebase-cat-default h3 {
font-size: 18px;
}
.wpfilebase-cat-default h3 img {
margin-left: -45px;
}
.wpfilebase-cat-default h3 a {
margin-left: 10px;
text-decoration: none;
text-shadow: 1px 1px 1px white;
}
.wpfilebase-cat-default h3 span {
font-size: 12px;
text-transform: uppercase;
font-weight: normal;
margin-left: 7px;
}
/* #################### DEFAULT CATEGORY TEMPLATE END #################### */
/* #################### OLD DEFAULT FILE TEMPLATE #################### */
.wpfilebase-attachment {
border: 2px solid #666;
color: #333;
padding: 4px;
margin: 10px;
text-align: left;
background-color: #ddd;
background-image: url('images/down.png');
background-repeat: no-repeat;
background-position: top right;
vertical-align: middle;
width: 420px;
line-height: normal;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wpfilebase-attachment-cat {
background-image: none;
}
.wpfilebase-fileicon { float: left; }
.wpfilebase-fileicon img {
margin: 2px 0 2px 2px;
padding: 2px;
background-color: #FFF;
border: 1px solid #999;
}
.wpfilebase-attachment .wpfilebase-rightcol { float: left; }
.wpfilebase-filetitle {
float: left;
font-size: 10px;
margin: 0 0 4px 8px;
height: 40px;
}
.wpfilebase-filetitle a { font-size: 16px; }
.wpfilebase-filetitle a.wpfilebase-postlink { font-size: 10px; }
.wpfilebase-fileinfo {
float: right;
text-align: left;
font-size: 10px;
margin: 0 3px 0 auto;
}
.wpfilebase-filedetails {
clear: both;
font-size: 12px;
width: 250px;
margin: 0 -50px 0 0;
padding: 0;
}
.wpfilebase-filedetails table, .wpfilebase-filedetails table tr, .wpfilebase-filedetails table tr th, .wpfilebase-filedetails table tr td {
border: none;
border-collapse: collapse;
}
.wpfilebase-filedetails table {
width: 100%;
}
.wpfilebase-filedetails td {
padding: 0 0 6px 4px;
}
.wpfilebase-filedetails table th {
vertical-align: top;
font-size: 10px;
}
/* #################### OLD DEFAULT FILE TEMPLATE END #################### */
/* #################### MISC #################### */
.wpfilebase-catselect { width: 100%; }
#wpfb-credits {
margin: 0 auto 2px auto;
text-align: center;
}
/* DOWNLOAD BUTTON */
.wpfb-dlbtn div { width:250px; height:40px; margin:0; padding:0; background:transparent url('images/dl_btn.png') no-repeat top center;}
.wpfb-dlbtn div:hover { background-image: url('images/dl_btn_hover.png'); }