Browse Source

- Little tweak in theme
- Heads up about cache in blank configuration

Ralfp 12 years ago
parent
commit
eb4a159c8d
3 changed files with 8 additions and 2 deletions
  1. 6 0
      deployment/settings.py
  2. 1 1
      static/sora/css/sora.css
  3. 1 1
      static/sora/css/sora/threads.less

+ 6 - 0
deployment/settings.py

@@ -29,6 +29,12 @@ DATABASES = {
     }
     }
 }
 }
 
 
+# Cache engine
+# Misago is EXTREMLY data hungry
+# If you don't set any cache, it will BRUTALISE your database and memory
+# In production ALWAYS use cache
+CACHES = {}
+
 # Cookies configuration
 # Cookies configuration
 COOKIES_DOMAIN = '' # Set empty for automatic detection.
 COOKIES_DOMAIN = '' # Set empty for automatic detection.
 COOKIES_PATH = '' # Set empty for automatic detection.
 COOKIES_PATH = '' # Set empty for automatic detection.

+ 1 - 1
static/sora/css/sora.css

@@ -958,7 +958,7 @@ td.lead-cell{color:#555555;font-weight:bold;}
 .forums-list .well-forum .muted{margin-top:4px;color:#737373;}
 .forums-list .well-forum .muted{margin-top:4px;color:#737373;}
 .forum-list-side{padding-top:10px;}
 .forum-list-side{padding-top:10px;}
 .subforums-list{margin:0px;position:relative;bottom:32px;}.subforums-list .category{margin-bottom:-24px;}
 .subforums-list{margin:0px;position:relative;bottom:32px;}.subforums-list .category{margin-bottom:-24px;}
-.threads-list .thread-icon{background-color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:5px 6px;}
+.threads-list .thread-icon{background-color:#eeeeee;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:5px 6px;}
 .threads-list .thread-closed{background-color:#9d261d;}
 .threads-list .thread-closed{background-color:#9d261d;}
 .threads-list .thread-new{background-color:#0088cc;}
 .threads-list .thread-new{background-color:#0088cc;}
 .thread-info{overflow:auto;}.thread-info li{float:left;margin-right:16px;opacity:0.5;filter:alpha(opacity=50);font-weight:bold;}.thread-info li a{color:#333333;}
 .thread-info{overflow:auto;}.thread-info li{float:left;margin-right:16px;opacity:0.5;filter:alpha(opacity=50);font-weight:bold;}.thread-info li a{color:#333333;}

+ 1 - 1
static/sora/css/sora/threads.less

@@ -14,7 +14,7 @@
 // --------------------------------------------------
 // --------------------------------------------------
 .threads-list {
 .threads-list {
   .thread-icon {
   .thread-icon {
-    background-color: @grayLight; 
+    background-color: @grayLighter; 
     .border-radius(3px);
     .border-radius(3px);
     padding: 5px 6px;
     padding: 5px 6px;
   }
   }