blob: 722362cfc647a1f37ba363a745d9b8cdcd41f8fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
// Most of this is Bootstrap code and can be removed when switching to Bootstrap
.panel {
margin-bottom: 20px;
background-color: @color-silver-l95;
border: 1px solid @color-silver-l80;
.border-radius(3px);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-body {
padding: 15px;
}
// .clearfix
.panel-body:before, .panel-body:after {
display: table;
content: " ";
}
.panel-body:after {
clear: both;
}
.panel-heading {
padding: 10px 15px;
background-color: @theme-color-background-base;
border-bottom: 1px solid @color-silver-l80;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
position: relative;
// Within heading, strip any `h*` tag of its default margins for spacing.
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
line-height: inherit;
color: inherit;
text-overflow: ellipsis;
overflow: hidden;
&.panel-title-block {
height: 20px;
> a {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding-top: 10px;
}
}
> a,
> small,
> .small,
> small > a,
> .small > a {
color: inherit;
text-decoration: none;
&:focus, &:hover {
text-decoration: underline;
}
}
}
}
.panel-footer {
padding: 10px 15px;
background-color: @theme-color-background-base;
border-top: 1px solid @color-silver-l80;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
|