1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-09 07:16:40 +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 {
a, a:active, a:visited {
width: @size * 2;
height: @size + 72px;
// width: @size * 2;
// height: @size + 72px;
width: @size * 4/3;
height: @size + 22px;
}
}
@@ -56,8 +58,8 @@
.label {
text-align: center;
word-wrap: break-word;
white-space: normal;
// word-wrap: break-word;
// white-space: normal;
}
.date, .size {

View File

@@ -131,13 +131,14 @@
}
.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 {
.thumb {
padding: 2px;
border-radius: 3px;
// padding: 2px;
// border-radius: 3px;
}
}
}

View File

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