Add old ui-box style to panels

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2014-05-30 23:43:53 +03:00
parent d54d3324b1
commit 5ba00d950b
4 changed files with 17 additions and 8 deletions
+15
View File
@@ -227,7 +227,10 @@ ul.breadcrumb {
*
*/
.panel {
@include border-radius(0px);
.panel-heading {
@include border-radius(0px);
font-size: 14px;
line-height: 18px;
@@ -248,4 +251,16 @@ ul.breadcrumb {
background: #FFF;
}
}
&.panel-small {
.panel-heading {
padding: 6px 15px;
}
}
&.panel-default {
.panel-heading {
background-color: #EEE;
}
}
}
@@ -106,12 +106,6 @@
}
.mr-state-widget {
@include border-radius(0px);
.panel-heading {
@include border-radius(0px);
}
.panel-body {
h4 {
margin-top: 0px;
+1 -1
View File
@@ -1,6 +1,6 @@
- if @issues.any?
- @issues.group_by(&:project).each do |group|
.panel.panel-default.panel.panel-default-small
.panel.panel-default.panel-small
- project = group[0]
.panel-heading
= link_to_project project
+1 -1
View File
@@ -1,6 +1,6 @@
- if @merge_requests.any?
- @merge_requests.group_by(&:target_project).each do |group|
.panel.panel-default.panel.panel-default-small
.panel.panel-default.panel-small
- project = group[0]
.panel-heading
= link_to_project project