User Tools

Site Tools


proj:bonus_themes

This is an old revision of the document!


Home

Project

Bonus Themes

Tips for Creating

  • alter Value to get the highlight colour
  • not essential to keep colours completely different as long as colours near each other are distinct
  • the first colour must always be distinct from the other colours in case they end up against it in a pie chart

:!: NB to move to sofa.main/css and reports/sofastats_report_extras/

Altering css files

Main variable labels

.firstcolvar, .firstrowvar{
    background-color: #1e3348; /*very dark blue*/
}

Image in top left corner

.spaceholder { /*main background image*/
    background-image: url("sofastats_report_extras/sky.jpg") !important; /*else tundra forces none*/
    background-color: #fe7200;
    border: solid 1px #4574a5; /*dark blue*/
}

Borders

th, .rowvar, .rowval, .datacell, .firstdatacell {
    border: solid 1px #1e3348; /*dark blue*/
}

Popups

Search and replace greypurp e.g.

connector_style = u"greypurp"

Change tooltip_border_colour

Chart Colours

outer_bg = u"#e7eef6"
inner_bg = u"#e7eef6" # u"#e0d9d5"
axis_label_font_colour = u"#423126"
major_gridline_colour = u"#b8a49e"
gridline_width = 1
stroke_width = 3
tooltip_border_colour = u"#5a5a79"
colour_mappings = [(u"#6098f0", u"#a8c4f0"),
    (u"#2d4770", u"#7f94b6"),
    (u"#a8c4f0", u"#6098f0"),
    (u"#7f94b6", u"#afb1b6"),
    (u"#4167a3", u"#273d61"),
    ]

Keeping out of standard package

  • Ubuntu: OK because “KEEPME/rules” has to explicitly reference each file included
  • LINUX: 0 KEEP pre_LINUX_packaging.py - must add to extraneous_in_main
  • Windows: OK because nsi file has to explicitly reference each file included
  • Mac OS X: OK because iceberg file has to explicitly reference each file included
proj/bonus_themes.1296177218.txt.gz · Last modified: 2015/01/28 14:47 (external edit)