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;
|
||||
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 */
|
||||
@import 'conversations';
|
||||
@import 'popover';
|
||||
@import 'facebox';
|
||||
|
|
|
|||
|
|
@ -27,28 +27,27 @@
|
|||
});
|
||||
|
||||
#new_message_pane
|
||||
.span-12.last
|
||||
#facebox_header
|
||||
%h3
|
||||
= t('conversations.index.new_message')
|
||||
.span5#facebox_header
|
||||
%h3
|
||||
= 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
|
||||
%h4
|
||||
= t('.to')
|
||||
.span-10.last
|
||||
= text_field_tag "contact_autocomplete"
|
||||
.clearfix
|
||||
%br
|
||||
.span-2
|
||||
%h4
|
||||
= t('.subject')
|
||||
.span-10.last
|
||||
= conversation.text_field :subject
|
||||
%br
|
||||
.span-10.prepend-2.last
|
||||
= text_area_tag "conversation[text]", '', :rows => 5
|
||||
.clearfix
|
||||
.bottom_submit_section
|
||||
= conversation.submit t('.send'), 'data-disable-with' => t('.sending'), :class => 'button creation'
|
||||
.span1
|
||||
%h4
|
||||
= t('.to')
|
||||
.span4
|
||||
= text_field_tag "contact_autocomplete"
|
||||
.clearfix
|
||||
%br
|
||||
.span1
|
||||
%h4
|
||||
= t('.subject')
|
||||
.span4
|
||||
= conversation.text_field :subject
|
||||
%br
|
||||
.span4.offset1
|
||||
= text_area_tag "conversation[text]", '', :rows => 5
|
||||
.clearfix
|
||||
.bottom_submit_section
|
||||
= conversation.submit t('.send'), 'data-disable-with' => t('.sending'), :class => 'button creation'
|
||||
|
|
|
|||
Loading…
Reference in a new issue