summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorFrédéric van der Essen <fva@openerp.com>2012-08-20 14:24:53 +0200
committerFrédéric van der Essen <fva@openerp.com>2012-08-20 14:24:53 +0200
commit0404db7742182d2dcd46f4d3319b6fb1ddbad1b3 (patch)
tree8e2e368126cc44c12e1a4e7c12f22f23c0850919 /addons/web/static/src
parentf313d35c858708859c807b6a2854bbadad678682 (diff)
parent2501b06ca0dec18c98f2b9d73b64a7b0aebe13e9 (diff)
[MERGE] @media print css
bzr revid: fva@openerp.com-20120820122453-i73f09uj50vx575v
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css41
-rw-r--r--addons/web/static/src/css/base.sass4
2 files changed, 27 insertions, 18 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 87a83b4c70e..2276bb2445e 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -64,6 +64,11 @@
}
}
+@media print {
+ .oe_topbar, .oe_leftbar, .oe_loading {
+ display: none !important;
+ }
+}
.openerp.openerp_webclient_container {
height: 100%;
position: relative;
@@ -234,7 +239,7 @@
font-size: 13px;
}
.openerp .ui-widget-content a {
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp .ui-menu .ui-menu-item {
margin: 0 8px 0 0;
@@ -336,7 +341,7 @@
border-radius: 0 0 2px 2px;
}
.openerp.ui-dialog .oe_about a {
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp.ui-dialog .oe_about a:hover {
text-decoration: underline;
@@ -547,7 +552,7 @@
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
- color: #8a89ba;
+ color: #7c7bad;
font-weight: bold;
}
.openerp .oe_button.oe_link span:hover {
@@ -578,7 +583,7 @@
color: #4c4c4c;
}
.openerp .oe_tag_dark {
- background: #8786b7;
+ background: #7c7bad;
color: #eeeeee;
}
.openerp .oe_tags.oe_inline {
@@ -1007,7 +1012,7 @@
.openerp .oe_topbar {
width: 100%;
height: 31px;
- border-top: solid 1px #d3d3d3;
+ border-top: solid 1px lightgrey;
background-color: #646060;
background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626));
background-image: -webkit-linear-gradient(top, #646060, #262626);
@@ -1180,7 +1185,7 @@
.openerp .oe_secondary_menu_section {
font-weight: bold;
margin-left: 8px;
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp .oe_secondary_submenu {
padding: 2px 0 8px 0;
@@ -1202,11 +1207,11 @@
top: 1px;
right: 1px;
font-size: 10px;
- background: #8a89ba;
+ background: #7c7bad;
color: white;
padding: 2px 4px;
margin: 1px 6px 0 0;
- border: 1px solid lightGray;
+ border: 1px solid lightgrey;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
@@ -1222,9 +1227,9 @@
padding: 1px 4px;
}
.openerp .oe_secondary_submenu .oe_active {
- background: #8a89ba;
- border-top: 1px solid lightGray;
- border-bottom: 1px solid lightGray;
+ background: #7c7bad;
+ border-top: 1px solid lightgrey;
+ border-bottom: 1px solid lightgrey;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
@@ -1235,7 +1240,7 @@
}
.openerp .oe_secondary_submenu .oe_active .oe_menu_label {
background: #eeeeee;
- color: #8a89ba;
+ color: #7c7bad;
text-shadow: 0 1px 1px white;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
@@ -1243,7 +1248,7 @@
}
.openerp .oe_secondary_submenu .oe_active .oe_menu_counter {
background: #eeeeee;
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp .oe_secondary_submenu .oe_menu_toggler:before {
width: 0;
@@ -1273,7 +1278,7 @@
width: 100%;
}
.openerp .oe_application a {
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp .oe_application a:hover {
text-decoration: underline;
@@ -1314,7 +1319,7 @@
float: left;
}
.openerp .oe_view_manager table.oe_view_manager_header h2 a {
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp .oe_view_manager table.oe_view_manager_header .oe_button_group {
display: inline-block;
@@ -1673,7 +1678,7 @@
}
.openerp .oe_searchview .oe_searchview_drawer h3 {
margin: 8px 4px 4px 12px;
- color: #8786b7;
+ color: #7c7bad;
font-size: 13px;
}
.openerp .oe_searchview .oe_searchview_drawer h4, .openerp .oe_searchview .oe_searchview_drawer h4 * {
@@ -2074,7 +2079,7 @@
background-image: linear-gradient(to bottom, #e8e8e8, #cacaca);
}
.openerp ul.oe_form_steps_clickable li .label {
- color: #8a89ba;
+ color: #7c7bad;
}
.openerp ul.oe_form_steps_clickable li.oe_active:hover {
background-color: #4c85c2;
@@ -2174,7 +2179,7 @@
}
.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
font-size: 80%;
- color: darkGreen;
+ color: darkgreen;
vertical-align: top;
position: relative;
top: -4px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 6472f7aaacd..653adad7813 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -142,6 +142,10 @@ $sheet-max-width: 860px
opacity: 1
// }}}
+@media print
+ .oe_topbar, .oe_leftbar, .oe_loading
+ display: none !important
+
.openerp.openerp_webclient_container
height: 100%
position: relative