fix css
authorAntony Lesuisse <al@openerp.com>
Tue, 2 Jul 2013 15:13:57 +0000 (17:13 +0200)
committerAntony Lesuisse <al@openerp.com>
Tue, 2 Jul 2013 15:13:57 +0000 (17:13 +0200)
bzr revid: al@openerp.com-20130702151357-jl07iivl285tpf10

addons/website/static/src/css/website.css
addons/website/static/src/css/website.sass
addons/website/static/src/js/website_bootstrap.js
addons/website/views/views.xml

index fa61e0a..f670ecf 100644 (file)
@@ -1,4 +1,74 @@
 @charset "utf-8";
+.oe_website {
+  background: #e9e9e9;
+  color: #646464;
+}
+
+.oe_website_header {
+  background: white;
+  color: #333333;
+  padding-top: 8px;
+}
+
+/* Body {{{ */
+.oe_website_body {
+  background: white;
+  color: #333333;
+  padding-bottom: 32px;
+  padding-top: 32px;
+}
+
+/* }}} */
+/* Footer {{{ */
+.oe_website_footer {
+  border-top: solid 1px #e0e0e0;
+  padding-bottom: 32px;
+  padding-top: 32px;
+}
+
+.oe_website_footer h5 {
+  border-bottom: solid 1px rgba(0, 0, 0, 0.06);
+  margin-right: 24px;
+  padding-bottom: 6px;
+  margin-bottom: 6px;
+  margin-top: 24px;
+}
+
+.oe_website_footer ul {
+  list-style: none;
+  padding: 0;
+  margin: 0;
+}
+
+.oe_website_footer ul li {
+  display: block;
+  margin-bottom: 4px;
+  font-size: 14px;
+  margin-right: 32px;
+}
+
+.oe_website_footer ul li a {
+  color: inherit;
+  text-decoration: inherit;
+}
+
+.oe_website_footer ul li a:visited {
+  color: inherit;
+  text-decoration: inherit;
+}
+
+.oe_website_footer ul li a:hover {
+  color: black;
+  text-decoration: inherit;
+}
+
+.oe_website_copy {
+  margin-top: 24px;
+  margin-bottom: 6px;
+}
+
+/* }}} */
+/* Editor {{{ */
 .oe_website_editorbar {
   position: fixed;
   top: 0;
@@ -14,3 +84,5 @@
 .oe_website_editorbar li {
   display: inline;
 }
+
+/* }}} */
index 87a8973..1a7d28b 100644 (file)
@@ -1,5 +1,66 @@
 @charset "utf-8"
 
+// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:fdl=0
+
+.oe_website
+    background: #e9e9e9
+    color: #646464
+
+.oe_website_header
+    background: #fff
+    color: #333
+    padding-top: 8px
+
+/* Body {{{ */
+.oe_website_body
+    background: #fff
+    color: #333
+    padding-bottom: 32px
+    padding-top: 32px
+/* }}} */
+
+/* Footer {{{ */
+.oe_website_footer
+    border-top: solid 1px #e0e0e0
+    padding-bottom: 32px
+    padding-top: 32px
+
+.oe_website_footer h5
+    border-bottom: solid 1px rgba(0, 0, 0, 0.06)
+    margin-right: 24px
+    padding-bottom: 6px
+    margin-bottom: 6px
+    margin-top: 24px
+
+.oe_website_footer ul
+    list-style: none
+    padding: 0
+    margin: 0
+
+.oe_website_footer ul li
+    display: block
+    margin-bottom: 4px
+    font-size: 14px
+    margin-right: 32px
+
+.oe_website_footer ul li a
+    color: inherit
+    text-decoration: inherit
+
+.oe_website_footer ul li a:visited
+    color: inherit
+    text-decoration: inherit
+
+.oe_website_footer ul li a:hover
+    color: black
+    text-decoration: inherit
+
+.oe_website_copy
+    margin-top: 24px
+    margin-bottom: 6px
+/* }}} */
+
+/* Editor {{{ */
 .oe_website_editorbar
     position: fixed
     top: 0
@@ -14,4 +75,7 @@
 
     li
         display: inline
+/* }}} */
+
+
 
index e70183f..308c411 100644 (file)
@@ -3,6 +3,7 @@ Aloha.ready(function() {
     // TODO: Webclient research : use iframe embedding mode
     //       Meanwhile, let's HACK !!!
     var $web = $('<div style="display: none;"/>').appendTo('body');
+    var $web = $('<div style="display: none;"/>').appendTo($web);
     var s = new openerp.init(['web', 'website']);
     s.web.WebClient.bind_hashchange = s.web.blockUI = s.web.unblockUI = function() {};
     s.web.WebClient.include({ do_push_state: function() {} });
index 0a3efa6..2b260ae 100644 (file)
             <field name="type">qweb</field>
             <field name="arch" type="xml">
                 <t t-call="website.layout">
-
-                    <div style="background: linear-gradient(to bottom, rgba(136,191,232,1) 0%%,rgba(112,176,224,1) 100%%); height: 200px; ">
-                        <div class="container">
-                            <div class="row">
-                                <h1>Banner title</h1>
-                            </div>
-                        </div>
-                    </div>
                     <div class="container">
                         <div class="row">
                             <div class="span12">
-                                Description
+                                <h1>I'm you home page, please edit me...</h1>
                             </div>
                         </div>
                     </div>