Commit 421c9e02 by Vo Duc Thang

10/4 リリース

※CSS対応
parent e16f9955
...@@ -276,8 +276,8 @@ $(function () { ...@@ -276,8 +276,8 @@ $(function () {
// システム設定ファイルの配置先パスの決定 // システム設定ファイルの配置先パスの決定
var location = window.location.toString().toLowerCase(); var location = window.location.toString().toLowerCase();
var sysFile = ''; var sysFile = '';
if (location.indexOf('/abvw-preview') < 0) { if (location.indexOf('/abvw') < 0) {
sysFile = './abvw-preview/common/json/sys/conf.json'; sysFile = './abvw/common/json/sys/conf.json';
} else { } else {
sysFile = './common/json/sys/conf.json'; sysFile = './common/json/sys/conf.json';
} }
...@@ -352,14 +352,12 @@ function avwCheckLogin(option) { ...@@ -352,14 +352,12 @@ function avwCheckLogin(option) {
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css({ $('#avw-auth-error').css({
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
...@@ -569,7 +567,7 @@ function avwGrabContentPageImage(accountPath, params, success, error) { ...@@ -569,7 +567,7 @@ function avwGrabContentPageImage(accountPath, params, success, error) {
apiUrl = apiUrl + '/' + apiName + '/'; apiUrl = apiUrl + '/' + apiName + '/';
// 送信パラメータの構築 // 送信パラメータの構築
var requestParams = 'contentId=' + params.contentId + '&sid=' + params.sid + '&pageNo=' + params.pageNo + '&pid=' + params.pid ; var requestParams = 'contentId=' + params.contentId + '&sid=' + params.sid + '&pageNo=' + params.pageNo + '&pid=' + params.pid;
//apiUrl += '?' + requestParams; //apiUrl += '?' + requestParams;
apiUrl += '?' + requestParams + '&isBase64=true'; apiUrl += '?' + requestParams + '&isBase64=true';
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"Logout", "dspBkCancel":"Logout",
"txtSearchResult":"Result", "txtSearchResult":"Result",
"dspHome":"Home", "dspHome":"Home",
"txtLoginUser":"(Ver.20130823)User:", "txtLoginUser":"(Ver.20131004)User:",
"txtAll":"All", "txtAll":"All",
"txtMkgSize":"Size", "txtMkgSize":"Size",
"txtMkgS":"S", "txtMkgS":"S",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"Password Confirm", "txtContentPWTitle":"Password Confirm",
"txtContentPWMsg":"Please input password to view this content.", "txtContentPWMsg":"Please input password to view this content.",
"txtContentWarning":"Waring", "txtContentWarning":"Waring",
"txtMediaAutoPlayWarning":"Media will be played automatically.",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト", "dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果", "txtSearchResult":"検索結果",
"dspHome":"ホーム", "dspHome":"ホーム",
"txtLoginUser":"(Ver.20130823)ログイン中:", "txtLoginUser":"(Ver.20131004)ログイン中:",
"txtAll":"すべて", "txtAll":"すべて",
"txtMkgSize":"太さ", "txtMkgSize":"太さ",
"txtMkgS":"小", "txtMkgS":"小",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"パスワードの確認", "txtContentPWTitle":"パスワードの確認",
"txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"警告", "txtContentWarning":"警告",
"txtMediaAutoPlayWarning":"メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃", "dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과", "txtSearchResult":"검색 결과",
"dspHome":"홈", "dspHome":"홈",
"txtLoginUser":"(Ver.20130823)로그인 중:", "txtLoginUser":"(Ver.20131004)로그인 중:",
"txtAll":"전체", "txtAll":"전체",
"txtMkgSize":"두께", "txtMkgSize":"두께",
"txtMkgS":"소", "txtMkgS":"소",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"KO_パスワードの確認", "txtContentPWTitle":"KO_パスワードの確認",
"txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"KO_警告", "txtContentWarning":"KO_警告",
"txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません" "txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -1665,20 +1665,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1665,20 +1665,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
zoom:1; zoom:1;
} }
/*------------*/ /*------------*/
#viewer #wrapper header .hdRcolumn .closebtn {
height: 25px;
width: 25px;
display: block;
float: right;
margin-top: 18px;
margin-right: 18px;
}
a.closebtn {
}
a.closebtn:hover{
}
.markingToolbar_off_hover .markingToolbar_off_hover
{ {
...@@ -1697,3 +1684,28 @@ ul#divListBookmark li:hover{} ...@@ -1697,3 +1684,28 @@ ul#divListBookmark li:hover{}
#powerTip{ #powerTip{
z-index: 999 !important; z-index: 999 !important;
} }
span.error{
}
span.no-item{
}
.dialog-content-music{
}
.imagePreview-one{
}
.picker-choose-on{
}
.picker-choose-off{
}
...@@ -1067,11 +1067,17 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1067,11 +1067,17 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
border-radius: 10px; border-radius: 10px;
-moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777;
box-shadow : -3px 3px 3px #777
} }
.popuptext_arrow { .popuptext_arrow {
border-style: solid; border-style: solid;
border-width: 12px 12px 12px 12px; border-width: 12px 12px 12px 12px;
border-color: transparent transparent transparent rgb(204, 204, 221) !important;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1390,15 +1396,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1390,15 +1396,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
} }
/*------------*/ /*------------*/
#viewer #wrapper header .hdRcolumn .closebtn {
}
a.closebtn {
background: url(../../img/viewer/closebtn_01.png) 0px 0px;
}
a.closebtn:hover{
background-position:0px -25px;
}
.markingToolbar_off_hover .markingToolbar_off_hover
{ {
background-position: -414px -92px; background-position: -414px -92px;
...@@ -1410,3 +1408,30 @@ a.closebtn:hover{ ...@@ -1410,3 +1408,30 @@ a.closebtn:hover{
ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;} ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;}
ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;} ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;}
#divListIndex span:hover{color: red; cursor: pointer} #divListIndex span:hover{color: red; cursor: pointer}
span.error{
color: red;
}
span.no-item{
color:#333333;
font-size:12px;
cursor:default;
text-decoration:none;
}
.dialog-content-music{
background: url(../../img/iPad_music.png) center center no-repeat;
background-color: white;
}
.imagePreview-one{
background-color: black;
}
.picker-choose-on{
border:1px solid #e6e6e6 !important;
}
.picker-choose-off{
border:1px solid #d3d5d6 !important;
}
...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -2286,8 +2286,11 @@ function handleForContentTypeMusic(resourceUrl){ ...@@ -2286,8 +2286,11 @@ function handleForContentTypeMusic(resourceUrl){
var $container = $('#dialog'); var $container = $('#dialog');
$container.html(''); $container.html('');
//$container.css('position', 'absolute'); //$container.css('position', 'absolute');
$container.css('background', 'url(./img/iPad_music.png) center center no-repeat'); //START FIX CSS
$container.css('background-color', 'white'); //$container.css('background', 'url(./img/iPad_music.png) center center no-repeat');
//$container.css('background-color', 'white');
$container.addClass('dialog-content-music');
//END FIX CSS
//$container.css('background-attachment', 'fixed'); //$container.css('background-attachment', 'fixed');
if (ClientData.userOpt_musicMode() == "1") { if (ClientData.userOpt_musicMode() == "1") {
......
...@@ -44,13 +44,16 @@ function showImagePreview(targetId, imgList) { ...@@ -44,13 +44,16 @@ function showImagePreview(targetId, imgList) {
+ '</div>'); + '</div>');
var mainImg = $('#slideWrapper'); var mainImg = $('#slideWrapper');
//START FIXCSS
var cssObj = { 'background-image': 'url(' + slideshowImageCollection[0].thumbnail + ')', var cssObj = { 'background-image': 'url(' + slideshowImageCollection[0].thumbnail + ')',
'background-repeat': 'no-repeat', 'background-repeat': 'no-repeat',
'background-size': 'contain', 'background-size': 'contain',
'background-position': 'center', 'background-position': 'center'
'background-color': 'black'
}; };
mainImg.addClass('imagePreview-one');
//END FIXCSS
mainImg.css(cssObj); mainImg.css(cssObj);
......
...@@ -352,14 +352,12 @@ function avwCheckLogin(option) { ...@@ -352,14 +352,12 @@ function avwCheckLogin(option) {
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css({ $('#avw-auth-error').css({
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"Logout", "dspBkCancel":"Logout",
"txtSearchResult":"Result", "txtSearchResult":"Result",
"dspHome":"Home", "dspHome":"Home",
"txtLoginUser":"(Ver.20131003)User:", "txtLoginUser":"(Ver.20131004)User:",
"txtAll":"All", "txtAll":"All",
"txtMkgSize":"Size", "txtMkgSize":"Size",
"txtMkgS":"S", "txtMkgS":"S",
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
"txtNoTransparent":"Opacity", "txtNoTransparent":"Opacity",
"txtContentPWTitle":"Password Confirm", "txtContentPWTitle":"Password Confirm",
"txtContentPWMsg":"Please input password to view this content.", "txtContentPWMsg":"Please input password to view this content.",
"txtContentWarning":"Warning", "txtContentWarning":"Waring",
"txtMediaAutoPlayWarning":"Media will be played automatically." "txtMediaAutoPlayWarning":"Media will be played automatically.",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト", "dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果", "txtSearchResult":"検索結果",
"dspHome":"ホーム", "dspHome":"ホーム",
"txtLoginUser":"(Ver.20131003)ログイン中:", "txtLoginUser":"(Ver.20131004)ログイン中:",
"txtAll":"すべて", "txtAll":"すべて",
"txtMkgSize":"太さ", "txtMkgSize":"太さ",
"txtMkgS":"小", "txtMkgS":"小",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"パスワードの確認", "txtContentPWTitle":"パスワードの確認",
"txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"警告", "txtContentWarning":"警告",
"txtMediaAutoPlayWarning":"メディアは自動再生されます。" "txtMediaAutoPlayWarning":"メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃", "dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과", "txtSearchResult":"검색 결과",
"dspHome":"홈", "dspHome":"홈",
"txtLoginUser":"(Ver.20131003)로그인 중:", "txtLoginUser":"(Ver.20131004)로그인 중:",
"txtAll":"전체", "txtAll":"전체",
"txtMkgSize":"두께", "txtMkgSize":"두께",
"txtMkgS":"소", "txtMkgS":"소",
...@@ -147,5 +147,6 @@ ...@@ -147,5 +147,6 @@
"txtContentPWTitle":"KO_パスワードの確認", "txtContentPWTitle":"KO_パスワードの確認",
"txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。", "txtContentPWMsg":"KO_閲覧するにはパスワードの入力が必要です。",
"txtContentWarning":"KO_警告", "txtContentWarning":"KO_警告",
"txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。" "txtMediaAutoPlayWarning":"KO_メディアは自動再生されます。",
"txtPreventLink": "プレビューにはこの機能が利用できません"
} }
...@@ -255,6 +255,12 @@ a:hover ...@@ -255,6 +255,12 @@ a:hover
{ {
display: none; display: none;
} }
#msgHistoryNotExist
{
text-align:left;
margin-top:20px;
clear:both;
}
.sort-title{ .sort-title{
float: left; float: left;
......
...@@ -1684,3 +1684,28 @@ ul#divListBookmark li:hover{} ...@@ -1684,3 +1684,28 @@ ul#divListBookmark li:hover{}
#powerTip{ #powerTip{
z-index: 999 !important; z-index: 999 !important;
} }
span.error{
}
span.no-item{
}
.dialog-content-music{
}
.imagePreview-one{
}
.picker-choose-on{
}
.picker-choose-off{
}
...@@ -42,3 +42,9 @@ br.clear { } ...@@ -42,3 +42,9 @@ br.clear { }
.floatL { } .floatL { }
.floatR { } .floatR { }
#avw-auth-error
{
color: #fff;
background: #ccc;
}
\ No newline at end of file
...@@ -192,7 +192,11 @@ a:hover ...@@ -192,7 +192,11 @@ a:hover
#msgSearchNotExist #msgSearchNotExist
{ {
} }
#msgHistoryNotExist
{
color:#f00;
font-size:16px;
}
.sort-title{ .sort-title{
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
......
...@@ -135,6 +135,10 @@ a.delete:hover:not(:target) { ...@@ -135,6 +135,10 @@ a.delete:hover:not(:target) {
cursor:default; cursor:default;
text-decoration:none; text-decoration:none;
} }
.cnt_section .text label.name
{
color: #2D83DA;
}
.cnt_section .text a.name img .cnt_section .text a.name img
{ {
} }
......
...@@ -1067,11 +1067,17 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1067,11 +1067,17 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
border-radius: 10px; border-radius: 10px;
-moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777;
box-shadow : -3px 3px 3px #777
} }
.popuptext_arrow { .popuptext_arrow {
border-style: solid; border-style: solid;
border-width: 12px 12px 12px 12px; border-width: 12px 12px 12px 12px;
border-color: transparent transparent transparent rgb(204, 204, 221) !important;
} }
/* HOVER STYLES */ /* HOVER STYLES */
.pop-up-memo { .pop-up-memo {
...@@ -1402,3 +1408,30 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1402,3 +1408,30 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;} ul#divSearchResult li:hover{ background:#f4f4f4;cursor:pointer;}
ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;} ul#divListBookmark li:hover{background:#f4f4f4;cursor:pointer;}
#divListIndex span:hover{color: red; cursor: pointer} #divListIndex span:hover{color: red; cursor: pointer}
span.error{
color: red;
}
span.no-item{
color:#333333;
font-size:12px;
cursor:default;
text-decoration:none;
}
.dialog-content-music{
background: url(../../img/iPad_music.png) center center no-repeat;
background-color: white;
}
.imagePreview-one{
background-color: black;
}
.picker-choose-on{
border:1px solid #e6e6e6 !important;
}
.picker-choose-off{
border:1px solid #d3d5d6 !important;
}
...@@ -581,7 +581,7 @@ function insertRowError(contentid, pageTitle, pageNo) { ...@@ -581,7 +581,7 @@ function insertRowError(contentid, pageTitle, pageNo) {
newRow += '</span>'; newRow += '</span>';
newRow += " <div class='text'>"; newRow += " <div class='text'>";
newRow += ' <label class="name" style="color: #2D83DA;">' + truncate(pageTitle, 20) + '</label>'; newRow += ' <label class="name">' + truncate(pageTitle, 20) + '</label>';
newRow += ' <div class="info">'; newRow += ' <div class="info">';
newRow += " <label class='lang name' lang='msgShioriDeleted'>" + i18nText('msgShioriDeleted') + "</label>"; newRow += " <label class='lang name' lang='msgShioriDeleted'>" + i18nText('msgShioriDeleted') + "</label>";
......
...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -413,7 +413,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) { ...@@ -484,7 +484,7 @@ function handleAPIWebContentPage(dataJson, pos) {
' </li>' + ' </li>' +
' <li>' + ' <li>' +
' <span class="mdltext">' + ' <span class="mdltext">' +
' <span style="color:red">' + i18nText('msgShioriDeleted') + '</span>' + ' <span class="error">' + i18nText('msgShioriDeleted') + '</span>' +
' </span>' + ' </span>' +
' </li>' ' </li>'
); );
...@@ -2283,8 +2283,12 @@ function handleForContentTypeMusic(resourceUrl){ ...@@ -2283,8 +2283,12 @@ function handleForContentTypeMusic(resourceUrl){
//Create Dialog overlay //Create Dialog overlay
var $container = $('#dialog'); var $container = $('#dialog');
$container.html(''); $container.html('');
$container.css('background', 'url(./img/iPad_music.png) center center no-repeat');
$container.css('background-color', 'white'); //START FIX CSS
//$container.css('background', 'url(./img/iPad_music.png) center center no-repeat');
//$container.css('background-color', 'white');
$container.addClass('dialog-content-music');
//END FIX CSS
if (ClientData.userOpt_musicMode() == "1") { if (ClientData.userOpt_musicMode() == "1") {
$container.html('<audio autoplay="true" loop="true" controls="controls" style="position: absolute; width: 100%; bottom: 1%;">' $container.html('<audio autoplay="true" loop="true" controls="controls" style="position: absolute; width: 100%; bottom: 1%;">'
......
...@@ -912,7 +912,7 @@ function getPageIndexJson(pos) { ...@@ -912,7 +912,7 @@ function getPageIndexJson(pos) {
$(".treeview, .treeview ul").css('padding', '0px 8px 0'); $(".treeview, .treeview ul").css('padding', '0px 8px 0');
} else { } else {
$('#divListIndex').children().remove(); $('#divListIndex').children().remove();
$('#divListIndex').append('<span style="color:#333333; font-size:12px; cursor:default; text-decoration:none;">' + i18nText('msgNoIndex') + '</span>'); $('#divListIndex').append('<span class="no-item">' + i18nText('msgNoIndex') + '</span>');
// //show dialog index // //show dialog index
// $("#divListIndex").dialog({ // $("#divListIndex").dialog({
......
...@@ -44,13 +44,16 @@ function showImagePreview(targetId, imgList) { ...@@ -44,13 +44,16 @@ function showImagePreview(targetId, imgList) {
+ '</div>'); + '</div>');
var mainImg = $('#slideWrapper'); var mainImg = $('#slideWrapper');
//START FIXCSS
var cssObj = { 'background-image': 'url(' + slideshowImageCollection[0].thumbnail + ')', var cssObj = { 'background-image': 'url(' + slideshowImageCollection[0].thumbnail + ')',
'background-repeat': 'no-repeat', 'background-repeat': 'no-repeat',
'background-size': 'contain', 'background-size': 'contain',
'background-position': 'center', 'background-position': 'center'
'background-color': 'black'
}; };
mainImg.addClass('imagePreview-one');
//END FIXCSS
mainImg.css(cssObj); mainImg.css(cssObj);
......
...@@ -155,24 +155,44 @@ function Maker_SetDefaultValue() { ...@@ -155,24 +155,44 @@ function Maker_SetDefaultValue() {
$("#maker-size-small").focus(); $("#maker-size-small").focus();
} }
$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').css('border','1px solid #e6e6e6'); //START FIXCSS
//$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').css('border','1px solid #e6e6e6');
$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').addClass('picker-choose-on');
$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').removeClass('picker-choose-off');
//END FIXCSS
Maker_chooseType(maker_Size, makerColor); Maker_chooseType(maker_Size, makerColor);
}; };
function Maker_colorPickerMouseLeaveFunction() { function Maker_colorPickerMouseLeaveFunction() {
$(this).css('border','1px solid white'); //START FIXCSS
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //$(this).css('border','1px solid white');
//$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').css('border','1px solid #e6e6e6');
$(this).addClass('picker-choose-off');
$(this).removeClass('picker-choose-on');
$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').addClass('picker-choose-on');
$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
function Maker_colorPickerMouseEnterFunction() { function Maker_colorPickerMouseEnterFunction() {
$(this).css('border','1px solid #e6e6e6'); //START FIXCSS
//$(this).css('border','1px solid #e6e6e6');
$(this).removeClass('picker-choose-off');
$(this).addClass('picker-choose-on');
//END FIXCSS
var color = $(this).attr('colorId'); var color = $(this).attr('colorId');
Maker_chooseType(maker_Size, color); Maker_chooseType(maker_Size, color);
}; };
function Maker_colorPickerClickFunction() { function Maker_colorPickerClickFunction() {
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid white'); //START FIXCSS
$(this).css('border','1px solid #e6e6e6'); //$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid white');
//$(this).css('border','1px solid #e6e6e6');
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').addClass('picker-choose-off');
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').removeClass('picker-choose-on');
$(this).addClass('picker-choose-on');
$(this).removeClass('picker-choose-off');
//END FIXCSS
maker_chooseColor = $(this).attr('colorId'); maker_chooseColor = $(this).attr('colorId');
Maker_chooseType(maker_Size, maker_chooseColor); Maker_chooseType(maker_Size, maker_chooseColor);
}; };
...@@ -261,8 +281,11 @@ function Maker_dspCancel_click() { ...@@ -261,8 +281,11 @@ function Maker_dspCancel_click() {
function Maker_colorWrapperMouseLeaveFunction() { function Maker_colorWrapperMouseLeaveFunction() {
Maker_chooseType(maker_Size, maker_chooseColor); Maker_chooseType(maker_Size, maker_chooseColor);
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //START FIXCSS
//$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid #e6e6e6');
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').addClass('picker-choose-on');
$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
/// =============================================================================================== /// ===============================================================================================
......
...@@ -168,27 +168,45 @@ function Pen_SetDefaultValue() { ...@@ -168,27 +168,45 @@ function Pen_SetDefaultValue() {
} }
Pen_chooseType(typeValue, penColor); Pen_chooseType(typeValue, penColor);
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').css('border','1px solid #e6e6e6'); //START FIXCSS
//$('#dlgPen .colorpicker[colorId="'+penColor+'"]').css('border','1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="'+penColor+'"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
function Pen_colorPickerMouseLeaveFunction() { function Pen_colorPickerMouseLeaveFunction() {
$(this).css('border','1px solid white'); //START FIXCSS
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //$(this).css('border','1px solid white');
//$('#dlgMaker .colorpicker[colorId="'+makerColor+'"]').css('border','1px solid #e6e6e6');
$(this).addClass('picker-choose-off');
$(this).removeClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
function Pen_colorPickerMouseEnterFunction() { function Pen_colorPickerMouseEnterFunction() {
//START FIXCSS
$(this).css('border','1px solid #e6e6e6'); //$(this).css('border','1px solid #e6e6e6');
$(this).removeClass('picker-choose-off');
$(this).addClass('picker-choose-on');
//END FIXCSS
var color = $(this).attr('colorId'); var color = $(this).attr('colorId');
Pen_chooseType(pen_Size, color); Pen_chooseType(pen_Size, color);
}; };
function Pen_colorPickerClickFunction() { function Pen_colorPickerClickFunction() {
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid white'); //START FIXCSS
$(this).css('border','1px solid #e6e6e6'); //$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid white');
//$(this).css('border','1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-off');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-on');
$(this).addClass('picker-choose-on');
$(this).removeClass('picker-choose-off');
//END FIXCSS
pen_chooseColor = $(this).attr('colorId'); pen_chooseColor = $(this).attr('colorId');
Pen_chooseType(pen_Size, pen_chooseColor); Pen_chooseType(pen_Size, pen_chooseColor);
}; };
...@@ -266,6 +284,10 @@ function Pen_dspCancel_click() { ...@@ -266,6 +284,10 @@ function Pen_dspCancel_click() {
function Pen_colorWrapperMouseLeaveFunction() { function Pen_colorWrapperMouseLeaveFunction() {
Pen_chooseType(pen_Size, pen_chooseColor); Pen_chooseType(pen_Size, pen_chooseColor);
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6'); //$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').css('border', '1px solid #e6e6e6');
//START FIXCSS
//$('#dlgMaker .colorpicker[colorId="' + maker_chooseColor + '"]').css('border', '1px solid #e6e6e6');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').addClass('picker-choose-on');
$('#dlgPen .colorpicker[colorId="' + pen_chooseColor + '"]').removeClass('picker-choose-off');
//END FIXCSS
}; };
...@@ -52,41 +52,43 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) { ...@@ -52,41 +52,43 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) {
} }
} }
// Ajust direction [ end ] // Ajust direction [ end ]
//START FIXCSS
switch (direction) { switch (direction) {
case 0: left_dialog = left_arrow - dialogDiv.outerWidth(); case 0: left_dialog = left_arrow - dialogDiv.outerWidth();
top_dialog = top_arrow - 20; top_dialog = top_arrow - 20;
arrowDiv.css("border-color", "transparent transparent transparent #ccd"); //arrowDiv.css("border-color", "transparent transparent transparent #ccd");
dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777");
dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777");
dialogDiv.css("box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("box-shadow", "-3px 3px 3px #777");
//arrowDiv.css("border-color", "transparent transparent transparent #ccd");
break; break;
case 1: left_dialog = left_arrow - dialogDiv.outerWidth(); case 1: left_dialog = left_arrow - dialogDiv.outerWidth();
top_dialog = top_arrow - dialogDiv.height() + 30; top_dialog = top_arrow - dialogDiv.height() + 30;
arrowDiv.css("border-color", "transparent transparent transparent #ccd"); //arrowDiv.css("border-color", "transparent transparent transparent #ccd");
dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-moz-box-shadow", "-3px 3px 3px #777");
dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "-3px 3px 3px #777");
dialogDiv.css("box-shadow", "-3px 3px 3px #777"); //dialogDiv.css("box-shadow", "-3px 3px 3px #777");
break; break;
case 2: left_dialog = left_arrow + 24; case 2: left_dialog = left_arrow + 24;
top_dialog = top_arrow - 20; top_dialog = top_arrow - 20;
arrowDiv.css("border-color", "transparent #ccd transparent transparent"); //arrowDiv.css("border-color", "transparent #ccd transparent transparent");
dialogDiv.css("-moz-box-shadow", "3px 3px 3px #777"); //dialogDiv.css("-moz-box-shadow", "3px 3px 3px #777");
dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777");
dialogDiv.css("box-shadow", "3px 3px 3px #777"); //dialogDiv.css("box-shadow", "3px 3px 3px #777");
break; break;
case 3: left_dialog = left_arrow + 24; case 3: left_dialog = left_arrow + 24;
top_dialog = top_arrow - dialogDiv.height() + 30; top_dialog = top_arrow - dialogDiv.height() + 30;
arrowDiv.css("border-color", "transparent #ccd transparent transparent"); //arrowDiv.css("border-color", "transparent #ccd transparent transparent");
dialogDiv.css("-moz-box-shadow", "3px 3px 3px #777"); //dialogDiv.css("-moz-box-shadow", "3px 3px 3px #777");
dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777"); //dialogDiv.css("-webkit-box-shadow", "3px 3px 3px #777");
dialogDiv.css("box-shadow", "3px 3px 3px #777"); //dialogDiv.css("box-shadow", "3px 3px 3px #777");
break; break;
} }
//END FIXCSS
dialogDiv.css("left", left_dialog + "px"); dialogDiv.css("left", left_dialog + "px");
dialogDiv.css("top", (top_dialog + 10) + "px"); dialogDiv.css("top", (top_dialog + 10) + "px");
}; };
......
...@@ -733,14 +733,12 @@ function showErrorScreenForceChangePassword(){ ...@@ -733,14 +733,12 @@ function showErrorScreenForceChangePassword(){
'</div></div></div>'; '</div></div></div>';
$('body').prepend(tags); $('body').prepend(tags);
$('#avw-auth-error').css( { $('#avw-auth-error').css( {
'color': '#fff',
'opacity': 1, 'opacity': 1,
'position': 'fixed', 'position': 'fixed',
'top': '0', 'top': '0',
'left': '0', 'left': '0',
'width': $(window).width(), 'width': $(window).width(),
'height': $(window).height(), 'height': $(window).height(),
'background': '#ccc',
'zIndex': '10000' 'zIndex': '10000'
}); });
// resize error page // resize error page
......
...@@ -314,7 +314,7 @@ function handleLanguage(){ ...@@ -314,7 +314,7 @@ function handleLanguage(){
$('#control-sort-titlekana-off').css('display','block'); $('#control-sort-titlekana-off').css('display','block');
$('#content-grid').html(i18nText('msgHistoryNotExist')); $('#content-grid').html("<div id='msgHistoryNotExist'>" + i18nText('msgHistoryNotExist') + "</div>");
}else{ }else{
$('#control-sort-titlekana').css('display','block'); $('#control-sort-titlekana').css('display','block');
$('#separate').css('display','block'); $('#separate').css('display','block');
...@@ -1586,8 +1586,7 @@ function changeLanguageCallBackFunction(){ ...@@ -1586,8 +1586,7 @@ function changeLanguageCallBackFunction(){
function displayResultNoRecord(){ function displayResultNoRecord(){
i18nReplaceText(); i18nReplaceText();
$('#content-grid').html(i18nText('msgHistoryNotExist')); $('#content-grid').html("<div id='msgHistoryNotExist'>" + i18nText('msgHistoryNotExist') + "</div>");
$('#content-grid').css({'text-align':'left','margin-top':'20px','clear':'both','font-size':'16px','color':'red'});
$('#control-nextrecord').css('visibility','hidden'); $('#control-nextrecord').css('visibility','hidden');
$('.control_sort_on').hide(); $('.control_sort_on').hide();
$('.control_sort_off').show(); $('.control_sort_off').show();
......
...@@ -1398,17 +1398,6 @@ function readSubmenuFunction_callback(contentId) ...@@ -1398,17 +1398,6 @@ function readSubmenuFunction_callback(contentId)
//Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Add ContentType to Storage. //Start Function : No.12 -- Editor : Le Long -- Date : 07/31/2013 -- Summary : Add ContentType to Storage.
}; };
//Item Mouse Enter Event
function itemMouseEnterEvent() {
$(this).css('background-color', 'gray');
};
//Item Mouse Leave Event
function itemMouseLeaveEvent() {
$(this).css('background-color', 'white');
};
//Handle Back To Top Button //Handle Back To Top Button
function handleBackToTop() { function handleBackToTop() {
......
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