From 9fe8d72078038b248cb82c209e242ec4c0ab6e2d Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 24 Oct 2012 14:27:00 +0200 Subject: [IMP] base: widget one2many_binary bzr revid: chm@openerp.com-20121024122700-k1ycsuyejmh9gqc9 --- addons/web/static/src/css/base.sass | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index f84d30a93ea..1096dd7564d 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2273,6 +2273,65 @@ $sheet-max-width: 860px float: right color: #333 // }}} + +.openerp .oe_fileuploader .oe_add .oe_hidden_input_file input.oe_form_binary_file { + width: 300px; + left: -100px; + top: 1px; + height: 24px; + width: 300px; + background: transparent; + border: 0; + margin: 0px; + padding: 0px; + color: transparent; +} +.openerp .oe_fileuploader .oe_add button span { + position: relative; + bottom: +4px; + font-size: 30px; +} + +.openerp .oe_fileuploader { + clear: both; +} + + .oe_fileuploader + display: inline-block + clear: both + .oe_add + float: left + width: 24px + height: 24px + position: relative + z-index: 10 + left: +2px + top: +7px + overflow: hidden + button + position: absolute + bottom: +0px + left: +0px + height: 24px + width: 24px + margin: 0px + padding: 0px + input.oe_form_binary_file + width: 300px + left: -100px + top: 1px + height: 24px + width: 300px + background: transparent + border: 0 + margin: 0px + padding: 0px + color: transparent + button span + position: relative + bottom: +4px + font-size: 30px + // Kitten Mode {{{ .kitten-mode-activated background-image: url(http://placekitten.com/g/1365/769) -- cgit v1.2.3 From 08db8bbf0f015fd710e1ce79a55fb8faf143f6d5 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 15:05:05 +0200 Subject: [IMP] useability bzr revid: fp@tinyerp.com-20121026130505-7pdeq2bq3nne7h01 --- addons/web/static/src/css/base.sass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index cf1cd38aad2..8b24e6112ae 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1070,6 +1070,8 @@ $sheet-max-width: 860px .oe_view_manager .oe_view_manager_body height: inherit + .oe_view_manager_view_list + min-height: 132px .oe_view_manager_view_kanban height: inherit -- cgit v1.2.3 From 0e3f06bf4e51d304e7b40cd92d353ac9a9d03ba3 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 16:52:22 +0200 Subject: fix bzr revid: fp@tinyerp.com-20121026145222-q3k000saytdg9u2s --- addons/web/static/src/css/base.sass | 2 -- 1 file changed, 2 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 8b24e6112ae..cf1cd38aad2 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1070,8 +1070,6 @@ $sheet-max-width: 860px .oe_view_manager .oe_view_manager_body height: inherit - .oe_view_manager_view_list - min-height: 132px .oe_view_manager_view_kanban height: inherit -- cgit v1.2.3 From 00caf72c6c1d679935f4f1359eca83762f40adc4 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 17:28:50 +0200 Subject: [IMP] CSS bzr revid: fp@tinyerp.com-20121026152850-bevh0selibxvsixm --- addons/web/static/src/css/base.sass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index cf1cd38aad2..2ef9a8a451d 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1983,6 +1983,9 @@ $sheet-max-width: 860px > .oe_view_manager .oe_list_pager_single_page display: none !important + .oe_view_manager_view_list + min-height: 132px + .oe_form_field_one2many_list_row_add font-weight: bold .oe_list_content -- cgit v1.2.3 From 17ffcc059706225accdfe7232d7925f8e53f8042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 29 Oct 2012 11:47:10 +0100 Subject: [IMP] css: reactive css for openchatter in viewforms bzr revid: fva@openerp.com-20121029104710-42u4cq98l2zzdqet --- addons/web/static/src/css/base.sass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index cf1cd38aad2..5d0446b6366 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -10,6 +10,8 @@ $tag-border-selected: #a6a6fe $hover-background: #f0f0fa $link-color: #7C7BAD $sheet-max-width: 860px +$sheet-min-width: 650px +$sheet-padding: 16px // }}} // Mixins {{{ @font-face @@ -1634,8 +1636,8 @@ $sheet-max-width: 860px width: 400px padding-bottom: 0 div.oe_chatter - min-width: 650px - max-width: $sheet-max-width + min-width: $sheet-min-width + 2* $sheet-padding + max-width: $sheet-max-width + 2* $sheet-padding margin: 0 auto padding: 16px 0 48px div.oe_form_configuration -- cgit v1.2.3 From 7371f63bd00c7a0dc9fbe785b6a2724780317adc Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 29 Oct 2012 11:59:47 +0100 Subject: [IMP] view form: one2many_binary, css like chatter attachment bzr revid: chm@openerp.com-20121029105947-67lynhgjmbadvb3k --- addons/web/static/src/css/base.sass | 100 ++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 49 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 733bd9c0845..3d7e129689e 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -314,7 +314,7 @@ $sheet-max-width: 860px text-decoration: none .oe_about background-color: white - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) @include radius(0 0 2px 2px) a color: $link-color @@ -679,7 +679,7 @@ $sheet-max-width: 860px // }}} // Login {{{ .oe_login - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) text-align: center font-size: 14px height: 100% @@ -1026,7 +1026,7 @@ $sheet-max-width: 860px // About openerp {{{ .oe_about background-color: white - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) @include radius(0 0 2px 2px) a color: $link-color @@ -2277,63 +2277,65 @@ $sheet-max-width: 860px color: #333 // }}} -.openerp .oe_fileuploader .oe_add .oe_hidden_input_file input.oe_form_binary_file { - width: 300px; - left: -100px; - top: 1px; - height: 24px; - width: 300px; - background: transparent; - border: 0; - margin: 0px; - padding: 0px; - color: transparent; -} -.openerp .oe_fileuploader .oe_add button span { - position: relative; - bottom: +4px; - font-size: 30px; -} - -.openerp .oe_fileuploader { - clear: both; -} - - .oe_fileuploader +.openerp + .oe_fileupload display: inline-block clear: both + width: 100% .oe_add float: left - width: 24px - height: 24px position: relative - z-index: 10 + width: 100% left: +2px top: +7px - overflow: hidden button - position: absolute - bottom: +0px - left: +0px + display: inline height: 24px + font-size: 12px + line-height: 12px + vertical-align: middle + button.oe_attach width: 24px - margin: 0px - padding: 0px + overflow: hidden + width: 24px + overflow: hidden + background: transparent + color: #7C7BAD + box-shadow: none + border: none + text-shadow: none + .oe_e + position: relative + top: -1px + left: -9px input.oe_form_binary_file - width: 300px - left: -100px - top: 1px - height: 24px - width: 300px - background: transparent - border: 0 - margin: 0px - padding: 0px - color: transparent - button span - position: relative - bottom: +4px - font-size: 30px + display: inline-block + margin-left: -5px + height: 28px + width: 52px + margin-top: -26px + .oe_attach_label + color: #7C7BAD + margin-left: -3px + .oe_attachments + margin-bottom: 4px + margin-right: 0px + font-size: 12px + border-radius: 2px + border: solid 1px rgba(124,123,173,0.14) + .oe_attachment + padding: 2px + padding-left: 4px + padding-right: 4px + .oe_e + font-size: 23px + margin-top: -5px + .oe_e:hover + text-decoration: none + .oe_attachment:nth-child(odd) + background:white + .oe_attachment:nth-child(even) + background: #F4F5FA // Kitten Mode {{{ .kitten-mode-activated -- cgit v1.2.3 From fb642473c19dd299213fecc84294e4e9fa733577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Tue, 30 Oct 2012 12:06:21 +0100 Subject: [IMP] css: made the padding around the comments bigger bzr revid: fva@openerp.com-20121030110621-86exa4ibrnd9585i --- addons/web/static/src/css/base.sass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 15e1898883d..6691040b443 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1636,10 +1636,11 @@ $sheet-padding: 16px width: 400px padding-bottom: 0 div.oe_chatter + box-sizing: border-box min-width: $sheet-min-width + 2* $sheet-padding max-width: $sheet-max-width + 2* $sheet-padding margin: 0 auto - padding: 16px 0 48px + padding: 16px 16px 48px div.oe_form_configuration p, ul, ol color: #aaa -- cgit v1.2.3 From e9d00c7148b2f644be6c5785875da69bbf8ceee1 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 31 Oct 2012 15:06:09 +0100 Subject: [FIX] broken data: urls + remove inane position: absolute on listview delete buttons bzr revid: xmo@openerp.com-20121031140609-d1d1w01dl9g41odf --- addons/web/static/src/css/base.sass | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index d76a33fb315..1719a863549 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -258,6 +258,7 @@ $sheet-padding: 16px // so remove position:relative .ui-tabs position: static + // Modal box &.ui-dialog display: none @@ -271,7 +272,7 @@ $sheet-padding: 16px @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6)) @include background-clip() .ui-dialog-content - padding: 0px + padding: 0 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane padding: 16px .ui-dialog-titlebar @@ -316,7 +317,7 @@ $sheet-padding: 16px text-decoration: none .oe_about background-color: white - background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) @include radius(0 0 2px 2px) a color: $link-color @@ -681,7 +682,7 @@ $sheet-padding: 16px // }}} // Login {{{ .oe_login - background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) text-align: center font-size: 14px height: 100% @@ -1028,7 +1029,7 @@ $sheet-padding: 16px // About openerp {{{ .oe_about background-color: white - background-image: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) @include radius(0 0 2px 2px) a color: $link-color @@ -2033,9 +2034,6 @@ $sheet-padding: 16px .oe_list_content td.oe_list_field_cell padding: 4px 6px 3px 6px - .oe_list.oe_list_editable - td.oe_list_record_delete - position: absolute .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell:not(.oe_readonly) * @@ -2336,7 +2334,7 @@ $sheet-padding: 16px .oe_e:hover text-decoration: none .oe_attachment:nth-child(odd) - background:white + background: white .oe_attachment:nth-child(even) background: #F4F5FA -- cgit v1.2.3 From 72a447bd95b2abc026e6ffbc9807e0229aa2dae1 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 2 Nov 2012 15:13:48 +0100 Subject: [FIX] tabbing out of an m2o which opens some sort of weird dialog thing while in an editable o2m The tab blurs the current fields, focuses the next one, then the dialog thing opens and steals the focus from the *next* field (not the one which created it), which thus triggers *blur* ultimately blurring (and saving) the row being edited. Add a trigger call in some random place which seems to make things not fail. bzr revid: xmo@openerp.com-20121102141348-5au6sarq0mw2ct67 --- addons/web/static/src/css/base.sass | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 1719a863549..79a688cf823 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2039,6 +2039,7 @@ $sheet-padding: 16px * visibility: hidden color: transparent + text-shadow: none .oe_m2o_drop_down_button top: 5px .oe_m2o_cm_button -- cgit v1.2.3 From 9304ac6594eb13cb911ccebbea60f0d7b35f91ee Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 6 Nov 2012 15:18:35 +0100 Subject: [FIX] width of progress bars in list view bzr revid: xmo@openerp.com-20121106141835-fd8spbm93h3etjps --- addons/web/static/src/css/base.sass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 79a688cf823..18451352370 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2193,6 +2193,8 @@ $sheet-padding: 16px .oe_list_handle @include text-to-entypo-icon("}",#E0E0E0,18px) margin-right: 7px + .oe_list_field_progressbar progress + width: 100% // }}} // Tree view {{{ .tree_header -- cgit v1.2.3 From d07f7e0d995f61d3b435898b0c75eec2d6339d50 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 7 Nov 2012 00:05:28 +0100 Subject: [IMP] CSS small improvement bzr revid: fp@openerp.com-20121106230528-1rq72g0n0okde870 --- addons/web/static/src/css/base.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 18451352370..e388ad16727 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -569,7 +569,7 @@ $sheet-padding: 16px position: relative cursor: pointer .oe_dropdown_toggle - color: rgba(0,0,0,0.5) + color: rgba(0,0,0,0.3) font-weight: normal .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened display: block -- cgit v1.2.3 From bfad5ad032e68b4e753249ff14523d5156ce8cef Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 7 Nov 2012 14:21:52 +0100 Subject: [ADD] custom dimensioning of a bunch of form widget for better editable listview compat/styling bzr revid: xmo@openerp.com-20121107132152-9s6s1n4fn4bwjdm2 --- addons/web/static/src/css/base.sass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e388ad16727..f911929e159 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2030,10 +2030,8 @@ $sheet-padding: 16px background-color: #eee $row-height: 27px - .oe_list_editable - .oe_list_content - td.oe_list_field_cell - padding: 4px 6px 3px 6px + .oe_list_editable .oe_list_content td.oe_list_field_cell + padding: 4px 6px 3px .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell:not(.oe_readonly) * @@ -2106,6 +2104,10 @@ $sheet-padding: 16px position: absolute margin: 0 !important // dammit padding: 0 + .oe_form_field_boolean + // use padding similar to actual cell to correctly position the + // checkbox + padding: 1px 6px 3px .oe_list_content .oe_group_header @include vertical-gradient(#fcfcfc, #dedede) -- cgit v1.2.3