Merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1 into lp:~openerp-dev/openerp-web/trunk-web-bootstrap3
- trunk-web-bootstrap3-psa1
- Merge into trunk-web-bootstrap3
Proposed by
Paramjit Singh Sahota(OpenERP)
Status: | Merged |
---|---|
Merged at revision: | 3883 |
Proposed branch: | lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1 |
Merge into: | lp:~openerp-dev/openerp-web/trunk-web-bootstrap3 |
Diff against target: |
602 lines (+213/-77) 6 files modified
addons/web/static/src/css/base.css (+93/-39) addons/web/static/src/css/base.sass (+60/-15) addons/web/static/src/js/chrome.js (+4/-4) addons/web/static/src/xml/base.xml (+21/-19) addons/web_calendar/static/src/css/web_calendar.css (+21/-0) addons/web_calendar/static/src/css/web_calendar.sass (+14/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/trunk-web-bootstrap3-psa1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP R&D Team | Pending | ||
Review via email: mp+195214@code.launchpad.net |
Commit message
Description of the change
Hello Sir,
Fixed the following issues:
1./ The issue of leftbar in database manager.
2./ The issue of login page footer.
3./ The issue in database manager in menu drop database and backup database.
4./ Used the bootstrap navbar instead topbar and done changes accordingly and fixed the changes were necessary.
5./ Fixed the issue of hiding of caret. Which hides when the cursor hovers it.
6./ Fixed the issue of topbar in login page.
7./ Fixed the position of timezone alert icon.
8./ Fixed the issue of size of navbar with anonymous user
9./ Fix the Day Week Month tabs position and the body part in week and month to specific height.
Thankz...
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 11:23:43 +0000 | |||
3 | +++ addons/web/static/src/css/base.css 2013-11-14 12:15:39 +0000 | |||
4 | @@ -997,7 +997,7 @@ | |||
5 | 997 | } | 997 | } |
6 | 998 | .openerp .oe_login .oe_login_footer a { | 998 | .openerp .oe_login .oe_login_footer a { |
7 | 999 | color: #eeeeee; | 999 | color: #eeeeee; |
9 | 1000 | margin: 0 8px; | 1000 | margin: 0 6px; |
10 | 1001 | } | 1001 | } |
11 | 1002 | .openerp .oe_login .oe_login_footer a:hover { | 1002 | .openerp .oe_login .oe_login_footer a:hover { |
12 | 1003 | text-decoration: underline; | 1003 | text-decoration: underline; |
13 | @@ -1043,19 +1043,7 @@ | |||
14 | 1043 | .openerp .oe_content_full_screen .oe_topbar, .openerp .oe_content_full_screen .oe_leftbar { | 1043 | .openerp .oe_content_full_screen .oe_topbar, .openerp .oe_content_full_screen .oe_leftbar { |
15 | 1044 | display: none; | 1044 | display: none; |
16 | 1045 | } | 1045 | } |
30 | 1046 | .openerp .oe_topbar { | 1046 | .openerp .navbar .oe_topbar_anonymous_login { |
18 | 1047 | width: 100%; | ||
19 | 1048 | height: 32px; | ||
20 | 1049 | background-color: #414141; | ||
21 | 1050 | background-color: #454343; | ||
22 | 1051 | background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); | ||
23 | 1052 | background-image: -webkit-linear-gradient(top, #646060, #262626); | ||
24 | 1053 | background-image: -moz-linear-gradient(top, #646060, #262626); | ||
25 | 1054 | background-image: -ms-linear-gradient(top, #646060, #262626); | ||
26 | 1055 | background-image: -o-linear-gradient(top, #646060, #262626); | ||
27 | 1056 | background-image: linear-gradient(to bottom, #646060, #262626); | ||
28 | 1057 | } | ||
29 | 1058 | .openerp .oe_topbar .oe_topbar_anonymous_login { | ||
31 | 1059 | background-color: #dc5f59; | 1047 | background-color: #dc5f59; |
32 | 1060 | color: #eeeeee; | 1048 | color: #eeeeee; |
33 | 1061 | background-color: #be4343; | 1049 | background-color: #be4343; |
34 | @@ -1066,11 +1054,11 @@ | |||
35 | 1066 | background-image: -o-linear-gradient(top, #fc8787, maroon); | 1054 | background-image: -o-linear-gradient(top, #fc8787, maroon); |
36 | 1067 | background-image: linear-gradient(to bottom, #fc8787, maroon); | 1055 | background-image: linear-gradient(to bottom, #fc8787, maroon); |
37 | 1068 | } | 1056 | } |
39 | 1069 | .openerp .oe_topbar .oe_topbar_anonymous_login a { | 1057 | .openerp .navbar .oe_topbar_anonymous_login a { |
40 | 1070 | display: block; | 1058 | display: block; |
41 | 1071 | padding: 5px 10px 7px; | 1059 | padding: 5px 10px 7px; |
42 | 1072 | line-height: 20px; | 1060 | line-height: 20px; |
44 | 1073 | height: 20px; | 1061 | height: 30px; |
45 | 1074 | text-decoration: none; | 1062 | text-decoration: none; |
46 | 1075 | color: white; | 1063 | color: white; |
47 | 1076 | background: transparent; | 1064 | background: transparent; |
48 | @@ -1080,7 +1068,7 @@ | |||
49 | 1080 | -o-transition: all 0.2s ease-out; | 1068 | -o-transition: all 0.2s ease-out; |
50 | 1081 | transition: all 0.2s ease-out; | 1069 | transition: all 0.2s ease-out; |
51 | 1082 | } | 1070 | } |
53 | 1083 | .openerp .oe_topbar .oe_topbar_anonymous_login a:hover { | 1071 | .openerp .navbar .oe_topbar_anonymous_login a:hover { |
54 | 1084 | background: rgba(0, 0, 0, 0.1); | 1072 | background: rgba(0, 0, 0, 0.1); |
55 | 1085 | color: white; | 1073 | color: white; |
56 | 1086 | text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2); | 1074 | text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2); |
57 | @@ -1088,9 +1076,9 @@ | |||
58 | 1088 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; | 1076 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; |
59 | 1089 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; | 1077 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; |
60 | 1090 | } | 1078 | } |
62 | 1091 | .openerp .oe_topbar .oe_topbar_item { | 1079 | .openerp .navbar .oe_topbar_item { |
63 | 1092 | display: block; | 1080 | display: block; |
65 | 1093 | padding: 5px 10px 7px; | 1081 | padding: 5px 10px 26px; |
66 | 1094 | line-height: 20px; | 1082 | line-height: 20px; |
67 | 1095 | height: 20px; | 1083 | height: 20px; |
68 | 1096 | text-decoration: none; | 1084 | text-decoration: none; |
69 | @@ -1103,7 +1091,7 @@ | |||
70 | 1103 | -o-transition: all 0.2s ease-out; | 1091 | -o-transition: all 0.2s ease-out; |
71 | 1104 | transition: all 0.2s ease-out; | 1092 | transition: all 0.2s ease-out; |
72 | 1105 | } | 1093 | } |
74 | 1106 | .openerp .oe_topbar .oe_topbar_item:hover { | 1094 | .openerp .navbar .oe_topbar_item:hover { |
75 | 1107 | background: rgba(0, 0, 0, 0.2); | 1095 | background: rgba(0, 0, 0, 0.2); |
76 | 1108 | text-shadow: black 0px 0px 3px; | 1096 | text-shadow: black 0px 0px 3px; |
77 | 1109 | color: white; | 1097 | color: white; |
78 | @@ -1111,7 +1099,7 @@ | |||
79 | 1111 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; | 1099 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; |
80 | 1112 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; | 1100 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; |
81 | 1113 | } | 1101 | } |
83 | 1114 | .openerp .oe_topbar .oe_topbar_avatar { | 1102 | .openerp .navbar .oe_topbar_avatar { |
84 | 1115 | width: 24px; | 1103 | width: 24px; |
85 | 1116 | height: 24px; | 1104 | height: 24px; |
86 | 1117 | margin: -2px 2px 0 0; | 1105 | margin: -2px 2px 0 0; |
87 | @@ -1119,13 +1107,13 @@ | |||
88 | 1119 | -webkit-border-radius: 3px; | 1107 | -webkit-border-radius: 3px; |
89 | 1120 | border-radius: 3px; | 1108 | border-radius: 3px; |
90 | 1121 | } | 1109 | } |
92 | 1122 | .openerp .oe_topbar .oe_topbar_avatar { | 1110 | .openerp .navbar .oe_topbar_avatar { |
93 | 1123 | vertical-align: top; | 1111 | vertical-align: top; |
94 | 1124 | } | 1112 | } |
96 | 1125 | .openerp .oe_topbar .oe_dropdown_arrow:after { | 1113 | .openerp .navbar .oe_dropdown_arrow:after { |
97 | 1126 | border-top: 4px solid white; | 1114 | border-top: 4px solid white; |
98 | 1127 | } | 1115 | } |
100 | 1128 | .openerp .oe_topbar .oe_dropdown_menu { | 1116 | .openerp .navbar .dropdown_menu { |
101 | 1129 | top: 32px; | 1117 | top: 32px; |
102 | 1130 | background: #333333; | 1118 | background: #333333; |
103 | 1131 | background: rgba(37, 37, 37, 0.9); | 1119 | background: rgba(37, 37, 37, 0.9); |
104 | @@ -1140,14 +1128,14 @@ | |||
105 | 1140 | -moz-background-clip: padding-box; | 1128 | -moz-background-clip: padding-box; |
106 | 1141 | background-clip: padding-box; | 1129 | background-clip: padding-box; |
107 | 1142 | } | 1130 | } |
109 | 1143 | .openerp .oe_topbar .oe_dropdown_menu li { | 1131 | .openerp .navbar .dropdown_menu li { |
110 | 1144 | float: none; | 1132 | float: none; |
111 | 1145 | padding: 3px 12px; | 1133 | padding: 3px 12px; |
112 | 1146 | } | 1134 | } |
114 | 1147 | .openerp .oe_topbar .oe_dropdown_menu li a { | 1135 | .openerp .navbar .dropdown_menu li a { |
115 | 1148 | color: #eeeeee; | 1136 | color: #eeeeee; |
116 | 1149 | } | 1137 | } |
118 | 1150 | .openerp .oe_topbar .oe_dropdown_menu li:hover { | 1138 | .openerp .navbar .dropdown_menu li:hover { |
119 | 1151 | background-color: #212121; | 1139 | background-color: #212121; |
120 | 1152 | background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(#191919)); | 1140 | background-image: -webkit-gradient(linear, left top, left bottom, from(#292929), to(#191919)); |
121 | 1153 | background-image: -webkit-linear-gradient(top, #292929, #191919); | 1141 | background-image: -webkit-linear-gradient(top, #292929, #191919); |
122 | @@ -1159,21 +1147,20 @@ | |||
123 | 1159 | -webkit-box-shadow: none; | 1147 | -webkit-box-shadow: none; |
124 | 1160 | box-shadow: none; | 1148 | box-shadow: none; |
125 | 1161 | } | 1149 | } |
127 | 1162 | .openerp .oe_topbar .oe_topbar_name { | 1150 | .openerp .navbar .oe_topbar_name { |
128 | 1163 | max-width: 150px; | 1151 | max-width: 150px; |
129 | 1164 | overflow: hidden; | ||
130 | 1165 | display: inline-block; | 1152 | display: inline-block; |
131 | 1166 | max-height: 100%; | 1153 | max-height: 100%; |
132 | 1167 | text-overflow: ellipsis; | 1154 | text-overflow: ellipsis; |
133 | 1168 | white-space: nowrap; | 1155 | white-space: nowrap; |
134 | 1169 | } | 1156 | } |
136 | 1170 | .openerp .oe_menu { | 1157 | .openerp .navbar-nav { |
137 | 1171 | float: left; | 1158 | float: left; |
138 | 1172 | padding: 0; | 1159 | padding: 0; |
139 | 1173 | margin: 0; | 1160 | margin: 0; |
140 | 1174 | font-size: 13px; | 1161 | font-size: 13px; |
141 | 1175 | } | 1162 | } |
143 | 1176 | .openerp .oe_menu > li { | 1163 | .openerp .navbar-nav > li { |
144 | 1177 | list-style-type: none; | 1164 | list-style-type: none; |
145 | 1178 | padding: 0; | 1165 | padding: 0; |
146 | 1179 | margin: 0; | 1166 | margin: 0; |
147 | @@ -1181,13 +1168,13 @@ | |||
148 | 1181 | display: block; | 1168 | display: block; |
149 | 1182 | color: #eeeeee; | 1169 | color: #eeeeee; |
150 | 1183 | } | 1170 | } |
152 | 1184 | .openerp .oe_menu > li > a { | 1171 | .openerp .navbar-nav > li > a { |
153 | 1185 | display: block; | 1172 | display: block; |
155 | 1186 | padding: 5px 10px 7px; | 1173 | padding: 5px 10px 26px !important; |
156 | 1187 | line-height: 20px; | 1174 | line-height: 20px; |
157 | 1188 | height: 20px; | 1175 | height: 20px; |
158 | 1189 | text-decoration: none; | 1176 | text-decoration: none; |
160 | 1190 | color: #eeeeee; | 1177 | color: #eeeeee !important; |
161 | 1191 | vertical-align: top; | 1178 | vertical-align: top; |
162 | 1192 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); | 1179 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); |
163 | 1193 | -webkit-transition: all 0.2s ease-out; | 1180 | -webkit-transition: all 0.2s ease-out; |
164 | @@ -1196,7 +1183,7 @@ | |||
165 | 1196 | -o-transition: all 0.2s ease-out; | 1183 | -o-transition: all 0.2s ease-out; |
166 | 1197 | transition: all 0.2s ease-out; | 1184 | transition: all 0.2s ease-out; |
167 | 1198 | } | 1185 | } |
169 | 1199 | .openerp .oe_menu > li > a:hover { | 1186 | .openerp .navbar-nav > li > a:hover { |
170 | 1200 | background: rgba(0, 0, 0, 0.2); | 1187 | background: rgba(0, 0, 0, 0.2); |
171 | 1201 | text-shadow: black 0px 0px 3px; | 1188 | text-shadow: black 0px 0px 3px; |
172 | 1202 | color: white; | 1189 | color: white; |
173 | @@ -1204,7 +1191,7 @@ | |||
174 | 1204 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; | 1191 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; |
175 | 1205 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; | 1192 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; |
176 | 1206 | } | 1193 | } |
178 | 1207 | .openerp .oe_menu > li > .oe_active { | 1194 | .openerp .navbar-nav > li > .active { |
179 | 1208 | background: rgba(0, 0, 0, 0.3); | 1195 | background: rgba(0, 0, 0, 0.3); |
180 | 1209 | text-shadow: black 0px 0px 3px; | 1196 | text-shadow: black 0px 0px 3px; |
181 | 1210 | -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; | 1197 | -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; |
182 | @@ -2298,7 +2285,7 @@ | |||
183 | 2298 | } | 2285 | } |
184 | 2299 | .openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span { | 2286 | .openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span { |
185 | 2300 | font-size: 80%; | 2287 | font-size: 80%; |
187 | 2301 | color: darkGreen; | 2288 | color: darkgreen; |
188 | 2302 | vertical-align: top; | 2289 | vertical-align: top; |
189 | 2303 | position: relative; | 2290 | position: relative; |
190 | 2304 | top: -4px; | 2291 | top: -4px; |
191 | @@ -3443,7 +3430,6 @@ | |||
192 | 3443 | overflow: hidden !important; | 3430 | overflow: hidden !important; |
193 | 3444 | } | 3431 | } |
194 | 3445 | } | 3432 | } |
195 | 3446 | |||
196 | 3447 | .nav li > a { | 3433 | .nav li > a { |
197 | 3448 | padding: 3px 4px 2px 18px; | 3434 | padding: 3px 4px 2px 18px; |
198 | 3449 | color: #4c4c4c; | 3435 | color: #4c4c4c; |
199 | @@ -3476,7 +3462,12 @@ | |||
200 | 3476 | line-height: normal; | 3462 | line-height: normal; |
201 | 3477 | } | 3463 | } |
202 | 3478 | 3464 | ||
204 | 3479 | h1, h2, h3 { | 3465 | h1, h2 { |
205 | 3466 | font-weight: bold; | ||
206 | 3467 | } | ||
207 | 3468 | |||
208 | 3469 | h3 { | ||
209 | 3470 | font-size: 1.17em; | ||
210 | 3480 | font-weight: bold; | 3471 | font-weight: bold; |
211 | 3481 | } | 3472 | } |
212 | 3482 | 3473 | ||
213 | @@ -3502,6 +3493,69 @@ | |||
214 | 3502 | margin-top: 0px; | 3493 | margin-top: 0px; |
215 | 3503 | } | 3494 | } |
216 | 3504 | 3495 | ||
217 | 3496 | .navbar { | ||
218 | 3497 | min-height: 32px; | ||
219 | 3498 | margin-bottom: 0px; | ||
220 | 3499 | border: none; | ||
221 | 3500 | background-color: #414141; | ||
222 | 3501 | background-color: #454343; | ||
223 | 3502 | background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); | ||
224 | 3503 | background-image: -webkit-linear-gradient(top, #646060, #262626); | ||
225 | 3504 | background-image: -moz-linear-gradient(top, #646060, #262626); | ||
226 | 3505 | background-image: -ms-linear-gradient(top, #646060, #262626); | ||
227 | 3506 | background-image: -o-linear-gradient(top, #646060, #262626); | ||
228 | 3507 | background-image: linear-gradient(to bottom, #646060, #262626); | ||
229 | 3508 | } | ||
230 | 3509 | |||
231 | 3510 | .navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus { | ||
232 | 3511 | background: rgba(0, 0, 0, 0.3); | ||
233 | 3512 | } | ||
234 | 3513 | .navbar-default .navbar-nav .open > a, .navbar-default .navbar-nav a:hover, .navbar-default .navbar-nav a:focus { | ||
235 | 3514 | background: rgba(0, 0, 0, 0.3) !important; | ||
236 | 3515 | } | ||
237 | 3516 | .navbar-default .navbar-nav .dropdown > a .caret { | ||
238 | 3517 | border-top-color: #777777 !important; | ||
239 | 3518 | border-bottom-color: #777777 !important; | ||
240 | 3519 | } | ||
241 | 3520 | |||
242 | 3521 | .navbar-nav li a { | ||
243 | 3522 | padding: 4px 32px 4px 12px; | ||
244 | 3523 | } | ||
245 | 3524 | |||
246 | 3525 | .dropdown-menu { | ||
247 | 3526 | font-size: 13px; | ||
248 | 3527 | padding: 4px 0; | ||
249 | 3528 | background: #333333 !important; | ||
250 | 3529 | background: rgba(37, 37, 37, 0.9) !important; | ||
251 | 3530 | border-color: #999999; | ||
252 | 3531 | border-color: rgba(0, 0, 0, 0.2); | ||
253 | 3532 | background-color: #414141; | ||
254 | 3533 | text-shadow: none; | ||
255 | 3534 | background-color: #454343; | ||
256 | 3535 | background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); | ||
257 | 3536 | background-image: -webkit-linear-gradient(top, #646060, #262626); | ||
258 | 3537 | background-image: -moz-linear-gradient(top, #646060, #262626); | ||
259 | 3538 | background-image: -ms-linear-gradient(top, #646060, #262626); | ||
260 | 3539 | background-image: -o-linear-gradient(top, #646060, #262626); | ||
261 | 3540 | background-image: linear-gradient(to bottom, #646060, #262626); | ||
262 | 3541 | -moz-border-radius: 3px; | ||
263 | 3542 | -webkit-border-radius: 3px; | ||
264 | 3543 | border-radius: 3px; | ||
265 | 3544 | } | ||
266 | 3545 | .dropdown-menu li a, .dropdown-menu li a:hover, .dropdown-menu li a:focus { | ||
267 | 3546 | color: #eeeeee; | ||
268 | 3547 | } | ||
269 | 3548 | |||
270 | 3549 | .ui-icon { | ||
271 | 3550 | width: 18px; | ||
272 | 3551 | height: 18px; | ||
273 | 3552 | } | ||
274 | 3553 | |||
275 | 3554 | input[type="radio"], input[type="checkbox"] { | ||
276 | 3555 | margin-right: 4px; | ||
277 | 3556 | margin-left: 4px; | ||
278 | 3557 | } | ||
279 | 3558 | |||
280 | 3505 | .blockUI.blockOverlay { | 3559 | .blockUI.blockOverlay { |
281 | 3506 | background-color: black; | 3560 | background-color: black; |
282 | 3507 | opacity: 0.6; | 3561 | opacity: 0.6; |
283 | 3508 | 3562 | ||
284 | === modified file 'addons/web/static/src/css/base.sass' | |||
285 | --- addons/web/static/src/css/base.sass 2013-11-14 11:23:43 +0000 | |||
286 | +++ addons/web/static/src/css/base.sass 2013-11-14 12:15:39 +0000 | |||
287 | @@ -831,7 +831,7 @@ | |||
288 | 831 | text-align: center | 831 | text-align: center |
289 | 832 | a | 832 | a |
290 | 833 | color: #eee | 833 | color: #eee |
292 | 834 | margin: 0 8px | 834 | margin: 0 6px |
293 | 835 | &:hover | 835 | &:hover |
294 | 836 | text-decoration: underline | 836 | text-decoration: underline |
295 | 837 | span | 837 | span |
296 | @@ -874,11 +874,7 @@ | |||
297 | 874 | // }}} | 874 | // }}} |
298 | 875 | // Top Menu {{{ | 875 | // Top Menu {{{ |
299 | 876 | 876 | ||
305 | 877 | .oe_topbar | 877 | .navbar |
301 | 878 | width: 100% | ||
302 | 879 | height: 32px | ||
303 | 880 | background-color: #414141 | ||
304 | 881 | @include vertical-gradient(#646060, #262626) | ||
306 | 882 | .oe_topbar_anonymous_login | 878 | .oe_topbar_anonymous_login |
307 | 883 | background-color: #dc5f59 | 879 | background-color: #dc5f59 |
308 | 884 | color: #eeeeee | 880 | color: #eeeeee |
309 | @@ -887,7 +883,7 @@ | |||
310 | 887 | display: block | 883 | display: block |
311 | 888 | padding: 5px 10px 7px | 884 | padding: 5px 10px 7px |
312 | 889 | line-height: 20px | 885 | line-height: 20px |
314 | 890 | height: 20px | 886 | height: 30px |
315 | 891 | text-decoration: none | 887 | text-decoration: none |
316 | 892 | color: white | 888 | color: white |
317 | 893 | background: transparent | 889 | background: transparent |
318 | @@ -899,7 +895,7 @@ | |||
319 | 899 | @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset) | 895 | @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset) |
320 | 900 | .oe_topbar_item | 896 | .oe_topbar_item |
321 | 901 | display: block | 897 | display: block |
323 | 902 | padding: 5px 10px 7px | 898 | padding: 5px 10px 26px |
324 | 903 | line-height: 20px | 899 | line-height: 20px |
325 | 904 | height: 20px | 900 | height: 20px |
326 | 905 | text-decoration: none | 901 | text-decoration: none |
327 | @@ -922,7 +918,7 @@ | |||
328 | 922 | vertical-align: top | 918 | vertical-align: top |
329 | 923 | .oe_dropdown_arrow:after | 919 | .oe_dropdown_arrow:after |
330 | 924 | border-top: 4px solid white | 920 | border-top: 4px solid white |
332 | 925 | .oe_dropdown_menu | 921 | .dropdown_menu |
333 | 926 | top: 32px | 922 | top: 32px |
334 | 927 | background: #333 | 923 | background: #333 |
335 | 928 | background: rgba(37,37,37,0.9) | 924 | background: rgba(37,37,37,0.9) |
336 | @@ -942,7 +938,6 @@ | |||
337 | 942 | @include box-shadow(none) | 938 | @include box-shadow(none) |
338 | 943 | .oe_topbar_name | 939 | .oe_topbar_name |
339 | 944 | max-width: 150px | 940 | max-width: 150px |
340 | 945 | overflow: hidden | ||
341 | 946 | display: inline-block | 941 | display: inline-block |
342 | 947 | max-height: 100% | 942 | max-height: 100% |
343 | 948 | text-overflow: ellipsis | 943 | text-overflow: ellipsis |
344 | @@ -952,7 +947,7 @@ | |||
345 | 952 | // So why aren't the buttons oe_topbar_items ? This sad state of affairs | 947 | // So why aren't the buttons oe_topbar_items ? This sad state of affairs |
346 | 953 | // is a leftover from an uncomplete refactoring when the left and top menu | 948 | // is a leftover from an uncomplete refactoring when the left and top menu |
347 | 954 | // were merged. You are welcome to refactor and clean this up | 949 | // were merged. You are welcome to refactor and clean this up |
349 | 955 | .oe_menu | 950 | .navbar-nav |
350 | 956 | float: left | 951 | float: left |
351 | 957 | padding: 0 | 952 | padding: 0 |
352 | 958 | margin: 0 | 953 | margin: 0 |
353 | @@ -966,11 +961,11 @@ | |||
354 | 966 | color: #eeeeee | 961 | color: #eeeeee |
355 | 967 | > a | 962 | > a |
356 | 968 | display: block | 963 | display: block |
358 | 969 | padding: 5px 10px 7px | 964 | padding: 5px 10px 26px !important |
359 | 970 | line-height: 20px | 965 | line-height: 20px |
360 | 971 | height: 20px | 966 | height: 20px |
361 | 972 | text-decoration: none | 967 | text-decoration: none |
363 | 973 | color: #eee | 968 | color: #eee !important |
364 | 974 | vertical-align: top | 969 | vertical-align: top |
365 | 975 | text-shadow: 0 1px 1px rgba(0,0,0,0.2) | 970 | text-shadow: 0 1px 1px rgba(0,0,0,0.2) |
366 | 976 | @include transition(all 0.2s ease-out) | 971 | @include transition(all 0.2s ease-out) |
367 | @@ -979,7 +974,7 @@ | |||
368 | 979 | text-shadow: black 0px 0px 3px | 974 | text-shadow: black 0px 0px 3px |
369 | 980 | color: white | 975 | color: white |
370 | 981 | @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset) | 976 | @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset) |
372 | 982 | > .oe_active | 977 | > .active |
373 | 983 | background: rgba(0,0,0,0.30) | 978 | background: rgba(0,0,0,0.30) |
374 | 984 | text-shadow: black 0px 0px 3px | 979 | text-shadow: black 0px 0px 3px |
375 | 985 | @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset) | 980 | @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset) |
376 | @@ -2764,7 +2759,10 @@ | |||
377 | 2764 | // Customize for global tags | 2759 | // Customize for global tags |
378 | 2765 | button, body | 2760 | button, body |
379 | 2766 | line-height: normal | 2761 | line-height: normal |
381 | 2767 | h1,h2,h3 | 2762 | h1,h2 |
382 | 2763 | font-weight: bold | ||
383 | 2764 | h3 | ||
384 | 2765 | font-size: 1.17em | ||
385 | 2768 | font-weight: bold | 2766 | font-weight: bold |
386 | 2769 | // End of customize | 2767 | // End of customize |
387 | 2770 | 2768 | ||
388 | @@ -2789,6 +2787,53 @@ | |||
389 | 2789 | margin-top: 0px | 2787 | margin-top: 0px |
390 | 2790 | // End of customize | 2788 | // End of customize |
391 | 2791 | 2789 | ||
392 | 2790 | // navbar hack {{{ | ||
393 | 2791 | .navbar | ||
394 | 2792 | min-height: 32px | ||
395 | 2793 | margin-bottom: 0px | ||
396 | 2794 | border: none | ||
397 | 2795 | background-color: #414141 | ||
398 | 2796 | @include vertical-gradient(#646060, #262626) | ||
399 | 2797 | .navbar-default | ||
400 | 2798 | .navbar-nav | ||
401 | 2799 | li | ||
402 | 2800 | a:hover,a:focus | ||
403 | 2801 | background: rgba(0, 0, 0, 0.3) | ||
404 | 2802 | .open > a,a:hover,a:focus | ||
405 | 2803 | background: rgba(0, 0, 0, 0.3) !important | ||
406 | 2804 | .dropdown > a .caret | ||
407 | 2805 | border-top-color: #777 !important | ||
408 | 2806 | border-bottom-color: #777 !important | ||
409 | 2807 | .navbar-nav | ||
410 | 2808 | li | ||
411 | 2809 | a | ||
412 | 2810 | padding: 4px 32px 4px 12px | ||
413 | 2811 | .dropdown-menu | ||
414 | 2812 | font-size: 13px | ||
415 | 2813 | padding: 4px 0 | ||
416 | 2814 | background: #333333 !important | ||
417 | 2815 | background: rgba(37, 37, 37, 0.9) !important | ||
418 | 2816 | border-color: #999999 | ||
419 | 2817 | border-color: rgba(0, 0, 0, 0.2) | ||
420 | 2818 | background-color: #414141 | ||
421 | 2819 | text-shadow: none | ||
422 | 2820 | @include vertical-gradient(#646060, #262626) | ||
423 | 2821 | @include radius(3px) | ||
424 | 2822 | li | ||
425 | 2823 | a,a:hover,a:focus | ||
426 | 2824 | color: #eeeeee | ||
427 | 2825 | // End hack }}} | ||
428 | 2826 | |||
429 | 2827 | // Hack for ui icon {{{ | ||
430 | 2828 | .ui-icon | ||
431 | 2829 | width: 18px | ||
432 | 2830 | height: 18px | ||
433 | 2831 | // End hack}}} | ||
434 | 2832 | |||
435 | 2833 | input[type="radio"], input[type="checkbox"] | ||
436 | 2834 | margin-right: 4px | ||
437 | 2835 | margin-left: 4px | ||
438 | 2836 | |||
439 | 2792 | .blockUI.blockOverlay | 2837 | .blockUI.blockOverlay |
440 | 2793 | background-color: black | 2838 | background-color: black |
441 | 2794 | opacity: 0.6000000238418579 | 2839 | opacity: 0.6000000238418579 |
442 | 2795 | 2840 | ||
443 | === modified file 'addons/web/static/src/js/chrome.js' | |||
444 | --- addons/web/static/src/js/chrome.js 2013-11-07 12:10:25 +0000 | |||
445 | +++ addons/web/static/src/js/chrome.js 2013-11-14 12:15:39 +0000 | |||
446 | @@ -982,8 +982,8 @@ | |||
447 | 982 | reflow: function() { | 982 | reflow: function() { |
448 | 983 | var self = this; | 983 | var self = this; |
449 | 984 | this.$el.height('auto').show(); | 984 | this.$el.height('auto').show(); |
452 | 985 | var $more_container = this.$('.oe_menu_more_container').hide(); | 985 | var $more_container = this.$('#menu_more_container').hide(); |
453 | 986 | var $more = this.$('.oe_menu_more'); | 986 | var $more = this.$('#menu_more'); |
454 | 987 | $more.children('li').insertBefore($more_container); | 987 | $more.children('li').insertBefore($more_container); |
455 | 988 | var $toplevel_items = this.$el.children('li').not($more_container).hide(); | 988 | var $toplevel_items = this.$el.children('li').not($more_container).hide(); |
456 | 989 | $toplevel_items.each(function() { | 989 | $toplevel_items.each(function() { |
457 | @@ -1143,7 +1143,7 @@ | |||
458 | 1143 | start: function() { | 1143 | start: function() { |
459 | 1144 | var self = this; | 1144 | var self = this; |
460 | 1145 | this._super.apply(this, arguments); | 1145 | this._super.apply(this, arguments); |
462 | 1146 | this.$el.on('click', '.oe_dropdown_menu li a[data-menu]', function(ev) { | 1146 | this.$el.on('click', '.dropdown-menu li a[data-menu]', function(ev) { |
463 | 1147 | ev.preventDefault(); | 1147 | ev.preventDefault(); |
464 | 1148 | var f = self['on_menu_' + $(this).data('menu')]; | 1148 | var f = self['on_menu_' + $(this).data('menu')]; |
465 | 1149 | if (f) { | 1149 | if (f) { |
466 | @@ -1284,7 +1284,7 @@ | |||
467 | 1284 | self.action_manager.appendTo(self.$('.oe_application')); | 1284 | self.action_manager.appendTo(self.$('.oe_application')); |
468 | 1285 | }, | 1285 | }, |
469 | 1286 | toggle_bars: function(value) { | 1286 | toggle_bars: function(value) { |
471 | 1287 | this.$('tr:has(td.oe_topbar),.oe_leftbar').toggle(value); | 1287 | this.$('tr:has(td.navbar),.oe_leftbar').toggle(value); |
472 | 1288 | }, | 1288 | }, |
473 | 1289 | has_uncommitted_changes: function() { | 1289 | has_uncommitted_changes: function() { |
474 | 1290 | return false; | 1290 | return false; |
475 | 1291 | 1291 | ||
476 | === modified file 'addons/web/static/src/xml/base.xml' | |||
477 | --- addons/web/static/src/xml/base.xml 2013-11-07 12:10:25 +0000 | |||
478 | +++ addons/web/static/src/xml/base.xml 2013-11-14 12:15:39 +0000 | |||
479 | @@ -320,7 +320,7 @@ | |||
480 | 320 | </t> | 320 | </t> |
481 | 321 | <t t-name="DatabaseManager.menu"> | 321 | <t t-name="DatabaseManager.menu"> |
482 | 322 | <div class="oe_secondary_menu_section">Database Management</div> | 322 | <div class="oe_secondary_menu_section">Database Management</div> |
484 | 323 | <ul class="oe_secondary_submenu"> | 323 | <ul class="oe_secondary_submenu nav nav-pills nav-stacked"> |
485 | 324 | <li><a href="#db_create">Create</a></li> | 324 | <li><a href="#db_create">Create</a></li> |
486 | 325 | <li><a href="#db_duplicate">Duplicate</a></li> | 325 | <li><a href="#db_duplicate">Duplicate</a></li> |
487 | 326 | <li><a href="#db_drop">Drop</a></li> | 326 | <li><a href="#db_drop">Drop</a></li> |
488 | @@ -362,15 +362,13 @@ | |||
489 | 362 | </t> | 362 | </t> |
490 | 363 | 363 | ||
491 | 364 | <t t-name="Menu"> | 364 | <t t-name="Menu"> |
493 | 365 | <ul class="oe_menu" t-if="widget.data"> | 365 | <ul class="nav navbar-nav navbar-left" t-if="widget.data"> |
494 | 366 | <li t-foreach="widget.data.data.children" t-as="menu"> | 366 | <li t-foreach="widget.data.data.children" t-as="menu"> |
495 | 367 | <t t-call="Menu.link"/> | 367 | <t t-call="Menu.link"/> |
496 | 368 | </li> | 368 | </li> |
502 | 369 | <li class="oe_menu_more_container" style="display: none;"> | 369 | <li id="menu_more_container" class="dropdown" style="display: none;"> |
503 | 370 | <span class="oe_topbar_item oe_menu_more_link oe_dropdown_toggle oe_dropdown_arrow"> | 370 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a> |
504 | 371 | More | 371 | <ul id="menu_more" class="dropdown-menu"></ul> |
500 | 372 | <ul class="oe_menu_more oe_dropdown_menu"/> | ||
501 | 373 | </span> | ||
505 | 374 | </li> | 372 | </li> |
506 | 375 | </ul> | 373 | </ul> |
507 | 376 | </t> | 374 | </t> |
508 | @@ -417,17 +415,21 @@ | |||
509 | 417 | </t> | 415 | </t> |
510 | 418 | 416 | ||
511 | 419 | <t t-name="UserMenu"> | 417 | <t t-name="UserMenu"> |
523 | 420 | <span class="oe_user_menu oe_topbar_item oe_dropdown_toggle oe_dropdown_arrow"> | 418 | <ul class="nav navbar-nav navbar-right"> |
524 | 421 | <img class="oe_topbar_avatar" t-att-data-default-src="_s + '/web/static/src/img/user_menu_avatar.png'"/> | 419 | <li class="dropdown"> |
525 | 422 | <span class="oe_topbar_name"/> | 420 | <a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
526 | 423 | <ul class="oe_dropdown_menu"> | 421 | <img class="oe_topbar_avatar" t-att-data-default-src="_s + '/web/static/src/img/user_menu_avatar.png'"/> |
527 | 424 | <li><a href="#" data-menu="settings">Preferences</a></li> | 422 | <span class="oe_topbar_name"/> <b class="caret"></b> |
528 | 425 | <li><a href="#" data-menu="account">My OpenERP.com account</a></li> | 423 | </a> |
529 | 426 | <li><a href="#" data-menu="about">About OpenERP</a></li> | 424 | <ul class="dropdown-menu"> |
530 | 427 | <li><a href="#" data-menu="help">Help</a></li> | 425 | <li><a href="#" data-menu="settings">Preferences</a></li> |
531 | 428 | <li><a href="#" data-menu="logout">Log out</a></li> | 426 | <li><a href="#" data-menu="account">My OpenERP.com account</a></li> |
532 | 429 | </ul> | 427 | <li><a href="#" data-menu="about">About OpenERP</a></li> |
533 | 430 | </span> | 428 | <li><a href="#" data-menu="help">Help</a></li> |
534 | 429 | <li><a href="#" data-menu="logout">Log out</a></li> | ||
535 | 430 | </ul> | ||
536 | 431 | </li> | ||
537 | 432 | </ul> | ||
538 | 431 | </t> | 433 | </t> |
539 | 432 | <t t-name="UserMenu.about"> | 434 | <t t-name="UserMenu.about"> |
540 | 433 | 435 | ||
541 | @@ -450,7 +452,7 @@ | |||
542 | 450 | <div class="openerp openerp_webclient_container"> | 452 | <div class="openerp openerp_webclient_container"> |
543 | 451 | <table class="oe_webclient"> | 453 | <table class="oe_webclient"> |
544 | 452 | <tr> | 454 | <tr> |
546 | 453 | <td colspan="2" class="oe_topbar"> | 455 | <td colspan="2" class="navbar navbar-default navbar-static-top" role="navigation"> |
547 | 454 | <div class="oe_menu_placeholder"/> | 456 | <div class="oe_menu_placeholder"/> |
548 | 455 | <div class="oe_user_menu_placeholder"/> | 457 | <div class="oe_user_menu_placeholder"/> |
549 | 456 | <div class="oe_systray"/> | 458 | <div class="oe_systray"/> |
550 | 457 | 459 | ||
551 | === modified file 'addons/web_calendar/static/src/css/web_calendar.css' | |||
552 | --- addons/web_calendar/static/src/css/web_calendar.css 2013-01-23 10:03:22 +0000 | |||
553 | +++ addons/web_calendar/static/src/css/web_calendar.css 2013-11-14 12:15:39 +0000 | |||
554 | @@ -24,3 +24,24 @@ | |||
555 | 24 | .openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body { | 24 | .openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body { |
556 | 25 | padding-right: 5px; | 25 | padding-right: 5px; |
557 | 26 | } | 26 | } |
558 | 27 | |||
559 | 28 | .dhx_cal_tab { | ||
560 | 29 | height: 18px; | ||
561 | 30 | } | ||
562 | 31 | |||
563 | 32 | .dhx_cal_tab.active { | ||
564 | 33 | height: 20px; | ||
565 | 34 | } | ||
566 | 35 | |||
567 | 36 | .dhx_cal_today_button { | ||
568 | 37 | height: 20px; | ||
569 | 38 | } | ||
570 | 39 | |||
571 | 40 | .dhx_cal_event .dhx_body { | ||
572 | 41 | width: auto !important; | ||
573 | 42 | height: 28px !important; | ||
574 | 43 | } | ||
575 | 44 | |||
576 | 45 | .dhx_scale_hour { | ||
577 | 46 | height: 42px !important; | ||
578 | 47 | } | ||
579 | 27 | 48 | ||
580 | === modified file 'addons/web_calendar/static/src/css/web_calendar.sass' | |||
581 | --- addons/web_calendar/static/src/css/web_calendar.sass 2013-01-23 10:03:22 +0000 | |||
582 | +++ addons/web_calendar/static/src/css/web_calendar.sass 2013-11-14 12:15:39 +0000 | |||
583 | @@ -31,5 +31,19 @@ | |||
584 | 31 | table tr td:last-child div.dhx_month_body | 31 | table tr td:last-child div.dhx_month_body |
585 | 32 | padding-right: 5px | 32 | padding-right: 5px |
586 | 33 | 33 | ||
587 | 34 | // Hack for calender {{{ | ||
588 | 35 | .dhx_cal_tab | ||
589 | 36 | height: 18px | ||
590 | 37 | .dhx_cal_tab.active | ||
591 | 38 | height: 20px | ||
592 | 39 | .dhx_cal_today_button | ||
593 | 40 | height: 20px | ||
594 | 41 | .dhx_cal_event .dhx_body | ||
595 | 42 | width: auto !important | ||
596 | 43 | height: 28px !important | ||
597 | 44 | .dhx_scale_hour | ||
598 | 45 | height: 42px !important | ||
599 | 46 | // End hack }}} | ||
600 | 47 | |||
601 | 34 | // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css" | 48 | // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css" |
602 | 35 | // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: | 49 | // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: |