Merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-ima into lp:~openerp-dev/openerp-web/trunk-web-bootstrap3

Proposed by Ishwar Malvi(OpenERP)
Status: Merged
Merged at revision: 3881
Proposed branch: lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-ima
Merge into: lp:~openerp-dev/openerp-web/trunk-web-bootstrap3
Diff against target: 212 lines (+53/-14)
2 files modified
addons/web/static/src/css/base.css (+25/-6)
addons/web/static/src/css/base.sass (+28/-8)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-ima
Reviewer Review Type Date Requested Status
OpenERP R&D Team Pending
Review via email: mp+195206@code.launchpad.net

Description of the change

Hello,
     I have fixed following issue,
       1. added css of [input, select, label] in [.oe_searchview] and customize global tag [h3] to remove search box, filter and advanced search options conflicts.
       2. added [.jqstooltip] to manage size of sale team kanban tooltip.
       3. improved [.oe_fileupload] to manage file attach button in chatter.

Thanks,
Ishwar Malvi

To post a comment you must log in.

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 2013-11-14 10:39:13 +0000
3+++ addons/web/static/src/css/base.css 2013-11-14 11:41:21 +0000
4@@ -1639,6 +1639,16 @@
5 font-size: 12px;
6 line-height: 18px;
7 }
8+.openerp .oe_searchview input:not([type]), .openerp .oe_searchview input[type="text"], .openerp .oe_searchview input[type="number"] {
9+ width: 156px;
10+ height: 22px;
11+}
12+.openerp .oe_searchview input[type="checkbox"] {
13+ margin: 3px 3px 3px 4px;
14+}
15+.openerp .oe_searchview select {
16+ margin: 2px 4px 2px 0;
17+}
18 .openerp .oe_searchview.oe_focused {
19 border-color: #a6a6fe;
20 -moz-box-shadow: 0 1px 2px #a6a6fe inset;
21@@ -1863,6 +1873,7 @@
22 box-sizing: border-box;
23 display: table-cell;
24 width: 50%;
25+ padding-left: 2px;
26 }
27 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section ul {
28 margin: 0 8px 8px;
29@@ -1898,7 +1909,7 @@
30 line-height: 18px;
31 }
32 .openerp .oe_searchview .oe_searchview_drawer form button {
33- margin: 0 0 8px 0;
34+ margin: 0 0 8px -3px;
35 }
36 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom {
37 padding: 0 8px 8px 8px;
38@@ -1926,6 +1937,9 @@
39 top: 0;
40 right: 5px;
41 }
42+.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom label {
43+ font-weight: normal;
44+}
45 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_dashboard form {
46 display: none;
47 margin-top: 2px;
48@@ -1953,6 +1967,7 @@
49 }
50 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li:first-child .searchview_extended_prop_or {
51 visibility: hidden;
52+ margin-left: -14px;
53 }
54 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced .searchview_extended_prop_or {
55 opacity: 0.5;
56@@ -2544,13 +2559,14 @@
57 display: inline-block;
58 clear: both;
59 width: 100%;
60+ margin-bottom: -15px;
61 }
62 .openerp .oe_fileupload .oe_add {
63 float: left;
64 position: relative;
65 width: 100%;
66 left: 2px;
67- top: 7px;
68+ top: 0px;
69 overflow: hidden;
70 }
71 .openerp .oe_fileupload .oe_add button {
72@@ -2562,9 +2578,7 @@
73 }
74 .openerp .oe_fileupload .oe_add button.oe_attach {
75 width: 24px;
76- overflow: hidden;
77- width: 24px;
78- overflow: hidden;
79+ margin-bottom: 15px;
80 background: transparent;
81 color: #7c7bad;
82 box-shadow: none;
83@@ -3462,10 +3476,15 @@
84 line-height: normal;
85 }
86
87-h1, h2 {
88+h1, h2, h3 {
89 font-weight: bold;
90 }
91
92+.jqstooltip {
93+ height: auto !important;
94+ width: auto !important;
95+}
96+
97 h5 {
98 font-weight: bold;
99 font-size: smaller;
100
101=== modified file 'addons/web/static/src/css/base.sass'
102--- addons/web/static/src/css/base.sass 2013-11-14 10:39:13 +0000
103+++ addons/web/static/src/css/base.sass 2013-11-14 11:41:21 +0000
104@@ -471,7 +471,7 @@
105 max-width: 650px
106 .oe_grey
107 color: #aaa
108- // Added for generic error message and customize bootstrap <pre>,<hr>
109+ // Added for generic error message and customize bootstrap3 <pre>,<hr>
110 .oe_error_detail
111 pre
112 background-color: #FFFFFF
113@@ -1322,6 +1322,15 @@
114 height: 14px
115 font-size: 12px
116 line-height: 18px
117+ //Customize searchview input, select
118+ input:not([type]), input[type="text"], input[type="number"]
119+ width: 156px
120+ height: 22px
121+ input[type="checkbox"]
122+ margin: 3px 3px 3px 4px
123+ select
124+ margin: 2px 4px 2px 0
125+ //End of customize
126 &.oe_focused
127 border-color: $tag-border-selected
128 @include box-shadow(0 1px 2px $tag-border-selected inset)
129@@ -1486,6 +1495,7 @@
130 @include box-sizing(border)
131 display: table-cell
132 width: 50%
133+ padding-left: 2px // Managed padding-left according bootstrap3
134 ul
135 margin: 0 8px 8px
136 padding: 0
137@@ -1515,7 +1525,7 @@
138 margin: 4px 0
139 line-height: 18px
140 button
141- margin: 0 0 8px 0
142+ margin: 0 0 8px -3px // Managed margin-left according bootstrap3
143 .oe_searchview_custom
144 padding: 0 8px 8px 8px
145 div
146@@ -1535,6 +1545,10 @@
147 position: absolute
148 top: 0
149 right: 5px
150+ //Customize for searchview label
151+ label
152+ font-weight: normal
153+ //End of Customize
154 .oe_searchview_dashboard
155 form
156 display: none
157@@ -1560,9 +1574,10 @@
158 white-space: nowrap
159 &:first-child .searchview_extended_prop_or
160 visibility: hidden
161+ margin-left: -14px
162 .searchview_extended_prop_or
163 opacity: 0.5
164- margin-left: -14px
165+ margin-left: -14px //Customize 'or' in searchview
166 .oe_opened
167 h4:before
168 content: "▾ "
169@@ -2035,12 +2050,13 @@
170 display: inline-block
171 clear: both
172 width: 100%
173+ margin-bottom: -15px
174 .oe_add
175 float: left
176 position: relative
177 width: 100%
178 left: +2px
179- top: +7px
180+ top: +0px //Removed space according bootstrap3
181 overflow: hidden
182 button
183 display: inline
184@@ -2050,9 +2066,7 @@
185 vertical-align: middle
186 button.oe_attach
187 width: 24px
188- overflow: hidden
189- width: 24px
190- overflow: hidden
191+ margin-bottom: 15px //Added space according bootstrap3
192 background: transparent
193 color: #7C7BAD
194 box-shadow: none
195@@ -2750,10 +2764,16 @@
196 // Customize for global tags
197 button, body
198 line-height: normal
199-h1,h2
200+h1,h2,h3
201 font-weight: bold
202 // End of customize
203
204+// Customize for kanban tooltip
205+.jqstooltip
206+ height: auto !important
207+ width: auto !important
208+// End of kanban tooltip
209+
210 // Customize for chatter
211 h5
212 font-weight: bold

Subscribers

People subscribed via source and target branches

to all changes: