Commit 47bc4c95 by Masaru Abe

リスト表示のコンテンツタイトル表示幅広げる

parent e554f3d9
...@@ -380,11 +380,20 @@ a:hover ...@@ -380,11 +380,20 @@ a:hover
.cnt_section_list .text a.name{ .cnt_section_list .text a.name{
color: #37648C; color: #37648C;
font-size: 16px; font-size: 16px;
display: inline-flex;
} }
.cnt_section_list .text a.name img .cnt_section_list .text a.name img
{ {
} }
.cnt_section_list .text a .content-list {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 600px;
}
.cnt_section_list .text a.name:hover{ } .cnt_section_list .text a.name:hover{ }
.cnt_section_list .text ul.date{ } .cnt_section_list .text ul.date{ }
.cnt_section_list .text ul.date li{ .cnt_section_list .text ul.date li{
......
...@@ -110,6 +110,15 @@ ...@@ -110,6 +110,15 @@
margin: 7px auto 0; margin: 7px auto 0;
position: relative; position: relative;
} }
.cnt_section_list .text a div.content-list {
margin-left: 30px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 600px;
}
/*.cnt_section_list a.img img.book_icon{ /*.cnt_section_list a.img img.book_icon{
position:absolute; position:absolute;
top:0px; top:0px;
......
...@@ -230,9 +230,16 @@ section.sectionhomelist .cnt_section_list:hover{ ...@@ -230,9 +230,16 @@ section.sectionhomelist .cnt_section_list:hover{
.cnt_section_list .text a.name{ .cnt_section_list .text a.name{
color: #37648C; color: #37648C;
font-size: 16px; font-size: 16px;
display: inline-flex;
} }
.cnt_section_list .text a.name:hover{ text-decoration:none;} .cnt_section_list .text a.name:hover{ text-decoration:none;}
.cnt_section_list .text a .content-list {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 420px;
}
.cnt_section_list .text ul.date{ .cnt_section_list .text ul.date{
......
...@@ -153,6 +153,14 @@ a ...@@ -153,6 +153,14 @@ a
display:inline; display:inline;
margin-right:5px; margin-right:5px;
} }
.cnt_section .text a.name div.pageTitle {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 550px;
}
.cnt_section .text a.name:hover{ text-decoration:none; } .cnt_section .text a.name:hover{ text-decoration:none; }
.cnt_section .text ul.date{ margin-top: 0px; height:40px;} .cnt_section .text ul.date{ margin-top: 0px; height:40px;}
.cnt_section .text ul.date li{ .cnt_section .text ul.date li{
......
...@@ -682,7 +682,7 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag ...@@ -682,7 +682,7 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag
newRow +='</a>'; newRow +='</a>';
newRow +='<div class="text">'; newRow +='<div class="text">';
newRow += '<a class="name" href="#">' + COMMON.truncate(pageTitle, 20) + '</a>'; newRow += '<a class="name" href="#">' +'<div class ="pageTitle" >'+ pageTitle +'</div>'+ '</a>';
newRow +='<div class="info">'; newRow +='<div class="info">';
newRow += '<ul class="date">'; newRow += '<ul class="date">';
......
...@@ -243,7 +243,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to ...@@ -243,7 +243,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20) + ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <ul class="date">'
......
...@@ -1399,7 +1399,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){ ...@@ -1399,7 +1399,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">' + ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contenttitle), 20) + ' <div class="content-list">' + COMMON.htmlEncode(post.contenttitle) + '</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <ul class="date">'
......
...@@ -1673,7 +1673,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid, ...@@ -1673,7 +1673,7 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20) + ' <div class="content-list">' + COMMON.htmlEncode(post.contentTitle) + '</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <ul class="date">'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment