229 lines
5.2 KiB
SCSS
229 lines
5.2 KiB
SCSS
div.course-wrapper {
|
|
@extend .table-wrapper;
|
|
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
div#accordion {
|
|
@extend .sidebar;
|
|
|
|
div#open_close_accordion {
|
|
position: absolute;
|
|
right: 0px;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #ccc;
|
|
border: 1px solid black;
|
|
right: -22px;
|
|
top: 5px;
|
|
}
|
|
|
|
h3 {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
|
|
&:last-child {
|
|
@include box-shadow(none);
|
|
}
|
|
|
|
&.ui-accordion-header {
|
|
color: #000;
|
|
|
|
a {
|
|
font-size: $body-font-size;
|
|
color: lighten($text-color, 10%);
|
|
}
|
|
|
|
&.ui-state-hover {
|
|
border: none;
|
|
border-bottom: 1px solid #d3d3d3;
|
|
}
|
|
|
|
&.ui-state-active {
|
|
@extend .active;
|
|
}
|
|
}
|
|
}
|
|
|
|
ul.ui-accordion-content {
|
|
@include border-radius(0);
|
|
@include box-shadow( inset -1px 0 0 #e6e6e6);
|
|
background: #d6d6d6;
|
|
border: none;
|
|
border-bottom: 1px solid #c3c3c3;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
|
|
li {
|
|
&.active {
|
|
font-weight: bold;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
margin-bottom: lh(.5);
|
|
display: block;
|
|
|
|
&:hover {
|
|
color: #666;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 0;
|
|
|
|
&.subtitle {
|
|
color: #666;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
section.course-content {
|
|
@extend .content;
|
|
|
|
ol.vert-mod {
|
|
> li {
|
|
@extend .clearfix;
|
|
border-bottom: 1px solid #eee;
|
|
padding: 15px 0;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
display: inline-block;
|
|
margin: 8px 4px 4px 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
ol.sequence-nav {
|
|
margin-bottom: $body-line-height;
|
|
@extend .topbar;
|
|
|
|
li {
|
|
border: none;
|
|
cursor: pointer;
|
|
display: table-cell;
|
|
padding: lh(.75);
|
|
float: left;
|
|
|
|
//problem
|
|
&.seq_problem_inactive {
|
|
width: 14px;
|
|
background: url('/static/images/problem-icon.png') 13px 13px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 10%));
|
|
|
|
&:hover {
|
|
background-color: lighten(#F6EFD4, 3%);
|
|
}
|
|
}
|
|
|
|
&.seq_problem_visited {
|
|
width: 14px;
|
|
background: shade(#F6EFD4, 4%) url('/static/images/problem-icon.png') -57px 13px no-repeat;
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
&.seq_problem_active {
|
|
width: 14px;
|
|
background: #FFFBEB url('/static/images/problem-icon.png') -22px 13px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 20%), inset 1px 0 0 darken(#F6EFD4, 20%));
|
|
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
//video
|
|
&.seq_video_inactive {
|
|
width: 14px;
|
|
background: url('/static/images/video-icon.png') 13px 15px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 10%));
|
|
|
|
&:hover {
|
|
background-color: lighten(#F6EFD4, 3%);
|
|
}
|
|
}
|
|
|
|
&.seq_video_visited {
|
|
width: 14px;
|
|
background: shade(#F6EFD4, 4%) url('/static/images/video-icon.png') -81px 15px no-repeat;
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
&.seq_video_active {
|
|
width: 14px;
|
|
background: #FFFBEB url('/static/images/video-icon.png') -32px 15px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 20%),inset 1px 0 0 darken(#F6EFD4, 20%));
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
|
|
//vertical
|
|
&.seq_vertical_inactive {
|
|
width: 14px;
|
|
background: url('/static/images/vertical-icon.png') -82px 15px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 10%));
|
|
|
|
&:hover {
|
|
background-color: lighten(#F6EFD4, 3%);
|
|
}
|
|
}
|
|
|
|
&.seq_vertical_visited {
|
|
width: 14px;
|
|
background: shade(#F6EFD4, 4%) url('/static/images/vertical-icon.png') 13px 15px no-repeat;
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
&.seq_vertical_active {
|
|
width: 14px;
|
|
background: #FFFBEB url('/static/images/vertical-icon.png') -35px 15px no-repeat;
|
|
@include box-shadow(inset -1px 0 0 darken(#F6EFD4, 20%), inset 1px 0 0 darken(#F6EFD4, 20%));
|
|
|
|
&:hover {
|
|
background-color: #F6EFD4;
|
|
}
|
|
}
|
|
|
|
&.prev, &.next {
|
|
@include box-shadow(inset 1px 0 0 lighten(#f6efd4, 5%));
|
|
background: darken(#F6EFD4, 5%);
|
|
border-left: 1px solid darken(#f6efd4, 20%);
|
|
color: darken(#F6EFD4, 80%);
|
|
float: right;
|
|
letter-spacing: 1px;
|
|
padding: lh(.75);
|
|
text-transform: uppercase;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: darken(#F6EFD4, 60%);
|
|
text-decoration: none;
|
|
background: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|