fix facebox in conversations view
This commit is contained in:
parent
c11b744a7f
commit
c24cfb432d
3 changed files with 56 additions and 23 deletions
|
|
@ -239,3 +239,36 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#new_message_pane {
|
||||||
|
ul.as-selections { width: 100% !important; }
|
||||||
|
input#contact_ids { box-shadow: none; }
|
||||||
|
textarea { width: 98%; }
|
||||||
|
|
||||||
|
.bottom_submit_section {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.creation {
|
||||||
|
$button-border-color: #aaa;
|
||||||
|
@include border-radius(3px);
|
||||||
|
@include box-shadow(0,1px,1px,#cfcfcf);
|
||||||
|
@include transition(border);
|
||||||
|
@include button-gradient($creation-blue);
|
||||||
|
font-size: 12px;
|
||||||
|
color: #fff;
|
||||||
|
padding: 4px 9px;
|
||||||
|
min-width: 90px;
|
||||||
|
min-height: 10px;
|
||||||
|
border: 1px solid darken($button-border-color,20%);
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@include button-gradient-hover($creation-blue);
|
||||||
|
border: 1px solid darken($button-border-color,35%);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,3 +30,4 @@
|
||||||
/* conversations */
|
/* conversations */
|
||||||
@import 'conversations';
|
@import 'conversations';
|
||||||
@import 'popover';
|
@import 'popover';
|
||||||
|
@import 'facebox';
|
||||||
|
|
|
||||||
|
|
@ -27,27 +27,26 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
#new_message_pane
|
#new_message_pane
|
||||||
.span-12.last
|
.span5#facebox_header
|
||||||
#facebox_header
|
|
||||||
%h3
|
%h3
|
||||||
= t('conversations.index.new_message')
|
= t('conversations.index.new_message')
|
||||||
|
|
||||||
= form_for Conversation.new, html: {class: "new_conversation form_do_not_clear"}, remote: true do |conversation|
|
= form_for Conversation.new, html: {class: "new_conversation form_do_not_clear"}, remote: true do |conversation|
|
||||||
|
|
||||||
.span-2
|
.span1
|
||||||
%h4
|
%h4
|
||||||
= t('.to')
|
= t('.to')
|
||||||
.span-10.last
|
.span4
|
||||||
= text_field_tag "contact_autocomplete"
|
= text_field_tag "contact_autocomplete"
|
||||||
.clearfix
|
.clearfix
|
||||||
%br
|
%br
|
||||||
.span-2
|
.span1
|
||||||
%h4
|
%h4
|
||||||
= t('.subject')
|
= t('.subject')
|
||||||
.span-10.last
|
.span4
|
||||||
= conversation.text_field :subject
|
= conversation.text_field :subject
|
||||||
%br
|
%br
|
||||||
.span-10.prepend-2.last
|
.span4.offset1
|
||||||
= text_area_tag "conversation[text]", '', :rows => 5
|
= text_area_tag "conversation[text]", '', :rows => 5
|
||||||
.clearfix
|
.clearfix
|
||||||
.bottom_submit_section
|
.bottom_submit_section
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue