Commit 01ae7181 by marcotuts

visual adjustments to course outline

parent 49f20a32
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.section { .section {
margin: 0 (-1 * $baseline); margin: 0 (-1 * $baseline);
width: calc(100% + (2 * $baseline)); width: calc(100% + (2 * $baseline));
padding: 0 ($baseline * 2); padding: 0 ($baseline);
&:not(:first-child) { &:not(:first-child) {
.section-name { .section-name {
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
h3 { h3 {
font-weight: bold; font-weight: bold;
font-size: 1.1rem;
margin: 0; margin: 0;
} }
} }
...@@ -38,10 +39,15 @@ ...@@ -38,10 +39,15 @@
} }
ol.outline-item { ol.outline-item {
padding-bottom: $baseline;
border-bottom: 1px solid $light-grey-solid;
margin: 0 0 ($baseline / 2) 0; margin: 0 0 ($baseline / 2) 0;
.subsection { .subsection {
list-style-type: none; list-style-type: none;
border: 1px solid transparent;
border-radius: 3px;
a.outline-item { a.outline-item {
display: flex; display: flex;
...@@ -53,16 +59,16 @@ ...@@ -53,16 +59,16 @@
margin: 0; margin: 0;
} }
&:hover { &:hover, &:focus {
background-color: palette(primary, x-back); background-color: palette(primary, x-back);
border-radius: $btn-border-radius; border-radius: $btn-border-radius;
text-decoration: none;
} }
.subsection-text { .subsection-text {
.details { .details {
font-size: $body-font-size; font-size: $body-font-size;
color: $lms-gray; color: $lms-gray;
font-style: italic;
} }
} }
...@@ -82,6 +88,10 @@ ...@@ -82,6 +88,10 @@
@include float(right); @include float(right);
} }
} }
&:hover {
border: 1px solid $lms-active-color;
}
} }
} }
} }
......
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