diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:17:45 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:17:45 +0200 |
commit | 07ae20eeedc75b5b121647cc4833a36956fc6356 (patch) | |
tree | b01fdedb7e8565e4d9169b15b82101bf70576abd | |
parent | 4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (diff) | |
download | wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.gz wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.zst wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.zip |
change reading time displaying
-rw-r--r-- | themes/dark/css/style-dark.css | 4 | ||||
-rwxr-xr-x | themes/dark/img/dark/clock.png | bin | 332 -> 0 bytes | |||
-rw-r--r-- | themes/default/css/messages.css | 2 | ||||
-rw-r--r-- | themes/default/css/style-default.css | 6 | ||||
-rw-r--r-- | themes/default/home.twig | 2 | ||||
-rwxr-xr-x | themes/default/img/default/clock.png | bin | 332 -> 0 bytes | |||
-rw-r--r-- | themes/dmagenta/css/style-dmagenta.css | 4 | ||||
-rwxr-xr-x | themes/dmagenta/img/dmagenta/clock.png | bin | 332 -> 0 bytes | |||
-rw-r--r-- | themes/solarized-dark/css/style-solarized-dark.css | 6 | ||||
-rw-r--r-- | themes/solarized-dark/img/solarized-dark/clock.png | bin | 338 -> 0 bytes | |||
-rw-r--r-- | themes/solarized/css/style-solarized.css | 6 | ||||
-rw-r--r-- | themes/solarized/img/solarized/clock.png | bin | 346 -> 0 bytes |
12 files changed, 5 insertions, 25 deletions
diff --git a/themes/dark/css/style-dark.css b/themes/dark/css/style-dark.css index 6d507516..41782c48 100644 --- a/themes/dark/css/style-dark.css +++ b/themes/dark/css/style-dark.css | |||
@@ -65,10 +65,6 @@ a.bad-display span { | |||
65 | background-image: url('../img/dark/bad-display.png'); | 65 | background-image: url('../img/dark/bad-display.png'); |
66 | } | 66 | } |
67 | 67 | ||
68 | a.reading-time span { | ||
69 | background-image: url('../img/dark/clock.png'); | ||
70 | } | ||
71 | |||
72 | .pagination a { | 68 | .pagination a { |
73 | color: #aaa; | 69 | color: #aaa; |
74 | } | 70 | } |
diff --git a/themes/dark/img/dark/clock.png b/themes/dark/img/dark/clock.png deleted file mode 100755 index 6164e92b..00000000 --- a/themes/dark/img/dark/clock.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/themes/default/css/messages.css b/themes/default/css/messages.css index daed6d72..46b54795 100644 --- a/themes/default/css/messages.css +++ b/themes/default/css/messages.css | |||
@@ -1,7 +1,7 @@ | |||
1 | .messages { | 1 | .messages { |
2 | display: block; | 2 | display: block; |
3 | clear: both; | 3 | clear: both; |
4 | width: 400px auto; | 4 | width: 400px; |
5 | margin: 10px auto 10px; | 5 | margin: 10px auto 10px; |
6 | padding: 10px 0; | 6 | padding: 10px 0; |
7 | -moz-border-radius: 4px; | 7 | -moz-border-radius: 4px; |
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 3377a75b..9dc7c0b0 100644 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css | |||
@@ -52,8 +52,4 @@ a.link span { | |||
52 | 52 | ||
53 | a.bad-display span { | 53 | a.bad-display span { |
54 | background-image: url('../img/default/bad-display.png'); | 54 | background-image: url('../img/default/bad-display.png'); |
55 | } | 55 | } \ No newline at end of file |
56 | |||
57 | a.reading-time span { | ||
58 | background-image: url('../img/default/clock.png'); | ||
59 | } | ||
diff --git a/themes/default/home.twig b/themes/default/home.twig index 1367ebe8..c1b29ec3 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -39,7 +39,7 @@ | |||
39 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | 39 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> |
40 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | 40 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> |
41 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | 41 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> |
42 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> | 42 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> |
43 | </ul> | 43 | </ul> |
44 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | 44 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> |
45 | </div> | 45 | </div> |
diff --git a/themes/default/img/default/clock.png b/themes/default/img/default/clock.png deleted file mode 100755 index 6164e92b..00000000 --- a/themes/default/img/default/clock.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/themes/dmagenta/css/style-dmagenta.css b/themes/dmagenta/css/style-dmagenta.css index 486add18..4dc592d2 100644 --- a/themes/dmagenta/css/style-dmagenta.css +++ b/themes/dmagenta/css/style-dmagenta.css | |||
@@ -65,10 +65,6 @@ a.bad-display span { | |||
65 | background-image: url('../img/dmagenta/bad-display.png'); | 65 | background-image: url('../img/dmagenta/bad-display.png'); |
66 | } | 66 | } |
67 | 67 | ||
68 | a.reading-time span { | ||
69 | background-image: url('../img/dmagenta/clock.png'); | ||
70 | } | ||
71 | |||
72 | .pagination a { | 68 | .pagination a { |
73 | color: #aaa; | 69 | color: #aaa; |
74 | } | 70 | } |
diff --git a/themes/dmagenta/img/dmagenta/clock.png b/themes/dmagenta/img/dmagenta/clock.png deleted file mode 100755 index 6164e92b..00000000 --- a/themes/dmagenta/img/dmagenta/clock.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/themes/solarized-dark/css/style-solarized-dark.css b/themes/solarized-dark/css/style-solarized-dark.css index 5c8daa7a..7ce8a563 100644 --- a/themes/solarized-dark/css/style-solarized-dark.css +++ b/themes/solarized-dark/css/style-solarized-dark.css | |||
@@ -216,8 +216,4 @@ a.link span { | |||
216 | 216 | ||
217 | a.bad-display span { | 217 | a.bad-display span { |
218 | background-image: url('../img/solarized-dark/bad-display.png'); | 218 | background-image: url('../img/solarized-dark/bad-display.png'); |
219 | } | 219 | } \ No newline at end of file |
220 | |||
221 | a.reading-time span { | ||
222 | background-image: url('../img/solarized-dark/clock.png'); | ||
223 | } | ||
diff --git a/themes/solarized-dark/img/solarized-dark/clock.png b/themes/solarized-dark/img/solarized-dark/clock.png deleted file mode 100644 index e6abbbb3..00000000 --- a/themes/solarized-dark/img/solarized-dark/clock.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/themes/solarized/css/style-solarized.css b/themes/solarized/css/style-solarized.css index 6e736630..9286c750 100644 --- a/themes/solarized/css/style-solarized.css +++ b/themes/solarized/css/style-solarized.css | |||
@@ -216,8 +216,4 @@ a.link span { | |||
216 | 216 | ||
217 | a.bad-display span { | 217 | a.bad-display span { |
218 | background-image: url('../img/solarized/bad-display.png'); | 218 | background-image: url('../img/solarized/bad-display.png'); |
219 | } | 219 | } \ No newline at end of file |
220 | |||
221 | a.reading-time span { | ||
222 | background-image: url('../img/solarized/clock.png'); | ||
223 | } | ||
diff --git a/themes/solarized/img/solarized/clock.png b/themes/solarized/img/solarized/clock.png deleted file mode 100644 index f7dabfcf..00000000 --- a/themes/solarized/img/solarized/clock.png +++ /dev/null | |||
Binary files differ | |||