Beautifully crafted timelines that are easy and intuitive to use. http://timeline.knightlab.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

544 lines
10 KiB

13 years ago
/*
Navigation
UI for Navigation
------------------------------------------------------------------------------------------- */
13 years ago
.vmm-timeline {
13 years ago
.navigation {
clear:both;
cursor:move;
width: 100%;
height:@navigation-height;
//overflow: hidden;
border-top: 1px solid @color-dark-fifth;
13 years ago
position: relative;
//.background-time-tic();
.toolbar {
position:absolute;
//top: -1px;
top:45px;
left:0px;
z-index:202;
13 years ago
background-color: @white;
//width:59px;
//height:150px;
border: 1px solid @color-line;
//border-top: 1px solid @color-line;
//border-bottom: 1px solid @color-line;
//border-right: 1px solid @color-line;
//.box-shadow();
.box-shadow(1px 1px 0px rgba(0,0,0,.20));
.zoom-in, .zoom-out, .back-home {
font-weight: normal;
font-size: 10px;
line-height: 20px;
13 years ago
//line-height:5px;
//position:absolute;
//display:inline-block;
top: 0px;
z-index:202;
13 years ago
width: 18px;
height: 18px;
color: @color-navigation-major-time;//@color-nav-description;
text-align:center;
//font-size:16px;
font-weight: bold;
border: 1px solid @white;
padding:5px;
//.box-shadow(1px 1px 0px #666);
//.box-shadow();
.opacity(50);
}
.zoom-in:hover, .zoom-out:hover, .back-home:hover {
//background-color: @color-line; //@color-nav-description;
color: @color-theme;
cursor: pointer;
.opacity(100);
}
.zoom-in {
//left:30px;
.icon {
//display:inline-block;
//padding-right:5px;
.icon-zoom-in();
}
}
.zoom-out {
//left:0px;
.icon {
//display:inline-block;
//padding-right:5px;
.icon-zoom-out();
}
}
.back-home {
.icon {
.icon-back-home();
}
}
}
.timenav-background {
position:absolute;
//z-index:2;
cursor:move;
top:0px;
left:0px;
height: @navigation-content-height;
width:100%;
background-color:@color-background-dark;
//background: @color-background-dark url(timeline-texture.png) repeat;
13 years ago
.timenav-interval-background {
position:absolute;
top:@navigation-content-height + 1;
left:0px;
background:@white;
width:100%;
height:@navigation-time-height - 1;
.box-shadow(-1px -1px 7px rgba(0,0,0,.1));
13 years ago
//.box-shadow(1px -1px 0px rgba(255,255,255,.70));
.top-highlight {
position:absolute;
top:-1px;
left:0px;
z-index:30;
width:100%;
height:1px;
background:@white;
.opacity(50);
.box-shadow(1px 1px 5px rgba(0,0,0,.20));
}
}
.timenav-line {
position:absolute;
top: 0px;
left: 50%;
width:3px;
height:150px;
background: @color-theme;
z-index:201;
13 years ago
.box-shadow();
}
.timenav-indicator {
position:absolute;
top: -1px;
left: 50%;
z-index:202;
.icon-currenttime();
}
13 years ago
}
.timenav {
position:absolute;
top: 0px;
left: -250px;
z-index:1;
.content {
position: relative;
.marker.start {
display:none;
}
.marker.active {
.dot {
background: @color-theme;
//.box-shadow();
z-index:200;
}
.line {
z-index:199;
background: @color-theme;
width:1px;
.event-line {
background: @color-theme;
.opacity(75 );
//.box-shadow();
}
}
.flag {
//.opacity(100);
z-index:200;
.time-flag-active();
//.box-shadow();
.flag-content {
h3 {
color: @color-theme;
}
.thumbnail {
opacity: 1;
-moz-opacity: 1;
filter:alpha(opacity=100);
}
13 years ago
}
}
.flag.row1, .flag.row2, .flag.row3 {
z-index:200;
}
}
.marker.active:hover {
cursor: default;
.flag {
.flag-content {
h3 {
color: @color-theme;
}
h4 {
color:@color-nav-title;
}
}
}
}
.marker:hover {
.line {
z-index:24;
13 years ago
background:@color-nav-title;
}
}
13 years ago
.marker {
position:absolute;
top: 0px;
left: 150px;
display: block;
.dot {
position:absolute;
top: 150px;
left: 0px;
display: block;
width: @navigation-marker-height;
height: @navigation-marker-height;
background: @color-dark-second;
.border-radius((@navigation-marker-height)/2);
z-index:21;
}
.line {
position:absolute;
top: 0px;
left: (@navigation-marker-height/2);
width:1px;
height:150px;
background: @color-line;
//background:@color-line-hover;
-moz-box-shadow: 1px 0 0 @color-base;
-webkit-box-shadow: 1px 0 0 @color-base;
box-shadow: 1px 0 0 @color-base;
13 years ago
//.opacity(25);
z-index:22;
.event-line {
position:absolute;
z-index:22;
left:0px;
height:1px;
width:1px;
//background:@color-line-hover;
background: @color-theme;
.opacity(15);
}
}
.flag {
position:absolute;
top: 15px;
left: (@navigation-marker-height/2);
padding:0px;
display: block;
z-index:23;
width:153px;
height:56px;
.time-flag();
13 years ago
.flag-content {
//padding: 5px 7px 2px 5px;
padding: 0px 7px 2px 6px;
13 years ago
overflow:hidden;
height:36px;
13 years ago
h3 {
font-weight: bold;
font-size: @base-font;
line-height: @base-line;
font-size: 11px;
line-height:11px;
//overflow: visible;
13 years ago
//color:@color-nav-date;
color:@color-nav-title;
margin-top:5px;
13 years ago
margin-bottom:2px;
small {
display:none;
}
}
h4 {
display:none;
font-weight: normal;
font-size: @base-font;
line-height: @base-line;
margin-top:5px;
13 years ago
font-size: 10px;
line-height:10px;
//color:@color-nav-title;
color:@color-nav-date;
small {
display:none;
}
}
13 years ago
.thumbnail {
margin-bottom: 15px;
margin-right: 3px;
opacity: 0.5;
-moz-opacity: 0.5;
filter:alpha(opacity=50);
img {
width:@base-thumb - 2;
height:@base-thumb - 2;
max-height:none;
max-width:none;
border:0;
border: 1px solid @color-nav-title;
padding:0;
margin:0;
}
13 years ago
}
}
13 years ago
}
.flag:hover {
cursor: pointer;
//.opacity(100);
.time-flag-active();
.flag-content {
h3 {
color:@color-dark-second;
}
h4 {
color:@color-nav-date;
}
.thumbnail {
opacity: 1;
-moz-opacity: 1;
filter:alpha(opacity=100);
13 years ago
}
}
}
.flag.row1 {
z-index:25;
top:48px;
}
.flag.row2 {
z-index:24;
top:96px;
}
.flag.row3 {
z-index:23;
top:1px;
}
.flag.zFront {
z-index:201;
13 years ago
}
}
.era {
position:absolute;
top: 138px;
left: 150px;
//height:17px;
height:12px;
display: block;
//background-color:@era-background;
background: @color-theme;
//.opacity(15);
overflow:hidden;
border-left: 1px solid @era-line;
border-right: 1px solid @era-line;
border-top: 1px solid @era-line;
//background:@color-line-hover;
.opacity(75);
//.border-radius(20);
-moz-border-radius-topleft: 7px;
-webkit-border-top-left-radius: 7px;
border-top-left-radius: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-top-right-radius: 7px;
border-top-right-radius: 7px;
z-index:-10;
h3 {
font-weight: bold;
font-size: 10px;
line-height: 10px;
13 years ago
color:@white;
position:absolute;
top:-1px;
left:9px;
}
}
}
13 years ago
.time {
position:absolute;
left:0px;
top: @navigation-content-height;
height:@navigation-time-height;
background-color:@color-background;
.time-interval-minor {
max-width:none;
13 years ago
height: @navigation-marker-height;
//display:block;
white-space:nowrap;
//overflow:hidden;
position: absolute;
top:-9px;
left:8px;
z-index:10;
//padding-left:7px;
.minor {
position: relative;
top:2px;
13 years ago
display:inline-block;
.background-time-interval();
width:100px;
//width:15px;
height: @navigation-marker-height;
background-position: center top;
white-space:nowrap;
color: @color-navigation-time;
margin-top:0px;
padding-top:0px;
}
}
13 years ago
.time-interval {
white-space:nowrap;
position:absolute;
top: @navigation-marker-height - 1;
left:0px;
div {
.background-time-interval();
background-position:left top;
background-repeat:no-repeat;
padding-top:3px;//@base-space;
position:absolute;
height:3px;//15px;
//top:-5px;//@base-space;
left:0px;
display:block;
//width:150px;
font-weight: normal;
font-size: 10px;
line-height: @base-line;
13 years ago
text-transform: uppercase;
text-align:left;
text-indent: 0px;
white-space:nowrap;
color: @color-navigation-time;
margin-left:0px;
margin-right:0px;
margin-top:1px;
z-index:2;
strong {
font-weight:bold;
color:@color-navigation-time-strong;
}
}
}
13 years ago
.time-interval-major {
white-space:nowrap;
position:absolute;
top: @navigation-marker-height - 1;
left:0px;
div {
.background-time-interval();
background-position:left top;
background-repeat:no-repeat;
padding-top:@base-space;
position:absolute;
height:15px;
//top:-5px;//@base-space;
left:0px;
display:block;
//width:150px;
font-weight: bold;
font-size: 12px;
line-height: @base-line;
13 years ago
text-transform: uppercase;
text-align:left;
text-indent: 0px;
white-space:nowrap;
color: @color-navigation-major-time;
margin-left:0px;
margin-right:0px;
margin-top:1px;
z-index:5;
strong {
font-weight:bold;
color:@color-navigation-time-strong;
}
}
}
}
}
}
}