1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-12 08:54:05 +02:00

Icon view style updates.

This commit is contained in:
Lars Jung
2014-11-20 03:15:44 +01:00
parent 0ef346e6c9
commit 4dec0ad0ae
3 changed files with 16 additions and 12 deletions

View File

@@ -6,8 +6,10 @@
&.item { &.item {
a, a:active, a:visited { a, a:active, a:visited {
width: @size * 2; // width: @size * 2;
height: @size + 72px; // height: @size + 72px;
width: @size * 4/3;
height: @size + 22px;
} }
} }
@@ -56,8 +58,8 @@
.label { .label {
text-align: center; text-align: center;
word-wrap: break-word; // word-wrap: break-word;
white-space: normal; // white-space: normal;
} }
.date, .size { .date, .size {

View File

@@ -131,13 +131,14 @@
} }
.thumb { .thumb {
box-shadow: 0 0 0 1px rgba(0,0,0,0.12); // box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
} }
&.rational { &.rational {
.thumb { .thumb {
padding: 2px; // padding: 2px;
border-radius: 3px; // border-radius: 3px;
} }
} }
} }

View File

@@ -2,11 +2,12 @@ modulejs.define('ext/thumbnails', ['_', 'core/settings', 'core/event', 'core/ser
var settings = _.extend({ var settings = _.extend({
enabled: false, enabled: false,
img: ['bmp', 'gif', 'ico', 'image', 'jpg', 'png'], img: ['img-bmp', 'img-gif', 'img-ico', 'img-jpg', 'img-png'],
mov: ['video'], mov: ['vid-avi', 'vid-flv', 'vid-mkv', 'vid-mov', 'vid-mp4', 'vid-mpg', 'vid-webm'],
doc: ['pdf', 'ps'], doc: ['x-pdf', 'x-ps'],
delay: 1000, delay: 1,
size: 96 size: 128,
exif: true
}, allsettings.thumbnails); }, allsettings.thumbnails);