summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-01-22 11:22:32 +0100
committerFabien Meghazi <fme@openerp.com>2014-01-22 11:22:32 +0100
commitdf63fcba8182da50389d4eb974341cc2986f327b (patch)
tree02a8c1d0c76d9547d37b0475d6f58858b617eb51 /addons/website/static/src/css
parent060cbedfb011ea71b5eb82fdc5996b2653a6982c (diff)
parent35b7cd5d513eee0f0af9255dcfb2166bd8c244cd (diff)
[MERGE] upstream
bzr revid: fme@openerp.com-20140122102232-77lvvwpzet58sa7p
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css88
-rw-r--r--addons/website/static/src/css/editor.sass78
2 files changed, 166 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index 386fead7ad3..d0a02ce7b0b 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -207,6 +207,44 @@ ul.oe_menu_editor .disclose {
visibility: visible !important;
}
+.modal .font-icons-icons {
+ font-size: 2em;
+ max-height: 6em;
+ overflow: auto;
+}
+.modal .font-icons-icons .font-icons-icon {
+ display: inline-block;
+ width: 2em;
+ padding: 0.25em;
+ text-align: center;
+ cursor: pointer;
+}
+.modal .font-icons {
+ position: relative;
+ display: block;
+}
+.modal .font-icons:before {
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
+ opacity: 0.7;
+ position: absolute;
+ top: 2px;
+ left: 3px;
+ font-size: 2em;
+}
+.modal #icon-search {
+ padding-left: 2.5em;
+}
+.modal #fa-preview {
+ text-align: center;
+}
+.modal #fa-preview span {
+ cursor: pointer;
+ padding: 0 15px;
+}
+.modal #fa-preview .font-icons-selected {
+ background-color: #dddddd;
+}
+
.existing-attachments .pager .disabled {
display: none;
}
@@ -320,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 923bd63e7dd..ce9e43ec1a2 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -172,6 +172,43 @@ ul.oe_menu_editor
display: inline-block !important
visibility: visible !important
+// fontawesome modal
+.modal
+ .font-icons-icons
+ font-size: 2em
+ max-height: 6em
+ overflow: auto
+
+ .font-icons-icon
+ display: inline-block
+ width: 2em
+ padding: 0.25em
+ text-align: center
+ cursor: pointer
+
+ .font-icons
+ position: relative
+ display: block
+
+ &:before
+ +opacity(0.7)
+ position: absolute
+ top: 2px
+ left: 3px
+ font-size: 2em
+ #icon-search
+ padding-left: 2.5em
+
+ #fa-preview
+ text-align: center
+
+ span
+ cursor: pointer
+ padding: 0 15px
+ .font-icons-selected
+ background-color: #ddd
+
+
.existing-attachments .pager .disabled
display: none
@@ -276,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
+
// }}}