[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;
|
||||
/* http://www.quirksmode.org/dom/inputfile.html
|
||||
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
||||
*/ */
|
||||
*/
|
||||
}
|
||||
.openerp a {
|
||||
text-decoration: none;
|
||||
|
@ -866,6 +866,15 @@
|
|||
.openerp .oe_application a:hover {
|
||||
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 {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1008,6 +1017,9 @@
|
|||
.openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after {
|
||||
content: "f";
|
||||
}
|
||||
.openerp .oe_view_manager_global {
|
||||
height: 100%;
|
||||
}
|
||||
.openerp .oe_view_manager_global > .oe_view_manager_header {
|
||||
border-top: 1px solid #cacaca;
|
||||
border-bottom: 1px solid #cacaca;
|
||||
|
@ -1884,9 +1896,6 @@
|
|||
right: 5px;
|
||||
top: 3px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_one2many .oe_kanban_view {
|
||||
position: static;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button input {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1921,9 +1930,6 @@
|
|||
.openerp .oe_form .oe_form_group {
|
||||
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 {
|
||||
height: 22px;
|
||||
white-space: nowrap;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
@charset "utf-8"
|
||||
@charset "utf-8"
|
||||
|
||||
// Variables {{{
|
||||
$section-title-color: #8786b7
|
||||
$facets-border: #afafb6
|
||||
$facets-border-selected: #a6a6fe
|
||||
$hover-background: #f0f0fa
|
||||
$colour4: #8a89ba
|
||||
// }}}
|
||||
// Mixins {{{
|
||||
@font-face
|
||||
// Variables {{{
|
||||
$section-title-color: #8786b7
|
||||
$facets-border: #afafb6
|
||||
$facets-border-selected: #a6a6fe
|
||||
$hover-background: #f0f0fa
|
||||
$colour4: #8a89ba
|
||||
// }}}
|
||||
// Mixins {{{
|
||||
@font-face
|
||||
font-family: 'mnmliconsRegular'
|
||||
src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
|
||||
src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
|
||||
|
@ -17,7 +17,7 @@ $colour4: #8a89ba
|
|||
font-weight: normal
|
||||
font-style: normal
|
||||
|
||||
@font-face
|
||||
@font-face
|
||||
font-family: 'EntypoRegular'
|
||||
src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
|
||||
src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
|
||||
|
@ -27,7 +27,7 @@ $colour4: #8a89ba
|
|||
font-weight: normal
|
||||
font-style: normal
|
||||
|
||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||
background-color: $startColor
|
||||
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+ */
|
||||
|
@ -37,49 +37,49 @@ $colour4: #8a89ba
|
|||
background-image: linear-gradient(to bottom, $startColor, $endColor)
|
||||
|
||||
|
||||
@mixin radial-gradient($gradient)
|
||||
@mixin radial-gradient($gradient)
|
||||
background-position: center center
|
||||
background-image: -webkit-radial-gradient(circle, $gradient)
|
||||
background-image: -moz-radial-gradient($gradient)
|
||||
background-image: -ms-radial-gradient($gradient)
|
||||
background-image: radial-gradient($gradient)
|
||||
|
||||
@mixin radius($radius: 5px)
|
||||
@mixin radius($radius: 5px)
|
||||
-moz-border-radius: $radius
|
||||
-webkit-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
|
||||
-webkit-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
|
||||
-moz-transition: $transval
|
||||
-ms-transition: $transval
|
||||
-o-transition: $transval
|
||||
transition: $transval
|
||||
|
||||
@mixin opacity($opacity: .5)
|
||||
@mixin opacity($opacity: .5)
|
||||
filter: alpha(opacity=$opacity * 100)
|
||||
opacity: $opacity
|
||||
|
||||
@mixin background-clip($clip: padding-box)
|
||||
@mixin background-clip($clip: padding-box)
|
||||
-webkit-background-clip: $clip
|
||||
-moz-background-clip: $clip
|
||||
background-clip: $clip
|
||||
|
||||
@mixin box-sizing($type: content)
|
||||
@mixin box-sizing($type: content)
|
||||
// type = border || content || padding
|
||||
-webkit-box-sizing: #{$type}-box
|
||||
-moz-box-sizing: #{$type}-box
|
||||
-ms-box-sizing: #{$type}-box
|
||||
box-sizing: #{$type}-box
|
||||
|
||||
// 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
|
||||
@mixin text-to-icon($icon-name, $color: #404040)
|
||||
// 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
|
||||
@mixin text-to-icon($icon-name, $color: #404040)
|
||||
font-size: 1px
|
||||
letter-spacing: -1px
|
||||
color: transparent
|
||||
|
@ -89,27 +89,27 @@ $colour4: #8a89ba
|
|||
font-size: 20px
|
||||
color: $color
|
||||
|
||||
// }}}
|
||||
// }}}
|
||||
|
||||
|
||||
.openerp.openerp-web-client-container
|
||||
.openerp.openerp-web-client-container
|
||||
height: 100%
|
||||
position: relative
|
||||
|
||||
// Jquery ui Overrides {{{
|
||||
.ui-widget
|
||||
// Jquery ui Overrides {{{
|
||||
.ui-widget
|
||||
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
||||
font-size: 13px
|
||||
.ui-menu
|
||||
.ui-menu
|
||||
.ui-menu-item
|
||||
margin: 0 8px 0 0
|
||||
padding: 0 0 0 12px
|
||||
width: auto
|
||||
a.ui-state-active
|
||||
background: #f0f0fa
|
||||
// }}}
|
||||
// }}}
|
||||
|
||||
.openerp
|
||||
.openerp
|
||||
// Global style {{{
|
||||
padding: 0
|
||||
margin: 0
|
||||
|
@ -703,10 +703,17 @@ $colour4: #8a89ba
|
|||
color: $colour4
|
||||
&:hover
|
||||
text-decoration: underline
|
||||
> div
|
||||
height: 100%
|
||||
// }}}
|
||||
|
||||
// ViewManager common styles
|
||||
.oe_view_manager
|
||||
.oe_view_manager_body
|
||||
height: inherit
|
||||
.oe_view_manager_view_kanban
|
||||
height: inherit
|
||||
|
||||
// ViewManager.header {{{
|
||||
.oe_view_manager_header
|
||||
width: 100%
|
||||
|
@ -822,6 +829,7 @@ $colour4: #8a89ba
|
|||
|
||||
// ViewManager top header specific style {{{
|
||||
.oe_view_manager_global
|
||||
height: 100%
|
||||
> .oe_view_manager_header
|
||||
border-top: 1px solid #cacaca
|
||||
border-bottom: 1px solid #cacaca
|
||||
|
@ -1502,9 +1510,6 @@ $colour4: #8a89ba
|
|||
filter: alpha(opacity=50)
|
||||
right: 5px
|
||||
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
|
||||
input
|
||||
width: 100%
|
||||
|
@ -1536,10 +1541,6 @@ $colour4: #8a89ba
|
|||
.oe_form_group
|
||||
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 {{{
|
||||
.oe_form
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
@charset "utf-8";
|
||||
.openerp .oe_kanban_view {
|
||||
position: absolute;
|
||||
top: 118px;
|
||||
bottom: 0;
|
||||
left: 221px;
|
||||
right: 0;
|
||||
height: inherit;
|
||||
}
|
||||
.openerp .oe_kanban_view .ui-sortable-placeholder {
|
||||
border: 1px dotted black;
|
||||
|
@ -20,7 +17,7 @@
|
|||
clear: both;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_groups {
|
||||
height: 100%;
|
||||
height: inherit;
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_group_title {
|
||||
|
@ -106,8 +103,8 @@
|
|||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_quick_create .oe_kanban_quick_create_buttons {
|
||||
margin-bottom: 10px;
|
||||
.openerp .oe_kanban_view .oe_kanban_quick_create button {
|
||||
float: right;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_vignette {
|
||||
padding: 8px;
|
||||
|
|
|
@ -21,11 +21,7 @@
|
|||
|
||||
.openerp .oe_kanban_view
|
||||
// KanbanView {{{
|
||||
position: absolute
|
||||
top: 118px
|
||||
bottom: 0
|
||||
left: 221px
|
||||
right: 0
|
||||
height: inherit
|
||||
.ui-sortable-placeholder
|
||||
border: 1px dotted black
|
||||
visibility: visible !important
|
||||
|
@ -39,7 +35,7 @@
|
|||
// }}}
|
||||
// KanbanGroups {{{
|
||||
.oe_kanban_groups
|
||||
height: 100%
|
||||
height: inherit
|
||||
width: 100%
|
||||
.oe_kanban_group_title
|
||||
margin: 1px 1px 4px
|
||||
|
|
Loading…
Reference in New Issue