]> spindle.queued.net Git - midori/commitdiff
Speeddial CSS speedup
authorAlexander Butenko <a.butenka@gmail.com>
Wed, 15 Feb 2012 15:34:07 +0000 (11:34 -0400)
committerChristian Dywan <christian@twotoasts.de>
Sun, 19 Feb 2012 16:52:07 +0000 (17:52 +0100)
data/speeddial-head.html
katze/katze-http-cookies-sqlite.c

index 053cbc7d1d42aba932715654a5fad338632d6f19..7e7f21728f5995dd4190c6d68b31581f5704b758 100644 (file)
         width: 85%;
         height: 75%;
         margin: auto;
-        -webkit-box-shadow: 0 4px 18px rgba(0,0,0,.3), 0 0 2px #fff inset;
-        background-image: -webkit-gradient(
-            linear, center top, center bottom,
-            from(#f6f6f6), to(#e3e3e3));
+        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3), 0 0 0px #fff inset;
         border: 1px solid #bcbcbc;
         border-bottom-color: #a0a0a0;
         position: relative;
     div.shortcut .preview.new .add {
         display: block;
         height: 100%;
-        width: 50%;
+        width: 100%;
         margin: 0 auto;
         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 {
index 4a7e1bf6baaf59ba1b39f0ed6df1bca603277338..40664077ffc9628e3169b2936d2b8f1565dee907 100644 (file)
@@ -123,8 +123,8 @@ katze_http_cookies_sqlite_open_db (KatzeHttpCookiesSqlite* http_cookies)
     }
 
     sqlite3_exec (http_cookies->db,
-        "PRAGMA count_changes = OFF; PRAGMA synchronous = OFF;"
-        "PRAGMA temp_store = MEMORY; PRAGMA journal_mode = TRUNCATE;",
+        /* "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY" */
+        "PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
         NULL, NULL, &error);
 
     return FALSE;