From 77c4a350d489d030b5589599bcaead08e7d9c851 Mon Sep 17 00:00:00 2001 From: Hacker <721806280@qq.com> Date: Wed, 8 Jul 2020 20:58:48 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-admin/src/main/resources/static/?= =?UTF-8?q?css/style.css.=20=E4=BF=AE=E6=AD=A3=E8=81=8A=E5=A4=A9=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/css/style.css | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/css/style.css b/ruoyi-admin/src/main/resources/static/css/style.css index 88df79a49..c9a889a8c 100644 --- a/ruoyi-admin/src/main/resources/static/css/style.css +++ b/ruoyi-admin/src/main/resources/static/css/style.css @@ -4921,6 +4921,7 @@ dd.project-people { font-size: 10px; text-transform: uppercase; } + /* Chat view */ .message-input { height: 90px !important; @@ -4954,9 +4955,10 @@ dd.project-people { margin-left: -30px; } -@media ( max-width : 992px) { - .chat-users, .chat-statistic { - margin-left: 0px; +@media (max-width: 992px) { + .chat-users, + .chat-statistic { + margin-left: 0; } } @@ -4976,12 +4978,12 @@ dd.project-people { margin-top: 1px; } -.chat-discussion .chat-message:nth-child(2n+1) .message-avatar { +.chat-discussion .chat-message.left .message-avatar { float: left; margin-right: 10px; } -.chat-discussion .chat-message:nth-child(2n) .message-avatar { +.chat-discussion .chat-message.right .message-avatar { float: right; margin-left: 10px; } @@ -4996,20 +4998,20 @@ dd.project-people { border-radius: 4px; } -.chat-discussion .chat-message:nth-child(2n+1) .message-date { +.chat-discussion .chat-message.left .message-date { float: right; } -.chat-discussion .chat-message:nth-child(2n) .message-date { +.chat-discussion .chat-message.right .message-date { float: left; } -.chat-discussion .chat-message:nth-child(2n+1) .message { +.chat-discussion .chat-message.left .message { text-align: left; margin-left: 55px; } -.chat-discussion .chat-message:nth-child(2n) .message { +.chat-discussion .chat-message.right .message { text-align: right; margin-right: 55px; } @@ -5038,6 +5040,7 @@ dd.project-people { .chat-message-form .form-group { margin-bottom: 0; } + /* jsTree */ .jstree-open>.jstree-anchor>.fa-folder:before { content: "\f07c";