From 713b695c17e564037e2c85010c7f29f326ec55bf Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Mon, 30 Jan 2023 21:18:42 +0800 Subject: [PATCH] feat(tinyfilemanager): add tooltip --- .../tinyfilemanager/tinyfilemanager.php | 46 +++++++++++-------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/web/app/controllers/tinyfilemanager/tinyfilemanager.php b/web/app/controllers/tinyfilemanager/tinyfilemanager.php index 6c5882b..aa0bbd4 100644 --- a/web/app/controllers/tinyfilemanager/tinyfilemanager.php +++ b/web/app/controllers/tinyfilemanager/tinyfilemanager.php @@ -1599,7 +1599,7 @@ if (isset($_GET['view'])) { - +  
- - - - - + + + + + @@ -1933,16 +1933,16 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white - + - - - + + + - + - + - - - + + - - + + html { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; height: 100%; scroll-behavior: smooth;} *,*::before,*::after { box-sizing: border-box;} - body { font-size:15px; color:#222;background:#F7F7F7; } + body { /* font-size:15px; */ color:#222;background:#F7F7F7; } body.navbar-fixed { margin-top:55px; } a, a:hover, a:visited, a:focus { text-decoration:none !important; } .filename, td, th { white-space:nowrap } @@ -3555,7 +3555,7 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal'; .break-word.float-left a { color:#7d7d7d } .break-word + .float-right { padding-right:30px;position:relative } .break-word + .float-right > a { color:#7d7d7d;font-size:1.2em;margin-right:4px } - #editor { position:absolute;right:15px;top:100px;bottom:15px;left:15px } + #editor { position:absolute;right:15px;top:130px;bottom:15px;left:15px } @media (max-width:481px) { #editor { top:150px; } } @@ -3956,7 +3956,6 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal'; } $(function(){ - renderThemeMode(); $(".js-ace-toolbar").on("click", 'button', function(e){ e.preventDefault(); let cmdValue = $(this).attr("data-cmd"), editorOption = $(this).attr("data-option"); @@ -3983,9 +3982,16 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal'; editor.setFontSize(parseInt(selectedValue)); } }); + renderThemeMode(); }); +