Skip to content
Snippets Groups Projects
Commit b131ebb3 authored by Kevin Lin's avatar Kevin Lin
Browse files

Introduce card-meta class for modules

parent 23ac5963
No related branches found
No related tags found
No related merge requests found
<div class="module">
<h3 class="module-header"><strong class="module-week">{{ page.week }}</strong> {{ page.title }}</h3>
<h3 class="module-header"><strong class="module-meta">{{ page.week }}</strong> {{ page.title }}</h3>
{% if page.days %}
<dl class="module-days">
{% for day in page.days %}
......
......@@ -23,3 +23,9 @@
.card-body {
flex: 1 1 auto;
}
.card-meta {
@extend .label;
border-radius: $border-radius;
padding-bottom: 0;
}
......@@ -60,9 +60,8 @@
}
.label {
border-radius: $border-radius;
@extend .card-meta;
margin-left: 0;
padding-bottom: 0;
&.label-hw-out {
@extend .label-yellow;
......@@ -79,9 +78,8 @@
}
}
.module-week {
@extend .label, .text-grey-dk-100, .bg-grey-lt-200;
border-radius: $border-radius;
.module-meta {
@extend .card-meta, .text-grey-dk-100, .bg-grey-lt-200;
}
.module-header {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment