mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 07:16:40 +02:00
Update PDF capture command.
This commit is contained in:
@@ -47,7 +47,6 @@
|
|||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
// padding: 6px 6px 18px 6px;
|
|
||||||
padding: 12px 8px;
|
padding: 12px 8px;
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
.transition(all 0.2s ease-in-out);
|
.transition(all 0.2s ease-in-out);
|
||||||
@@ -77,7 +76,6 @@
|
|||||||
|
|
||||||
a, a:active, a:visited {
|
a, a:active, a:visited {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
&:hover, &.hover {
|
&:hover, &.hover {
|
||||||
color: @col-hover;
|
color: @col-hover;
|
||||||
@@ -140,7 +138,6 @@
|
|||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
// box-shadow: 0 1px rgba(0,0,0,0.1), 1px 0 rgba(0,0,0,0.02), -1px 0 rgba(0,0,0,0.02);
|
|
||||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
|
box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@ class Thumb {
|
|||||||
|
|
||||||
private static $FFMPEG_CMDV = array("ffmpeg", "-ss", "0:01:00", "-i", "[SRC]", "-an", "-vframes", "1", "[DEST]");
|
private static $FFMPEG_CMDV = array("ffmpeg", "-ss", "0:01:00", "-i", "[SRC]", "-an", "-vframes", "1", "[DEST]");
|
||||||
private static $AVCONV_CMDV = array("avconv", "-ss", "0:01:00", "-i", "[SRC]", "-an", "-vframes", "1", "[DEST]");
|
private static $AVCONV_CMDV = array("avconv", "-ss", "0:01:00", "-i", "[SRC]", "-an", "-vframes", "1", "[DEST]");
|
||||||
private static $CONVERT_CMDV = array("convert", "-strip", "[SRC][0]", "[DEST]");
|
private static $CONVERT_CMDV = array("convert", "-density", "200", "-quality", "100", "-sharpen", "0x1.0", "-strip", "[SRC][0]", "[DEST]");
|
||||||
private static $THUMB_CACHE = "thumbs";
|
private static $THUMB_CACHE = "thumbs";
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user