MS messed with the temporary group picker thing: whatever, it is less annoying

This commit is contained in:
maxwell 2010-08-24 14:37:47 -07:00
parent cc1f1e2f24
commit de335e7366
3 changed files with 26 additions and 8 deletions

View file

@ -3,8 +3,8 @@
= form_for StatusMessage.new, :remote => true do |f| = form_for StatusMessage.new, :remote => true do |f|
= f.error_messages = f.error_messages
.span-15.last .span-15
.span-2.last .span-2
.user_image .user_image
= owner_image_tag = owner_image_tag
.span-13.last .span-13.last
@ -12,8 +12,7 @@
%label{:for => "status_message_message"} Message %label{:for => "status_message_message"} Message
= f.text_area :message, :rows => 2 = f.text_area :message, :rows => 2
.span-3.last .span-3
%ul.group_selector %ul.group_selector
going to... going to...
- for group in current_user.groups - for group in current_user.groups

View file

@ -319,18 +319,27 @@ label {
height: 50px; height: 50px;
padding-left: 10px; } padding-left: 10px; }
#publisher ul.group_selector { #publisher ul.group_selector {
float: left;
padding: 0; padding: 0;
margin: 0; margin: 0;
width: 150px; width: auto;
z-index: 10;
position: absolute;
height: auto;
overflow: visible;
list-style: none; } list-style: none; }
#publisher ul.group_selector > li { #publisher ul.group_selector > li {
z-index: 10; height: auto;
font-size: smaller;
padding: 2px;
display: none; display: none;
background-color: white; } background-color: white; }
#publisher ul.group_selector > li:active { #publisher ul.group_selector > li:active {
background-color: yellow; } background-color: yellow; }
#publisher ul.group_selector:hover li { #publisher ul.group_selector:hover li {
display: block; } display: block; }
#publisher .button {
margin-left: 100px; }
#image_picker .small_photo { #image_picker .small_photo {
height: 100px; height: 100px;

View file

@ -397,14 +397,21 @@ label
:left 10px :left 10px
ul.group_selector ul.group_selector
:float left
:padding 0 :padding 0
:margin 0 :margin 0
:width 150px :width auto
:z-index 10
:position absolute
:height auto
:overflow visible
:list :list
:style none :style none
> li > li
:z-index 10 :height auto
:font-size smaller
:padding 2px
:display none :display none
:background :background
:color #fff :color #fff
@ -415,6 +422,9 @@ label
&:hover li &:hover li
:display block :display block
.button
:margin-left 100px
#image_picker #image_picker