Skip to content

Commit

Permalink
Merge pull request #12 from digitaltom/review_180701_responsive_desig…
Browse files Browse the repository at this point in the history
…n_of_take_picture_button

placement + design of take picture button
  • Loading branch information
digitaltom committed Jul 1, 2018
2 parents 04f3024 + 92696c3 commit 8afbc71
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions app/assets/stylesheets/photobooth.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ body {

.shoot_button {
width: 430px;
max-width: 100%;
margin: 10px 20px 10px 20px;
max-width: 90%;
margin: 5px 10px;
}

.shoot_text {
font-size: 1.3em;
}

.shoot_img {
height: 200px;
margin: 0px 70px 0px 70px;
max-width: 65%;
}

.shoot_img_btn {
Expand All @@ -41,7 +44,7 @@ body {

.gallery-img {
width: 470px;
max-width: 100%;
max-width: 95%;
}

.fullscreen {
Expand All @@ -59,8 +62,11 @@ body {
right: 0;
bottom: 0;
margin: auto;
min-width: 40%;
min-height: 40%;
max-width: 95%;
}

.shoot_button:hover {
background-color: #fff;
}

#button-start {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/templates/picture_sets.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

%button.btn.btn-default.shoot_button{type: 'button', 'ng-click' => 'takePicture()', 'ng-hide' => 'rw' }
%span
= image_tag 'take_picture.png', {:class => 'shoot_img'}
%h2
= image_tag 'take_picture_animation.gif', {:class => 'shoot_img'}
.shoot_text
Click here to take a picture

%span{ 'ng-repeat' => 'picture_set in picture_sets'}
Expand Down
Binary file added public/images/take_picture_animation.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/take_picture_animation.xcf
Binary file not shown.
Binary file added public/images/take_picture_animation_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/take_picture_animation_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/take_picture_animation_3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/take_picture_animation_4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8afbc71

Please sign in to comment.