Files
edx-platform/lms/static/sass/course/_info.scss

198 lines
3.8 KiB
SCSS

div.info-wrapper {
@extend .table-wrapper;
section.updates {
@extend .content;
line-height: lh();
> h1 {
@extend .top-header;
}
> p {
margin-bottom: lh();
}
> ol {
list-style: none;
margin-bottom: lh();
padding-left: 0;
> li {
@extend .clearfix;
border-bottom: 1px solid lighten($border-color, 10%);
list-style-type: disk;
margin-bottom: lh();
padding-bottom: lh(.5);
&:first-child {
margin: 0 (-(lh(.5))) lh();
padding: lh(.5);
}
ol, ul {
margin: 0;
list-style-type: disk;
ol,ul {
list-style-type: circle;
}
}
h2 {
float: left;
font-size: $body-font-size;
font-weight: bold;
margin: 0 flex-gutter() 0 0;
width: flex-grid(2, 9);
}
section.update-description {
float: left;
margin-bottom: 0;
width: flex-grid(7, 9);
li {
margin-bottom: lh(.5);
}
p {
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
section.handouts {
@extend .sidebar;
border-left: 1px solid $border-color;
@include border-radius(0 4px 4px 0);
border-right: 0;
@include box-shadow(none);
h1 {
@extend .bottom-border;
margin-bottom: 0;
padding: lh(.5) lh(.5);
}
ol {
li {
a {
display: block;
padding-left: lh(.5);
padding-right: 0;
}
&.expandable,
&.collapsable {
h4 {
color: $blue;
font-size: 1em;
font-weight: normal;
padding: lh(.25) 0 lh(.25) lh(1.5);
}
}
&.multiple {
padding: lh(.5) 0 lh(.5) lh(.5);
a {
@include inline-block;
padding: 0;
&:hover {
background: transparent;
}
}
}
ul {
background: none;
margin: 0;
li {
border-bottom: 0;
border-top: 1px solid $border-color;
@include box-shadow(inset 0 1px 0 #eee);
font-size: 1em;
padding: lh(.5) 0 lh(.5) lh(.5);
a {
@include inline-block;
padding: 0;
&:hover {
background: transparent;
}
}
}
}
div.hitarea {
background-image: url('../images/treeview-default.gif');
display: block;
height: 100%;
margin-left: 0;
max-height: 30px;
position: absolute;
width: 100%;
&:hover {
opacity: 0.6;
filter: alpha(opacity=60);
+ h4 {
@extend a:hover;
text-decoration: underline;
}
}
&.expandable-hitarea {
background-position: -72px 7px;
}
&.collapsable-hitarea {
background-position: -55px -15px;
}
}
h3 {
border-bottom: 0;
@include box-shadow(none);
color: #aaa;
font-size: 1em;
margin-bottom: em(6);
}
p {
letter-spacing: 0;
margin: 0;
text-transform: none;
a {
padding-right: 8px;
&:before {
color: #ccc;
content: "";
@include inline-block();
padding-right: 8px;
}
&:first-child {
&:before {
content: "";
padding-right: 0;
}
}
}
}
}
}
}
}