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 %div.name
= link_to post.name, object_path(post) = link_to post.name, object_path(post)

View file

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

View file

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

View file

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