[FIX] css fixes

bzr revid: fva@openerp.com-20120920120001-taojghvsehlxs54b
This commit is contained in:
Frédéric van der Essen 2012-09-20 14:00:01 +02:00
commit 535adbed11
4 changed files with 119 additions and 2857 deletions

File diff suppressed because it is too large Load Diff

View File

@ -171,6 +171,7 @@ $sheet-max-width: 860px
// Tag reset {{{
a
text-decoration: none
cursor: pointer !important
table
padding: 0
border-collapse: collapse
@ -207,7 +208,7 @@ $sheet-max-width: 860px
// Button style {{{
a.button:link, a.button:visited, button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
display: inline-block
border: 1px solid #ababab
border: 1px solid rgba(0,0,0,0.4)
color: #4c4c4c
margin: 0
padding: 3px 12px
@ -378,7 +379,6 @@ $sheet-max-width: 860px
color: white
background: #DC5F59
button.oe_highlight
border: 1px solid #795151
@include vertical-gradient(#df3f3f, #a21a1a)
@include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
button.oe_highlight:hover
@ -560,7 +560,7 @@ $sheet-max-width: 860px
position: relative
cursor: pointer
.oe_dropdown_toggle
color: #404040
color: rgba(0,0,0,0.5)
font-weight: normal
.oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
display: block
@ -888,6 +888,33 @@ $sheet-max-width: 860px
.oe_dropdown_menu
right: -1px
// }}}
// About openerp {{{
.oe_about
background-color: white
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
@include radius(0 0 2px 2px)
a
color: $link-color
&:hover
text-decoration: underline
&:focus
outline: none
.oe_logo
margin-left: -6px
.oe_bottom
position: absolute
top: 50%
left: 0
right: 0
bottom: 0
text-shadow: 0 1px 1px #999999
@include vertical-gradient(#b41616, #600606)
color: #eee
padding: 0 16px
@include radius(0 0 2px 2px)
a
color: #eee
// }}}
// Systray {{{
.oe_systray > div
float: left
@ -2156,10 +2183,6 @@ $sheet-max-width: 860px
.treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
margin-left: 16px
// }}}
// Translation {{{
.oe_trad_field.touched
border: 1px solid green !important
// }}}
// Debugging stuff {{{
.oe_layout_debugging
.oe_form_group

View File

@ -7,14 +7,14 @@
background: url(/web/static/src/img/form_sheetbg.png);
}
.openerp .oe_kanban_view .ui-sortable-placeholder {
border: 1px dotted black;
border: 1px solid rgba(0, 0, 0, 0.1);
visibility: visible !important;
height: 60px !important;
}
.openerp .oe_kanban_view .ui-sortable-helper {
-moz-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.9);
-webkit-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.9);
-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.9);
-moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
-moz-transform: rotate(3deg);
-webkit-transform: rotate(3deg);
-o-transform: rotate(3deg);
@ -135,7 +135,8 @@
white-space: nowrap;
display: none;
position: relative;
top: 5px;
opacity: 0.75;
top: 20px;
}
.openerp .oe_kanban_view .oe_kanban_add, .openerp .oe_kanban_view .oe_kanban_header .oe_dropdown_toggle {
margin-left: 4px;
@ -143,9 +144,9 @@
position: relative;
top: -8px;
}
.openerp .oe_kanban_view .oe_kanban_add, .openerp .oe_kanban_view .oe_kanban_card .oe_dropdown_toggle {
.openerp .oe_kanban_view .oe_kanban_card, .openerp .oe_kanban_view .oe_dropdown_toggle {
cursor: pointer;
display:inline-block;
display: inline-block;
}
.openerp .oe_kanban_view .oe_kanban_add {
float: right;
@ -204,7 +205,7 @@
.openerp .oe_kanban_view .oe_kanban_record {
position: relative;
display: block;
min-height: 50px;
min-height: 20px;
margin: 0;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
@ -515,33 +516,43 @@
}
.openerp .oe_kanban_view .oe_kanban_color_0 {
background-color: white;
color: #5a5a5a;
}
.openerp .oe_kanban_view .oe_kanban_color_1 {
background-color: #cccccc;
color: #424242;
}
.openerp .oe_kanban_view .oe_kanban_color_2 {
background-color: #ffc7c7;
color: #7a3737;
}
.openerp .oe_kanban_view .oe_kanban_color_3 {
background-color: #fff1c7;
color: #756832;
}
.openerp .oe_kanban_view .oe_kanban_color_4 {
background-color: #e3ffc7;
color: #5d6937;
}
.openerp .oe_kanban_view .oe_kanban_color_5 {
background-color: #c7ffd5;
color: #1a7759;
}
.openerp .oe_kanban_view .oe_kanban_color_6 {
background-color: #c7ffff;
color: #1a5d83;
}
.openerp .oe_kanban_view .oe_kanban_color_7 {
background-color: #c7d5ff;
color: #3b3e75;
}
.openerp .oe_kanban_view .oe_kanban_color_8 {
background-color: #e3c7ff;
color: #4c3668;
}
.openerp .oe_kanban_view .oe_kanban_color_9 {
background-color: #ffc7f1;
color: #6d2c70;
}
.openerp .oe_form .oe_kanban_view .oe_kanban_column, .openerp .oe_form .oe_kanban_view .oe_kanban_group_header {

View File

@ -42,11 +42,11 @@
&.oe_kanban_grouped .oe_kanban_dummy_cell
background: url(/web/static/src/img/form_sheetbg.png)
.ui-sortable-placeholder
border: 1px dotted black
border: 1px solid rgba(0,0,0,0.1)
visibility: visible !important
height: 60px !important
.ui-sortable-helper
@include box-shadow(0 1px 20px rgba(0, 0, 0, 0.9))
@include box-shadow(0 1px 10px rgba(0, 0, 0, 0.3))
@include transform(rotate(3deg))
.oe_kanban_left
float: left
@ -146,7 +146,8 @@
white-space: nowrap
display: none
position: relative
top: 5px
opacity: 0.75
top: 20px
// }}}
// KanbanQuickCreate {{{
.oe_kanban_add, .oe_kanban_header .oe_dropdown_toggle
@ -156,7 +157,7 @@
top: -8px
.oe_kanban_card, .oe_dropdown_toggle
cursor: pointer
display:inline-block
display: inline-block
.oe_kanban_add
float: right
@ -202,7 +203,7 @@
.oe_kanban_record
position: relative
display: block
min-height: 50px
min-height: 20px
margin: 0
@include radius(4px)
&:last-child
@ -433,33 +434,34 @@
// KanbanColors {{{
.oe_kanban_color_0
background-color: #FFFFFF
color: #5a5a5a
.oe_kanban_color_1
background-color: #CCCCCC
color: #424242
.oe_kanban_color_2
background-color: #FFC7C7
color: #7a3737
.oe_kanban_color_3
background-color: #FFF1C7
color: #756832
.oe_kanban_color_4
background-color: #E3FFC7
color: #5d6937
.oe_kanban_color_5
background-color: #C7FFD5
color: #1a7759
.oe_kanban_color_6
background-color: #C7FFFF
color: #1a5d83
.oe_kanban_color_7
background-color: #C7D5FF
color: #3b3e75
.oe_kanban_color_8
background-color: #E3C7FF
color: #4c3668
.oe_kanban_color_9
background-color: #FFC7F1
color: #6d2c70
.openerp .oe_form .oe_kanban_view
.oe_kanban_column, .oe_kanban_group_header