From f92d793eadb81386667f4cf8066bae31b2c378db Mon Sep 17 00:00:00 2001 From: Pablo Date: Fri, 21 Dec 2018 14:13:45 +0100 Subject: [PATCH] [WIP] Add modular templating --- hotel_calendar/static/src/css/view.css | 33 +++-- .../src/xml/hotel_calendar_templates.xml | 126 +++++++++--------- 2 files changed, 82 insertions(+), 77 deletions(-) diff --git a/hotel_calendar/static/src/css/view.css b/hotel_calendar/static/src/css/view.css index 00b3dfdbc..57a3dc2ee 100644 --- a/hotel_calendar/static/src/css/view.css +++ b/hotel_calendar/static/src/css/view.css @@ -160,6 +160,10 @@ input#bookings_search { } /** TOOLTIPS **/ +.tooltip { + opacity: unset !important; +} + .tooltip .tooltip-inner { font-family: Garuda, sans-serif; border: 1px solid #5C5C5C; @@ -169,7 +173,6 @@ input#bookings_search { .tooltip .container { max-width: 500px; } - .tooltip .list-group { margin-bottom: 0px; } @@ -180,30 +183,38 @@ input#bookings_search { background-color: unset; word-break: break-word; } - -header { - font-size: 1.2em; -} - -.tooltip .container h3 { - margin-top: 0px; +.tooltip h1, .h1, h2, .h2, h3, .h3 { + margin-top: 2px; margin-bottom: 0px; } - .tooltip .container p { margin-top: 2px; margin-bottom: 2px; } +.tooltip header { + font-size: 1.3em; +} .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { padding-top: 3px; padding-bottom: 3px; } -.tt-margin { +/* Spacing in Bootstrap v4.0 */ +.mt-3 { margin-top: 3px; } - +.mr-5 { + margin-right: 5px; +} +.mx-25 { + margin-left: 25px; + margin-right: 25px; +} +.py-5 { + padding-top: 5px; + padding-bottom: 5px; +} /* WARNING: The .row-eq-height class uses CSS3's flexbox layout mode, which is not supported in Internet Explorer 9 and below. */ diff --git a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml index 50895a396..9f3bce0ac 100644 --- a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml +++ b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml @@ -68,88 +68,68 @@ - + + +

WuBook: 1544109684

+

Booking: 4253096846

+
+ +

Sales Channel Direct

+
+
-
-
- -
-
-
-
-
-

-

-
-
+ +
+

+

-
-
- -
-
-
- Board Service Undefined -
-
-

-
-
-

Adults:

-

Children:

-
-
+ +

+
+ +

Board Service Undefined

+

Adults: - Children:

-
-
+
+
-
-
-

Pending

-

-
-
-

-

Paid

-
-
+

Folio Pending

+

+
+
+ +

+

Total Paid

-

WuBook: 1544109684

-

Booking: 4253096846

+ + + + + +
-
-
-
-
- -
-
-

-

-
-
+
+
+ +

+

-
-
-
-

-

-
-
- -
-
+
+ +

+

-
+
- + +

@@ -169,6 +149,20 @@
+ +
+
+
+ +

+
+
+
+
+ + + +