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.

290 lines
5.1 KiB

13 years ago
/*
* VMM Timeline Core
13 years ago
* Basic and global styles for generating structural layout
* ------------------------------------------------------------------------------------------- */
/* TIMELINE EMBED
13 years ago
================================================== */
#timeline-embed {
background-color: @color-background;
margin-bottom:20px;
border: 1px solid @color-line;
padding-top:20px;
padding-bottom:20px;
clear:both;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.25);
box-shadow: 1px 2px 6px rgba(0,0,0,.25);
}
13 years ago
/* TIMELINE
================================================== */
.vmm-timeline {
13 years ago
width: 100%;
height:100%;
//border: 1px solid @color-line;
padding:0px;
margin:0px;
background-color:@color-background;
position: absolute;
//border: 1px solid @color-line;
z-index:100;
clear:both;
13 years ago
overflow:hidden;
.hyphenate {
//white-space:nowrap;
//width:200px;
//overflow-x:hidden;
//display:inline-block;
//height:@base-line;
}
/* FEATURE
================================================== */
.feature {
width: 100%;
.slider {
width: 100%;
float: left;
position: relative;
z-index:10;
padding-top:@base-space;
.box-shadow();
}
}
13 years ago
/* FEEDBACK
================================================== */
.feedback {
position: absolute;
display:table;
overflow:hidden;
top:0px;
left:0px;
z-index:205;
13 years ago
width: 100%;
height:100%;
background-color:@color-background-dark;
border: 1px solid @color-line;
//.opacity(80);
.messege {
display:table-cell;
vertical-align:middle;
13 years ago
font-size: @base-font;
font-weight: normal;
line-height: @base-line;
13 years ago
width:75%;
margin-left:auto;
margin-right:auto;
margin-top:auto;
margin-bottom:auto;
text-align: center;
}
}
/* Container
================================================== */
.container.main {
//margin-bottom:@base-space;
//margin-top:@base-space;
position: absolute;
top:0px:
left:0px;
padding-bottom:3px;
//margin-top:@base-space;
width: auto;
height: auto;
margin:0px;
clear:both;
}
img, embed, object, video, iframe {
max-width: 100%;
}
iframe {
//margin-bottom:5px;
}
13 years ago
img {
max-height:100%;
//border: 1px solid @color-line;
border: 1px solid @color-credit;
}
a {
color:@color-theme;
text-decoration: none;
}
a:hover {
color:@color-theme-dark;
text-decoration: underline;
}
.twitter {
text-align:left;
margin-left: auto;
margin-right: auto;
margin-bottom:@base-space;
clear:both;
13 years ago
blockquote {
font-size: @base-font;
line-height: @base-line;
color:@color-feature-description;
p {
font-size: 28px;
line-height: 36px;
margin-bottom: 6px;
padding-top: 10px;
background-color:@white;
color:@color-feature-title;
//margin-left:10px;
}
.quote-mark {
color:@color-dark-third;
}
}
.created-at {
.icon-twitter();
width:24px;
height:24px;
overflow:hidden;
margin-left:@base-space;
display:inline-block;
float:right;
.opacity(25);
}
.created-at:hover {
.opacity(100);
}
.vcard {
float:right;
margin-bottom:@base-space;
//position: relative;
a {
color: @color-dark-second;
}
a:hover {
text-decoration: none;
.fn {
text-decoration: underline;
}
}
.fn, .nickname {
padding-left: 42px;
}
.fn {
display:block;
//display:inline;
font-weight: bold;
13 years ago
}
.nickname {
margin-top:3px;
display:block;
color: @color-dark-third;
}
.avatar {
float:left;
//position: absolute;
display: block;
width: 32px;
height: 32px;
img {
//border: 0px solid #999;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
}
13 years ago
}
13 years ago
}
.layout-media {
.twitter {
max-width:70%;
}
}
.thumbnail {
width:24px;
height:24px;
overflow:hidden;
float:left;
margin-right:1px;
margin-top:6px;
//margin-left:6px;
/*
border: 0px solid @color-line;
border-bottom-width: 1px;
border-right-width: 1px;
//background:#E9E9E9;
-webkit-border-bottom-right-radius:3px;
-moz-border-bottom-right-radius:3px;
border-bottom-right-radius:3px;
-webkit-border-top-left-radius:3px;
-moz-border-top-left-radius:3px;
border-top-left-radius:3px;
-moz-box-shadow: 1px 1px 0 @color-base;
-webkit-box-shadow: 1px 1px 0 @color-base;
box-shadow: 1px 1px 0 @color-base;
*/
}
.thumbnail.thumb-plaintext {
.icon-plaintext();
}
.thumbnail.thumb-quote {
.icon-quote();
}
.thumbnail.thumb-document {
.icon-document();
13 years ago
}
.thumbnail.thumb-photo {
.icon-photo();
border:0;
img {
13 years ago
border:0px none @color-line !important;
}
}
.thumbnail.thumb-twitter {
13 years ago
.icon-twitter();
}
.thumbnail.thumb-vimeo {
13 years ago
.icon-vimeo();
}
.thumbnail.thumb-youtube {
13 years ago
.icon-youtube();
}
.thumbnail.thumb-video {
.icon-video();
}
.thumbnail.thumb-audio {
.icon-audio();
13 years ago
}
.thumbnail.thumb-map {
.icon-mappin();
13 years ago
}
.thumbnail.thumb-website {
.icon-website();
}
13 years ago
.zFront {
z-index:204;
13 years ago
}
}