From da974af02b21c63a9568693bc354339036339c03 Mon Sep 17 00:00:00 2001 From: Pablo Date: Fri, 21 Dec 2018 10:16:45 +0100 Subject: [PATCH] [WIP] Adjust styles for Tooltip --- hotel_calendar/static/src/css/view.css | 49 ++++++- .../src/xml/hotel_calendar_templates.xml | 128 ++++++++++-------- 2 files changed, 118 insertions(+), 59 deletions(-) diff --git a/hotel_calendar/static/src/css/view.css b/hotel_calendar/static/src/css/view.css index 5b2e026c7..00b3dfdbc 100644 --- a/hotel_calendar/static/src/css/view.css +++ b/hotel_calendar/static/src/css/view.css @@ -160,19 +160,58 @@ input#bookings_search { } /** TOOLTIPS **/ -.tooltip { - -} .tooltip .tooltip-inner { + font-family: Garuda, sans-serif; border: 1px solid #5C5C5C; background-color: white; color: #5C5C5C; } - .tooltip .container { max-width: 500px; } +.tooltip .list-group { + margin-bottom: 0px; +} .tooltip .list-group-item { border: none; -} \ No newline at end of file + padding: 2px 5px; + margin-bottom: 0px; + background-color: unset; + word-break: break-word; +} + +header { + font-size: 1.2em; +} + +.tooltip .container h3 { + margin-top: 0px; + margin-bottom: 0px; +} + +.tooltip .container p { + margin-top: 2px; + margin-bottom: 2px; +} + +.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 { + margin-top: 3px; +} + + +/* WARNING: The .row-eq-height class uses CSS3's flexbox layout mode, + which is not supported in Internet Explorer 9 and below. */ +.row-eq-height { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +/* TODO: Use Odoo Colours based on http://www.odoo.com/openerp_website/static/src/less/variables.less */ \ 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 8f103cce4..50895a396 100644 --- a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml +++ b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml @@ -70,81 +70,101 @@
-
-
-
    -
  • - -
  • -
  • -
  • -
+
+
+
+
+ +
+
+
+
+
+

+

+
+
-
-
    -
  • - -
  • - Board Service Undefined - Adults: - Children: -
  • - - - € - -
  • -
+
+
+
+ +
+
+
+ Board Service Undefined +
+
+

+
+
+

Adults:

+

Children:

+
+
-
-
+
+
- Por Pagar
- Pagado € +
+
+

Pending

+

+
+
+

+

Paid

+
+
-
- WuBook: 1544109684 - Booking: 4253096846 +
+

WuBook: 1544109684

+

Booking: 4253096846

-
-
-
    -
  • -
  • - -
  • -
+
+
+
+
+ +
+
+

+

+
+
-
-
    -
  • -
  • -
  • -
+
+
+
+

+

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