[IMP]improved css for sales team kanban, sale order payment_acquirers and attach file button.
bzr revid: ima@tinyerp.com-20131114120529-5ltoe9aoglsx92vv
This commit is contained in:
parent
f726a07c11
commit
1098f7021e
|
@ -1,5 +1,8 @@
|
||||||
.openerp .oe_kanban_view .oe_kanban_crm_salesteams {
|
.openerp .oe_kanban_view .oe_kanban_crm_salesteams {
|
||||||
width: 345px;
|
/* Customize width and height of kanban according bootstrap3 */
|
||||||
|
width: 357px;
|
||||||
|
min-height: 254px !important;
|
||||||
|
/* End of customize */
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_avatars {
|
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_avatars {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -21,7 +24,7 @@
|
||||||
|
|
||||||
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_items_list {
|
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_items_list {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 10px;
|
margin: 10px 0 10px 9px; /* Improved margin to set alignment of list items according bootstrap3 */
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_items_list div {
|
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_items_list div {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
calc_box: function() {
|
calc_box: function() {
|
||||||
var $topbar = instance.client.$(".navbar");
|
var $topbar = instance.client.$(".navbar"); // .oe_topbar is replaced with .navbar of bootstrap3
|
||||||
var top = $topbar.offset().top + $topbar.height();
|
var top = $topbar.offset().top + $topbar.height();
|
||||||
top = Math.max(top - $(window).scrollTop(), 0);
|
top = Math.max(top - $(window).scrollTop(), 0);
|
||||||
this.$el.css("top", top);
|
this.$el.css("top", top);
|
||||||
|
|
|
@ -94,9 +94,7 @@
|
||||||
}
|
}
|
||||||
.openerp .oe_mail .oe_msg .oe_msg_footer{
|
.openerp .oe_mail .oe_msg .oe_msg_footer{
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
padding-top: 3px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 4px;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
.openerp .oe_mail .oe_msg .oe_msg_content{
|
.openerp .oe_mail .oe_msg .oe_msg_content{
|
||||||
|
@ -478,7 +476,7 @@
|
||||||
}
|
}
|
||||||
.openerp .oe_mail .oe_msg_footer button.oe_attach{
|
.openerp .oe_mail .oe_msg_footer button.oe_attach{
|
||||||
width: 24px;
|
width: 24px;
|
||||||
overflow: hidden;
|
margin-bottom: 8px; /* improved margin of file attach button according bootstrap3 */
|
||||||
filter:none;
|
filter:none;
|
||||||
}
|
}
|
||||||
.openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
|
.openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
margin: -40px 0 -32px -24px;
|
margin: -40px 0 -32px -24px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
right: -153px;
|
right: -125px; /* improved margin according bootstrap3 */
|
||||||
|
|
||||||
background: #729FCF;
|
background: #729FCF;
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#729FCF), to(#3465A4));
|
background-image: -webkit-gradient(linear, left top, left bottom, from(#729FCF), to(#3465A4));
|
||||||
|
|
|
@ -71,7 +71,7 @@ openerp.portal_anonymous = function(instance) {
|
||||||
this.$el.find('a.login').click(function() {
|
this.$el.find('a.login').click(function() {
|
||||||
var p = self.getParent();
|
var p = self.getParent();
|
||||||
var am = p.action_manager;
|
var am = p.action_manager;
|
||||||
p.$el.find('.oe_leftbar, .navbar').hide();
|
p.$el.find('.oe_leftbar, .navbar').hide(); // .oe_topbar is replaced with .navbar of bootstrap3
|
||||||
self.session.session_logout().done(function () {
|
self.session.session_logout().done(function () {
|
||||||
am.do_action({
|
am.do_action({
|
||||||
type:'ir.actions.client',
|
type:'ir.actions.client',
|
||||||
|
|
Loading…
Reference in New Issue