summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-06-17 16:22:28 +0200
committerXavier Morel <xmo@openerp.com>2014-06-17 16:22:28 +0200
commit00c2644783a4b6a905a7d0e7764d6fbd89225af7 (patch)
treea0d00a1953df817d8f4cef55b0f3e7aaffbd3d19 /addons/website/static/src/css
parentfcb82dc5f1cc4c81dabd2f0be318d4774a630e54 (diff)
[IMP] display view's XID *below* the selection
* Looks better * Allows for a label * Allows for longer template names and ids without cutting off * Room to grow more info bits
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css8
-rw-r--r--addons/website/static/src/css/editor.sass8
2 files changed, 12 insertions, 4 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index 7d8b1e609e8..f60530c3f0c 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -472,13 +472,14 @@ ul.oe_menu_editor .disclose {
right: 0;
z-index: 1000;
height: 100%;
+ background: #2f3129;
+ color: white;
}
.oe_ace_view_editor .oe_ace_view_editor_title {
width: 100%;
padding-top: 0;
padding-left: 0;
height: 30px;
- background: #2f3129;
}
.oe_ace_view_editor .oe_ace_view_editor_title .oe_view_list {
width: 50%;
@@ -496,13 +497,16 @@ ul.oe_menu_editor .disclose {
}
.oe_ace_view_editor .ace_editor {
position: absolute;
- top: 30px;
+ top: 50px;
right: 0;
left: 0;
}
.oe_ace_view_editor .ace_editor .ace_gutter {
cursor: ew-resize;
}
+.oe_ace_view_editor #ace-view-id {
+ padding: 0 1em;
+}
.oe_ace_view_editor.oe_ace_open {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=97);
opacity: 0.97;
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index d39b6abd453..07340c62698 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -408,6 +408,7 @@ $highlighted_text_color: #ffffff
/* ---- ACE EDITOR ---- {{{ */
$editorbar_height: 30px
+$infobar_height: 20px
// TODO Fix => might break with themes
.oe_ace_view_editor
@@ -416,12 +417,13 @@ $editorbar_height: 30px
right: 0
z-index: 1000
height: 100%
+ background: #2F3129
+ color: white
.oe_ace_view_editor_title
width: 100%
padding-top: 0
padding-left: 0
height: $editorbar_height
- background: #2F3129
.oe_view_list
width: 50%
height: $editorbar_height
@@ -432,12 +434,14 @@ $editorbar_height: 30px
@include editor-font
.ace_editor
position: absolute
- top: $editorbar_height
+ top: $editorbar_height + $infobar_height
right: 0
// bottom property is set programmatically
left: 0
.ace_gutter
cursor: ew-resize
+ #ace-view-id
+ padding: 0 1em
&.oe_ace_open
+opacity(0.97)
&.oe_ace_closed