summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-12-13 18:06:54 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-12-13 18:06:54 +0530
commitee4d3ed5bb690298e527d0afb6433a34a3125447 (patch)
tree83d79e6041081c4c451144fc33a6d1848e6d8085 /addons/web/static/src/css
parent91d701679c8c459d5004ff4d0d892661df2e3851 (diff)
parent96231a7ddbd228cbc8e27040c974771e84d57d49 (diff)
[MERGE]Trunk.
bzr revid: vme@tinyerp.com-20121213123654-q62x4vdig4tkdton
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css103
-rw-r--r--addons/web/static/src/css/base.sass83
2 files changed, 179 insertions, 7 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index d2f413db494..280a7c1da22 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -43,6 +43,10 @@
color: #afafb6 !important;
font-style: italic !important;
}
+.openerp :-ms-input-placeholder {
+ color: #afafb6 !important;
+ font-style: italic !important;
+}
.openerp a {
text-decoration: none;
cursor: pointer !important;
@@ -608,6 +612,9 @@
}
.openerp .oe_notebook > li > a {
display: block;
+ color: gray;
+}
+.openerp .oe_notebook > li.ui-tabs-active > a {
color: #4c4c4c;
}
.openerp .oe_notebook {
@@ -703,6 +710,9 @@
display: block;
color: #4c4c4c;
text-decoration: none;
+ width: 200px;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
.openerp .oe_dropdown_menu > li > a:hover {
text-decoration: none;
@@ -1059,6 +1069,14 @@
-webkit-box-shadow: none;
box-shadow: none;
}
+.openerp .oe_topbar .oe_topbar_name {
+ max-width: 150px;
+ overflow: hidden;
+ display: inline-block;
+ max-height: 100%;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
.openerp .oe_menu {
float: left;
padding: 0;
@@ -1192,7 +1210,7 @@
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;
@@ -1217,7 +1235,7 @@
transform: scale(1.1);
}
.openerp .oe_secondary_submenu .oe_active {
- border-top: 1px solid lightGray;
+ border-top: 1px solid lightgrey;
border-bottom: 1px solid #dedede;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
@@ -1322,12 +1340,14 @@
height: 100%;
}
.openerp .oe_application .oe_breadcrumb_item:not(:last-child) {
- display: inline-block;
max-width: 7em;
white-space: nowrap;
- overflow: hidden;
text-overflow: ellipsis;
}
+.openerp .oe_application .oe_breadcrumb_title > * {
+ display: inline-block;
+ overflow: hidden;
+}
.openerp .oe_view_manager .oe_view_manager_body {
height: inherit;
}
@@ -1335,6 +1355,7 @@
height: inherit;
}
.openerp .oe_view_manager table.oe_view_manager_header {
+ border-collapse: separate;
width: 100%;
table-layout: fixed;
}
@@ -2034,6 +2055,9 @@
min-height: 330px;
padding: 16px;
}
+.openerp .oe_form_sheet .oe_list {
+ overflow-x: auto;
+}
.openerp .oe_application .oe_form_sheetbg {
background: url(/web/static/src/img/form_sheetbg.png);
border-bottom: 1px solid #dddddd;
@@ -2157,7 +2181,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;
@@ -2538,6 +2562,7 @@
background: -moz-linear-gradient(135deg, #dedede, #fcfcfc);
background: -o-linear-gradient(135deg, #fcfcfc, #dedede);
background: -webkit-gradient(linear, left top, right bottom, from(#fcfcfc), to(#dedede));
+ background: -ms-linear-gradient(top, #fcfcfc, #dedede);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
@@ -2561,6 +2586,7 @@
background: -moz-linear-gradient(135deg, #3465a4, #729fcf);
background: -o-linear-gradient(135deg, #729fcf, #3465a4);
background: -webkit-gradient(linear, left top, right bottom, from(#729fcf), to(#3465a4));
+ background: -ms-linear-gradient(top, #729fcf, #3465a4);
}
.openerp ul.oe_form_status li.oe_active .label, .openerp ul.oe_form_status_clickable li.oe_active .label {
color: white;
@@ -2610,6 +2636,7 @@
background: -moz-linear-gradient(135deg, #284d7d, #4c85c2);
background: -o-linear-gradient(135deg, #4c85c2, #284d7d);
background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));
+ background: -ms-linear-gradient(top, #4c85c2, #284d7d);
}
.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
display: none;
@@ -3042,6 +3069,69 @@ div.ui-widget-overlay {
border-radius: 3px;
}
+.openerp_ie input[type='checkbox'] {
+ border: none;
+ background: none;
+ box-shadow: none;
+}
+.openerp_ie .oe_logo img {
+ border: none;
+}
+.openerp_ie .oe_header_row button.oe_highlight {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_view_manager_buttons button.oe_write_full {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_view_manager_buttons button.oe_highlight {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_view_manager_buttons button .oe_form_button_edit {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_view_manager_buttons button .oe_form_button_create {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_kanban_image {
+ border: none;
+}
+.openerp_ie .oe_msg_icon {
+ border: none;
+}
+.openerp_ie .oe_form header ul {
+ height: 29px;
+}
+.openerp_ie .oe_attach {
+ filter: none;
+}
+.openerp_ie .oe_link {
+ filter: none;
+}
+.openerp_ie .oe_kanban_show_more {
+ clear: both;
+ text-align: center;
+}
+.openerp_ie.oe_kanban_grouped .oe_kanban_show_more .oe_button {
+ width: 100%;
+ padding: 3px 12px;
+}
+.openerp_ie .oe_form_buttons button {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_sidebar button {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.openerp_ie .oe_form_field.oe_tags {
+ float: left;
+}
+
@media print {
.openerp {
text-shadow: none;
@@ -3068,6 +3158,9 @@ div.ui-widget-overlay {
border: 0px !important;
box-shadow: 0px 0px 0px;
}
+ .openerp .oe_application .oe_form_sheet .oe_list, .openerp .oe_application .oe_form_sheetbg .oe_list {
+ overflow-x: visible;
+ }
.openerp .oe_view_manager_current > .oe_view_manager_header {
border: 0px !important;
box-shadow: 0px 0px 0px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 4296e04d745..d5d0bd2d4f6 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -95,6 +95,7 @@ $sheet-padding: 16px
background: -moz-linear-gradient(135deg, $endColor, $startColor)
background: -o-linear-gradient(135deg, $startColor, $endColor)
background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))
+ background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
@mixin transform($transform)
-webkit-transform: $transform
@@ -159,6 +160,9 @@ $sheet-padding: 16px
\::-webkit-input-placeholder
color: $tag-border !important
font-style: italic !important
+ \:-ms-input-placeholder
+ color: $tag-border !important
+ font-style: italic !important
//}}}
// Tag reset {{{
a
@@ -530,6 +534,8 @@ $sheet-padding: 16px
float: left
.oe_notebook > li > a
display: block
+ color: #808080
+ .oe_notebook > li.ui-tabs-active > a
color: #4c4c4c
.oe_notebook
border-color: #ddd
@@ -598,6 +604,9 @@ $sheet-padding: 16px
display: block
color: #4c4c4c
text-decoration: none
+ width: 200px
+ text-overflow: ellipsis
+ overflow: hidden
&:hover
text-decoration: none
.oe_dropdown_arrow:after
@@ -861,6 +870,13 @@ $sheet-padding: 16px
&:hover
@include vertical-gradient(#292929, #191919)
@include box-shadow(none)
+ .oe_topbar_name
+ max-width: 150px
+ overflow: hidden
+ display: inline-block
+ max-height: 100%
+ text-overflow: ellipsis
+ white-space: nowrap
// oe menu is the list of the buttons on the left side of the bar.
// So why aren't the buttons oe_topbar_items ? This sad state of affairs
@@ -1069,11 +1085,12 @@ $sheet-padding: 16px
> div
height: 100%
.oe_breadcrumb_item:not(:last-child)
- display: inline-block
max-width: 7em
white-space: nowrap
- overflow: hidden
text-overflow: ellipsis
+ .oe_breadcrumb_title > *
+ display: inline-block
+ overflow: hidden
// }}}
// ViewManager common {{{
.oe_view_manager
@@ -1083,6 +1100,7 @@ $sheet-padding: 16px
height: inherit
table.oe_view_manager_header
+ border-collapse: separate
width: 100%
table-layout: fixed
.oe_header_row
@@ -1618,6 +1636,8 @@ $sheet-padding: 16px
background: white
min-height: 330px
padding: 16px
+ .oe_list
+ overflow-x: auto
// Sheet inline mode
.oe_application
.oe_form_sheetbg
@@ -2411,6 +2431,63 @@ div.ui-widget-overlay
@include radius(3px)
// }}}
+// Internet Explorer 9+ specifics {{{
+.openerp_ie
+ input[type='checkbox']
+ border: none
+ background: none
+ box-shadow: none
+ .oe_logo
+ img
+ border: none
+ .oe_header_row
+ button.oe_highlight
+ padding-top: 0
+ padding-bottom: 0
+ .oe_view_manager_buttons
+ button.oe_write_full
+ padding-top: 0
+ padding-bottom: 0
+ button.oe_highlight
+ padding-top: 0
+ padding-bottom: 0
+ button .oe_form_button_edit
+ padding-top: 0
+ padding-bottom: 0
+ button .oe_form_button_create
+ padding-top: 0
+ padding-bottom: 0
+ .oe_kanban_image
+ border: none
+ .oe_msg_icon
+ border: none
+ .oe_form
+ header
+ ul
+ height: 29px
+ .oe_attach
+ filter: none
+ .oe_link
+ filter: none
+
+ .oe_kanban_show_more
+ clear: both
+ text-align: center
+ &.oe_kanban_grouped .oe_kanban_show_more .oe_button
+ width: 100%
+ padding: 3px 12px
+
+ .oe_form_buttons button
+ padding-top: 0
+ padding-bottom: 0
+ .oe_sidebar button
+ padding-top: 0
+ padding-bottom: 0
+
+ .oe_form_field.oe_tags
+ float: left
+// }}}
+
// @media print {{{
@media print
.openerp
@@ -2434,6 +2511,8 @@ div.ui-widget-overlay
.oe_form_sheet, .oe_form_sheetbg
border: 0px !important
box-shadow: 0px 0px 0px
+ .oe_list
+ overflow-x: visible
.oe_view_manager_current > .oe_view_manager_header
border: 0px !important
box-shadow: 0px 0px 0px