Commit 3eec9dc0 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1742347: Updating filling line to match theme style

Editing SASS to change the filling line so that the colour matches each different theme

behatnotneeded

Change-Id: Ib13b9fd1758b25ed5f193454322c5d9cf17d3fff
parent 5d8ab5f7
......@@ -420,6 +420,17 @@
if (data.error==false) {
_constructDom(data.message.data, obj);
$(window).trigger('versioningload');
$(window).on('resize', function() {
var timeline = $("#jtlinesection");
var eventwrapsize = timeline.find('.events-wrapper').width();
var navportsize = parseInt(timeline.find('.events-wrapper .events ol li:last a').css('left'), 10);
if ((navportsize + 50) >= eventwrapsize) {
timeline.find('.cd-timeline-navigation').find('.next').removeClass('inactive');
}
else {
timeline.find('.cd-timeline-navigation').find('.next').addClass('inactive');
}
});
}
else {
$(obj).html("Error fetching data");
......
......@@ -71,7 +71,7 @@ Main Components
top: 0;
height: 100%;
width: 100%;
background-color: darken($theme-primary-color, 10%);
background-color: $theme-primary-color;
-webkit-transform: scaleX(0);
-moz-transform: scaleX(0);
-ms-transform: scaleX(0);
......
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