addressing review feedback on video buttons - switched to use themeable color variables

This commit is contained in:
Frances Botsford
2013-10-10 10:09:43 -04:00
parent 729c0bca09
commit 5d509c2e08
3 changed files with 28 additions and 16 deletions

View File

@@ -199,3 +199,10 @@ $error-red: rgb(253, 87, 87);
// type
$sans-serif: $f-sans-serif;
$body-line-height: golden-ratio(.875em, 1);
// carried over from LMS for xmodules
$action-primary-active-bg: #1AA1DE; // $m-blue
$very-light-text: #fff;

View File

@@ -27,26 +27,31 @@ div.video {
height: 0px;
}
.video-sources,
.video-tracks {
display: inline-block;
margin: ($baseline*.75) ($baseline/2) 0 0;
.wrapper-downloads {
margin: 0;
padding: 0;
a {
@include transition(all 0.25s ease-in-out 0s);
@include font-size(14);
.video-sources,
.video-tracks {
display: inline-block;
border-radius: 3px 3px 3px 3px;
background-color: $white;
padding: ($baseline*.75);
color: $lighter-base-font-color;
margin: ($baseline*.75) ($baseline/2) 0 0;
&:hover {
background-color: $blue;
color: $white;
a {
@include transition(all 0.25s ease-in-out 0s);
@include font-size(14);
display: inline-block;
border-radius: 3px 3px 3px 3px;
background-color: $very-light-text;
padding: ($baseline*.75);
color: $lighter-base-font-color;
&:hover {
background-color: $action-primary-active-bg;
color: $very-light-text;
}
}
}
}
}
article.video-wrapper {

View File

@@ -76,7 +76,7 @@
</div>
<div class="focus_grabber last"></div>
<ul class="downloads-wrapper">
<ul class="wrapper-downloads">
% if sources.get('main'):
<li class="video-sources">
${('<a href="%s">' + _('Download video') + '</a>') % sources.get('main')}