Changeset 2558 in subversion
- Timestamp:
- May 28, 2009 4:19:02 PM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 7 added
- 20 deleted
- 9 edited
-
.htaccess (modified) (1 diff)
-
CHANGELOG (modified) (1 diff)
-
INSTALL (modified) (2 diffs)
-
skins/default/addresses.css (modified) (1 diff)
-
skins/default/common.css (modified) (10 diffs)
-
skins/default/ie6hacks.css (modified) (2 diffs)
-
skins/default/images/buttons/addressbook.gif (deleted)
-
skins/default/images/buttons/addressbook.png (deleted)
-
skins/default/images/buttons/inbox_sel.png (modified) (previous)
-
skins/default/images/buttons/mail.gif (deleted)
-
skins/default/images/buttons/mail.png (deleted)
-
skins/default/images/buttons/settings.gif (deleted)
-
skins/default/images/display/confirm.png (deleted)
-
skins/default/images/display/icons.gif (added)
-
skins/default/images/display/icons.png (added)
-
skins/default/images/display/info.png (deleted)
-
skins/default/images/display/warning.png (deleted)
-
skins/default/images/icons/folder-closed.png (deleted)
-
skins/default/images/icons/folder-drafts.png (deleted)
-
skins/default/images/icons/folder-inbox.png (deleted)
-
skins/default/images/icons/folder-junk.png (deleted)
-
skins/default/images/icons/folder-open.png (deleted)
-
skins/default/images/icons/folder-sent.png (deleted)
-
skins/default/images/icons/folder-trash.png (deleted)
-
skins/default/images/icons/folders.gif (added)
-
skins/default/images/icons/folders.png (added)
-
skins/default/images/icons/sort.gif (added)
-
skins/default/images/listheader.gif (added)
-
skins/default/images/listheader_aqua.gif (deleted)
-
skins/default/images/listheader_dark.gif (deleted)
-
skins/default/images/listheader_light.gif (deleted)
-
skins/default/images/sort_asc.gif (deleted)
-
skins/default/images/sort_desc.gif (deleted)
-
skins/default/images/taskicons.gif (added)
-
skins/default/mail.css (modified) (5 diffs)
-
skins/default/settings.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/.htaccess
r2478 r2558 29 29 RewriteRule ^favicon.ico$ skins/default/images/favicon.ico 30 30 </IfModule> 31 31 32 <IfModule mod_deflate.c> 33 SetOutputFilter DEFLATE 34 </IfModule> 35 36 <IfModule mod_headers.c> 37 # replace 'append' with 'merge' for Apache version 2.2.9 and later 38 Header append Cache-Control public env=!NO_CACHE 39 </IfModule> 40 41 <IfModule mod_expires.c> 42 ExpiresActive On 43 ExpiresDefault "access plus 1 month" 44 </IfModule> 45 46 FileETag MTime 47 32 48 Order deny,allow 33 49 Allow from all -
trunk/roundcubemail/CHANGELOG
r2540 r2558 2 2 =========================== 3 3 4 - Speedup UI by using CSS sprites and etags/expires/deflate in Apache config (#1484858,#1485800) 4 5 - Support UID EXPUNGE: remove only moved/deleted messages 5 6 - Add drag cancelling with ESC key (#1484344) -
trunk/roundcubemail/INSTALL
r2449 r2558 76 76 77 77 # sqlite -init SQL/sqlite.initial.sql sqlite.db 78 Loading resources from SQL/sqlite.initial.sql 79 SQLite version 2.8.16 80 Enter ".help" for instructions 81 sqlite> .exit 82 # chmod o+rw sqlite.db 78 83 79 84 Make sure your configuration points to the sqlite.db file and that the … … 120 125 121 126 127 OPTIMISING 128 ========== 129 130 There are two forms of optimisation here, compression and caching, both aimed 131 at increasing an end user's experience using RoundCube Webmail. Compression 132 allows the static web pages to be delivered with less bandwidth. The index.php 133 of RoundCube Webmail already enables compression on its output. The settings 134 below allow compression to occur for all static files. Caching sets HTTP 135 response headers that enable a user's web client to understand what is static 136 and how to cache it. 137 138 The caching directives used are: 139 * Etags - sets at tag so the client can request is the page has changed 140 * Cache-control - defines the age of the page and that the page is 'public' 141 This enables clients to cache javascript files that don't have private 142 information between sessions even if using HTTPS. It also allows proxies 143 to share the same cached page between users. 144 * Expires - provides another hint to increase the lifetime of static pages. 145 146 For more information refer to RFC 2616. 147 148 Side effects: 149 ------------- 150 These directives are designed for production use. If you are using this in 151 a development environment you may get horribly confused if your webclient 152 is caching stuff that you changed on the server. Disabling the expires 153 parts below should save you some grief. 154 155 If you are changing the skins, it is recommended that you copy content to 156 a different directory apart from 'default'. 157 158 Apache: 159 ------- 160 To enable these features in apache the following modules need to be enabled: 161 * mod_compress 162 * mod_expire 163 * mod_headers 164 165 The optimisation is already included in the .htaccess file in the top 166 directory of your installation. 167 168 If you are using Apache version 2.2.9 and later, in the .htaccess file 169 change the 'append' word to 'merge' for a more correct response. Keeping 170 as 'append' shouldn't cause any problems though changing to merge will 171 eliminate the possibility of duplicate 'public' headers in Cache-control. 172 173 Lighttpd: 174 --------- 175 With Lightty the addition of Expire: tags by mod_expire is incompatible with 176 the addition of "Cache-control: public". Using Cache-control 'public' is 177 used below as it is assumed to give a better caching result. 178 179 Enable modules in server.modules: 180 "mod_setenv" 181 "mod_compress" 182 183 Mod_compress is a server side cache of compressed files to improve its performance. 184 185 $HTTP["host"] == "www.example.com" { 186 187 static-file.etags = "enable" 188 # http://redmine.lighttpd.net/projects/lighttpd/wiki/Etag.use-mtimeDetails 189 etag.use-mtime = "enable" 190 191 # http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv 192 $HTTP["url"] =~ "^/roundcubemail/(plugins|skins|program)" { 193 setenv.add-response-header = ( "Cache-Control" => "public, max-age=2592000") 194 } 195 196 # http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress 197 # set compress.cache-dir to somewhere outside the docroot. 198 compress.cache-dir = var.statedir + "/cache/compress" 199 200 compress.filetype = ("text/plain", "text/html", "text/javascript", "text/css", "text/xml", "image/gif", "image/png") 201 } 202 203 -
trunk/roundcubemail/skins/default/addresses.css
r2541 r2558 172 172 font-size: 11px; 173 173 font-weight: bold; 174 background-color: #EBEBEB; 175 background-image: url(images/listheader_aqua.gif); 174 background: url('images/listheader.gif') top left repeat-x #CCC; 176 175 white-space: nowrap; 177 176 } -
trunk/roundcubemail/skins/default/common.css
r2551 r2558 152 152 } 153 153 154 #taskbar a, 155 #taskbar a:active, 156 #taskbar a:visited 154 #taskbar a 157 155 { 158 156 font-size: 11px; … … 160 158 text-decoration: none; 161 159 padding: 6px 14px 6px 27px; 162 background -repeat:no-repeat;160 background: url('images/taskicons.gif') no-repeat; 163 161 } 164 162 … … 168 166 } 169 167 170 a.button-mail171 { 172 background- image: url(images/buttons/mail.gif);173 } 174 175 a.button-addressbook176 { 177 background- image: url(images/buttons/addressbook.gif);178 } 179 180 a.button-settings181 { 182 background- image: url(images/buttons/settings.gif);183 } 184 185 a.button-logout186 { 187 background- image: url(images/buttons/logout.gif);168 #taskbar a.button-mail 169 { 170 background-position: 0 0; 171 } 172 173 #taskbar a.button-addressbook 174 { 175 background-position: 0 -25px; 176 } 177 178 #taskbar a.button-settings 179 { 180 background-position: 0 -50px; 181 } 182 183 #taskbar a.button-logout 184 { 185 background-position: 0 -75px; 188 186 } 189 187 … … 204 202 width: 400px; 205 203 margin: 0px auto; 206 height: 2 4px;207 min-height: 2 4px;204 height: 22px; 205 min-height: 22px; 208 206 padding: 8px 10px 8px 46px; 209 207 } … … 212 210 #remote-objects-message 213 211 { 214 background: url( images/display/info.png) 6px 3px no-repeat;212 background: url('images/display/icons.png') 6px 3px no-repeat; 215 213 background-color: #F7FDCB; 216 214 border: 1px solid #C2D071; … … 220 218 #message div.warning 221 219 { 222 background: url( images/display/warning.png) 6px 3px no-repeat;220 background: url('images/display/icons.png') 6px -97px no-repeat; 223 221 background-color: #EF9398; 224 222 border: 1px solid #DC5757; … … 227 225 #message div.confirmation 228 226 { 229 background: url( images/display/confirm.png) 6px 3px no-repeat;227 background: url('images/display/icons.png') 6px -47px no-repeat; 230 228 background-color: #A6EF7B; 231 229 border: 1px solid #76C83F; … … 234 232 #message div.loading 235 233 { 236 background: url( images/display/loading.gif) 6px 3px no-repeat;234 background: url('images/display/loading.gif') 6px 3px no-repeat; 237 235 background-color: #EBEBEB; 238 236 border: 1px solid #CCCCCC; … … 275 273 font-size: 11px; 276 274 font-weight: bold; 277 background-color: #EBEBEB; 278 background-image: url(images/listheader_aqua.gif); 275 background: url('images/listheader.gif') top left repeat-x #CCC; 279 276 } 280 277 … … 288 285 border-bottom: 1px solid #999999; 289 286 color: #333333; 290 background-color: #EBEBEB; 291 background-image: url(images/listheader_aqua.gif); 287 background: url('images/listheader.gif') top left repeat-x #CCC; 292 288 font-size: 11px; 293 289 font-weight: bold; -
trunk/roundcubemail/skins/default/ie6hacks.css
r2543 r2558 4 4 { 5 5 behavior: url('skins/default/pngbehavior.htc'); 6 } 7 8 #message div.notice, 9 #message div.error, 10 #message div.warning, 11 #message div.confirmation, 12 #remote-objects-message 13 { 14 background-image: url(images/display/icons.gif); 6 15 } 7 16 … … 16 25 } 17 26 18 27 #mailboxlist li 28 { 29 background-image: url('images/icons/folders.gif'); 30 } -
trunk/roundcubemail/skins/default/mail.css
r2541 r2558 342 342 margin: 0; 343 343 padding: 3px 10px 4px 10px; 344 background-color: #EBEBEB; 345 background-image: url(images/listheader_aqua.gif); 344 background: url('images/listheader.gif') top left repeat-x #CCC; 346 345 border-bottom: 1px solid #999; 347 346 color: #333333; … … 379 378 position: relative; 380 379 font-size: 11px; 381 background: url(images/icons/folder-closed.png) no-repeat; 382 background-position: 5px 1px; 380 background: url('images/icons/folders.png') 5px 1px no-repeat; 383 381 border-bottom: 1px solid #EBEBEB; 384 382 } … … 402 400 #mailboxlist li div.collapsed 403 401 { 404 background: url( images/icons/collapsed.png) bottom right no-repeat;402 background: url('images/icons/collapsed.png') bottom right no-repeat; 405 403 } 406 404 407 405 #mailboxlist li div.expanded 408 406 { 409 background: url( images/icons/expanded.png) bottom right no-repeat;407 background: url('images/icons/expanded.png') bottom right no-repeat; 410 408 } 411 409 412 410 #mailboxlist li.inbox 413 411 { 414 background- image: url(images/icons/folder-inbox.png);412 background-position: 5px -15px; 415 413 } 416 414 417 415 #mailboxlist li.drafts 418 416 { 419 background- image: url(images/icons/folder-drafts.png);417 background-position: 5px -31px; 420 418 } 421 419 422 420 #mailboxlist li.sent 423 421 { 424 background- image: url(images/icons/folder-sent.png);422 background-position: 5px -47px; 425 423 } 426 424 427 425 #mailboxlist li.junk 428 426 { 429 background- image: url(images/icons/folder-junk.png);427 background-position: 5px -63px; 430 428 } 431 429 432 430 #mailboxlist li.trash 433 431 { 434 background- image: url(images/icons/folder-trash.png);432 background-position: 5px -79px; 435 433 } 436 434 … … 538 536 border-bottom: 1px solid #999999; 539 537 color: #333333; 540 background-color: #EBEBEB; 541 background-image: url(images/listheader_aqua.gif); 538 background: url('images/listheader.gif') top left repeat-x #CCC; 542 539 font-size: 11px; 543 540 font-weight: bold; … … 547 544 #messagelist thead tr td.sortedDESC 548 545 { 549 background- image: url(images/listheader_dark.gif);546 background-position: 0 -20px; 550 547 } 551 548 552 549 #messagelist thead tr td.sortedASC a 553 550 { 554 background: url( images/sort_asc.gif) top rightno-repeat;551 background: url('images/icons/sort.gif') right 0 no-repeat; 555 552 } 556 553 557 554 #messagelist thead tr td.sortedDESC a 558 555 { 559 background: url( images/sort_desc.gif) top rightno-repeat;556 background: url('images/icons/sort.gif') right -14px no-repeat; 560 557 } 561 558 -
trunk/roundcubemail/skins/default/settings.css
r2541 r2558 245 245 font-size: 11px; 246 246 font-weight: bold; 247 background-color: #EBEBEB; 248 background-image: url(images/listheader_aqua.gif); 247 background: url('images/listheader.gif') top left repeat-x #CCC; 249 248 } 250 249
Note: See TracChangeset
for help on using the changeset viewer.
