Skip to content

Commit

Permalink
Make teacher info card colored
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Feb 28, 2024
1 parent 2c2af96 commit 3d71d0a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
--bs-danger-rgb: var(--d-danger-rgb);
--bs-light: $neutral-90;
--bs-dark: $neutral-25;
--bs-secondary-text-emphasis: var(--d-on-secondary-container);
--bs-secondary-bg-subtle: var(--d-secondary-container);

// not overwritten
// --bs-primary-text-emphasis: #052c65;
// --bs-secondary-text-emphasis: #2b2f32;
// --bs-success-text-emphasis: #0a3622;
// --bs-info-text-emphasis: #055160;
// --bs-warning-text-emphasis: #664d03;
Expand Down
22 changes: 10 additions & 12 deletions app/views/pages/_teacher_intro_card.html.erb
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<div class="card">
<div class="card-supporting-text">
<h2 class="card-title-text mb-3">
<%= t ".title" %>
</h2>
<% if current_user.student? %>
<p>
<%= t ".rights_request_html" %>
</p>
<% end %>
<div class="alert alert-secondary">
<h2 class="card-title-text mb-3">
<%= t ".title" %>
</h2>
<% if current_user.student? %>
<p>
<%= t ".documentation_html" %>
<%= t ".rights_request_html" %>
</p>
</div>
<% end %>
<p>
<%= t ".documentation_html" %>
</p>
</div>

0 comments on commit 3d71d0a

Please sign in to comment.