summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorsma (Tiny) <sma@tinyerp.com>2011-10-03 16:57:31 +0530
committersma (Tiny) <sma@tinyerp.com>2011-10-03 16:57:31 +0530
commit7e9e542418f791b024de401236eeb8e006be42d4 (patch)
tree91e49927b0de50c8c690a2eb608b425a12b4ac7c /addons/web/static/src/css
parent3e11ca62990fde34e537e233e3b099d22f8c8373 (diff)
parent2dae9519d7c3d0a4c2217b63939bb4eb1d83d39d (diff)
[MERGE]
bzr revid: sma@tinyerp.com-20110926105300-72fwa60uvvdf1qgg bzr revid: sma@tinyerp.com-20111003112731-uobxur1ryqb5laxy
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css140
-rw-r--r--addons/web/static/src/css/data_import.css30
2 files changed, 111 insertions, 59 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 5d4da8175dd..7f5b7f5f41b 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -125,7 +125,7 @@ body.openerp, .openerp textarea, .openerp input, .openerp select, .openerp optio
margin-top: 5px;
text-align: center;
}
-.openerp .login.login_invalid .login_error_message {
+.openerp .login .login_invalid .login_error_message {
display: block;
}
@@ -221,17 +221,11 @@ label.error {
height: 100%;
background: #f0eeee;
}
-
-/* Menu */
-.openerp .sf-menu {
- margin-bottom: 0;
-}
-/*
-.sf-menu a {
- padding: 5px 5px;
+.openerp .oe-application-container {
+ height: 100%;
}
-*/
+/* Menu */
.openerp .menu {
height: 34px;
background: #cc4e45; /* Old browsers */
@@ -253,7 +247,7 @@ label.error {
height: 20px;
margin: 3px 2px;
padding: 0 8px;
-
+
background: #bd5e54; /* Old browsers */
background: -moz-linear-gradient(top, #bd5e54 0%, #90322a 60%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd5e54), color-stop(60%,#90322a)); /* Chrome,Safari4+ */
@@ -291,13 +285,38 @@ label.error {
background: linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* W3C */
/* for ie */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5c5c5c', endColorstr='#969595',GradientType=0 ); /* IE6-9 */
-
color: #fff;
}
-.openerp .oe-application-container {
- height: 100%;
-}
/* Secondary Menu */
+.openerp .secondary_menu .oe_toggle_secondary_menu {
+ position: absolute;
+ cursor: pointer;
+ border-left: 1px solid #282828;
+ width: 21px;
+ height: 21px;
+ z-index: 10;
+ background: transparent;
+ color: white;
+ text-shadow: 0 1px 0 #333;
+ text-align: center;
+ font-size: 18px;
+ line-height: 14px;
+ right: 0;
+}
+.openerp .secondary_menu.oe_folded .oe_toggle_secondary_menu {
+ position: static;
+ border-left: none;
+ border-bottom: 1px solid #282828;
+ width: 21px;
+ height: 21px;
+ background: #818181;
+}
+.openerp .secondary_menu.oe_folded .oe_toggle_secondary_menu span.oe_menu_fold {
+ display: none;
+}
+.openerp .secondary_menu.oe_unfolded .oe_toggle_secondary_menu span.oe_menu_unfold {
+ display: none;
+}
.openerp .secondary_menu {
width: 200px;
min-width: 200px;
@@ -306,15 +325,34 @@ label.error {
background: #5A5858;
vertical-align: top;
height: 100%;
+ position: relative;
}
-.openerp .secondary_menu .menu_content {
- padding: 0;
- border: none;
- background: none;
- overflow: hidden;
+.openerp .secondary_menu.oe_folded {
+ width: 20px;
+ min-width: 20px;
+ position: static;
+}
+.openerp .secondary_menu.oe_folded .oe_secondary_menu.active {
+ position: absolute;
+ z-index: 100;
+ border: 4px solid #585858;
+ border: 4px solid rgba(88, 88, 88, .5);
+ border-radius: 4px;
+ min-width: 200px;
}
-.openerp .secondary_menu h3 {
- padding: 0 0 2px;
+.openerp .secondary_menu a {
+ display: block;
+ padding: 0 5px 2px 5px;
+ line-height: 20px;
+ text-decoration: none;
+ white-space: nowrap;
+ color: white;
+ text-shadow: 0 1px 0 #333;
+}
+.openerp .oe_secondary_submenu {
+ background: #5A5858;
+}
+.openerp .secondary_menu a.oe_secondary_menu_item {
background: #949292; /* Old browsers */
background: -moz-linear-gradient(top, #949292 0%, #6d6b6b 87%, #282828 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#949292), color-stop(87%,#6d6b6b), color-stop(99%,#282828)); /* Chrome,Safari4+ */
@@ -325,34 +363,13 @@ label.error {
background: linear-gradient(top, #949292 0%,#6d6b6b 87%,#282828 99%); /* W3C */
/* for ie9 */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#5B5A5A',GradientType=0 ); /* IE6-9 */
- border: none;
- /* overriding jquery ui */
- -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
-}
-.openerp .secondary_menu h4 {
- padding: 0 0 2px 10px;
- border: none;
- background: none;
-}
-.openerp .secondary_menu h3 span, .openerp .secondary_menu h4 span {
- left: 0 !important;
-}
-.openerp .secondary_menu a {
- display: block;
- height: 20px;
- padding: 0 5px;
- line-height: 20px;
white-space: nowrap;
color: white;
- text-decoration: none;
text-shadow: 0 1px 0 #333;
}
-.openerp .secondary_menu a.leaf:hover,
-.openerp .secondary_menu a.leaf:active,
-.openerp .secondary_menu a.leaf.active,
-.openerp .secondary_menu h4:hover,
-.openerp .secondary_menu h4:active,
-.openerp .secondary_menu h4.active {
+.openerp a.oe_secondary_submenu_item:hover,
+.openerp a.oe_secondary_submenu_item.leaf.active {
+ display: block;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #d8d8d8 11%, #afafaf 86%, #333333 91%, #5a5858 96%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(11%,#d8d8d8), color-stop(86%,#afafaf), color-stop(91%,#333333), color-stop(96%,#5a5858)); /* Chrome,Safari4+ */
@@ -361,22 +378,17 @@ label.error {
background: -ms-linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#5A5858',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* W3C */
- /* overriding jquery ui */
- -moz-border-radius-topright: 0; -webkit-border-top-right-radius: 0; border-top-right-radius: 0;
+ padding: 0 5px 2px 5px;
+ line-height: 20px;
color: #3f3d3d;
+ text-decoration: none;
text-shadow: #fff 0 1px 0;
- border: none !important;
}
-
-.openerp .secondary_menu h4:hover a,
-.openerp .secondary_menu h4:active a,
-.openerp .secondary_menu h4.active a {
- color: #3f3d3d;
- text-shadow: #fff 0 1px 0;
- border: none !important;
+.openerp a.oe_secondary_submenu_item.submenu.opened span:before {
+ content: "\25be";
}
-.openerp div.submenu_accordion div.menu_content a span {
- padding-left: 20px;
+.openerp a.oe_secondary_submenu_item.submenu span:before {
+ content: "\25b8";
}
/* Header */
@@ -880,6 +892,9 @@ label.error {
.openerp .oe_forms input.field_datetime {
min-width: 11em;
}
+.openerp .oe_forms.oe_frame .oe_datepicker_root {
+ width: 100%;
+}
.openerp .oe_forms .button {
color: #4c4c4c;
white-space: nowrap;
@@ -892,7 +907,14 @@ label.error {
position: absolute;
cursor: pointer;
right: 5px;
- top: 5px;
+ top: 3px;
+}
+.openerp .oe_datepicker_root {
+ position: relative;
+ display: inline-block;
+}
+.openerp .oe_datepicker_root input[type="text"] {
+ min-width: 160px;
}
.openerp .oe_input_icon_disabled {
position: absolute;
diff --git a/addons/web/static/src/css/data_import.css b/addons/web/static/src/css/data_import.css
new file mode 100644
index 00000000000..1fb3b22aa45
--- /dev/null
+++ b/addons/web/static/src/css/data_import.css
@@ -0,0 +1,30 @@
+.openerp .oe_import_grid {
+ border: none;
+ border-collapse: collapse;
+}
+.openerp .oe_import_grid-header .oe_import_grid-cell {
+ background: url(../img/gradientlinebg.gif) repeat-x #CCCCCC;
+ border-bottom: 1px solid #E3E3E3;
+ font-weight: bold;
+ text-align: left;
+}
+.openerp .oe_import_grid-row .oe_import_grid-cell {
+ border-bottom: 1px solid #E3E3E3;
+}
+.openerp .separator.horizontal {
+ font-weight: bold;
+ border-bottom-width: 1px;
+ margin: 6px 4px 6px 1px;
+ height: 20px;
+}
+.openerp .duplicate_fld{
+ background-color:#FF6666;
+}
+.openerp .select_fld{
+ background: none repeat scroll 0 0 white;
+}
+.openerp .ui-autocomplete {
+ max-height: 300px;
+ overflow-y: auto;
+ padding-right: 20px;
+}