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
1=== modified file 'addons/web/static/src/css/base.css'
2--- addons/web/static/src/css/base.css 2014-01-31 00:52:02 +0000
3+++ addons/web/static/src/css/base.css 2014-02-10 06:30:07 +0000
4@@ -448,6 +448,12 @@
5 .openerp .oe_button_box button {
6 margin: 4px;
7 }
8+.openerp .oe_button_box .oe_button.oe_vertical_separator {
9+ border-left: 1px solid #dddddd;
10+}
11+.openerp .oe_button_box .oe_button.oe_link span {
12+ padding: 0 10px;
13+}
14 .openerp .oe_avatar > img {
15 max-height: 90px;
16 max-width: 90px;
17@@ -486,6 +492,9 @@
18 .openerp .oe_button.oe_link img {
19 display: inline-block;
20 }
21+.openerp .oe_button.oe_link:hover {
22+ text-decoration: underline;
23+}
24 .openerp .oe_button.oe_link span {
25 border: none;
26 padding: 0;
27@@ -500,9 +509,6 @@
28 color: #7c7bad;
29 font-weight: bold;
30 }
31-.openerp .oe_button.oe_link span:hover {
32- text-decoration: underline;
33-}
34 .openerp .oe_webclient .oe_star_on, .openerp .oe_webclient .oe_star_off {
35 color: #cccccc;
36 text-shadow: 0 0 2px black;
37@@ -2650,6 +2656,14 @@
38 background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));
39 background: -ms-linear-gradient(top, #4c85c2, #284d7d);
40 }
41+.openerp .oe_form .oe_form_x2many_counter {
42+ display: inline-block;
43+ padding-left: 10px;
44+ padding-right: 10px;
45+}
46+.openerp .oe_form .oe_form_x2many_counter.oe_vertical_separator {
47+ border-left: 1px solid #dddddd;
48+}
49 .openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
50 display: none;
51 }
52
53=== modified file 'addons/web/static/src/css/base.sass'
54--- addons/web/static/src/css/base.sass 2014-01-31 00:52:02 +0000
55+++ addons/web/static/src/css/base.sass 2014-02-10 06:30:07 +0000
56@@ -422,6 +422,11 @@
57 text-align: right
58 button
59 margin: 4px
60+ .oe_button.oe_vertical_separator
61+ border-left: 1px solid #dddddd
62+ .oe_button.oe_link
63+ span
64+ padding: 0 10px
65 .oe_avatar
66 > img
67 max-height: 90px
68@@ -442,12 +447,12 @@
69 @include reset()
70 img
71 display: inline-block
72+ &:hover
73+ text-decoration: underline
74 span
75 @include reset()
76 color: $link-color
77 font-weight: bold
78- &:hover
79- text-decoration: underline
80 .oe_webclient
81 .oe_star_on, .oe_star_off
82 color: #cccccc
83@@ -2121,6 +2126,12 @@
84 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
85 // }}}
86 // FormView.one2many {{{
87+ .oe_form .oe_form_x2many_counter
88+ display: inline-block
89+ padding-left: 10px
90+ padding-right: 10px
91+ .oe_form .oe_form_x2many_counter.oe_vertical_separator
92+ border-left: 1px solid #dddddd
93 .oe_form .oe_form_field_one2many > .oe_view_manager
94 .oe_list_pager_single_page
95 display: none