summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-12-17 09:57:59 +0100
committervta vta@openerp.com <>2012-12-17 09:57:59 +0100
commitd9333329a6baf93672f1466784560fac08dee307 (patch)
tree3683c31b082da5558333f43ff0944dca97479cde /addons/web/static/src/css
parenta7ddf7c6895dedfafe6e40b005b7a53512f32cfb (diff)
[FIX] Anonymous login css
bzr revid: vta@openerp.com-20121217085759-dpxwrkh4pa81k0pb
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css35
-rw-r--r--addons/web/static/src/css/base.sass22
2 files changed, 54 insertions, 3 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 6e5c73d7bce..2665ee263a9 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -30,7 +30,7 @@
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
/* http://www.quirksmode.org/dom/inputfile.html
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
- */ */
+ */
}
.openerp.openerp_webclient_container {
height: 100%;
@@ -998,6 +998,39 @@
background-image: -o-linear-gradient(top, #646060, #262626);
background-image: linear-gradient(to bottom, #646060, #262626);
}
+.openerp .oe_topbar .oe_topbar_anonymous_login {
+ background-color: #dc5f59;
+ color: #eeeeee;
+ background-color: #fc8787;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fc8787), to(maroon));
+ background-image: -webkit-linear-gradient(top, #fc8787, maroon);
+ background-image: -moz-linear-gradient(top, #fc8787, maroon);
+ background-image: -ms-linear-gradient(top, #fc8787, maroon);
+ background-image: -o-linear-gradient(top, #fc8787, maroon);
+ background-image: linear-gradient(to bottom, #fc8787, maroon);
+}
+.openerp .oe_topbar .oe_topbar_anonymous_login a {
+ display: block;
+ padding: 5px 10px 7px;
+ line-height: 20px;
+ height: 20px;
+ text-decoration: none;
+ color: white;
+ background: transparent;
+ -webkit-transition: all 0.2s ease-out;
+ -moz-transition: all 0.2s ease-out;
+ -ms-transition: all 0.2s ease-out;
+ -o-transition: all 0.2s ease-out;
+ transition: all 0.2s ease-out;
+}
+.openerp .oe_topbar .oe_topbar_anonymous_login a:hover {
+ background: rgba(0, 0, 0, 0.1);
+ color: white;
+ text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
+}
.openerp .oe_topbar .oe_topbar_item {
display: block;
padding: 5px 10px 7px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index c9eb21435cb..a8445f0ff06 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -827,6 +827,24 @@ $sheet-padding: 16px
height: 32px
background-color: #414141
@include vertical-gradient(#646060, #262626)
+ .oe_topbar_anonymous_login
+ background-color: #dc5f59
+ color: #eeeeee
+ @include vertical-gradient(#FC8787, #800000)
+ a
+ display: block
+ padding: 5px 10px 7px
+ line-height: 20px
+ height: 20px
+ text-decoration: none
+ color: white
+ background: transparent
+ @include transition(all 0.2s ease-out)
+ a:hover
+ background: rgba(0,0,0,0.1)
+ color: white
+ text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
+ @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
.oe_topbar_item
display: block
padding: 5px 10px 7px
@@ -1670,7 +1688,7 @@ $sheet-padding: 16px
width: 400px
padding-bottom: 0
div.oe_chatter
- box-sizing: border-box
+ box-sizing: border-box
min-width: $sheet-min-width + 2* $sheet-padding
max-width: $sheet-max-width + 2* $sheet-padding
margin: 0 auto
@@ -1942,7 +1960,7 @@ $sheet-padding: 16px
overflow: hidden
width: 24px
overflow: hidden
- background: transparent
+ background: transparent
color: #7C7BAD
box-shadow: none
border: none