Speeddial CSS speedup

This commit is contained in:
Alexander Butenko 2012-02-15 11:34:07 -04:00 committed by Christian Dywan
parent 69f7e176ab
commit 29d6de3c6e
2 changed files with 10 additions and 7 deletions

View file

@ -55,10 +55,7 @@
width: 85%; width: 85%;
height: 75%; height: 75%;
margin: auto; margin: auto;
-webkit-box-shadow: 0 4px 18px rgba(0,0,0,.3), 0 0 2px #fff inset; -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3), 0 0 0px #fff inset;
background-image: -webkit-gradient(
linear, center top, center bottom,
from(#f6f6f6), to(#e3e3e3));
border: 1px solid #bcbcbc; border: 1px solid #bcbcbc;
border-bottom-color: #a0a0a0; border-bottom-color: #a0a0a0;
position: relative; position: relative;
@ -75,9 +72,15 @@
div.shortcut .preview.new .add { div.shortcut .preview.new .add {
display: block; display: block;
height: 100%; height: 100%;
width: 50%; width: 100%;
margin: 0 auto; margin: 0 auto;
cursor: pointer; cursor: pointer;
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3), 0 0 0px #fff inset;
background-image: -webkit-gradient(
linear, center top, center bottom,
from(#f6f6f6), to(#e3e3e3));
background-repeat: repeat-x;
-webkit-border-radius: 3px;
} }
.title { .title {

View file

@ -123,8 +123,8 @@ katze_http_cookies_sqlite_open_db (KatzeHttpCookiesSqlite* http_cookies)
} }
sqlite3_exec (http_cookies->db, sqlite3_exec (http_cookies->db,
"PRAGMA count_changes = OFF; PRAGMA synchronous = OFF;" /* "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY" */
"PRAGMA temp_store = MEMORY; PRAGMA journal_mode = TRUNCATE;", "PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
NULL, NULL, &error); NULL, NULL, &error);
return FALSE; return FALSE;