diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index d52729756a7..2b803f73311 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -1,3 +1,4 @@ +@charset "utf-8"; /* ---- CKEditor Minimal Reset ---- */ .navbar.navbar-inverse .cke_chrome { border: none; @@ -105,13 +106,18 @@ table.editorbar-panel td.selected { left: 0px; right: 0px; bottom: 0px; - max-height: 280px; - min-height: 140px; background: #282828; box-shadow: 0px 10px 10px -10px black inset; overflow-y: auto; z-index: 100; } +.oe_snippets .nav-pills { + padding: 3px 8px; + background: #444444; +} +.oe_snippets .nav-pills > li > a { + padding: 2px 10px !important; +} .oe_snippet { display: inline-block; @@ -120,10 +126,10 @@ table.editorbar-panel td.selected { width: 120px; height: 120px; border-radius: 3px; - margin: 10px; + margin: 8px; margin-right: 0px; position: relative; - box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); overflow: hidden; -webkit-user-select: none; user-select: none; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 289ab1e6e54..fed3bb8e519 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -98,12 +98,15 @@ table.editorbar-panel left: 0px right: 0px bottom: 0px - max-height: 280px - min-height: 140px background: rgb(40,40,40) box-shadow: 0px 10px 10px -10px black inset overflow-y: auto z-index: 100 + .nav-pills + padding: 3px 8px + background: #444 + > li > a + padding: 2px 10px !important .oe_snippet display: inline-block @@ -112,10 +115,10 @@ table.editorbar-panel width: 120px height: 120px border-radius: 3px - margin: 10px + margin: 8px margin-right: 0px position: relative - box-shadow: 0px 3px 10px rgba(0,0,0,0.2) + box-shadow: 0px 3px 8px rgba(0,0,0,0.2) overflow: hidden -webkit-user-select: none user-select: none diff --git a/addons/website/views/views.xml b/addons/website/views/views.xml index 14db86e995f..1a58c37a313 100644 --- a/addons/website/views/views.xml +++ b/addons/website/views/views.xml @@ -180,8 +180,8 @@
-

Welcome To Your New Homepage,

-

where everything can be customized

+

Your Company Slogan

+

Your company subheader slogan

@@ -213,7 +213,8 @@
-

Ut enim ad minim veniam

+

Ut enim ad minim veniam

+

Ut enim veniam

@@ -402,6 +403,183 @@ + +