Commit e3351cadcd9db750f8ac4ac7e8672653a553d898
1 parent
23e232c3
Exists in
master
and in
2 other branches
[Workflow] Fix button size on "Size" step
Showing
2 changed files
with
6 additions
and
3 deletions
Show diff stats
app/assets/stylesheets/v_libras/requests.css.scss
@@ -8,16 +8,19 @@ | @@ -8,16 +8,19 @@ | ||
8 | } | 8 | } |
9 | 9 | ||
10 | #b1_size_big, #b2_size_big { | 10 | #b1_size_big, #b2_size_big { |
11 | + width: 350px; | ||
11 | img { width: 350px; } | 12 | img { width: 350px; } |
12 | z-index: 1; | 13 | z-index: 1; |
13 | } | 14 | } |
14 | 15 | ||
15 | #b1_size_med, #b2_size_med { | 16 | #b1_size_med, #b2_size_med { |
17 | + width: 280px; | ||
16 | img { width: 280px; } | 18 | img { width: 280px; } |
17 | z-index: 2; | 19 | z-index: 2; |
18 | } | 20 | } |
19 | 21 | ||
20 | #b1_size_small, #b2_size_small { | 22 | #b1_size_small, #b2_size_small { |
23 | + width: 220px; | ||
21 | img { width: 220px; } | 24 | img { width: 220px; } |
22 | z-index: 3; | 25 | z-index: 3; |
23 | } | 26 | } |
app/views/v_libras/requests/_size_step.haml
@@ -10,9 +10,9 @@ | @@ -10,9 +10,9 @@ | ||
10 | $(function () { | 10 | $(function () { |
11 | var optionsSize = { | 11 | var optionsSize = { |
12 | video: { width: 940, height: 530 }, | 12 | video: { width: 940, height: 530 }, |
13 | - buttons: [ { id: 'b1_size_small', path: '/system/images/size/p_1.png', clickable: false, start: 6.8, end: 7.8, x: 770, y: 400, delay: 300, value: null }, | ||
14 | - { id: 'b1_size_med', path: '/system/images/size/p_2.png', clickable: false, start: 8.2, end: 9.2, x: 714, y: 355, delay: 300, value: null }, | ||
15 | - { id: 'b1_size_big', path: '/system/images/size/p_3.png', clickable: false, start: 9.7, end: 10.7, x: 658, y: 310, delay: 300, value: null}, | 13 | + buttons: [ { id: 'b1_size_small', path: '/system/images/size/p_1.png', clickable: false, start: 6.8, end: 7.8, x: 688, y: 338, delay: 300, value: null }, |
14 | + { id: 'b1_size_med', path: '/system/images/size/p_2.png', clickable: false, start: 8.2, end: 9.2, x: 628, y: 292, delay: 300, value: null }, | ||
15 | + { id: 'b1_size_big', path: '/system/images/size/p_3.png', clickable: false, start: 9.7, end: 10.7, x: 560, y: 240, delay: 300, value: null}, | ||
16 | { id: 'b2_size_small', path: '/system/images/size/p_1.png', clickable: true, start: 11.3, end: 9999, x: 688, y: 338, delay: 300, value: "pequeno" }, | 16 | { id: 'b2_size_small', path: '/system/images/size/p_1.png', clickable: true, start: 11.3, end: 9999, x: 688, y: 338, delay: 300, value: "pequeno" }, |
17 | { id: 'b2_size_med', path: '/system/images/size/p_2.png', clickable: true, start: 11.3, end: 9999, x: 628, y: 292, delay: 300, value: "medio" }, | 17 | { id: 'b2_size_med', path: '/system/images/size/p_2.png', clickable: true, start: 11.3, end: 9999, x: 628, y: 292, delay: 300, value: "medio" }, |
18 | { id: 'b2_size_big', path: '/system/images/size/p_3.png', clickable: true, start: 11.3, end: 9999, x: 560, y: 240, delay: 300, value: "grande" } | 18 | { id: 'b2_size_big', path: '/system/images/size/p_3.png', clickable: true, start: 11.3, end: 9999, x: 560, y: 240, delay: 300, value: "grande" } |