From bfe939564b21facea6d511e108e75c3646e7a13b Mon Sep 17 00:00:00 2001 From: Phuoc Anh Kha Le <76896393+anhkha2003@users.noreply.github.com> Date: Sat, 30 Dec 2023 17:57:37 -0600 Subject: [PATCH] Create user setting button in chat (#101) --- resources/chatbox.scss | 9 ++++---- resources/darkmode.css | 29 ++++++++++++-------------- resources/widgets.scss | 1 - templates/chat/chat_css.html | 12 ++++++++++- templates/chat/chat_js.html | 29 +++++++++++++++++--------- templates/chat/online_status.html | 14 +++++++++++-- templates/chat/user_online_status.html | 24 ++++++++++----------- 7 files changed, 71 insertions(+), 47 deletions(-) diff --git a/resources/chatbox.scss b/resources/chatbox.scss index 3f1a47b..e27a0cc 100644 --- a/resources/chatbox.scss +++ b/resources/chatbox.scss @@ -139,6 +139,7 @@ .status-row { display: flex; padding: 15px; + padding-right: 0; gap: 0.5em; border-radius: 6px; } @@ -195,7 +196,7 @@ align-items: center; justify-content: center; } - #setting-content { + .setting-content { display: none; position: absolute; background-color: #f1f1f1; @@ -204,14 +205,14 @@ z-index: 1; right: 0; } - #setting-content li { + .setting-content a { padding: 12px 16px; text-decoration: none; display: block; - color: black; font-weight: bold; + font-size: 1rem; } - #setting-content li:hover { + .setting-content a:hover { background-color: #ddd; cursor: pointer; } diff --git a/resources/darkmode.css b/resources/darkmode.css index a603185..9c0976b 100644 --- a/resources/darkmode.css +++ b/resources/darkmode.css @@ -28,10 +28,10 @@ html { html { color-scheme: dark !important; } -html, body { +html, body, input, textarea, select, button, dialog { background-color: #181a1b; } -html, body { +html, body, input, textarea, select, button { border-color: #736b5e; color: #e8e6e3; } @@ -2698,8 +2698,6 @@ a.close:hover { text-decoration-color: initial; } .control-button { - background-image: initial; - background-color: rgb(49, 53, 55); border-color: initial; color: rgb(232, 230, 227) !important; } @@ -3158,15 +3156,14 @@ a.voted { color: rgb(232, 230, 227); background-color: rgb(0, 111, 111); } -.chat #setting-content { +.chat .setting-content { background-color: rgb(32, 35, 36); box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px 0px; } -.chat #setting-content li { +.chat .setting-content a { text-decoration-color: initial; - color: rgb(232, 230, 227); } -.chat #setting-content li:hover { +.chat .setting-content a:hover { background-color: rgb(43, 47, 49); } .leave-organization, @@ -3263,16 +3260,16 @@ a.voted { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOCIgaGVpZ2h0PSI4Ij48ZGVmcz48ZmlsdGVyIGlkPSJkYXJrcmVhZGVyLWltYWdlLWZpbHRlciI+PGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAuMjQ5IC0wLjYxNCAtMC42NzIgMC4wMDAgMS4wMzUgLTAuNjQ2IDAuMjg4IC0wLjY2NCAwLjAwMCAxLjAyMCAtMC42MzYgLTAuNjA5IDAuMjUwIDAuMDAwIDAuOTk0IDAuMDAwIDAuMDAwIDAuMDAwIDEuMDAwIDAuMDAwIiAvPjwvZmlsdGVyPjwvZGVmcz48aW1hZ2Ugd2lkdGg9IjgiIGhlaWdodD0iOCIgZmlsdGVyPSJ1cmwoI2RhcmtyZWFkZXItaW1hZ2UtZmlsdGVyKSIgeGxpbms6aHJlZj0iZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlCM2FXUjBhRDBpT0hCNElpQm9aV2xuYUhROUlqaHdlQ0lnZG1sbGQwSnZlRDBpTUNBd0lEZ2dPQ0lnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JajROQ2lBZ1BIQmhkR2dnWkQwaVRUQWdNSFl4WXk0MU5TQXdJREVnTGpRMUlERWdNWFkwWXpBZ0xqVTFMUzQwTlNBeExURWdNWFl4YURVdU5XTXhMak00SURBZ01pNDFMVEV1TVRJZ01pNDFMVEl1TlNBd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BZ0lHTXhMamN6T0MweE1DNDFOak1zTlM0eE1qa3RNVGd1TWpJMUxERXdMakUyTlMweU1pNDVPR00xTGpBeE9TMDBMamMxTlN3eE15NDJOaTA0TGpFNE1pd3lOUzQ1TURZdE1UQXVNekEyWXpZdU1USXRNUzR3TlRNc01UQXVNVGN5TFRJdU5qTTRMREV5TGpFekxUUXVOelUxRFFvZ0lDQWdJQ0JqTVM0NU56RXRNaTR4TURVc01pNDVOUzAxTGpJM05Td3lMamsxTFRrdU5URXhZekF0TWk0Mk9UTXRNQzR5TmpRdE5TNDNNUzB3TGpnd01pMDVMakExTVVNek9ESXVNalF4TERJdU1URXhMRE0zT0M0NE9UUXRNQzR4T0RRc016YzFMalUwTERBdU1qUTBlaUl2UGcwS0lDQThMMmMrRFFvOEwyYytEUW84Wno0TkNqd3ZaejROQ2p4blBnMEtQQzluUGcwS1BHYytEUW84TDJjK0RRbzhaejROQ2p3dlp6NE5DanhuUGcwS1BDOW5QZzBLUEdjK0RRbzhMMmMrRFFvOFp6NE5Dand2Wno0TkNqeG5QZzBLUEM5blBnMEtQR2MrRFFvOEwyYytEUW84Wno0TkNqd3ZaejROQ2p4blBnMEtQQzluUGcwS1BHYytEUW84TDJjK0RRbzhaejROQ2p3dlp6NE5DanhuUGcwS1BDOW5QZzBLUEdjK0RRbzhMMmMrRFFvOEwzTjJaejROQ2c9PSIgLz48L3N2Zz4="); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/italic.svg"); } .wmd-latex-button { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxkZWZzPjxmaWx0ZXIgaWQ9ImRhcmtyZWFkZXItaW1hZ2UtZmlsdGVyIj48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbH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c01pNHpNMnd0TlM0Mk9Ua3NOUzQ0TkdNd0xqY3pNaTB3TGpJeU55d3hMalExT1Mwd0xqTTVPU3d5TGpFNExUQXVOVEpqTUM0M01pMHdMakV5TERFdU16ZzNMVEF1TVRnc01pMHdMakU0U0RZeExqZzBlaUl2UGp3dmMzWm5QZz09IiAvPjwvc3ZnPg=="); } .wmd-latex-button-display { - background-image: url("http://localhost:8000/static/pagedown/resources/latex-display.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/latex-display.svg"); } .wmd-link-button { - background-image: url("http://localhost:8000/static/pagedown/resources/link.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/link.svg"); } .wmd-user-reference-button { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjxkZWZzPjxmaWx0ZXIgaWQ9ImRhcmtyZWFkZXItaW1hZ2UtZmlsdGVyIj48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMC4yNDkgLTAuNjE0IC0wLjY3MiAwLjAwMCAxLjAzNSAtMC42NDYgMC4yODggLTAuNjY0IDAuMDAwIDEuMDIwIC0wLjYzNiAtMC42MDkgMC4yNTAgMC4wMDAgMC45OTQgMC4wMDAgMC4wMDAgMC4wMDAgMS4wMDAgMC4wMDAiIC8+PC9maWx0ZXI+PC9kZWZzPjxpbWFnZSB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbHRlcj0idXJsKCNkYXJrcmVhZGVyLWltYWdlLWZpbHRlcikiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEQ5NGJXd2dkbVZ5YzJsdmJqMGlNUzR3SWlBL1BqeHpkbWNnYUdWcFoyaDBQU0l5TkNJZ2R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3eUxqSXpNeUFnSUdNdE1DNHdNRGdzTUM0d01EUXRNQzR3TVRZc01DNHdNRGd0TUM0d01qTXNNQzR3TVRKakxUQXVNVE01TERBdU1EWTFMVEF1TWpjMExEQXVNVEl5TFRBdU5EQTVMREF1TVRjMll5MHhMalV4TkN3d0xqVTFOeTB6TGpreE5Td3dMalU0Tnkwekxqa3hOU3d3TGpVNE4wZ3lObll5TGpJNE5tZzRMamMxSUNBZ1l6Y3VNekUzTERBc01UTXVNalV0TlM0NU16TXNNVE11TWpVdE1UTXVNalYyTFRJeVNESTJlaUlnWm1sc2JEMGlJekkwTVVZeU1DSXZQand2Wno0OEwzTjJaejQ9IiAvPjwvc3ZnPg=="); } .wmd-code-button { - background-image: url("http://localhost:8000/static/pagedown/resources/code.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/code.svg"); } .wmd-image-button { - background-image: url("http://localhost:8000/static/pagedown/resources/image.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/image.svg"); } .wmd-olist-button { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjxkZWZzPjxmaWx0ZXIgaWQ9ImRhcmtyZWFkZXItaW1hZ2UtZmlsdGVyIj48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMC4yNDkgLTAuNjE0IC0wLjY3MiAwLjAwMCAxLjAzNSAtMC42NDYgMC4yODggLTAuNjY0IDAuMDAwIDEuMDIwIC0wLjYzNiAtMC42MDkgMC4yNTAgMC4wMDAgMC45OTQgMC4wMDAgMC4wMDAgMC4wMDAgMS4wMDAgMC4wMDAiIC8+PC9maWx0ZXI+PC9kZWZzPjxpbWFnZSB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbHRlcj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RBdU56VkRNVGdnTVRBdU16TTFPQ0F4Tnk0Mk5qUXlJREV3SURFM0xqSTFJREV3U0RjdU56VmFUVGN1TnpVZ01UVkROeTR6TXpVM09TQXhOU0EzSURFMUxqTXpOVGdnTnlBeE5TNDNOVU0zSURFMkxqRTJORElnTnk0ek16VTNPU0F4Tmk0MUlEY3VOelVnTVRZdU5VZ3hOeTR5TlVNeE55NDJOalF5SURFMkxqVWdNVGdnTVRZdU1UWTBNaUF4T0NBeE5TNDNOVU14T0NBeE5TNHpNelU0SURFM0xqWTJORElnTVRVZ01UY3VNalVnTVRWSU55NDNOVnBOTkM0MUlERXdMamMxUXpRdU5TQXhNUzQwTkRBMElETXVPVFF3TXpZZ01USWdNeTR5TlNBeE1rTXlMalUxT1RZMElERXlJRElnTVRFdU5EUXdOQ0F5SURFd0xqYzFReklnTVRBdU1EVTVOaUF5TGpVMU9UWTBJRGt1TlNBekxqSTFJRGt1TlVNekxqazBNRE0ySURrdU5TQTBMalVnTVRBdU1EVTVOaUEwTGpVZ01UQXVOelZhVFRNdU1qVWdNVGRETXk0NU5EQXpOaUF4TnlBMExqVWdNVFl1TkRRd05DQTBMalVnTVRVdU56VkROQzQxSURFMUxqQTFPVFlnTXk0NU5EQXpOaUF4TkM0MUlETXVNalVnTVRRdU5VTXlMalUxT1RZMElERTBMalVnTWlBeE5TNHdOVGsySURJZ01UVXVOelZETWlBeE5pNDBOREEwSURJdU5UVTVOalFnTVRjZ015NHlOU0F4TjFvaUlHWnBiR3c5SWlNeU1USXhNakVpTHo0OEwzTjJaejQ9IiAvPjwvc3ZnPg=="); } .wmd-heading-button { - background-image: url("http://localhost:8000/static/pagedown/resources/heading.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/heading.svg"); } .wmd-hr-button { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOT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FJvTW5ZeWFDMHlkaTB5ZWlJdlBqd3ZjM1puUGc9PSIgLz48L3N2Zz4="); } .wmd-undo-button { - background-image: url("http://localhost:8000/static/pagedown/resources/undo.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/undo.svg"); } .wmd-redo-button { - background-image: url("http://localhost:8000/static/pagedown/resources/redo.svg"); + background-image: url("http://127.0.0.1:8000/static/pagedown/resources/redo.svg"); } .wmd-admonition-button { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCI+PGRlZnM+PGZpbHRlciBpZD0iZGFya3JlYWRlci1pbWFnZS1maWx0ZXIiPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwLjI0OSAtMC42MTQgLTAuNjcyIDAuMDAwIDEuMDM1IC0wLjY0NiAwLjI4OCAtMC42NjQgMC4wMDAgMS4wMjAgLTAuNjM2IC0wLjYwOSAwLjI1MCAwLjAwMCAwLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBEOTRiV3dnZG1WeWMybHZiajBpTVM0d0lpQS9QandoUkU5RFZGbFFSU0J6ZG1jZ0lGQlZRa3hKUXlBbkxTOHZWek5ETHk5RVZFUWdVMVpISURFdU1TOHZSVTRuSUNBbmFIUjBjRG92TDNkM2R5NTNNeTV2Y21jdlIzSmhjR2hwWTNNdlUxWkhMekV1TVM5RVZFUXZjM1puTVRFdVpIU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WXVPQzB4TWk0MlF6RXpOeXd4TkRrdU5pd3hNelV1TVN3eE5EUXNNVE00TERFME1TNDVlaUlnWm1sc2JEMGlJek13TTBFelJpSXZQanh3WVhSb0lHUTlJazAyT0M0NUxEYzFMak5zTFRVdU55MDNMamRqTFRFd0xqVXRNVFF1TXkwM0xqTXRNelF1TlN3M0xUUTFiREl5TFRFMkxqRmpNVFF1TXkweE1DNDFMRE0wTGpVdE55NHpMRFExTERkc05TNDNMRGN1TjB3Mk9DNDVMRGMxTGpONklpQm1hV3hzUFNJak16QXpRVE5HSWk4K1BDOW5Qand2Wno0OEwzTjJaejQ9IiAvPjwvc3ZnPg=="); diff --git a/resources/widgets.scss b/resources/widgets.scss index fb20dec..bcc1e90 100644 --- a/resources/widgets.scss +++ b/resources/widgets.scss @@ -602,7 +602,6 @@ ul.select2-selection__rendered { } .control-button { - background: lightgray; color: black !important; border: 0; } diff --git a/templates/chat/chat_css.html b/templates/chat/chat_css.html index fa54ef8..ab9043d 100644 --- a/templates/chat/chat_css.html +++ b/templates/chat/chat_css.html @@ -115,7 +115,17 @@ #setting { position: relative; } - #setting-button { + .setting-button { + height: 2.3em; + width: 2.5em; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + padding-top: 2px; + } + .user-setting-button { height: 2.3em; width: 2.5em; border-radius: 50%; diff --git a/templates/chat/chat_js.html b/templates/chat/chat_js.html index 81fe1f9..59cdf66 100644 --- a/templates/chat/chat_js.html +++ b/templates/chat/chat_js.html @@ -2,6 +2,10 @@ let isMobile = window.matchMedia("only screen and (max-width: 799px)").matches; function load_next_page(last_id, refresh_html=false) { + if (refresh_html) { + $('#chat-log').html(''); + $('#loader').show(); + } var param = { 'last_id': last_id, 'only_messages': true, @@ -12,7 +16,6 @@ }) .done(function(data) { if (refresh_html) { - $('#chat-log').html(''); $('#chat-box').scrollTop($('#chat-box')[0].scrollHeight); window.lock = true; } @@ -78,6 +81,7 @@ register_toggle($(this)); }); register_click_space(); + register_setting(false); color_selected_room(); } }) @@ -93,7 +97,7 @@ .done(function(data) { $('#chat-info').html(data); register_time($('.time-with-rel')); - register_setting(); + register_setting(true); }) } @@ -363,18 +367,22 @@ } } - function register_setting() { - $('#setting-button').on('click', function() { - $('#setting-content').toggle(); + function register_setting(is_on_user_status_bar) { + let $setting_button = is_on_user_status_bar ? $('.user-setting-button') : $('.setting-button'); + $setting_button.on('click', function(e) { + e.stopPropagation(); + $('.setting-content').not($(this).siblings('.setting-content')).hide(); + $(this).siblings('.setting-content').toggle(); }); - $('#setting-content li').on('click', function() { - $(this).children('a')[0].click(); - }) - $('#setting-content a').on('click', function() { + $('.setting-content a').on('click', function(e) { + e.stopPropagation(); var href = $(this).attr('href'); href += '?next=' + window.location.pathname; $(this).attr('href', href); }) + $(document).on('click', function() { + $('.setting-content').hide(); + }); } $(function() { $('#loader').hide(); @@ -547,7 +555,8 @@ characterData: false }) } - register_setting(); + register_setting(true); + register_setting(false); color_selected_room(); $('#chat-input').on('input', function() { diff --git a/templates/chat/online_status.html b/templates/chat/online_status.html index 73dea74..e863d7d 100644 --- a/templates/chat/online_status.html +++ b/templates/chat/online_status.html @@ -25,8 +25,7 @@