summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-01-14 14:44:27 +0100
committerFabien Meghazi <fme@openerp.com>2014-01-14 14:44:27 +0100
commitcedc2bd2773e9bc9fc688ede49c942bb4b6f342a (patch)
tree2c7ea62c695f8513cc5474884e9c232168d72cfc /addons/web/static/src/css/base.sass
parentdec6f2569e59675e3d9f11e7768b26a9905c5101 (diff)
[IMP] Better look for login and db selector forms
bzr revid: fme@openerp.com-20140114134427-fu1zu5xxce9j8vrl
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass32
1 files changed, 32 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index a9ef3b643a3..4e49c8e3c94 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -2491,6 +2491,38 @@ div.ui-widget-overlay
td
padding-bottom: 10px !important
+// Server side single forms {{{
+@mixin single-form($width: 400px)
+ padding: 10px
+ position: absolute
+ left: 50%
+ top: 50%
+ width: $width
+ /* Set margins to offset 50% of the w/h */
+ margin-top: -($width / 2)
+ margin-left: -($width / 2)
+
+.oe_single_form
+ background: #eee url(/web/static/src/img/form_sheetbg.png)
+ height: 100%
+
+.oe_single_form_logo
+ padding: 10px
+ text-align: center
+ margin-bottom: 10px
+
+.oe_single_form_footer
+ position: absolute
+ bottom: -30px
+
+.oe_login_form
+ @include single-form(400px)
+
+.oe_dbselector_form
+ @include single-form(300px)
+
+// }}}
+
// Internet Explorer 9+ specifics {{{
.openerp_ie
.placeholder