mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 15:47:17 +01:00
Add unpin tooltip and highlight tags when hovering theme..
This commit is contained in:
@@ -105,13 +105,14 @@
|
||||
margin-left: 2px;
|
||||
padding: 12px;
|
||||
background-color: rgba(0,0,0,0.08);
|
||||
opacity: 0.7;
|
||||
opacity: 0.54;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
//.icon-header-note:hover {
|
||||
// background-color: rgba(0,0,0,0.14);
|
||||
//}
|
||||
.icon-header-note:hover {
|
||||
background-color: rgba(0,0,0,0.12);
|
||||
opacity: 0.87;
|
||||
}
|
||||
|
||||
.hide-header-icon {
|
||||
display: none;
|
||||
@@ -250,11 +251,15 @@ div[contenteditable="true"] {
|
||||
padding: 0px 6px 0 24px;
|
||||
background-color: rgba(0,0,0,0.08);
|
||||
background-position: 8px center;
|
||||
opacity: 0.7;
|
||||
opacity: 0.87;
|
||||
border-radius: 10px;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.slim-tag:hover {
|
||||
background-color: rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
.note-tags {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@@ -13,10 +13,6 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
var translations = {
|
||||
pinNote: t('quicknotes', 'Pin note'),
|
||||
};
|
||||
|
||||
// this notes object holds all our notes
|
||||
var Notes = function (baseUrl) {
|
||||
this._baseUrl = baseUrl;
|
||||
@@ -589,6 +585,7 @@ View.prototype = {
|
||||
$(this).addClass("fixed-header-icon");
|
||||
$(this).removeClass("icon-pin");
|
||||
$(this).addClass("icon-pinned");
|
||||
$(this).attr('title', t('quicknotes', 'Unpin note'));
|
||||
|
||||
$('.notes-grid').isotope('updateSortData').isotope();
|
||||
});
|
||||
@@ -600,6 +597,8 @@ View.prototype = {
|
||||
$(this).removeClass("icon-pinned");
|
||||
$(this).addClass("icon-pin");
|
||||
|
||||
$(this).attr('title', t('quicknotes', 'Pin note'));
|
||||
|
||||
$('.notes-grid').isotope('updateSortData').isotope();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user