Permalink
Browse files

Finished basic UI for single_images. ('/image/*id*/*name*')

  • Loading branch information...
1 parent 53ab180 commit 6d8727399ac69ecdea2e4e6ce478380dc878f23c Sony? committed Jun 17, 2012
Showing with 35 additions and 2 deletions.
  1. +17 −1 public/assets/css/main.css
  2. +18 −1 public/assets/less/single_image.less
View
18 public/assets/css/main.css
@@ -74,4 +74,20 @@ hr {
max-width:280px;
min-width:130px;
}
-.container-fluid .single-image-wrapper .image-border img { width:80%; }
+.container-fluid .single-image-wrapper .image-border {
+ border:1px solid black;
+ padding:15px;
+ width:80%;
+}
+.container-fluid .single-image-wrapper div[role="details"] {
+ background-color:#dcdddc;
+ -o-border-radius:10px;
+ -ms-border-radius:10px;
+ -moz-border-radius:10px;
+ -webkit-border-radius:10px;
+ border-radius:10px;
+ border:0px solid transparant;
+ margin-top:10px;
+ padding:10px;
+ width:80%;
+}
View
19 public/assets/less/single_image.less
@@ -1,7 +1,24 @@
.single-image-wrapper {
+ @width: 80%;
+
.image-border {
+
+ border: 1px solid black;
+
+ padding: 15px;
+ width: @width;
+
img {
- width: 80%;
+
}
}
+
+ div[role="details"] {
+ background-color: #DCDDDC;
+ .border-radius(10px);
+
+ margin-top: 10px;
+ padding: 10px;
+ width: @width;
+ }
}

0 comments on commit 6d87273

Please sign in to comment.