summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css70
-rw-r--r--addons/web/static/src/css/base.sass51
-rw-r--r--addons/web/static/src/css/base_old.css54
3 files changed, 108 insertions, 67 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index fab545d09b8..cae703450bb 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -435,13 +435,6 @@
background-image: -o-linear-gradient(top, #646060, #262626);
background-image: linear-gradient(to bottom, #646060, #262626);
}
-.openerp .oe_topbar .oe_systray {
- float: right;
-}
-.openerp .oe_topbar .oe_systray > div {
- float: left;
- padding: 0 4px 0 4px;
-}
.openerp .oe_topbar .oe_topbar_item li {
float: left;
}
@@ -596,6 +589,69 @@
-webkit-box-shadow: none;
-box-shadow: none;
}
+.openerp .oe_systray > div {
+ float: left;
+ padding: 0 4px 0 4px;
+}
+.openerp .oe_systray {
+ float: right;
+}
+.openerp .oe_systray .oe_systray_dropdown {
+ position: relative;
+}
+.openerp .oe_systray .oe_systray_dropdown:hover .oe_systray_dropdown_options {
+ display: block;
+}
+.openerp .oe_systray .oe_systray_dropdown_options {
+ background: #333333;
+ background: rgba(37, 37, 37, 0.9);
+ display: none;
+ position: absolute;
+ z-index: 900;
+ border: 0;
+ margin-left: 0;
+ margin-right: 0;
+ padding: 6px 0;
+ zoom: 1;
+ border-color: #999999;
+ border-color: rgba(0, 0, 0, 0.2);
+ border-style: solid;
+ border-width: 0 1px 1px;
+ -moz-border-radius: 0 0 6px 6px;
+ -webkit-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ -box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding-box;
+ background-clip: padding-box;
+}
+.openerp .oe_systray .oe_systray_dropdown_options li {
+ float: none;
+ display: block;
+ background-color: none;
+}
+.openerp .oe_systray .oe_systray_dropdown_options li a {
+ display: block;
+ padding: 4px 15px;
+ clear: both;
+ font-weight: normal;
+ line-height: 18px;
+ color: #eeeeee;
+}
+.openerp .oe_systray .oe_systray_dropdown_options li a:hover {
+ background-color: #292929;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(#191919));
+ background-image: -webkit-linear-gradient(top, #292929, #191919);
+ background-image: -moz-linear-gradient(top, #292929, #191919);
+ background-image: -ms-linear-gradient(top, #292929, #191919);
+ background-image: -o-linear-gradient(top, #292929, #191919);
+ background-image: linear-gradient(to bottom, #292929, #191919);
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ -box-shadow: none;
+}
.openerp .oe_menu {
float: left;
padding: 0;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 447bfc48abf..fb8f85d535c 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -354,12 +354,6 @@ $colour4: #8a89ba
border-bottom: solid 1px black
@include vertical-gradient(#646060, #262626)
- .oe_systray
- float: right
- .oe_systray > div
- float: left
- padding: 0 4px 0 4px
-
.oe_topbar_item
li
float: left
@@ -444,6 +438,7 @@ $colour4: #8a89ba
float: left
.oe_dropdown
position: relative
+
.oe_dropdown_options
float: left
background: #333
@@ -480,6 +475,50 @@ $colour4: #8a89ba
@include vertical-gradient(#292929, #191919)
@include box-shadow(none)
// }}}
+ // Systray {{{
+ .oe_systray > div
+ float: left
+ padding: 0 4px 0 4px
+ .oe_systray
+ float: right
+
+ .oe_systray_dropdown
+ position: relative
+ .oe_systray_dropdown:hover .oe_systray_dropdown_options
+ display: block
+ .oe_systray_dropdown_options
+ background: #333
+ background: rgba(37,37,37,0.9)
+ display: none
+ position: absolute
+ z-index: 900
+ border: 0
+ margin-left: 0
+ margin-right: 0
+ padding: 6px 0
+ zoom: 1
+ border-color: #999
+ border-color: rgba(0, 0, 0, 0.2)
+ border-style: solid
+ border-width: 0 1px 1px
+ @include radius(0 0 6px 6px)
+ @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
+ @include background-clip()
+ li
+ float: none
+ display: block
+ background-color: none
+ a
+ display: block
+ padding: 4px 15px
+ clear: both
+ font-weight: normal
+ line-height: 18px
+ color: #eee
+ &:hover
+ @include vertical-gradient(#292929, #191919)
+ @include box-shadow(none)
+ // }}}
// Menu {{{
.oe_menu
float: left
diff --git a/addons/web/static/src/css/base_old.css b/addons/web/static/src/css/base_old.css
index 8f333fae761..74b660f7613 100644
--- a/addons/web/static/src/css/base_old.css
+++ b/addons/web/static/src/css/base_old.css
@@ -880,60 +880,6 @@ label.error {
text-align: left;
padding: 4px 5px;
}
-/* Shortcuts*/
-.oe-shortcut-toggle {
- height: 20px;
- margin-top: 3px;
- padding: 0;
- width: 24px;
- cursor: pointer;
- display: block;
- background: url(/web/static/src/img/add-shortcut.png) no-repeat center center;
- float: left;
-}
-.oe-shortcut-remove{
- background: url(/web/static/src/img/remove-shortcut.png) no-repeat center center;
-}
-.oe-shortcuts {
- position: absolute;
- margin: 0;
- padding: 6px 15px;
- top: 37px;
- left: 197px;
- right: 0;
- height: 17px;
- line-height: 1.2;
-}
-.oe-shortcuts ul {
- display: block;
- overflow: hidden;
- list-style: none;
- white-space: nowrap;
- padding: 0;
- margin: 0;
-}
-.oe-shortcuts li {
- cursor: pointer;
- display: -moz-inline-stack;
- display: inline-block;
- display: inline; /*IE7 */
- color: #fff;
- text-align: center;
- border-left: 1px solid #909090;
- padding: 0 4px;
- font-size: 80%;
- font-weight: normal;
- vertical-align: top;
-}
-
-.oe-shortcuts li:hover {
- background-color: #666;
-}
-.oe-shortcuts li:first-child {
- border-left: none;
- padding-left: 0;
-}
-
ul.oe-arrow-list {
padding-left: 1.1em;
margin: 0;