Make media modal buttons larger
This commit is contained in:
parent
b67a557a8c
commit
1b204012ea
1 changed files with 11 additions and 9 deletions
|
@ -115,9 +115,10 @@
|
||||||
<script src="./media_modal.js"></script>
|
<script src="./media_modal.js"></script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
$modal-view-button-icon-height: 30px;
|
$modal-view-button-icon-height: 3em;
|
||||||
$modal-view-button-icon-width: 32px;
|
$modal-view-button-icon-half-height: calc(#{$modal-view-button-icon-height} / 2);
|
||||||
$modal-view-button-icon-margin: 6px;
|
$modal-view-button-icon-width: 3em;
|
||||||
|
$modal-view-button-icon-margin: 0.5em;
|
||||||
|
|
||||||
.modal-view.media-modal-view {
|
.modal-view.media-modal-view {
|
||||||
z-index: 1001;
|
z-index: 1001;
|
||||||
|
@ -226,6 +227,8 @@ $modal-view-button-icon-margin: 6px;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: opacity 333ms cubic-bezier(.4,0,.22,1);
|
transition: opacity 333ms cubic-bezier(.4,0,.22,1);
|
||||||
|
height: $modal-view-button-icon-height;
|
||||||
|
width: $modal-view-button-icon-width;
|
||||||
|
|
||||||
.button-icon {
|
.button-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -243,15 +246,14 @@ $modal-view-button-icon-margin: 6px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
margin-top: -50px;
|
margin-top: $modal-view-button-icon-half-height;
|
||||||
width: 70px;
|
width: $modal-view-button-icon-width;
|
||||||
height: 100px;
|
height: $modal-view-button-icon-height;
|
||||||
|
|
||||||
.arrow-icon {
|
.arrow-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 35px;
|
top: 0;
|
||||||
font-size: 14px;
|
line-height: $modal-view-button-icon-height;
|
||||||
line-height: 30px;
|
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: rgba(0,0,0,.3);
|
background-color: rgba(0,0,0,.3);
|
||||||
|
|
Loading…
Reference in a new issue