[CHG] Put IE specifics in base.sass using 'openerp_ie' class
bzr revid: fme@openerp.com-20121115174831-bpsr6k3upz6crbcz
This commit is contained in:
parent
6e7e07357d
commit
8954271636
|
@ -557,9 +557,6 @@ html_template = """<!DOCTYPE html>
|
|||
<link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="stylesheet" href="/web/static/src/css/full.css" />
|
||||
%(css)s
|
||||
<!--[if IE 9]>
|
||||
<link rel="stylesheet" href="/web/static/src/css/base-ie.css" />
|
||||
<![endif]-->
|
||||
%(js)s
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
|
|
@ -1,108 +0,0 @@
|
|||
@charset "utf-8";
|
||||
.openerp input[type='checkbox'] {
|
||||
border: none;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe_logo img {
|
||||
border: none;
|
||||
}
|
||||
.openerp .oe_header_row button.oe_highlight {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_view_manager_buttons button.oe_write_full {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_view_manager_buttons button.oe_highlight {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_view_manager_buttons button .oe_form_button_edit {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_view_manager_buttons button .oe_form_button_create {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_kanban_image {
|
||||
border: none;
|
||||
}
|
||||
.openerp .oe_msg_icon {
|
||||
border: none;
|
||||
}
|
||||
.openerp .oe_form header ul {
|
||||
height: 29px;
|
||||
}
|
||||
.openerp .oe_attach {
|
||||
filter: none;
|
||||
}
|
||||
.openerp .oe_link {
|
||||
filter: none;
|
||||
}
|
||||
.openerp .oe_kanban_show_more {
|
||||
clear: both;
|
||||
text-align: center;
|
||||
}
|
||||
.openerp.oe_kanban_grouped .oe_kanban_show_more .oe_button {
|
||||
width: 100%;
|
||||
padding: 3px 12px;
|
||||
}
|
||||
.openerp .oe_form_buttons button {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_sidebar button {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_form_field.oe_tags {
|
||||
float: left;
|
||||
}
|
||||
.openerp ul.oe_form_status li {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp ul.oe_form_status li .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp ul.oe_form_status li .arrow span {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp ul.oe_form_status li.oe_active {
|
||||
background-color: #729fcf;
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
|
||||
}
|
||||
.openerp ul.oe_form_status li.oe_active .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp ul.oe_form_status_clickable li {
|
||||
background-color: #e8e8e8;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp ul.oe_form_status_clickable li .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp ul.oe_form_status_clickable li .arrow span {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp ul.oe_form_status_clickable li.oe_active {
|
||||
background-color: #729fcf;
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
|
||||
}
|
||||
.openerp ul.oe_form_status_clickable li.oe_active .label {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg .oe_msg_icons span {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)";
|
||||
}
|
|
@ -1,106 +0,0 @@
|
|||
@charset "utf-8"
|
||||
|
||||
// fixes for ie9 only
|
||||
.openerp
|
||||
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
|
||||
ul.oe_form_status
|
||||
li
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
.arrow
|
||||
span
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
li.oe_active
|
||||
background-color: #729fcf
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
|
||||
ul.oe_form_status_clickable
|
||||
li
|
||||
background-color: #e8e8e8
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
.arrow
|
||||
span
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
li.oe_active
|
||||
background-color: #729fcf
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 0
|
||||
|
||||
// mail addon
|
||||
.oe_mail
|
||||
.oe_msg
|
||||
.oe_msg_icons
|
||||
span
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)"
|
||||
|
||||
|
||||
// }}}
|
|
@ -3056,6 +3056,114 @@ 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;
|
||||
}
|
||||
.openerp_ie ul.oe_form_status li {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status li .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp_ie ul.oe_form_status li .arrow span {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status li.oe_active {
|
||||
background-color: #729fcf;
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status li.oe_active .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp_ie ul.oe_form_status_clickable li {
|
||||
background-color: #e8e8e8;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status_clickable li .label {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.openerp_ie ul.oe_form_status_clickable li .arrow span {
|
||||
background-color/*\**/: #e8e8e8 \9;
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status_clickable li.oe_active {
|
||||
background-color: #729fcf;
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
|
||||
}
|
||||
.openerp_ie ul.oe_form_status_clickable li.oe_active .label {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.openerp_ie .oe_mail .oe_msg .oe_msg_icons span {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)";
|
||||
}
|
||||
|
||||
@media print {
|
||||
.openerp {
|
||||
text-shadow: none;
|
||||
|
|
|
@ -2394,6 +2394,107 @@ 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
|
||||
ul.oe_form_status
|
||||
li
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
.arrow
|
||||
span
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
li.oe_active
|
||||
background-color: #729fcf
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
|
||||
ul.oe_form_status_clickable
|
||||
li
|
||||
background-color: #e8e8e8
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 10px
|
||||
.arrow
|
||||
span
|
||||
background-color/*\**/: #e8e8e8\9
|
||||
background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
|
||||
li.oe_active
|
||||
background-color: #729fcf
|
||||
background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
|
||||
.label
|
||||
padding-bottom: 0
|
||||
|
||||
// mail addon // TODO: move this in mail addon
|
||||
.oe_mail
|
||||
.oe_msg
|
||||
.oe_msg_icons
|
||||
span
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)"
|
||||
// }}}
|
||||
|
||||
// @media print {{{
|
||||
@media print
|
||||
.openerp
|
||||
|
|
Loading…
Reference in New Issue