aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/app/css/less/thumbnails.less
diff options
context:
space:
mode:
authorZaran <zaran.krleza@gmail.com>2012-04-15 05:54:46 -0700
committerZaran <zaran.krleza@gmail.com>2012-04-15 05:54:46 -0700
commitfe62183cd914a7834c6d6a94d487e2e13e212251 (patch)
tree13311137fc992e1ea2cf841424756cb0b16d3405 /alias-angular/app/css/less/thumbnails.less
parent667f6d688bdc4818feadde68c84ee690e150255a (diff)
downloadalias-fe62183cd914a7834c6d6a94d487e2e13e212251.tar.gz
CSS improvements, first steps on angular
* disable the connect form when connected * add a disconnect button when connected * add a research field to filter the contact list (not working) Thinks I want to understand: * how to share a variable between several scopes * could StropheSrv be an attribute of the connect scope ? if yes, we can call it directly and avoid wrapping it (this is the third level of wrapping around libStrophe...)
Diffstat (limited to 'alias-angular/app/css/less/thumbnails.less')
-rw-r--r--alias-angular/app/css/less/thumbnails.less35
1 files changed, 35 insertions, 0 deletions
diff --git a/alias-angular/app/css/less/thumbnails.less b/alias-angular/app/css/less/thumbnails.less
new file mode 100644
index 0000000..3a12d4e
--- /dev/null
+++ b/alias-angular/app/css/less/thumbnails.less
@@ -0,0 +1,35 @@
+// THUMBNAILS
+// ----------
+
+.thumbnails {
+ margin-left: -@gridGutterWidth;
+ list-style: none;
+ .clearfix();
+}
+.thumbnails > li {
+ float: left;
+ margin: 0 0 @baseLineHeight @gridGutterWidth;
+}
+.thumbnail {
+ display: block;
+ padding: 4px;
+ line-height: 1;
+ border: 1px solid #ddd;
+ .border-radius(4px);
+ .box-shadow(0 1px 1px rgba(0,0,0,.075));
+}
+// Add a hover state for linked versions only
+a.thumbnail:hover {
+ border-color: @linkColor;
+ .box-shadow(0 1px 4px rgba(0,105,214,.25));
+}
+// Images and captions
+.thumbnail > img {
+ display: block;
+ max-width: 100%;
+ margin-left: auto;
+ margin-right: auto;
+}
+.thumbnail .caption {
+ padding: 9px;
+}