[IMP] CSS for logo, one pixel better

bzr revid: fp@tinyerp.com-20140119193527-8e7oc1umebqkqxgx
This commit is contained in:
Fabien Pinckaers 2014-01-19 20:35:27 +01:00
parent 0d20248861
commit a83f1282fa
4 changed files with 12 additions and 11 deletions

View File

@ -95,10 +95,11 @@ h1.text-muted, h2.text-muted, h3.text-muted {
margin-top: 10px;
}
header a.navbar-brand.logo {
padding: 0;
}
header a.navbar-brand img {
max-height: 50px;
margin-top: -15px;
margin-bottom: -15px;
}
/* ----- BOOTSTRAP FIX ----- */
@ -173,7 +174,7 @@ footer {
}
.oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
content: "This page is under construction";
content: "Page under construction";
text-align: center;
display: block;
padding-top: 160px;

View File

@ -62,11 +62,11 @@ h1.text-muted, h2.text-muted, h3.text-muted
margin-top: 10px
header
a.navbar-brand.logo
padding: 0
a.navbar-brand
img
max-height: 50px
margin-top: -15px
margin-bottom: -15px
/* ----- BOOTSTRAP FIX ----- */
@ -132,7 +132,7 @@ footer
position: static
.oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
content: 'This page is under construction'
content: 'Page under construction'
text-align: center
display: block
padding-top: 160px

View File

@ -197,7 +197,7 @@
<template id="layout_logo_show" inherit_option_id="website.layout" name="Show Logo">
<xpath expr="//header//a[@class='navbar-brand']" position="replace">
<a href="/" class="navbar-brand">
<a href="/" class="navbar-brand logo">
<img src="/website/static/src/img/odoo_logo.png"/>
</a>
</xpath>

View File

@ -937,12 +937,12 @@
</div>
</div>
<div class="js_payment mb64 row" t-if="acquirers" id="payment_method">
<h4>Choose your Payment Method</h4>
<div class="js_payment mb64" t-if="acquirers" id="payment_method">
<div class="col-lg-5 col-sm-6">
<h4>Payment Method:</h4>
<t t-foreach="acquirers or []" t-as="acquirer">
<label t-if="acquirer.button" class="oe_sale_acquirer_logo" style="display: block;">
<input t-att-value="acquirer.id" type="radio" name="acquirer"/>
<input t-att-value="acquirer.id" type="radio" name="acquirer" t-att-checked="acquirers[0] == acquirer"/>
<img class="media-object" style="width: 60px; display: inline-block;"
t-att-title="acquirer.name"
t-att-src="'/payment_acquirer_%s/static/src/img/%s_icon.png' % (acquirer.name, acquirer.name)"/>
@ -951,7 +951,7 @@
</div>
<div class="col-lg-3 col-sm-3">
<t t-foreach="acquirers or []" t-as="acquirer">
<div t-att-data-id="acquirer.id" t-raw="acquirer.button" class="oe_sale_acquirer_button hidden"/>
<div t-att-data-id="acquirer.id" t-raw="acquirer.button" class="oe_sale_acquirer_button hidden pull-right"/>
</t>
</div>
</div>