From f80717d3e52838b3142c783e587b7383ef7fc78d Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 10 Sep 2013 17:40:24 +0200 Subject: [PATCH] [UNDO] revert change as snippets moved to client side bzr revid: fp@tinyerp.com-20130910154024-qc1h6ha7hmocu2fj --- addons/website/static/src/css/editor.css | 14 +- addons/website/static/src/css/editor.sass | 11 +- addons/website/views/views.xml | 184 +--------------------- 3 files changed, 11 insertions(+), 198 deletions(-) diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index a2f322f1b84..844cea11d9f 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -1,4 +1,3 @@ -@charset "utf-8"; /* ---- CKEditor Minimal Reset ---- */ .navbar.navbar-inverse .cke_chrome { border: none; @@ -106,18 +105,13 @@ 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; @@ -126,10 +120,10 @@ table.editorbar-panel td.selected { width: 120px; height: 120px; border-radius: 3px; - margin: 8px; + margin: 10px; margin-right: 0px; position: relative; - box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2); + box-shadow: 0px 3px 10px 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 8c32d4222f5..e4edcd3c62e 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -98,15 +98,12 @@ 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 @@ -115,10 +112,10 @@ table.editorbar-panel width: 120px height: 120px border-radius: 3px - margin: 8px + margin: 10px margin-right: 0px position: relative - box-shadow: 0px 3px 8px rgba(0,0,0,0.2) + box-shadow: 0px 3px 10px 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 88869dcabfa..91a8f0382da 100644 --- a/addons/website/views/views.xml +++ b/addons/website/views/views.xml @@ -183,8 +183,8 @@
-

Your Company Slogan

-

Your company subheader slogan

+

Welcome To Your New Homepage,

+

where everything can be customized

@@ -216,8 +216,7 @@
-

Ut enim ad minim veniam

-

Ut enim veniam

+

Ut enim ad minim veniam

@@ -406,183 +405,6 @@ - -