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,6 +27,10 @@ div.video { ...@@ -27,6 +27,10 @@ div.video {
height: 0px; height: 0px;
} }
.wrapper-downloads {
margin: 0;
padding: 0;
.video-sources, .video-sources,
.video-tracks { .video-tracks {
display: inline-block; display: inline-block;
...@@ -37,17 +41,18 @@ div.video { ...@@ -37,17 +41,18 @@ div.video {
@include font-size(14); @include font-size(14);
display: inline-block; display: inline-block;
border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px;
background-color: $white; background-color: $very-light-text;
padding: ($baseline*.75); padding: ($baseline*.75);
color: $lighter-base-font-color; color: $lighter-base-font-color;
&:hover { &:hover {
background-color: $blue; background-color: $action-primary-active-bg;
color: $white; color: $very-light-text;
} }
} }
} }
}
article.video-wrapper { article.video-wrapper {
float: left; float: left;
......
...@@ -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