1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-08 05:46:05 +00:00

Add a top-left and top-right menu

This commit is contained in:
Jermolene
2014-03-25 21:54:06 +00:00
parent 7dede861e1
commit 80b65b1651
9 changed files with 57 additions and 6 deletions

View File

@@ -7,10 +7,6 @@ tags: [[$:/tags/stylesheet]]
text-shadow: 0 1px 0 <<colour sidebar-foreground-shadow>>;
}
.tw-page-controls svg {
<<transition "fill 150ms ease-in-out">>
}
.tw-tiddler-info {
<<box-shadow "inset 1px 2px 3px rgba(0,0,0,0.1)">>
}
@@ -27,7 +23,7 @@ tags: [[$:/tags/stylesheet]]
}
}
.tw-tiddler-controls button svg {
.tw-page-controls button svg, .tw-tiddler-controls button svg, .tw-topbar button svg {
<<transition "fill 150ms ease-in-out">>
}

View File

@@ -316,6 +316,33 @@ a.tw-tiddlylink-external:hover {
** Page layout
*/
.tw-topbar {
position: fixed;
z-index: 1200;
}
.tw-topbar-left {
left: 0;
top: 0;
}
.tw-topbar-right {
top: 0;
right: 0;
}
.tw-topbar button {
padding: 8px;
}
.tw-topbar svg {
fill: <<colour muted-foreground>>;
}
.tw-topbar svg:hover {
fill: <<colour foreground>>;
}
.sidebar-header {
color: <<colour sidebar-foreground>>;
}