summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2013-09-10 15:40:11 +0200
committerFabien Pinckaers <fp@tinyerp.com>2013-09-10 15:40:11 +0200
commitccb00ddf77d41c3df72397e506d579b50f9ee84a (patch)
tree1f38e8a4deaa68541c01a812591405c2176b8f6d /addons/website/static/src/css
parent9693c18da29200574ad84bfe6ae5e19525f6a901 (diff)
parentd97d58f5db12f17b723bc9f1cb71b924470efc11 (diff)
[IMP] Snippets Categories + Jumbotron
bzr revid: fp@tinyerp.com-20130910134011-h6kss8dx5g16xphc
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css14
-rw-r--r--addons/website/static/src/css/editor.sass11
2 files changed, 17 insertions, 8 deletions
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