Merge pull request #1672 from wallabag/v2-improve-baggy-theme

improve baggy theme (add new tag panel)
This commit is contained in:
Nicolas Lœuillet
2016-02-15 19:22:13 +01:00
4 changed files with 38 additions and 15 deletions

View File

@ -298,7 +298,7 @@ h2:after {
========================================================================== */
#content {
margin-top: 5em;
margin-top: 2em;
min-height: 30em;
}
@ -884,9 +884,13 @@ blockquote {
text-decoration: none;
}
#article_toolbar a:hover, #article_toolbar a:focus {
background-color: #999;
}
#article_toolbar a:hover, #article_toolbar a:focus {
background-color: #999;
}
#nav-btn-add-tag {
cursor: pointer;
}
.shaarli:before {
content: "*";

View File

@ -48,4 +48,16 @@ $.fn.ready(function() {
$listmode.addClass("tablemode");
}
/* ==========================================================================
Add tag panel
========================================================================== */
$('#nav-btn-add-tag').on('click', function(){
$(".nav-panel-add-tag").toggle(100);
$(".nav-panel-menu").addClass('hidden');
$("#tag_label").focus();
return false;
});
});