2015-02-08 13:30:09 +08:00
|
|
|
@fl-primary-color: #4d698e;
|
2015-01-01 17:38:38 +08:00
|
|
|
@fl-secondary-color: #edf2f7;
|
2015-02-08 13:30:09 +08:00
|
|
|
@fl-dark-body: false;
|
2015-01-01 17:38:38 +08:00
|
|
|
@fl-dark-hdr: false;
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-01 17:38:38 +08:00
|
|
|
// ---------------------------------
|
|
|
|
// BODY
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-02-08 13:30:09 +08:00
|
|
|
.define-body-variables(@fl-dark-body);
|
|
|
|
.define-body-variables(false) {
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-bg: #fff;
|
|
|
|
@fl-body-color: #444;
|
|
|
|
@fl-body-muted-color: hsv(hue(@fl-secondary-color), max(0, saturation(@fl-secondary-color) - 20%), 65%); // todo
|
|
|
|
@fl-body-muted-more-color: #bbb;
|
|
|
|
@fl-body-heading-color: @fl-body-color;
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-control-bg: @fl-secondary-color;
|
|
|
|
@fl-body-control-color: @fl-body-muted-color;
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-control-primary-bg: @fl-primary-color;
|
|
|
|
@fl-body-control-primary-color: #fff;
|
2015-02-08 13:30:09 +08:00
|
|
|
}
|
|
|
|
.define-body-variables(true) {
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-bg: #333;
|
|
|
|
@fl-body-color: #ccc;
|
|
|
|
@fl-body-muted-color: hsv(hue(@fl-secondary-color), max(0, saturation(@fl-secondary-color) - 20%), 65%); // todo
|
|
|
|
@fl-body-muted-more-color: #bbb;
|
|
|
|
@fl-body-heading-color: @fl-body-color;
|
2015-02-08 13:30:09 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-control-bg: @fl-secondary-color;
|
|
|
|
@fl-body-control-color: @fl-body-muted-color;
|
2015-02-08 13:30:09 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-body-control-primary-bg: @fl-primary-color;
|
|
|
|
@fl-body-control-primary-color: #fff;
|
2015-02-08 13:30:09 +08:00
|
|
|
}
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-01-01 17:38:38 +08:00
|
|
|
// ---------------------------------
|
|
|
|
// HEADER
|
|
|
|
|
2015-01-16 14:56:10 +08:00
|
|
|
.define-hdr-variables(@fl-dark-hdr);
|
|
|
|
.define-hdr-variables(false) {
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-hdr-bg: @fl-body-bg;
|
|
|
|
@fl-hdr-color: @fl-primary-color;
|
|
|
|
@fl-hdr-muted-color: @fl-body-muted-color;
|
|
|
|
@fl-hdr-control-bg: @fl-body-control-bg;
|
|
|
|
@fl-hdr-control-color: @fl-body-control-color;
|
|
|
|
|
|
|
|
@fl-body-hero-bg: @fl-primary-color;
|
|
|
|
@fl-body-hero-color: #fff;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.define-hdr-variables(true) {
|
2015-02-10 15:35:40 +08:00
|
|
|
@fl-hdr-bg: @fl-primary-color;
|
|
|
|
@fl-hdr-color: #fff;
|
|
|
|
@fl-hdr-muted-color: fade(#fff, 50%);
|
|
|
|
@fl-hdr-control-bg: fade(#000, 10%);
|
|
|
|
@fl-hdr-control-color: #fff;
|
|
|
|
|
|
|
|
@fl-body-hero-bg: @fl-secondary-color;
|
|
|
|
@fl-body-hero-color: @fl-body-muted-color;
|
2015-02-08 13:30:09 +08:00
|
|
|
}
|