summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/website.sass
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-02-09 13:40:49 +0100
committerJulien De Coster <jdc@odoo.com>2015-02-12 11:58:12 +0100
commit28ed28f9451edcb32f70daf7082d2ae91148b79c (patch)
tree9ad5ae4a272340247a81332895bd230952dbb5bd /addons/website/static/src/css/website.sass
parenta46a060f0fda429109fa1c34784c9267d57e2660 (diff)
[IMP] website: create a new web editor in the backend to edit html field with the website builder
Diffstat (limited to 'addons/website/static/src/css/website.sass')
-rw-r--r--addons/website/static/src/css/website.sass44
1 files changed, 22 insertions, 22 deletions
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index ce880e0139b..1da84f5192d 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -70,6 +70,19 @@ div.media_iframe_video
&.padding-xl iframe
padding: 32px
+.fa-6x
+ font-size: 6em
+.fa-7x
+ font-size: 7em
+.fa-8x
+ font-size: 8em
+.fa-9x
+ font-size: 9em
+.fa-10x
+ font-size: 10em
+.fa.center-block
+ text-align: center
+
ul
list-style-type: disc
li > ul
@@ -148,17 +161,17 @@ hr
table.table
table-layout: fixed
-// add {WORD JOINER} (equivalent to deprecated ZERO WIDTH NO-BREAK SPACE) at
-// the beginning of paragraphs so they don't "disappear" after saving when
-// used solely for spacing.
-#wrapwrap p:empty:after
- content: '\2060'
+td
+ min-width: 20px
/* ----- Editor (for public user, like forum) ----- */
.note-toolbar
margin-left: 0 !important
+.note-popover .popover > .arrow
+ display: none
+
/* ----- Snippets Styles ----- */
.para_large
@@ -227,17 +240,7 @@ nav.navbar + #wrapwrap
.table .img-responsive
width: 100%
-/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
-
-.oe_structure.oe_editable.oe_empty:empty, .oe_editable[data-oe-type=html]:empty, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
- background-image: url('/website/static/src/img/drag_here.png') !important
-
-.oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
- background-image: none
- background-repeat: no-repeat
- background-position: center
- height: 220px !important
-
+/* ---- HACK FOR COVERING UP EDITOR BOGUS P INSERTION --- */
.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
position: static
@@ -245,18 +248,15 @@ nav.navbar + #wrapwrap
content: ' '
text-align: center
display: block
- padding-top: 160px
- padding-bottom: 30px
+ min-height: 1em
color: grey
font-size: 24px
-
-.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
- content: 'Drag Building Blocks Here' !important
+ padding-top: 160px
.css_editable_display
display: none
-/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
+/* ---- HACK FOR COVERING UP EDITOR BOGUS P INSERTION --- */
.navbar .nav > li > p
margin-bottom: 0px