Skip to content

Commit

Permalink
fix: adjust toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Sep 28, 2024
1 parent 647f634 commit fee7544
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fill:$(foregroundColor)$;

<div class="tc-tiddler-title mb-4">
<div class="tc-titlebar">
<span class="tc-tiddler-controls !float-none flex justify-end text-lg mb-4">
<span class="tc-tiddler-controls !float-none flex justify-end mb-4">
<$let env={{{ [[$:/info/url/protocol]get[text]] }}}>
<%if [<env>match[http:]] %>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]" storyview="pop" variable="listItem">
Expand Down
14 changes: 6 additions & 8 deletions themes/nico/notebook/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,14 @@ a {
}

/* just show btn on hover */
/* .tc-tiddler-frame .tc-titlebar button { */
.tc-tiddler-controls > button {
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.tc-tiddler-frame:hover .tc-titlebar button {
/* zoom: 1; */
filter: alpha(opacity=100);
opacity: 1;
scale: 0.8;
transition: scale 0.2s ease-in-out;
&:hover {
scale: 1;
}
}

/* enhance font size */
.tc-tiddler-frame .tc-tiddler-body {
font-size: 20px;
Expand Down

0 comments on commit fee7544

Please sign in to comment.