Commit 5ba00d95 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add old ui-box style to panels

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d54d3324
...@@ -227,7 +227,10 @@ ul.breadcrumb { ...@@ -227,7 +227,10 @@ ul.breadcrumb {
* *
*/ */
.panel { .panel {
@include border-radius(0px);
.panel-heading { .panel-heading {
@include border-radius(0px);
font-size: 14px; font-size: 14px;
line-height: 18px; line-height: 18px;
...@@ -248,4 +251,16 @@ ul.breadcrumb { ...@@ -248,4 +251,16 @@ ul.breadcrumb {
background: #FFF; background: #FFF;
} }
} }
&.panel-small {
.panel-heading {
padding: 6px 15px;
}
}
&.panel-default {
.panel-heading {
background-color: #EEE;
}
}
} }
...@@ -106,12 +106,6 @@ ...@@ -106,12 +106,6 @@
} }
.mr-state-widget { .mr-state-widget {
@include border-radius(0px);
.panel-heading {
@include border-radius(0px);
}
.panel-body { .panel-body {
h4 { h4 {
margin-top: 0px; margin-top: 0px;
......
- if @issues.any? - if @issues.any?
- @issues.group_by(&:project).each do |group| - @issues.group_by(&:project).each do |group|
.panel.panel-default.panel.panel-default-small .panel.panel-default.panel-small
- project = group[0] - project = group[0]
.panel-heading .panel-heading
= link_to_project project = link_to_project project
......
- if @merge_requests.any? - if @merge_requests.any?
- @merge_requests.group_by(&:target_project).each do |group| - @merge_requests.group_by(&:target_project).each do |group|
.panel.panel-default.panel.panel-default-small .panel.panel-default.panel-small
- project = group[0] - project = group[0]
.panel-heading .panel-heading
= link_to_project project = link_to_project project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment