From d3a8e27833a51a28ac7bfd9244db5b78d55268d3 Mon Sep 17 00:00:00 2001 From: Daniel Vincent Grippi Date: Fri, 10 Sep 2010 15:37:59 -0700 Subject: [PATCH] DG IZ; selector fix --- app/views/groups/edit.html.haml | 2 +- public/stylesheets/application.css | 21 ++++++++++++++------- public/stylesheets/sass/application.sass | 6 ++++-- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index d5fb2b63f..b8fe6e904 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -6,7 +6,7 @@ %h1{:id => 'group_title'} Requests - %li.group + %li.requests %ul - for request in @remote_requests %li.person{:id => request.person.id, :request_id => request.id} diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 73d991f77..029ccad0d 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -582,15 +582,19 @@ h1.big_text { font-size: 12px; margin-top: -3px; } -.editing, .editing:hover { +.editing, +.editing:hover { background-color: yellow; border: 1px #666666 solid; } -.group { +.group, +.requests { list-style: none; } - .group h3 { + .group h3, + .requests h3 { display: inline-block; } - .group ul { + .group ul, + .requests ul { min-height: 20px; margin: 0; margin-left: 1em; @@ -600,7 +604,8 @@ h1.big_text { border-radius: 3px; list-style: none; padding: 15px; } - .group .person { + .group .person, + .requests .person { display: inline-block; margin-left: 0; padding: 5px; @@ -613,10 +618,12 @@ h1.big_text { height: 75px; padding: 5px; border: 1px solid #999999; } - .group .person img { + .group .person img, + .requests .person img { height: 50px; width: 50px; display: inline-block; } - .group .person .grey { + .group .person .grey, + .requests .person .grey { font-style: italic; color: #666666; } diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 912f42815..887af39ae 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -761,13 +761,15 @@ h1.big_text :margin :top -3px -.editing, .editing:hover +.editing, +.editing:hover :background :color yellow :border 1px #666 solid -.group +.group, +.requests :list :style none