forked from CGM_Public/pretix_original
Add Question.valid_file_portrait as well as crop editor for images
This commit is contained in:
@@ -142,3 +142,11 @@
|
||||
.btn-invisible {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.answer-thumb img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-height: 100px;
|
||||
max-width: 100%;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
@@ -102,6 +102,22 @@ a.btn, button.btn {
|
||||
}
|
||||
}
|
||||
|
||||
.photo-initial {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.photo-preview {
|
||||
max-width: 550px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin-top: 10px;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media(max-width: $screen-xs-max) {
|
||||
.nameparts-form-group {
|
||||
display: block;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
@import "../../bootstrap/scss/_bootstrap_reduced.scss";
|
||||
@import "../../pretixbase/scss/_theme.scss";
|
||||
@import "../../lightbox/css/lightbox.scss";
|
||||
@import "../../cropper/cropper.scss";
|
||||
@import "../../datetimepicker/_bootstrap-datetimepicker.scss";
|
||||
@import "../../slider/_bootstrap-slider.scss";
|
||||
@import "../../fontawesome/scss/font-awesome.scss";
|
||||
|
||||
Reference in New Issue
Block a user