[IMP] Added oe_view_topbar css class

bzr revid: fme@openerp.com-20120410114335-ivs65hfhljzvjs70
This commit is contained in:
Fabien Meghazi
2012-04-10 13:43:35 +02:00
parent 429f46771d
commit 8fa309ea27
3 changed files with 20 additions and 1 deletions
+12
View File
@@ -1239,6 +1239,18 @@
.openerp2 .oe_searchview .oe_searchview_drawer .oe_searchview_advanced.oe_opened div {
display: block;
}
.openerp2 .oe_view_topbar {
border-bottom: 1px solid #cacaca;
background-color: #fcfcfc;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
padding: 0 8px;
line-height: 30px;
}
.openerp2 .oe_form_header {
padding: 8px;
}
+7
View File
@@ -1010,6 +1010,13 @@ $colour4: #8a89ba
div
display: block
// }}}
// View.topbar {{{
.oe_view_topbar
border-bottom: 1px solid #cacaca
@include vertical-gradient(#fcfcfc, #dedede)
padding: 0 8px
line-height: 30px
// }}}
// FormView.body {{{
.oe_form_header
padding: 8px
@@ -1,6 +1,6 @@
<template>
<t t-name="KanbanView">
<div class="oe_kanban_header">
<div class="oe_view_topbar">
<t t-if="widget.options.action_buttons !== false">
<button type="button" class="oe_button oe_kanban_button_new">Create</button>
</t>