Browse Source

Added right to left flag issue #176

pull/197/head
Zach Wise 12 years ago
parent
commit
eb8f9783e3
  1. 1
      compiled/css/themes/dark.css
  2. 1
      compiled/css/timeline.css
  3. 2
      compiled/js/locale/ar.js
  4. 4
      compiled/js/timeline-min.js
  5. 4
      compiled/js/timeline.js
  6. 2
      source/js/Core
  7. 4
      source/js/VMM.Timeline.js
  8. 2
      source/less/Core

1
compiled/css/themes/dark.css

@ -52,6 +52,7 @@
.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:28px;line-height:36px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#1a1a1a;color:#ffffff;}
.vco-storyjs .credit{color:#999999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both;}
.vco-storyjs .caption{text-align:left;margin-top:5px;color:#aaaaaa;font-size:11px;line-height:14px;clear:both;}
.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left div,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td,.vco-storyjs.vco-right-to-left .vco-container,.vco-storyjs.vco-right-to-left .content-container,.vco-storyjs.vco-right-to-left .media,.vco-storyjs.vco-right-to-left .text,.vco-storyjs.vco-right-to-left .vco-slider,.vco-storyjs.vco-right-to-left .slider,.vco-storyjs.vco-right-to-left .date,.vco-storyjs.vco-right-to-left .title,.vco-storyjs.vco-right-to-left .messege,.vco-storyjs.vco-right-to-left .map,.vco-storyjs.vco-right-to-left .credit,.vco-storyjs.vco-right-to-left .caption,.vco-storyjs.vco-right-to-left .vco-feedback,.vco-storyjs.vco-right-to-left .vco-feature,.vco-storyjs.vco-right-to-left .toolbar,.vco-storyjs.vco-right-to-left .marker,.vco-storyjs.vco-right-to-left .dot,.vco-storyjs.vco-right-to-left .line,.vco-storyjs.vco-right-to-left .flag,.vco-storyjs.vco-right-to-left .time,.vco-storyjs.vco-right-to-left .era,.vco-storyjs.vco-right-to-left .major,.vco-storyjs.vco-right-to-left .minor,.vco-storyjs.vco-right-to-left .vco-navigation,.vco-storyjs.vco-right-to-left .start,.vco-storyjs.vco-right-to-left .active{direction:rtl;}
.tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px;}
.tooltip.in{opacity:0.8;filter:alpha(opacity=80);}
.tooltip.top{margin-top:-2px;}

1
compiled/css/timeline.css

@ -52,6 +52,7 @@
.vco-storyjs blockquote,.vco-storyjs blockquote p{font-size:28px;line-height:36px;text-align:left;margin-bottom:6px;padding-top:10px;background-color:#ffffff;color:#000000;}
.vco-storyjs .credit{color:#999999;text-align:right;font-size:10px;line-height:10px;display:block;margin:0 auto;clear:both;}
.vco-storyjs .caption{text-align:left;margin-top:5px;color:#666666;font-size:11px;line-height:14px;clear:both;}
.vco-storyjs.vco-right-to-left h1,.vco-storyjs.vco-right-to-left h2,.vco-storyjs.vco-right-to-left h3,.vco-storyjs.vco-right-to-left h4,.vco-storyjs.vco-right-to-left h5,.vco-storyjs.vco-right-to-left h6,.vco-storyjs.vco-right-to-left p,.vco-storyjs.vco-right-to-left blockquote,.vco-storyjs.vco-right-to-left div,.vco-storyjs.vco-right-to-left pre,.vco-storyjs.vco-right-to-left a,.vco-storyjs.vco-right-to-left abbr,.vco-storyjs.vco-right-to-left acronym,.vco-storyjs.vco-right-to-left address,.vco-storyjs.vco-right-to-left cite,.vco-storyjs.vco-right-to-left code,.vco-storyjs.vco-right-to-left del,.vco-storyjs.vco-right-to-left dfn,.vco-storyjs.vco-right-to-left em,.vco-storyjs.vco-right-to-left img,.vco-storyjs.vco-right-to-left q,.vco-storyjs.vco-right-to-left s,.vco-storyjs.vco-right-to-left samp,.vco-storyjs.vco-right-to-left small,.vco-storyjs.vco-right-to-left strike,.vco-storyjs.vco-right-to-left strong,.vco-storyjs.vco-right-to-left sub,.vco-storyjs.vco-right-to-left sup,.vco-storyjs.vco-right-to-left tt,.vco-storyjs.vco-right-to-left var,.vco-storyjs.vco-right-to-left dd,.vco-storyjs.vco-right-to-left dl,.vco-storyjs.vco-right-to-left dt,.vco-storyjs.vco-right-to-left li,.vco-storyjs.vco-right-to-left ol,.vco-storyjs.vco-right-to-left ul,.vco-storyjs.vco-right-to-left fieldset,.vco-storyjs.vco-right-to-left form,.vco-storyjs.vco-right-to-left label,.vco-storyjs.vco-right-to-left legend,.vco-storyjs.vco-right-to-left button,.vco-storyjs.vco-right-to-left table,.vco-storyjs.vco-right-to-left caption,.vco-storyjs.vco-right-to-left tbody,.vco-storyjs.vco-right-to-left tfoot,.vco-storyjs.vco-right-to-left thead,.vco-storyjs.vco-right-to-left tr,.vco-storyjs.vco-right-to-left th,.vco-storyjs.vco-right-to-left td,.vco-storyjs.vco-right-to-left .vco-container,.vco-storyjs.vco-right-to-left .content-container,.vco-storyjs.vco-right-to-left .media,.vco-storyjs.vco-right-to-left .text,.vco-storyjs.vco-right-to-left .vco-slider,.vco-storyjs.vco-right-to-left .slider,.vco-storyjs.vco-right-to-left .date,.vco-storyjs.vco-right-to-left .title,.vco-storyjs.vco-right-to-left .messege,.vco-storyjs.vco-right-to-left .map,.vco-storyjs.vco-right-to-left .credit,.vco-storyjs.vco-right-to-left .caption,.vco-storyjs.vco-right-to-left .vco-feedback,.vco-storyjs.vco-right-to-left .vco-feature,.vco-storyjs.vco-right-to-left .toolbar,.vco-storyjs.vco-right-to-left .marker,.vco-storyjs.vco-right-to-left .dot,.vco-storyjs.vco-right-to-left .line,.vco-storyjs.vco-right-to-left .flag,.vco-storyjs.vco-right-to-left .time,.vco-storyjs.vco-right-to-left .era,.vco-storyjs.vco-right-to-left .major,.vco-storyjs.vco-right-to-left .minor,.vco-storyjs.vco-right-to-left .vco-navigation,.vco-storyjs.vco-right-to-left .start,.vco-storyjs.vco-right-to-left .active{direction:rtl;}
.tooltip{position:absolute;z-index:205;display:block;visibility:visible;padding:5px;opacity:0;filter:alpha(opacity=0);font-size:15px;font-weight:bold;line-height:20px;font-size:12px;line-height:12px;}
.tooltip.in{opacity:0.8;filter:alpha(opacity=80);}
.tooltip.top{margin-top:-2px;}

2
compiled/js/locale/ar.js

@ -1,2 +1,2 @@
/* LANGUAGE
================================================== */typeof VMM!="undefined"&&(VMM.Language={lang:"ar",api:{wikipedia:"ar"},date:{month:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],month_abbr:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],day:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],day_abbr:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"},messages:{loading_timeline:"جاري التحميل... ",return_to_title:"العودة",expand_timeline:"تكبير العرض",contract_timeline:"الاتفاقية",wikipedia:"من ويكيبيديا, الموسوعة الحرة",loading_content:"تحميل المحتوى",loading:"تحميل"}});
================================================== */typeof VMM!="undefined"&&(VMM.Language={lang:"ar",right_to_left:!0,api:{wikipedia:"ar"},date:{month:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],month_abbr:["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],day:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],day_abbr:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",full_long:"mmm d',' yyyy 'at' hh:MM TT",full_long_small_date:"hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"},messages:{loading_timeline:"جاري التحميل... ",return_to_title:"العودة",expand_timeline:"تكبير العرض",contract_timeline:"الاتفاقية",wikipedia:"من ويكيبيديا, الموسوعة الحرة",loading_content:"تحميل المحتوى",loading:"تحميل"}});

4
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

4
compiled/js/timeline.js

@ -6166,6 +6166,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
VMM.Lib.addClass($timeline, "vco-notouch");
}
if (typeof config.language.right_to_left != 'undefined') {
VMM.Lib.addClass($main, "vco-right-to-left");
}
slider = new VMM.Slider($slider, config);
timenav = new VMM.Timeline.TimeNav($navigation);

2
source/js/Core

@ -1 +1 @@
Subproject commit 2043c0d8e95d8c48f3d76bea5873f1f796bf167f
Subproject commit 05a6afbadc1abf9d9c13127dd9046b06a358d96a

4
source/js/VMM.Timeline.js

@ -233,6 +233,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
VMM.Lib.addClass($timeline, "vco-notouch");
}
if (typeof config.language.right_to_left != 'undefined') {
VMM.Lib.addClass($main, "vco-right-to-left");
}
slider = new VMM.Slider($slider, config);
timenav = new VMM.Timeline.TimeNav($navigation);

2
source/less/Core

@ -1 +1 @@
Subproject commit edfe0f1b8795fdccfc1cc96098dffca924e5769b
Subproject commit c8e10188a487383afbff307b408a8dfa1fc4f068
Loading…
Cancel
Save