DG IZ; tweaks to album index page

This commit is contained in:
ilya 2010-07-28 16:12:49 -07:00
parent b5b8e29d6a
commit 1700ce8e18
4 changed files with 12 additions and 14 deletions

View file

@ -1,4 +1,4 @@
%li.album{:id => post.id, :class => ("mine" if mine?(post))}
.album{:id => post.id, :class => ("mine" if mine?(post))}
%div.name
= link_to post.name, object_path(post)

View file

@ -13,9 +13,10 @@
%li.selected= friends_albums_link
%li= your_albums_link
%ul#stream
%div
- for album in @albums
= render "album", :post => album
#pagination
= will_paginate @albums

View file

@ -333,9 +333,7 @@ ul#publisher_content_pickers li {
position: relative;
height: 200px;
width: 300px;
display: inline-block;
margin-right: 2em;
margin-bottom: 2em; }
display: inline-block; }
.album .name {
position: absolute;
z-index: 600;
@ -349,9 +347,7 @@ ul#publisher_content_pickers li {
.album .name .time a {
font-weight: normal; }
.album div.image_cycle img {
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px; }
display: none; }
.field_with_submit input[type='text'] {
width: 82%;
@ -402,6 +398,8 @@ h1.big_text {
min-height: 100px; }
.image_thumb img {
display: none; }
.image_thumb img:hover {
border-bottom: 2px solid #666666; }
.image_cycle img {
display: none; }

View file

@ -405,9 +405,6 @@ ul#publisher_content_pickers li
:height 200px
:width 300px
:display inline-block
:margin
:right 2em
:bottom 2em
.name
:position absolute
@ -429,9 +426,7 @@ ul#publisher_content_pickers li
div.image_cycle
img
:border-radius 3px
:-webkit-border-radius 3px
:-moz-border-radius 3px
:display none
.field_with_submit
input[type='text']
@ -498,6 +493,10 @@ h1.big_text
img
:display none
&:hover
:border
:bottom 2px solid #666
.image_cycle
img
:display none