##// END OF EJS Templates
css: Fix background and border color for panel-danger, panel-... classes.
Martin Bornhold -
r300:dbd5f438 default
parent child Browse files
Show More
@@ -1,87 +1,85 b''
1 1 // See panels-bootstrap.less
2 2 // These provide overrides for custom styling of Bootstrap panels
3 3
4 4 .panel {
5 5 &:extend(.clearfix);
6 6
7 7 width: 100%;
8 8 margin: 0 0 25px 0;
9 border-color: @grey5;
10 9 .border-radius(@border-radius);
11 10 .box-shadow(none);
12 11
13 12 .permalink {
14 13 visibility: hidden;
15 14 }
16 15
17 16 &:hover .permalink {
18 17 visibility: visible;
19 18 color: @rcblue;
20 19 }
21 20
22 21 .panel-heading {
23 22 position: relative;
24 23 min-height: 1em;
25 24 padding: @padding @panel-padding;
26 background-color: @grey6;
27 25 border-bottom: none;
28 26
29 27 .panel-title,
30 28 h3.panel-title {
31 29 float: left;
32 30 padding: 0 @padding 0 0;
33 31 line-height: 1;
34 32 font-size: @panel-title;
35 33 color: @grey1;
36 34 }
37 35
38 36 .panel-edit {
39 37 float: right;
40 38 line-height: 1;
41 39 font-size: @panel-title;
42 40 }
43 41 }
44 42
45 43 .panel-body {
46 44 padding: @panel-padding;
47 45 }
48 46
49 47 .panel-footer {
50 48 background-color: white;
51 49 padding: .65em @panel-padding .5em;
52 50 font-size: @panel-footer;
53 51 color: @text-muted;
54 52 }
55 53
56 54 .q_filter_box {
57 55 min-width: 40%;
58 56 }
59 57
60 58 // special cases
61 59 &.user-profile {
62 60 float: left;
63 61
64 62 .panel-heading {
65 63 margin-bottom: @padding;
66 64 }
67 65
68 66 .panel-body {
69 67 &:extend(.clearfix);
70 68 }
71 69 }
72 70 }
73 71
74 72 .main-content h3.panel-title {
75 73 font-size: @panel-title;
76 74 color: @grey1;
77 75 }
78 76
79 77 .panel-body-title-text {
80 78 margin: 0 0 20px 0;
81 79 }
82 80
83 81 // play nice with the current form and field css
84 82 .field.panel-default,
85 83 .form.panel-default {
86 84 width: auto;
87 85 } No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now