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