1
|
// Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
|
2
|
|
3
|
//
|
4
|
// Component: Panel
|
5
|
//
|
6
|
// ========================================================================
|
7
|
|
8
|
|
9
|
// Variables
|
10
|
// ========================================================================
|
11
|
|
12
|
@panel-title-margin-bottom: @global-margin;
|
13
|
@panel-title-font-size: round((@global-font-size * 1.6)); // 24px
|
14
|
@panel-title-line-height: round((@panel-title-font-size * 1.333)); // 32px
|
15
|
@panel-title-color: @global-heading-color;
|
16
|
|
17
|
@panel-box-padding: @global-margin-large;
|
18
|
@panel-box-background: @global-background;
|
19
|
@panel-box-color: @global-color;
|
20
|
@panel-box-title-color: @global-heading-color;
|
21
|
@panel-box-badge-top: 0;
|
22
|
|
23
|
@panel-box-primary-background: @global-background;
|
24
|
@panel-box-primary-color: @global-color;
|
25
|
@panel-box-primary-title-color: @global-heading-color;
|
26
|
|
27
|
@panel-box-secondary-background: @global-muted-background;
|
28
|
@panel-box-secondary-color: @global-color;
|
29
|
@panel-box-secondary-title-color: @global-heading-color;
|
30
|
|
31
|
@panel-hover-padding: @global-margin;
|
32
|
@panel-hover-color: @global-color;
|
33
|
@panel-hover-hover-background: @panel-box-secondary-background;
|
34
|
@panel-hover-hover-color: @global-color;
|
35
|
|
36
|
@panel-header-title-border: @global-border;
|
37
|
@panel-header-title-color: @global-heading-color;
|
38
|
|
39
|
@panel-space-padding: @global-margin-large;
|
40
|
|
41
|
@panel-divider-gutter: @global-grid-gutter;
|
42
|
@panel-divider-gutter-large: @global-grid-gutter-large;
|
43
|
@panel-divider-border: @global-border;
|
44
|
|
45
|
//
|
46
|
// New
|
47
|
//
|
48
|
|
49
|
@panel-box-border: @global-border;
|
50
|
@panel-box-border-width: @global-border-width;
|
51
|
@panel-box-primary-box-shadow: 0 0 20px 0 rgba(51,51,51,0.1);
|
52
|
|
53
|
|
54
|
// Sub-object: `uk-panel-title`
|
55
|
// ========================================================================
|
56
|
|
57
|
.hook-panel-title() {}
|
58
|
|
59
|
|
60
|
// Sub-object: `uk-panel-badge`
|
61
|
// ========================================================================
|
62
|
|
63
|
.hook-panel-badge() {}
|
64
|
|
65
|
|
66
|
// Modifier: `uk-panel-box`
|
67
|
// ========================================================================
|
68
|
|
69
|
.hook-panel-box() {
|
70
|
|
71
|
&:not(.uk-panel-box-primary):not(.uk-panel-box-secondary) {
|
72
|
|
73
|
border: @panel-box-border-width solid @panel-box-border;
|
74
|
|
75
|
.uk-panel-badge {
|
76
|
top: @panel-box-badge-top - @panel-box-border-width;
|
77
|
right: @panel-box-badge-right - @panel-box-border-width;
|
78
|
}
|
79
|
|
80
|
}
|
81
|
|
82
|
}
|
83
|
|
84
|
.hook-panel-box-hover() {}
|
85
|
|
86
|
//
|
87
|
// Sub-modifier: `uk-panel-box-primary`
|
88
|
//
|
89
|
|
90
|
.hook-panel-box-primary() { box-shadow: @panel-box-primary-box-shadow; }
|
91
|
|
92
|
.hook-panel-box-primary-hover() {}
|
93
|
|
94
|
//
|
95
|
// Sub-modifier: `uk-panel-box-secondary`
|
96
|
//
|
97
|
|
98
|
.hook-panel-box-secondary() {}
|
99
|
|
100
|
.hook-panel-box-secondary-hover() {}
|
101
|
|
102
|
|
103
|
// Modifier: `uk-panel-hover`
|
104
|
// ========================================================================
|
105
|
|
106
|
.hook-panel-hover() {}
|
107
|
|
108
|
.hook-panel-hover-hover() {}
|
109
|
|
110
|
|
111
|
// Modifier: `uk-panel-header`
|
112
|
// ========================================================================
|
113
|
|
114
|
.hook-panel-header() {}
|
115
|
|
116
|
|
117
|
// Miscellaneous
|
118
|
// ========================================================================
|
119
|
|
120
|
.hook-panel-misc() {}
|