[IMP] fixing absolute problems on kanban and clean one2many kanban
bzr revid: fp@openerp.com-20120615201030-8h6htqs1x8j9re5z
This commit is contained in:
parent
ff1e444ef8
commit
4ce44b0b93
|
@ -48,7 +48,7 @@
|
||||||
background: white;
|
background: white;
|
||||||
/* http://www.quirksmode.org/dom/inputfile.html
|
/* http://www.quirksmode.org/dom/inputfile.html
|
||||||
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
||||||
*/ */
|
*/
|
||||||
}
|
}
|
||||||
.openerp a {
|
.openerp a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -866,6 +866,15 @@
|
||||||
.openerp .oe_application a:hover {
|
.openerp .oe_application a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
.openerp .oe_application > div {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.openerp .oe_view_manager .oe_view_manager_body {
|
||||||
|
height: inherit;
|
||||||
|
}
|
||||||
|
.openerp .oe_view_manager .oe_view_manager_view_kanban {
|
||||||
|
height: inherit;
|
||||||
|
}
|
||||||
.openerp .oe_view_manager .oe_view_manager_header {
|
.openerp .oe_view_manager .oe_view_manager_header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1008,6 +1017,9 @@
|
||||||
.openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after {
|
.openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after {
|
||||||
content: "f";
|
content: "f";
|
||||||
}
|
}
|
||||||
|
.openerp .oe_view_manager_global {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.openerp .oe_view_manager_global > .oe_view_manager_header {
|
.openerp .oe_view_manager_global > .oe_view_manager_header {
|
||||||
border-top: 1px solid #cacaca;
|
border-top: 1px solid #cacaca;
|
||||||
border-bottom: 1px solid #cacaca;
|
border-bottom: 1px solid #cacaca;
|
||||||
|
@ -1884,9 +1896,6 @@
|
||||||
right: 5px;
|
right: 5px;
|
||||||
top: 3px;
|
top: 3px;
|
||||||
}
|
}
|
||||||
.openerp .oe_form .oe_form_field_one2many .oe_kanban_view {
|
|
||||||
position: static;
|
|
||||||
}
|
|
||||||
.openerp .oe_form .oe_form_field_with_button input {
|
.openerp .oe_form .oe_form_field_with_button input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1921,9 +1930,6 @@
|
||||||
.openerp .oe_form .oe_form_group {
|
.openerp .oe_form .oe_form_group {
|
||||||
margin: 5px 0px 5px 0px;
|
margin: 5px 0px 5px 0px;
|
||||||
}
|
}
|
||||||
.openerp .oe_form .oe_form_group_cell .oe_kanban_view {
|
|
||||||
position: static;
|
|
||||||
}
|
|
||||||
.openerp .oe_form .oe_form_button.oe_button {
|
.openerp .oe_form .oe_form_button.oe_button {
|
||||||
height: 22px;
|
height: 22px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
@charset "utf-8"
|
@charset "utf-8"
|
||||||
|
|
||||||
// Variables {{{
|
// Variables {{{
|
||||||
$section-title-color: #8786b7
|
$section-title-color: #8786b7
|
||||||
$facets-border: #afafb6
|
$facets-border: #afafb6
|
||||||
$facets-border-selected: #a6a6fe
|
$facets-border-selected: #a6a6fe
|
||||||
$hover-background: #f0f0fa
|
$hover-background: #f0f0fa
|
||||||
$colour4: #8a89ba
|
$colour4: #8a89ba
|
||||||
// }}}
|
// }}}
|
||||||
// Mixins {{{
|
// Mixins {{{
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'mnmliconsRegular'
|
font-family: 'mnmliconsRegular'
|
||||||
src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
|
src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
|
||||||
src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
|
src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
|
||||||
|
@ -17,7 +17,7 @@ $colour4: #8a89ba
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
font-style: normal
|
font-style: normal
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'EntypoRegular'
|
font-family: 'EntypoRegular'
|
||||||
src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
|
src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
|
||||||
src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
|
src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
|
||||||
|
@ -27,7 +27,7 @@ $colour4: #8a89ba
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
font-style: normal
|
font-style: normal
|
||||||
|
|
||||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||||
background-color: $startColor
|
background-color: $startColor
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
|
background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
|
||||||
background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
|
background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
|
||||||
|
@ -37,49 +37,49 @@ $colour4: #8a89ba
|
||||||
background-image: linear-gradient(to bottom, $startColor, $endColor)
|
background-image: linear-gradient(to bottom, $startColor, $endColor)
|
||||||
|
|
||||||
|
|
||||||
@mixin radial-gradient($gradient)
|
@mixin radial-gradient($gradient)
|
||||||
background-position: center center
|
background-position: center center
|
||||||
background-image: -webkit-radial-gradient(circle, $gradient)
|
background-image: -webkit-radial-gradient(circle, $gradient)
|
||||||
background-image: -moz-radial-gradient($gradient)
|
background-image: -moz-radial-gradient($gradient)
|
||||||
background-image: -ms-radial-gradient($gradient)
|
background-image: -ms-radial-gradient($gradient)
|
||||||
background-image: radial-gradient($gradient)
|
background-image: radial-gradient($gradient)
|
||||||
|
|
||||||
@mixin radius($radius: 5px)
|
@mixin radius($radius: 5px)
|
||||||
-moz-border-radius: $radius
|
-moz-border-radius: $radius
|
||||||
-webkit-border-radius: $radius
|
-webkit-border-radius: $radius
|
||||||
border-radius: $radius
|
border-radius: $radius
|
||||||
|
|
||||||
@mixin box-shadow($bsval: 0px 1px 4px #777)
|
@mixin box-shadow($bsval: 0px 1px 4px #777)
|
||||||
-moz-box-shadow: $bsval
|
-moz-box-shadow: $bsval
|
||||||
-webkit-box-shadow: $bsval
|
-webkit-box-shadow: $bsval
|
||||||
box-shadow: $bsval
|
box-shadow: $bsval
|
||||||
|
|
||||||
@mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
|
@mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
|
||||||
-webkit-transition: $transval
|
-webkit-transition: $transval
|
||||||
-moz-transition: $transval
|
-moz-transition: $transval
|
||||||
-ms-transition: $transval
|
-ms-transition: $transval
|
||||||
-o-transition: $transval
|
-o-transition: $transval
|
||||||
transition: $transval
|
transition: $transval
|
||||||
|
|
||||||
@mixin opacity($opacity: .5)
|
@mixin opacity($opacity: .5)
|
||||||
filter: alpha(opacity=$opacity * 100)
|
filter: alpha(opacity=$opacity * 100)
|
||||||
opacity: $opacity
|
opacity: $opacity
|
||||||
|
|
||||||
@mixin background-clip($clip: padding-box)
|
@mixin background-clip($clip: padding-box)
|
||||||
-webkit-background-clip: $clip
|
-webkit-background-clip: $clip
|
||||||
-moz-background-clip: $clip
|
-moz-background-clip: $clip
|
||||||
background-clip: $clip
|
background-clip: $clip
|
||||||
|
|
||||||
@mixin box-sizing($type: content)
|
@mixin box-sizing($type: content)
|
||||||
// type = border || content || padding
|
// type = border || content || padding
|
||||||
-webkit-box-sizing: #{$type}-box
|
-webkit-box-sizing: #{$type}-box
|
||||||
-moz-box-sizing: #{$type}-box
|
-moz-box-sizing: #{$type}-box
|
||||||
-ms-box-sizing: #{$type}-box
|
-ms-box-sizing: #{$type}-box
|
||||||
box-sizing: #{$type}-box
|
box-sizing: #{$type}-box
|
||||||
|
|
||||||
// Transforms the (readable) text of an inline element into an mmlicons icon,
|
// Transforms the (readable) text of an inline element into an mmlicons icon,
|
||||||
// allows for actual readable text in-code (and in readers?) with iconic looks
|
// allows for actual readable text in-code (and in readers?) with iconic looks
|
||||||
@mixin text-to-icon($icon-name, $color: #404040)
|
@mixin text-to-icon($icon-name, $color: #404040)
|
||||||
font-size: 1px
|
font-size: 1px
|
||||||
letter-spacing: -1px
|
letter-spacing: -1px
|
||||||
color: transparent
|
color: transparent
|
||||||
|
@ -89,27 +89,27 @@ $colour4: #8a89ba
|
||||||
font-size: 20px
|
font-size: 20px
|
||||||
color: $color
|
color: $color
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
|
|
||||||
.openerp.openerp-web-client-container
|
.openerp.openerp-web-client-container
|
||||||
height: 100%
|
height: 100%
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
// Jquery ui Overrides {{{
|
// Jquery ui Overrides {{{
|
||||||
.ui-widget
|
.ui-widget
|
||||||
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
||||||
font-size: 13px
|
font-size: 13px
|
||||||
.ui-menu
|
.ui-menu
|
||||||
.ui-menu-item
|
.ui-menu-item
|
||||||
margin: 0 8px 0 0
|
margin: 0 8px 0 0
|
||||||
padding: 0 0 0 12px
|
padding: 0 0 0 12px
|
||||||
width: auto
|
width: auto
|
||||||
a.ui-state-active
|
a.ui-state-active
|
||||||
background: #f0f0fa
|
background: #f0f0fa
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
.openerp
|
.openerp
|
||||||
// Global style {{{
|
// Global style {{{
|
||||||
padding: 0
|
padding: 0
|
||||||
margin: 0
|
margin: 0
|
||||||
|
@ -703,10 +703,17 @@ $colour4: #8a89ba
|
||||||
color: $colour4
|
color: $colour4
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
|
> div
|
||||||
|
height: 100%
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
// ViewManager common styles
|
// ViewManager common styles
|
||||||
.oe_view_manager
|
.oe_view_manager
|
||||||
|
.oe_view_manager_body
|
||||||
|
height: inherit
|
||||||
|
.oe_view_manager_view_kanban
|
||||||
|
height: inherit
|
||||||
|
|
||||||
// ViewManager.header {{{
|
// ViewManager.header {{{
|
||||||
.oe_view_manager_header
|
.oe_view_manager_header
|
||||||
width: 100%
|
width: 100%
|
||||||
|
@ -822,6 +829,7 @@ $colour4: #8a89ba
|
||||||
|
|
||||||
// ViewManager top header specific style {{{
|
// ViewManager top header specific style {{{
|
||||||
.oe_view_manager_global
|
.oe_view_manager_global
|
||||||
|
height: 100%
|
||||||
> .oe_view_manager_header
|
> .oe_view_manager_header
|
||||||
border-top: 1px solid #cacaca
|
border-top: 1px solid #cacaca
|
||||||
border-bottom: 1px solid #cacaca
|
border-bottom: 1px solid #cacaca
|
||||||
|
@ -1502,9 +1510,6 @@ $colour4: #8a89ba
|
||||||
filter: alpha(opacity=50)
|
filter: alpha(opacity=50)
|
||||||
right: 5px
|
right: 5px
|
||||||
top: 3px
|
top: 3px
|
||||||
.oe_form_field_one2many .oe_kanban_view
|
|
||||||
// Hack due to absolute positioning of kanban view messing with o2m
|
|
||||||
position: static
|
|
||||||
.oe_form_field_with_button
|
.oe_form_field_with_button
|
||||||
input
|
input
|
||||||
width: 100%
|
width: 100%
|
||||||
|
@ -1536,10 +1541,6 @@ $colour4: #8a89ba
|
||||||
.oe_form_group
|
.oe_form_group
|
||||||
margin: 5px 0px 5px 0px
|
margin: 5px 0px 5px 0px
|
||||||
|
|
||||||
.oe_form_group_cell .oe_kanban_view
|
|
||||||
// Hack due to absolute positioning of kanban view messing with o2m
|
|
||||||
position: static
|
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
// FormView.buttons {{{
|
// FormView.buttons {{{
|
||||||
.oe_form
|
.oe_form
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
|
@charset "utf-8";
|
||||||
.openerp .oe_kanban_view {
|
.openerp .oe_kanban_view {
|
||||||
position: absolute;
|
height: inherit;
|
||||||
top: 118px;
|
|
||||||
bottom: 0;
|
|
||||||
left: 221px;
|
|
||||||
right: 0;
|
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .ui-sortable-placeholder {
|
.openerp .oe_kanban_view .ui-sortable-placeholder {
|
||||||
border: 1px dotted black;
|
border: 1px dotted black;
|
||||||
|
@ -20,7 +17,7 @@
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_groups {
|
.openerp .oe_kanban_view .oe_kanban_groups {
|
||||||
height: 100%;
|
height: inherit;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_group_title {
|
.openerp .oe_kanban_view .oe_kanban_group_title {
|
||||||
|
@ -106,8 +103,8 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_quick_create .oe_kanban_quick_create_buttons {
|
.openerp .oe_kanban_view .oe_kanban_quick_create button {
|
||||||
margin-bottom: 10px;
|
float: right;
|
||||||
}
|
}
|
||||||
.openerp .oe_kanban_view .oe_kanban_vignette {
|
.openerp .oe_kanban_view .oe_kanban_vignette {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
|
@ -21,11 +21,7 @@
|
||||||
|
|
||||||
.openerp .oe_kanban_view
|
.openerp .oe_kanban_view
|
||||||
// KanbanView {{{
|
// KanbanView {{{
|
||||||
position: absolute
|
height: inherit
|
||||||
top: 118px
|
|
||||||
bottom: 0
|
|
||||||
left: 221px
|
|
||||||
right: 0
|
|
||||||
.ui-sortable-placeholder
|
.ui-sortable-placeholder
|
||||||
border: 1px dotted black
|
border: 1px dotted black
|
||||||
visibility: visible !important
|
visibility: visible !important
|
||||||
|
@ -39,7 +35,7 @@
|
||||||
// }}}
|
// }}}
|
||||||
// KanbanGroups {{{
|
// KanbanGroups {{{
|
||||||
.oe_kanban_groups
|
.oe_kanban_groups
|
||||||
height: 100%
|
height: inherit
|
||||||
width: 100%
|
width: 100%
|
||||||
.oe_kanban_group_title
|
.oe_kanban_group_title
|
||||||
margin: 1px 1px 4px
|
margin: 1px 1px 4px
|
||||||
|
|
Loading…
Reference in New Issue