From 703fbd30df28502aa3c7f7f8133d889bf7506b77 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 4 Jul 2021 15:49:52 +0200 Subject: [PATCH] css fixes --- bin/copy-trilium.sh | 4 ++-- src/public/app/widgets/tab_row.js | 3 ++- src/public/stylesheets/themes.css | 4 ++-- src/public/stylesheets/tree.css | 2 ++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index 5032aeea5..3dd164a59 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then exit 1 fi -n exec 12 npm run webpack +n exec 14.17.2 npm run webpack DIR=$1 @@ -27,7 +27,7 @@ cp -r electron.js $DIR/ cp webpack-* $DIR/ # run in subshell (so we return to original dir) -(cd $DIR && n exec 12 npm install --only=prod) +(cd $DIR && n exec 14.17.2 npm install --only=prod) # cleanup of useless files in dependencies rm -r $DIR/node_modules/image-q/demo diff --git a/src/public/app/widgets/tab_row.js b/src/public/app/widgets/tab_row.js index 2138614a3..3aceb4278 100644 --- a/src/public/app/widgets/tab_row.js +++ b/src/public/app/widgets/tab_row.js @@ -127,7 +127,7 @@ const TAB_ROW_TPL = ` left: 0; right: 0; height: 36px; - padding: 7px 11px; + padding: 7px 5px 7px 11px; border-radius: 8px; overflow: hidden; pointer-events: all; @@ -179,6 +179,7 @@ const TAB_ROW_TPL = ` border-radius: 50%; z-index: 100; text-align: center; + width: 22px; } .tab-row-widget .note-tab .note-tab-close span { diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.css index be9b16b77..dbcf8ea33 100644 --- a/src/public/stylesheets/themes.css +++ b/src/public/stylesheets/themes.css @@ -174,10 +174,10 @@ body.theme-dark { --modal-backdrop-color: #444; --left-pane-background-color: #1f1f1f; - --left-pane-text-color: #8D8888; + --left-pane-text-color: #ADAAAA; --launcher-pane-background-color: #1f1f1f; - --launcher-pane-text-color: #8D8888; + --launcher-pane-text-color: #ADAAAA; --active-tab-background-color: #666; --active-tab-text-color: #ccc; diff --git a/src/public/stylesheets/tree.css b/src/public/stylesheets/tree.css index db6b45bfd..b8e8f8d2f 100644 --- a/src/public/stylesheets/tree.css +++ b/src/public/stylesheets/tree.css @@ -81,6 +81,8 @@ span.fancytree-title { color: inherit !important; background: inherit !important; outline: none !important; + position: relative; + top: -2px; } span.fancytree-node.protected > span.fancytree-custom-icon {