1
|
// Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
|
2
|
|
3
|
//
|
4
|
// Component: Block
|
5
|
//
|
6
|
// ========================================================================
|
7
|
|
8
|
|
9
|
// Variables
|
10
|
// ========================================================================
|
11
|
|
12
|
@block-default-background: @global-background;
|
13
|
@block-muted-background: @global-muted-background;
|
14
|
@block-primary-background: @global-primary-background;
|
15
|
@block-secondary-background: @global-secondary-background;
|
16
|
|
17
|
//
|
18
|
// New
|
19
|
//
|
20
|
|
21
|
@block-primary-panel-box-background: @global-primary-background;
|
22
|
@block-primary-panel-box-border: @global-contrast-color;
|
23
|
@block-secondary-panel-box-border: @global-border;
|
24
|
|
25
|
|
26
|
// Component
|
27
|
// ========================================================================
|
28
|
|
29
|
.hook-block() {}
|
30
|
|
31
|
|
32
|
// Color modifier
|
33
|
// ========================================================================
|
34
|
|
35
|
.hook-block-default() {}
|
36
|
|
37
|
.hook-block-muted() {
|
38
|
|
39
|
.uk-panel-box { background: @global-muted-background; }
|
40
|
.uk-panel-box-secondary { background: @global-background; }
|
41
|
|
42
|
}
|
43
|
|
44
|
.hook-block-secondary() {
|
45
|
|
46
|
.uk-panel-box:not(.uk-panel-box-primary):not(.uk-panel-box-secondary) {
|
47
|
background: @block-secondary-background;
|
48
|
border-color: @block-secondary-panel-box-border;
|
49
|
}
|
50
|
|
51
|
}
|
52
|
|
53
|
.hook-block-primary() {
|
54
|
|
55
|
.uk-panel-box:not(.uk-panel-box-primary):not(.uk-panel-box-secondary) {
|
56
|
background: @block-primary-panel-box-background;
|
57
|
border-color: @block-primary-panel-box-border;
|
58
|
}
|
59
|
|
60
|
}
|
61
|
|
62
|
|
63
|
// Miscellaneous
|
64
|
// ========================================================================
|
65
|
|
66
|
.hook-block-misc() {}
|