aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:17:45 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:17:45 +0200
commit07ae20eeedc75b5b121647cc4833a36956fc6356 (patch)
treeb01fdedb7e8565e4d9169b15b82101bf70576abd /themes
parent4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (diff)
downloadwallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.gz
wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.zst
wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.zip
change reading time displaying
Diffstat (limited to 'themes')
-rw-r--r--themes/dark/css/style-dark.css4
-rwxr-xr-xthemes/dark/img/dark/clock.pngbin332 -> 0 bytes
-rw-r--r--themes/default/css/messages.css2
-rw-r--r--themes/default/css/style-default.css6
-rw-r--r--themes/default/home.twig2
-rwxr-xr-xthemes/default/img/default/clock.pngbin332 -> 0 bytes
-rw-r--r--themes/dmagenta/css/style-dmagenta.css4
-rwxr-xr-xthemes/dmagenta/img/dmagenta/clock.pngbin332 -> 0 bytes
-rw-r--r--themes/solarized-dark/css/style-solarized-dark.css6
-rw-r--r--themes/solarized-dark/img/solarized-dark/clock.pngbin338 -> 0 bytes
-rw-r--r--themes/solarized/css/style-solarized.css6
-rw-r--r--themes/solarized/img/solarized/clock.pngbin346 -> 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
68a.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
53a.bad-display span { 53a.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
57a.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&amp;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&amp;id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li>
40 <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> 40 <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&amp;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
68a.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
217a.bad-display span { 217a.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
221a.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
217a.bad-display span { 217a.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
221a.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