From 4cb5acb60e8a14c6d115a22cbd9a51891a139240 Mon Sep 17 00:00:00 2001 From: Hacker <721806280@qq.com> Date: Mon, 6 Jul 2020 17:38:07 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-admin/src/main/resources/static/?= =?UTF-8?q?css/style.css.=20=E8=81=8A=E5=A4=A9=E7=AA=97=E5=8F=A3=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=8F=91=E9=80=81=E8=80=85=E7=9A=84=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E5=B7=A6=E5=8F=B3=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E8=80=8C=E9=9D=9Enth-child(2n+1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/css/style.css | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/css/style.css b/ruoyi-admin/src/main/resources/static/css/style.css index 64003587..f6cfe9b8 100644 --- a/ruoyi-admin/src/main/resources/static/css/style.css +++ b/ruoyi-admin/src/main/resources/static/css/style.css @@ -4917,13 +4917,14 @@ dd.project-people { font-size: 10px; text-transform: uppercase; } + /* Chat view */ .message-input { height: 90px !important; } .chat-avatar { - white: 36px; + width: 36px; height: 36px; float: left; margin-right: 10px; @@ -4950,9 +4951,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; } } @@ -4972,12 +4974,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; } @@ -4992,20 +4994,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; } @@ -5034,6 +5036,7 @@ dd.project-people { .chat-message-form .form-group { margin-bottom: 0; } + /* jsTree */ .jstree-open>.jstree-anchor>.fa-folder:before { content: "\f07c";