Commit 5ba00d950bb15fde71f58ac08ec22e04cc9437d6

Authored by Dmitriy Zaporozhets
1 parent d54d3324

Add old ui-box style to panels

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/gl_bootstrap.scss
... ... @@ -227,7 +227,10 @@ ul.breadcrumb {
227 227 *
228 228 */
229 229 .panel {
  230 + @include border-radius(0px);
  231 +
230 232 .panel-heading {
  233 + @include border-radius(0px);
231 234 font-size: 14px;
232 235 line-height: 18px;
233 236  
... ... @@ -248,4 +251,16 @@ ul.breadcrumb {
248 251 background: #FFF;
249 252 }
250 253 }
  254 +
  255 + &.panel-small {
  256 + .panel-heading {
  257 + padding: 6px 15px;
  258 + }
  259 + }
  260 +
  261 + &.panel-default {
  262 + .panel-heading {
  263 + background-color: #EEE;
  264 + }
  265 + }
251 266 }
... ...
app/assets/stylesheets/sections/merge_requests.scss
... ... @@ -106,12 +106,6 @@
106 106 }
107 107  
108 108 .mr-state-widget {
109   - @include border-radius(0px);
110   -
111   - .panel-heading {
112   - @include border-radius(0px);
113   - }
114   -
115 109 .panel-body {
116 110 h4 {
117 111 margin-top: 0px;
... ...
app/views/shared/_issues.html.haml
1 1 - if @issues.any?
2 2 - @issues.group_by(&:project).each do |group|
3   - .panel.panel-default.panel.panel-default-small
  3 + .panel.panel-default.panel-small
4 4 - project = group[0]
5 5 .panel-heading
6 6 = link_to_project project
... ...
app/views/shared/_merge_requests.html.haml
1 1 - if @merge_requests.any?
2 2 - @merge_requests.group_by(&:target_project).each do |group|
3   - .panel.panel-default.panel.panel-default-small
  3 + .panel.panel-default.panel-small
4 4 - project = group[0]
5 5 .panel-heading
6 6 = link_to_project project
... ...