increase contrast of meta data and add tooltip

This commit is contained in:
Hendrik Leppelsack 2016-10-25 19:00:32 +02:00
parent ce5e81e215
commit 046cb26194
5 changed files with 10 additions and 5 deletions

View File

@ -127,7 +127,7 @@
position: relative;
padding: 0 45px 30px 45px;
margin: -10px 0 0;
opacity: .2;
opacity: .4;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;

View File

@ -11,7 +11,7 @@ app.directive('notesTooltip', function () {
return {
restrict: 'A',
link: function (scope, element) {
element.tooltip();
element.tooltip({'container': 'body'});
}
};
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,7 @@
<textarea editor notes-timeout-change="save()" name="editor"></textarea>
<div class="note-meta">{{note.content | wordCount}}</div><div class="note-meta">{{note.content | wordCount}}<span class="note-meta-right"><button class="icon-fullscreen" ng-click="toggleDistractionFree()"></button></span></div>
<div class="note-meta">
{{note.content | wordCount}}
<span class="note-meta-right">
<button class="icon-fullscreen has-tooltip" notes-tooltip ng-click="toggleDistractionFree()" title="test"></button>
</span>
</div>