Browse Source

Added more definitions to thumbnail class to prevent bootstrap sites from funkifying the thumbnails closes #124

pull/127/head
Zach Wise 13 years ago
parent
commit
f0e1c1d02d
  1. 66
      source/less/VMM.Timeline.Core.less

66
source/less/VMM.Timeline.Core.less

@ -141,6 +141,8 @@
color:@color-theme-dark; color:@color-theme-dark;
text-decoration: underline; text-decoration: underline;
} }
.vcard { .vcard {
float:right; float:right;
margin-bottom:@base-space; margin-bottom:@base-space;
@ -165,7 +167,7 @@
} }
.nickname { .nickname {
margin-top:3px; margin-top:1px;
display:block; display:block;
color: @color-dark-third; color: @color-dark-third;
} }
@ -185,35 +187,32 @@
} }
} }
.thumbnail { .thumbnail {
width:@base-thumb; width:@base-thumb;
height:@base-thumb; height:@base-thumb;
overflow:hidden; overflow:hidden;
float:left; float:left;
margin:0;
margin-right:1px; margin-right:1px;
margin-top:6px; 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; //Fixes for bootstrap sites
-webkit-box-shadow: 1px 1px 0 @color-base; border:0;
box-shadow: 1px 1px 0 @color-base; padding:0;
*/ -webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
// fixes for bootstrap sites
a.thumbnail:hover {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
} }
.thumbnail.thumb-plaintext { .thumbnail.thumb-plaintext {
.icon-plaintext(); .icon-plaintext();
} }
@ -261,6 +260,8 @@
.icon-storify(); .icon-storify();
} }
.thumb-storify-full { .thumb-storify-full {
//display:inline-block;
height:12px;
.icon-storify-full(); .icon-storify-full();
} }
thumbnail.thumb-instagram { thumbnail.thumb-instagram {
@ -270,6 +271,29 @@
.icon-instagram-full(); .icon-instagram-full();
} }
.thumbnail-inline {
width:16px;
height:14px;
overflow:hidden;
display:inline-block;
margin-right:1px;
margin-left:3px;
margin-top:2px;
//float:left;
.opacity(25);
}
.twitter {
.thumbnail-inline {
.icon-twitter-inline();
}
}
.storify {
.thumbnail-inline {
.icon-storify-inline();
}
}
.zFront { .zFront {
z-index:204; z-index:204;

Loading…
Cancel
Save