Commit 2bd08e3
Change border of pages to a realistic shadow, make thumbnails styleable via CSS (#248)
* ev-view: Update EvView style to use CSS node name
based on commit f1d24b0a6b799abc4ff948286c121b6a5bb7a909
* EVINCE BACKPORTS: libdocument: Allow sidebar thumbnails to be styled with CSS
commit 30d1c3f4d71d5f53603076c7c93a5999e65eec5a
Author: William Jon McCann <jmccann@redhat.com>
Date: Sun Dec 23 13:18:49 2012 +0100
libdocument: Allow sidebar thumbnails to be styled with CSS
https://bugzilla.gnome.org/show_bug.cgi?id=653294
...this commit includes also:
commit 16bbee9df797c9498b0be983d1bcde309e281824
Author: Trinh Anh Ngoc <atw1990@gmail.com>
Date: Sun Nov 29 09:28:29 2015 +0700
shell: Update sidebar thumbnails CSS nodes
Fixes frameless thumbnails with GTK+ 3.20
https://bugzilla.gnome.org/show_bug.cgi?id=758793
* EVINCE BACKPORTS: view: Use a rendered frame instead of custom border
commit 7a6b53a1b4083cf6a3d9660dfc7978bb37c3d9e7
Author: William Jon McCann <jmccann@redhat.com>
Date: Sun Dec 23 10:49:58 2012 +0100
view: Use a rendered frame instead of custom border
So it can be styled with CSS.
https://bugzilla.gnome.org/show_bug.cgi?id=653294
* EVINCE BACKPORTS: view: Fix page background rendering while loading
commit 38528f9f1e225f4d661a1d813c5fae45fd6707d4
Author: Carlos Garcia Campos <carlosgc@gnome.org>
Date: Sun Dec 23 11:28:46 2012 +0100
view: Fix page background rendering while loading
* EVINCE BACKPORTS: previewer: Add CSS file for EvView styling
commit 48110cb41681d8babe94cc8ee3fb26a533d16671
Author: Carlos Garcia Campos <cgarcia@igalia.com>
Date: Mon Aug 4 12:50:41 2014 +0200
previewer: Add CSS file for EvView styling
EvView CSS used to be shared in adwaita theme, but now that adwaita has
been merged into GTK+ and app specific CSS has been removed, we need to
add the EvView CSS to all of its users.
* libdocument: Do not hardcode thumbnail frames
Always draw thumbnail frames styled by CSS (see .page-thumbnail inside shell/xreader.css),
and not through hard-coded pixbuf manipulations.
* Improve ratio calculations of sidebar thumbnails
The old calculation caused sometimes rounding errors, which could
cut off the lower border line.1 parent 10ac353 commit 2bd08e3
14 files changed
Lines changed: 232 additions & 89 deletions
File tree
- data
- help/reference/libdocument
- libdocument
- libview
- previewer
- shell
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 48 | + | |
| 49 | + | |
57 | 50 | | |
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
62 | 55 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 56 | + | |
| 57 | + | |
69 | 58 | | |
70 | 59 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 60 | | |
76 | 61 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
93 | 67 | | |
94 | 68 | | |
95 | 69 | | |
| |||
110 | 84 | | |
111 | 85 | | |
112 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
113 | 159 | | |
114 | 160 | | |
115 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
116 | | - | |
117 | | - | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
1035 | 1036 | | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | | - | |
| 1039 | + | |
1039 | 1040 | | |
1040 | | - | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
1041 | 1049 | | |
1042 | 1050 | | |
1043 | 1051 | | |
| |||
1098 | 1106 | | |
1099 | 1107 | | |
1100 | 1108 | | |
1101 | | - | |
| 1109 | + | |
1102 | 1110 | | |
1103 | 1111 | | |
1104 | 1112 | | |
1105 | 1113 | | |
1106 | | - | |
1107 | | - | |
| 1114 | + | |
1108 | 1115 | | |
1109 | 1116 | | |
1110 | 1117 | | |
| |||
1134 | 1141 | | |
1135 | 1142 | | |
1136 | 1143 | | |
1137 | | - | |
| 1144 | + | |
1138 | 1145 | | |
1139 | 1146 | | |
1140 | 1147 | | |
| |||
1180 | 1187 | | |
1181 | 1188 | | |
1182 | 1189 | | |
1183 | | - | |
| 1190 | + | |
1184 | 1191 | | |
1185 | 1192 | | |
1186 | 1193 | | |
| |||
3186 | 3193 | | |
3187 | 3194 | | |
3188 | 3195 | | |
3189 | | - | |
| 3196 | + | |
3190 | 3197 | | |
3191 | 3198 | | |
3192 | 3199 | | |
| |||
3215 | 3222 | | |
3216 | 3223 | | |
3217 | 3224 | | |
3218 | | - | |
| 3225 | + | |
3219 | 3226 | | |
3220 | 3227 | | |
3221 | 3228 | | |
| |||
3252 | 3259 | | |
3253 | 3260 | | |
3254 | 3261 | | |
3255 | | - | |
| 3262 | + | |
3256 | 3263 | | |
3257 | 3264 | | |
3258 | 3265 | | |
| |||
3274 | 3281 | | |
3275 | 3282 | | |
3276 | 3283 | | |
3277 | | - | |
| 3284 | + | |
3278 | 3285 | | |
3279 | 3286 | | |
3280 | 3287 | | |
| |||
4589 | 4596 | | |
4590 | 4597 | | |
4591 | 4598 | | |
4592 | | - | |
4593 | | - | |
4594 | | - | |
4595 | | - | |
| 4599 | + | |
| 4600 | + | |
| 4601 | + | |
| 4602 | + | |
4596 | 4603 | | |
4597 | 4604 | | |
4598 | 4605 | | |
| |||
4608 | 4615 | | |
4609 | 4616 | | |
4610 | 4617 | | |
| 4618 | + | |
4611 | 4619 | | |
4612 | | - | |
4613 | | - | |
4614 | | - | |
4615 | | - | |
4616 | | - | |
4617 | | - | |
| 4620 | + | |
| 4621 | + | |
| 4622 | + | |
| 4623 | + | |
| 4624 | + | |
| 4625 | + | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
| 4631 | + | |
4618 | 4632 | | |
4619 | 4633 | | |
4620 | 4634 | | |
| |||
6003 | 6017 | | |
6004 | 6018 | | |
6005 | 6019 | | |
6006 | | - | |
| 6020 | + | |
6007 | 6021 | | |
6008 | 6022 | | |
6009 | 6023 | | |
| |||
6040 | 6054 | | |
6041 | 6055 | | |
6042 | 6056 | | |
6043 | | - | |
| 6057 | + | |
6044 | 6058 | | |
6045 | 6059 | | |
6046 | 6060 | | |
| |||
6080 | 6094 | | |
6081 | 6095 | | |
6082 | 6096 | | |
6083 | | - | |
| 6097 | + | |
6084 | 6098 | | |
6085 | 6099 | | |
6086 | 6100 | | |
| |||
6111 | 6125 | | |
6112 | 6126 | | |
6113 | 6127 | | |
6114 | | - | |
| 6128 | + | |
6115 | 6129 | | |
6116 | 6130 | | |
6117 | 6131 | | |
| |||
0 commit comments