summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorddm@openerp.com <>2014-01-21 13:53:25 +0100
committerddm@openerp.com <>2014-01-21 13:53:25 +0100
commit35b8850ecc8d3cda929f77993e6a3c5bacab1276 (patch)
treeeca90be0170fbc6470cd6ad4197dc8c663ab9d00 /addons/website/static/src/css
parent6d320f6f0b026b59c96aca4f7e5fb7741ac43450 (diff)
[IMP] add SEO preview
bzr revid: ddm@openerp.com-20140121125325-641psvqr4w96lsci
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css50
-rw-r--r--addons/website/static/src/css/editor.sass41
2 files changed, 91 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index faf02a57fc0..d0a02ce7b0b 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -358,6 +358,56 @@ ul.oe_menu_editor .disclose {
-o-border-radius: 0.4em;
border-radius: 0.4em;
}
+.oe_seo_configuration li.oe_seo_preview_g {
+ line-height: 1.2;
+ list-style: none;
+ list-style-image: none;
+ list-style-position: outside;
+ list-style-type: none;
+ font-size: small;
+ font-family: arial, sans-serif;
+}
+.oe_seo_configuration li.oe_seo_preview_g h3 {
+ font-size: medium;
+}
+.oe_seo_configuration li.oe_seo_preview_g .r {
+ margin: 0;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: normal;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.oe_seo_configuration li.oe_seo_preview_g .r a {
+ color: #1e0fbe;
+ text-decoration: underline;
+ text-transform: none;
+}
+.oe_seo_configuration li.oe_seo_preview_g .r a em {
+ font-style: normal !important;
+}
+.oe_seo_configuration li.oe_seo_preview_g .s {
+ color: #444444;
+ max-width: 42em;
+}
+.oe_seo_configuration li.oe_seo_preview_g .kv, .oe_seo_configuration li.oe_seo_preview_g .slp {
+ display: block;
+ margin-bottom: 1px;
+}
+.oe_seo_configuration li.oe_seo_preview_g .f {
+ color: #666666;
+ margin-bottom: 1px;
+}
+.oe_seo_configuration li.oe_seo_preview_g .f cite {
+ color: #006621;
+ font-style: normal;
+ font-size: 14px;
+}
+.oe_seo_configuration li.oe_seo_preview_g .st {
+ line-height: 1.24;
+}
/* ---- ACE EDITOR ---- {{{ */
.oe_ace_view_editor {
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 27cee9a2eae..ce9e43ec1a2 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -313,6 +313,47 @@ $highlighted_text_color: #ffffff
.oe_seo_keyword
padding: .2em .4em .2em .5em
+border-radius(.4em)
+ li.oe_seo_preview_g
+ line-height: 1.2
+ list-style: none
+ list-style-image: none
+ list-style-position: outside
+ list-style-type: none
+ font-size: small
+ font-family: arial,sans-serif
+ h3
+ font-size: medium
+ .r
+ margin: 0
+ font-size: 16px
+ font-style: normal
+ font-weight: normal
+ overflow: hidden
+ text-overflow: ellipsis
+ -webkit-text-overflow: ellipsis
+ white-space: nowrap
+ a
+ color: rgb(30, 15, 190)
+ text-decoration: underline
+ text-transform: none
+ em
+ font-style: normal !important
+ .s
+ color: #444
+ max-width: 42em
+ .kv,.slp
+ display: block
+ margin-bottom: 1px
+ .f
+ color: #666
+ margin-bottom: 1px
+ cite
+ color: #006621
+ font-style: normal
+ font-size: 14px
+ .st
+ line-height: 1.24
+
// }}}