NEW FEATURE: BACKGROUND, DEPENDING ON TIME OF THE DAY
irishv wrote:
Two wish-list features would be 1) having the background switch based on time of day or weather
If you want to use this, edit the definitions for the screens in config.js!
For example, if you have 2 screens (or slides is a better word possibly?), you can use:
Code: Select all
var screens = {}
screens[1] = {}
screens[1]['background_morning'] = 'bg_morning.jpg';
screens[1]['background_noon'] = 'bg_noon.jpg';
screens[1]['background_afternoon'] = 'bg_afternoon.jpg';
screens[1]['background_night'] = 'bg_night.jpg';
screens[1]['columns'] = [1,2,3]
screens[2] = {}
screens[2]['background'] = 'bg2.jpg';
screens[2]['columns'] = [4,5,6]
You can manually add other images to the 'img' folder!
If you want to change the background of each switch/block, you can add something like this to /css/custom.css:
Code: Select all
.night .transbg.col-xs-1,
.night .transbg.col-xs-2,
.night .transbg.col-xs-3,
.night .transbg.col-xs-4,
.night .transbg.col-xs-5,
.night .transbg.col-xs-6,
.night .transbg.col-xs-7,
.night .transbg.col-xs-8,
.night .transbg.col-xs-9,
.night .transbg.col-xs-10,
.night .transbg.col-xs-11,
.night .transbg.col-xs-12 {
background: rgba(131,131,131,0.2);
background-clip: padding-box;
}
(You can change '.night' to: .noon OR .afternoon OR .morning