diff --git a/public/theme/css/default.css b/public/theme/css/default.css index 7b93e38..116756f 100644 --- a/public/theme/css/default.css +++ b/public/theme/css/default.css @@ -144,25 +144,32 @@ div.paste { text-align: justify; } -a.zerobin { - padding-left: 18px; - background: transparent no-repeat scroll left center; - font-size: 12pt; +/* filebin */ +table.filebin.limits { + color: gray; } -a.zerobin.create { background-image: url('/theme/img/create.png'); } -a.zerobin.download { background-image: url('/theme/img/download.png'); } -a.zerobin.upload { background-image: url('/theme/img/upload.png'); } -a.zerobin.latest { background-image: url('/theme/img/images.png'); } +table.filebin.files tr:nth-of-type(even) { + background-color: #EAEAEA; +} -/* imgbin */ -div.img-preview { - margin: 5px; - display: inline-block; - vertical-align: top; +table.filebin.files td { + padding: 3px 5px; } span.filebin.error { font-size: 14pt; color: red; } + +/* common buttons for zerobin & filebin */ +a.btn { + padding-left: 18px; + background: transparent no-repeat scroll left center; + font-size: 12pt; +} + +a.btn.create { background-image: url('/theme/img/create.png'); } +a.btn.download { background-image: url('/theme/img/download.png'); } +a.btn.upload { background-image: url('/theme/img/upload.png'); } +a.btn.latest { background-image: url('/theme/img/images.png'); } diff --git a/templates/filebin/create.html.ep b/templates/filebin/create.html.ep index a67b0ff..12140e4 100644 --- a/templates/filebin/create.html.ep +++ b/templates/filebin/create.html.ep @@ -15,7 +15,7 @@ <%= select_field 'expire' => \@times %> % if (config->{filebin}->{show_latest}) { - <%= link_to l('Latest images') => "/filebin/latest", class => 'filebin latest' %> + <%= link_to l('Latest files') => "/filebin/latest", class => 'btn latest' %> % }
<%= l('Name') %> | : | <%= $file->{fname} %> |
<%= l('Size') %> | : | <%= sprintf("%.1f kb", $file->{fsize} / 1024) %> |
<%= l('Mime') %> | : | <%= $file->{fmime} %> |
<%= l('Image size') %> | : | <%= sprintf("%dx%d", $file->{res_w}, $file->{res_h}) %> |