From 2b8fbfd456488a44cd3c484841fda890ef58b25e Mon Sep 17 00:00:00 2001 From: Pablo Date: Mon, 28 Jan 2019 17:13:25 +0100 Subject: [PATCH] [UPD] CSS tricks for visual adjustment --- hotel_calendar/static/src/css/view.css | 31 +++++++++++++++++-- .../src/xml/hotel_calendar_templates.xml | 21 +++++++------ 2 files changed, 41 insertions(+), 11 deletions(-) diff --git a/hotel_calendar/static/src/css/view.css b/hotel_calendar/static/src/css/view.css index d1acf6c89..5edff6450 100644 --- a/hotel_calendar/static/src/css/view.css +++ b/hotel_calendar/static/src/css/view.css @@ -269,14 +269,15 @@ input#bookings_search { } /* custom styles for popover info */ .circle { - width:35px; height:35px; - border-radius:50px; + min-width:35px; line-height:35px; + border-radius:50px; text-align:center; color:#fff; background:#777; margin-right: .65em; + padding: 0 5px; } .bg-gray-lighter { @@ -299,6 +300,10 @@ input#bookings_search { .mr-5 { margin-right: 5px; } +.mx-15 { + margin-left: 15px; + margin-right: 15px; +} .mx-25 { margin-left: 25px; margin-right: 25px; @@ -324,3 +329,25 @@ input#bookings_search { } /* TODO: Use Odoo Colours based on http://www.odoo.com/openerp_website/static/src/less/variables.less */ + +div.diagonal { + overflow: hidden; + background-color: #777; +} +.diagonal:before { + content: ""; + border-top: 700px solid #777; + border-right: 500px solid #ddd; + position: absolute; + left: 40%; + bottom: 0; +} +div.on-top { + position: inherit; +} +div.pull-right-custom { + float: right !important; + margin-right: 15px; + color: #777; + text-align: right; +} \ No newline at end of file diff --git a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml index bd2afec55..acc059cca 100644 --- a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml +++ b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml @@ -132,16 +132,19 @@
-
- -

Folio Pending

-

-
-
- -

-

Total Paid

+
+
+
+

Folio Pending

+

+
+
+

+

Total Paid

+
+
+