mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
share dialog styling improvements
This commit is contained in:
@@ -155,12 +155,17 @@ div[data-placeholder]:not([data-placeholder=""]):empty::before {
|
|||||||
|
|
||||||
#note-share-options {
|
#note-share-options {
|
||||||
display: none;
|
display: none;
|
||||||
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected-share:hover, .unselected-share:hover {
|
.selected-share:hover, .unselected-share:hover, .unselected-share span:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selected-share, .unselected-share {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Modal Content */
|
/* Modal Content */
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
|
|||||||
@@ -434,7 +434,8 @@ View.prototype = {
|
|||||||
|
|
||||||
shareOptions.show();
|
shareOptions.show();
|
||||||
var modalNote = $('.note-active');
|
var modalNote = $('.note-active');
|
||||||
modalNote.outerHeight(modalNote.outerHeight(true) + shareOptions.outerHeight(true));
|
var startHeight = modalNote.outerHeight(true);
|
||||||
|
modalNote.outerHeight(startHeight + shareOptions.outerHeight(true));
|
||||||
sear.on('input', function() {
|
sear.on('input', function() {
|
||||||
var val = $(this).val().toLowerCase().trim();
|
var val = $(this).val().toLowerCase().trim();
|
||||||
var lis = neg.children();
|
var lis = neg.children();
|
||||||
@@ -449,6 +450,7 @@ View.prototype = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
modalNote.outerHeight(startHeight + shareOptions.outerHeight(true));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
<button id='cancel-button'><?php p($l->t('Cancel')); ?></button>
|
<button id='cancel-button'><?php p($l->t('Cancel')); ?></button>
|
||||||
<button id='save-button'><?php p($l->t('Save')); ?></button>
|
<button id='save-button'><?php p($l->t('Save')); ?></button>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="clear: both;"></div>
|
||||||
<div id="note-share-options">
|
<div id="note-share-options">
|
||||||
<ul id="share-pos">
|
<ul id="share-pos">
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user