Commit 5d509c2e by Frances Botsford

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

parent 729c0bca
...@@ -199,3 +199,10 @@ $error-red: rgb(253, 87, 87); ...@@ -199,3 +199,10 @@ $error-red: rgb(253, 87, 87);
// type // type
$sans-serif: $f-sans-serif; $sans-serif: $f-sans-serif;
$body-line-height: golden-ratio(.875em, 1); $body-line-height: golden-ratio(.875em, 1);
// carried over from LMS for xmodules
$action-primary-active-bg: #1AA1DE; // $m-blue
$very-light-text: #fff;
...@@ -27,26 +27,31 @@ div.video { ...@@ -27,26 +27,31 @@ div.video {
height: 0px; height: 0px;
} }
.video-sources, .wrapper-downloads {
.video-tracks { margin: 0;
display: inline-block; padding: 0;
margin: ($baseline*.75) ($baseline/2) 0 0;
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: $white;
padding: ($baseline*.75);
color: $lighter-base-font-color;
&:hover { .video-sources,
background-color: $blue; .video-tracks {
color: $white; display: inline-block;
margin: ($baseline*.75) ($baseline/2) 0 0;
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 { article.video-wrapper {
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</div> </div>
<div class="focus_grabber last"></div> <div class="focus_grabber last"></div>
<ul class="downloads-wrapper"> <ul class="wrapper-downloads">
% if sources.get('main'): % if sources.get('main'):
<li class="video-sources"> <li class="video-sources">
${('<a href="%s">' + _('Download video') + '</a>') % sources.get('main')} ${('<a href="%s">' + _('Download video') + '</a>') % sources.get('main')}
......
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