diff options
Diffstat (limited to 'settings_local.py.dist')
-rwxr-xr-x | settings_local.py.dist | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist index e44c1e72..137ad6ec 100755 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -99,9 +99,10 @@ USE_FB_CONNECT=False FB_API_KEY='' #your api key from facebook FB_SECRET='' #your application secret +USE_EXTERNAL_LEGACY_LOGIN = False #DO NOT USE, and do not delete this line, will be removed later #counter colors -VOTE_COUNTER_EXPECTED_MAXIMUM = 3 from forum_modules.grapefruit import Color +VOTE_COUNTER_EXPECTED_MAXIMUM = 5 COLORS_VOTE_COUNTER_EMPTY_BG = 'white' COLORS_VOTE_COUNTER_EMPTY_FG = 'gray' COLORS_VOTE_COUNTER_MIN_BG = 'white' @@ -116,11 +117,11 @@ COLORS_VIEW_COUNTER_MIN_FG = Color.NewFromHtml(COLORS_VIEW_COUNTER_MIN_BG).Darke COLORS_VIEW_COUNTER_MAX_BG = '#FF8000'#'#F7BE81' COLORS_VIEW_COUNTER_MAX_FG = Color.NewFromHtml(COLORS_VIEW_COUNTER_MAX_BG).DarkerColor(0.7).html ANSWER_COUNTER_EXPECTED_MAXIMUM = 4 -COLORS_ANSWER_COUNTER_EMPTY_BG = '#a40000' +COLORS_ANSWER_COUNTER_EMPTY_BG = Color.NewFromHtml('#a40000').Blend(Color.NewFromHtml('white'),0.8).html COLORS_ANSWER_COUNTER_EMPTY_FG = 'yellow' COLORS_ANSWER_COUNTER_MIN_BG = '#AEB404'#'#81F7F3'#'#A9D0F5'#'#045FB4' COLORS_ANSWER_COUNTER_MIN_FG = 'white'#'#81F7F3' -COLORS_ANSWER_COUNTER_MAX_BG = '#61380B'#'#4B088A'#'#0B3861'#'#045FB4' +COLORS_ANSWER_COUNTER_MAX_BG = Color.NewFromHtml('#61380B').Blend(Color.NewFromHtml('white'),0.75).html COLORS_ANSWER_COUNTER_MAX_FG = '#ffff00' -COLORS_ANSWER_COUNTER_ACCEPTED_BG = 'darkgreen' +COLORS_ANSWER_COUNTER_ACCEPTED_BG = Color.NewFromHtml('darkgreen').Blend(Color.NewFromHtml('white'),0.8).html COLORS_ANSWER_COUNTER_ACCEPTED_FG = '#D0F5A9' |