summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2014-06-20 09:24:41 +0200
committerChristophe Matthieu <chm@odoo.com>2014-06-20 09:24:41 +0200
commite3c2689d891cfb2888e39ba83274d37156b4fa8e (patch)
tree349087a006d106c139404d6f4cdb77135895a7af /addons/web/static/src/css
parent578c8832f6781fa75816b58bf52bfb1915392dda (diff)
parent5165b52b434086b525301a5a12c09128667e6149 (diff)
Merge pull request #619 from odoo-dev/master-add-tour-backend-chm
[IMP] Tour: add tour in web module; tour became available in backend.
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css33
-rw-r--r--addons/web/static/src/css/base.sass27
2 files changed, 60 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 9988e7eae74..35dfd21adef 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -3450,6 +3450,39 @@ input[type="radio"], input[type="checkbox"] {
opacity: 0.6;
}
+/* ---- EDITOR TOUR ---- {{{ */
+div.tour-backdrop {
+ z-index: 2009;
+}
+
+.popover.tour.orphan .arrow {
+ display: none;
+}
+.popover.tour .popover-navigation {
+ padding: 9px 14px;
+}
+.popover.tour .popover-navigation *[data-role="end"] {
+ float: right;
+}
+.popover.tour .popover-navigation *[data-role="next"], .popover.tour .popover-navigation *[data-role="end"] {
+ cursor: pointer;
+}
+
+.popover.fixed {
+ position: fixed;
+}
+
+.tour-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1100;
+ background-color: black;
+ opacity: 0.8;
+}
+
body {
overflow: auto;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index b85346a2c8f..abeed36b038 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -2801,6 +2801,33 @@ input[type="radio"], input[type="checkbox"]
background-color: black
opacity: 0.6000000238418579
+/* ---- EDITOR TOUR ---- {{{ */
+
+div.tour-backdrop
+ z-index: 2009
+.popover.tour
+ &.orphan .arrow
+ display: none
+ .popover-navigation
+ padding: 9px 14px
+ *[data-role="end"]
+ float: right
+ *[data-role="next"],*[data-role="end"]
+ cursor: pointer
+.popover.fixed
+ position: fixed
+.tour-backdrop
+ position: fixed
+ top: 0
+ right: 0
+ bottom: 0
+ left: 0
+ z-index: 1100
+ background-color: #000
+ opacity: 0.8
+
+
+// }}}
body
overflow: auto