Merge lp:~openerp-dev/openerp-web/trunk-x2many-action-field-sgo into lp:openerp-web

Proposed by Sanjay Gohel (Open ERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openerp-web/trunk-x2many-action-field-sgo
Merge into: lp:openerp-web
Diff against target: 95 lines (+30/-5)
2 files modified
addons/web/static/src/css/base.css (+17/-3)
addons/web/static/src/css/base.sass (+13/-2)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-x2many-action-field-sgo
Reviewer Review Type Date Requested Status
OpenERP R&D Web Team Pending
Review via email: mp+198032@code.launchpad.net

Description of the change

Hello,
  I have changed and add css classes for adding separator on field with x2many widget and button with oe_link.also changed oe_link hover classes which is not shown text decoration on firefox.(browser issue)

Thank You.
sanjay gohel

To post a comment you must log in.
3903. By Sanjay Gohel (Open ERP)

[MERGE]sync with trunk

Unmerged revisions

3903. By Sanjay Gohel (Open ERP)

[MERGE]sync with trunk

3902. By Sanjay Gohel (Open ERP)

[MERGE]with trunk

3901. By Sanjay Gohel (Open ERP)

[IMP]improve css and sass for oe_link hoverunderline not shown on firefox

3900. By Sanjay Gohel (Open ERP)

[IMP]improve css and sas

3899. By Sanjay Gohel (Open ERP)

[MERGE/IMP]merge and improce css

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css 2014-01-31 00:52:02 +0000
+++ addons/web/static/src/css/base.css 2014-02-10 06:30:07 +0000
@@ -448,6 +448,12 @@
448.openerp .oe_button_box button {448.openerp .oe_button_box button {
449 margin: 4px;449 margin: 4px;
450}450}
451.openerp .oe_button_box .oe_button.oe_vertical_separator {
452 border-left: 1px solid #dddddd;
453}
454.openerp .oe_button_box .oe_button.oe_link span {
455 padding: 0 10px;
456}
451.openerp .oe_avatar > img {457.openerp .oe_avatar > img {
452 max-height: 90px;458 max-height: 90px;
453 max-width: 90px;459 max-width: 90px;
@@ -486,6 +492,9 @@
486.openerp .oe_button.oe_link img {492.openerp .oe_button.oe_link img {
487 display: inline-block;493 display: inline-block;
488}494}
495.openerp .oe_button.oe_link:hover {
496 text-decoration: underline;
497}
489.openerp .oe_button.oe_link span {498.openerp .oe_button.oe_link span {
490 border: none;499 border: none;
491 padding: 0;500 padding: 0;
@@ -500,9 +509,6 @@
500 color: #7c7bad;509 color: #7c7bad;
501 font-weight: bold;510 font-weight: bold;
502}511}
503.openerp .oe_button.oe_link span:hover {
504 text-decoration: underline;
505}
506.openerp .oe_webclient .oe_star_on, .openerp .oe_webclient .oe_star_off {512.openerp .oe_webclient .oe_star_on, .openerp .oe_webclient .oe_star_off {
507 color: #cccccc;513 color: #cccccc;
508 text-shadow: 0 0 2px black;514 text-shadow: 0 0 2px black;
@@ -2650,6 +2656,14 @@
2650 background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));2656 background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));
2651 background: -ms-linear-gradient(top, #4c85c2, #284d7d);2657 background: -ms-linear-gradient(top, #4c85c2, #284d7d);
2652}2658}
2659.openerp .oe_form .oe_form_x2many_counter {
2660 display: inline-block;
2661 padding-left: 10px;
2662 padding-right: 10px;
2663}
2664.openerp .oe_form .oe_form_x2many_counter.oe_vertical_separator {
2665 border-left: 1px solid #dddddd;
2666}
2653.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {2667.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
2654 display: none;2668 display: none;
2655}2669}
26562670
=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass 2014-01-31 00:52:02 +0000
+++ addons/web/static/src/css/base.sass 2014-02-10 06:30:07 +0000
@@ -422,6 +422,11 @@
422 text-align: right422 text-align: right
423 button423 button
424 margin: 4px424 margin: 4px
425 .oe_button.oe_vertical_separator
426 border-left: 1px solid #dddddd
427 .oe_button.oe_link
428 span
429 padding: 0 10px
425 .oe_avatar430 .oe_avatar
426 > img431 > img
427 max-height: 90px432 max-height: 90px
@@ -442,12 +447,12 @@
442 @include reset()447 @include reset()
443 img448 img
444 display: inline-block449 display: inline-block
450 &:hover
451 text-decoration: underline
445 span452 span
446 @include reset()453 @include reset()
447 color: $link-color454 color: $link-color
448 font-weight: bold455 font-weight: bold
449 &:hover
450 text-decoration: underline
451 .oe_webclient456 .oe_webclient
452 .oe_star_on, .oe_star_off457 .oe_star_on, .oe_star_off
453 color: #cccccc458 color: #cccccc
@@ -2121,6 +2126,12 @@
2121 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))2126 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2122 // }}}2127 // }}}
2123 // FormView.one2many {{{2128 // FormView.one2many {{{
2129 .oe_form .oe_form_x2many_counter
2130 display: inline-block
2131 padding-left: 10px
2132 padding-right: 10px
2133 .oe_form .oe_form_x2many_counter.oe_vertical_separator
2134 border-left: 1px solid #dddddd
2124 .oe_form .oe_form_field_one2many > .oe_view_manager2135 .oe_form .oe_form_field_one2many > .oe_view_manager
2125 .oe_list_pager_single_page2136 .oe_list_pager_single_page
2126 display: none2137 display: none