- Doubled up :hover and :focus styling to improve a11y - Increase contrast of certain UI elements for improved a11y - Added some image alt text for a11y - Changed video caption styling to blue and made them underline on hover and added a skip link before video for screenreaders. Fixes Bugs: - LMS-1336
234 lines
4.5 KiB
SCSS
234 lines
4.5 KiB
SCSS
div.info-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(1.5);
|
|
padding-bottom: lh(.75);
|
|
|
|
ol, ul {
|
|
ol,ul {
|
|
list-style-type: disc;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
font-size: $body-font-size;
|
|
font-weight: bold;
|
|
background: url('../images/calendar-icon.png') 0 center no-repeat;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
section.update-description {
|
|
section {
|
|
&.primary {
|
|
border: 1px solid #DDD;
|
|
background: #F6F6F6;
|
|
padding: 20px;
|
|
|
|
p {
|
|
font-weight: bold;
|
|
}
|
|
.author {
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
margin: lh(1.5) 0 lh(.5);
|
|
}
|
|
|
|
> ul {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
> ol {
|
|
list-style: decimal outside none;
|
|
padding: 0 0 0 1em;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: lh(.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
section.handouts {
|
|
@extend .sidebar;
|
|
border-radius: 0 4px 4px 0;
|
|
border-left: 1px solid #ddd;
|
|
box-shadow: none;
|
|
font-size: 14px;
|
|
|
|
&:after {
|
|
left: -1px;
|
|
right: auto;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 0;
|
|
padding: 32px 26px 20px 26px;
|
|
font-size: 18px;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
}
|
|
|
|
ol {
|
|
li {
|
|
margin: 0 26px 14px 26px;
|
|
|
|
a {
|
|
display: block;
|
|
padding: 0;
|
|
|
|
&:hover, &:focus {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
&.expandable,
|
|
&.collapsable {
|
|
margin: 0 16px 14px 16px;
|
|
@include transition(all .2s linear 0s);
|
|
|
|
h4 {
|
|
color: $link-color;
|
|
font-size: 1em;
|
|
font-weight: normal;
|
|
padding-left: 30px;
|
|
}
|
|
}
|
|
|
|
&.collapsable {
|
|
background: #fff;
|
|
border-radius: 3px;
|
|
padding: 14px 0;
|
|
box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .25);
|
|
|
|
h4 {
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
&.multiple {
|
|
|
|
a {
|
|
@include inline-block;
|
|
padding: 0;
|
|
|
|
&:hover, &:focus {
|
|
background: transparent;
|
|
}
|
|
}
|
|
}
|
|
|
|
ul {
|
|
background: none;
|
|
margin: 0;
|
|
|
|
li {
|
|
border-bottom: 0;
|
|
border-top: 1px solid #e6e6e6;
|
|
font-size: 0.9em;
|
|
margin: 0;
|
|
padding: 15px 30px;
|
|
|
|
a {
|
|
@include inline-block;
|
|
padding: 0;
|
|
|
|
&:hover, &:focus {
|
|
background: transparent;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.hitarea {
|
|
background-image: url('../images/treeview-default.gif') no-repeat;
|
|
display: block;
|
|
height: 100%;
|
|
margin-left: 0;
|
|
max-height: 20px;
|
|
position: absolute;
|
|
width: 100%;
|
|
|
|
&:hover, &:focus {
|
|
opacity: 0.6;
|
|
filter: alpha(opacity=60);
|
|
|
|
+ h4 {
|
|
@extend a:hover;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&.expandable-hitarea {
|
|
background-position: -72px 0px;
|
|
}
|
|
|
|
&.collapsable-hitarea {
|
|
background-position: -55px -23px;
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
border-bottom: 0;
|
|
box-shadow: none;
|
|
color: #888;
|
|
font-size: 1em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|