Skip to content

Commit

Permalink
Merge pull request #1213 from OSC/sandbox-heading
Browse files Browse the repository at this point in the history
Removed the panels classes since they were deprecated in bootstrap 4 …
  • Loading branch information
johrstrom authored Jun 11, 2021
2 parents 379c782 + f1a2eb8 commit 6991a63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions apps/dashboard/app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,17 @@ pre.motd-monospaced {

// Add branded panels

/**
.panel-ood-blue {
@include panel-variant($ood-blue, $ood-white, $ood-blue, $ood-blue);
.sandbox-apps-header {
background-color: $ood-burgundy;
color: $ood-white;
}

.panel-ood-burgundy {
@include panel-variant($ood-burgundy, $ood-white, $ood-burgundy, $ood-burgundy);
.system-apps-header {
background-color: $ood-blue;
color: $ood-white;
}

/**
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max + 125) {
@include responsive-invisibility('.hidden-sm-nav');
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card panel panel-<%= local_assigns.fetch(:style, "default") %>">
<div class="card <%= local_assigns.fetch(:style, "system-apps-header") %>">
<div class="card-header"><%= title %></div>
<div class="list-group list-group-flush">
<%-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
title: "#{app_group.title}" + t('dashboard.batch_connect_sandbox'),
apps: app_group.apps,
current_url: local_assigns[:current_url],
style: "ood-burgundy"
style: "sandbox-apps-header"
}
)
%>
Expand Down

0 comments on commit 6991a63

Please sign in to comment.