Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
bef00afa
Commit
bef00afa
authored
Mar 19, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
チャットルームCSS修正
parent
2863d127
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
45 deletions
+46
-45
public/css/chat.css
+6
-3
public/index.html
+36
-38
public/js/chat-ui.js
+4
-4
No files found.
public/css/chat.css
View file @
bef00afa
...
...
@@ -205,7 +205,6 @@ img {
.received_withd_msg
{
width
:
57%
;}
.mesgs
{
margin-top
:
40px
;
padding
:
0px
15px
48px
15px
;
}
.search-bar-fixed
{
...
...
@@ -258,10 +257,14 @@ img {
.msg_history
{
/* チャット画面スクロール範囲
* 画面の高さ - (画面上部タイトルの高さ(58px) + ルーム名検索欄の高さ(38px) + メッセージ入力欄の高さ(48px)) */
height
:
calc
(
100vh
-
144
px
);
* 画面の高さ - (画面上部タイトルの高さ(58px) + ルーム名検索欄の高さ(38px) + メッセージ入力欄の高さ(48px)
+ 協業タブの高さ(67px)
) */
height
:
calc
(
100vh
-
211
px
);
overflow-y
:
auto
;
-webkit-overflow-scrolling
:
touch
;
padding
:
0px
15px
;
}
.landscape_msg_history
{
padding
:
0px
10%
;
}
/****************************chatlist end *************************/
...
...
public/index.html
View file @
bef00afa
...
...
@@ -258,43 +258,6 @@
<i
class=
"fa fa-plus my-float"
></i>
</a>
</div>
<!-- 協業タブ -->
<div
class=
"collaboration_tab fixed-bottom"
>
<ul>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareChat"
>
<img
src=
"./icon/ic_collaboration_call.png"
alt=
""
>
<p
id=
"collaboration_call"
>
Call
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareDoc"
>
<img
src=
"./icon/ic_collaboration_document.png"
alt=
""
>
<p
id=
"collaboration_document"
>
Document
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewSharePhoto"
>
<img
src=
"./icon/ic_collaboration_photo.png"
alt=
""
>
<p
id=
"collaboration_photo"
>
Photo
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareLive"
>
<img
src=
"./icon/ic_collaboration_live.png"
alt=
""
>
<p
id=
"collaboration_live"
>
Live
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareBoad"
>
<img
src=
"./icon/ic_collaboration_boad.png"
alt=
""
>
<p
id=
"collaboration_boad"
>
Boad
</p>
</a>
</li>
</ul>
</div>
</div>
<div
class=
"tab-pane fade"
id=
"pills-profile"
role=
"tabpanel"
aria-labelledby=
"pills-profile-tab"
>
...
...
@@ -319,7 +282,7 @@
<div
class=
"mesgs"
>
<div
class=
"msg_history"
id=
"messages"
>
</div>
<div
class=
"type_msg
fixed-bottom
"
>
<div
class=
"type_msg"
>
<div
class=
"row"
>
<div
class=
"msg_notification"
id=
"messageNotification"
>
</div>
...
...
@@ -354,6 +317,41 @@
</div>
</div>
</div>
<!-- 協業タブ -->
<div
class=
"collaboration_tab fixed-bottom"
>
<ul>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareChat"
>
<img
src=
"./icon/ic_collaboration_call.png"
alt=
""
>
<p
id=
"collaboration_call"
>
Call
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareDoc"
>
<img
src=
"./icon/ic_collaboration_document.png"
alt=
""
>
<p
id=
"collaboration_document"
>
Document
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewSharePhoto"
>
<img
src=
"./icon/ic_collaboration_photo.png"
alt=
""
>
<p
id=
"collaboration_photo"
>
Photo
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareLive"
>
<img
src=
"./icon/ic_collaboration_live.png"
alt=
""
>
<p
id=
"collaboration_live"
>
Live
</p>
</a>
</li>
<li>
<a
class=
"collaboration_tab_btn"
id=
"coviewShareBoad"
>
<img
src=
"./icon/ic_collaboration_boad.png"
alt=
""
>
<p
id=
"collaboration_boad"
>
Boad
</p>
</a>
</li>
</ul>
</div>
</div>
<div
class=
"tab-pane fade"
id=
"pills-contact"
role=
"tabpanel"
aria-labelledby=
"pills-contact-tab"
>
...
...
public/js/chat-ui.js
View file @
bef00afa
...
...
@@ -31,7 +31,7 @@ $(window).on('resize', function() {
$
(
".chat_list"
).
addClass
(
"col-6"
).
removeClass
(
"col-12"
);
$
(
".squareBoxContent span"
).
addClass
(
"landscape_span"
);
$
(
".m
esgs"
).
addClass
(
"landscape_mesgs
"
);
$
(
".m
sg_history"
).
addClass
(
"landscape_msg_history
"
);
}
else
{
$
(
".group_list"
).
removeClass
(
"col-6"
).
addClass
(
"col-12"
);
...
...
@@ -39,7 +39,7 @@ $(window).on('resize', function() {
$
(
".chat_list"
).
removeClass
(
"col-6"
).
addClass
(
"col-12"
);
$
(
".squareBoxContent span"
).
removeClass
(
"landscape_span"
);
$
(
".mesgs"
).
removeClass
(
"landscape_mesgs
"
);
$
(
".msg_history"
).
removeClass
(
"landscape_msg_history
"
);
}
if
(
CHAT_UTIL
.
isIOS
())
{
...
...
@@ -428,9 +428,9 @@ $('a[data-toggle="pill"]').on('show.bs.tab', function (e) {
switch
(
target
)
{
case
'#pills-chat'
:
if
(
CHAT_UI
.
isLandscapeMode
())
{
$
(
".m
esgs"
).
addClass
(
"landscape_mesgs
"
);
$
(
".m
sg_history"
).
addClass
(
"landscape_msg_history
"
);
}
else
{
$
(
".m
esgs"
).
removeClass
(
"landscape_mesgs
"
);
$
(
".m
sg_history"
).
removeClass
(
"landscape_msg_history
"
);
}
CHAT
.
globalIsInvite
=
true
;
$
(
'.chatRoomIcon, .titleRoomName, #backButton'
).
show
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment