From 11c686efdc056f186ade9ea8698522a370be99fd Mon Sep 17 00:00:00 2001 From: kenlee Date: Mon, 24 Mar 2025 17:56:51 +0800 Subject: [PATCH] 'refresh' --- assets/javascripts/app.js | 613 ++++++++--- .../stylesheets/template/layout/header.scss | 1 + .../template/modules/ad_banner.scss | 91 +- .../template/modules/announcement.scss | 708 +++++++------ .../template/modules/archives.scss | 1 + .../template/modules/calendar.scss | 481 +++++++-- .../stylesheets/template/modules/epaper.scss | 17 +- .../template/modules/event_news.scss | 33 +- .../stylesheets/template/modules/gallery.scss | 1 + .../stylesheets/template/modules/member.scss | 77 ++ .../template/modules/text_marquee.scss | 29 +- .../template/modules/universal-table.scss | 23 +- .../stylesheets/template/modules/video.scss | 963 ++++++++++++++++++ .../template/modules/web_resource.scss | 43 +- modules/ad_banner/_ad_banner_widget0.html.erb | 5 +- modules/ad_banner/_ad_banner_widget1.html.erb | 5 +- .../_ad_banner_widget2_video.html.erb | 5 +- modules/ad_banner/_ad_banner_widget3.html.erb | 5 +- modules/ad_banner/_ad_banner_widget5.html.erb | 5 +- .../ad_banner/_ad_banner_widget6.html .erb | 5 +- modules/ad_banner/_ad_banner_widget7.html.erb | 12 +- .../_ad_banner_widget8_video.html.erb | 5 +- modules/announcement/_annc_widget1.html.erb | 2 +- modules/announcement/_annc_widget15.html.erb | 2 +- modules/announcement/_annc_widget16.html.erb | 4 +- modules/announcement/_annc_widget18.html.erb | 6 +- modules/announcement/_annc_widget19.html.erb | 2 +- modules/announcement/_annc_widget2.html.erb | 2 +- modules/announcement/_annc_widget20.html.erb | 2 +- modules/announcement/_annc_widget21.html.erb | 2 +- modules/announcement/_annc_widget23.html.erb | 33 + modules/announcement/_annc_widget24.html.erb | 111 ++ modules/announcement/_annc_widget4.html.erb | 2 +- modules/announcement/annc_index20.html.erb | 8 +- modules/announcement/annc_index21.html.erb | 4 +- modules/announcement/info.json | 16 + modules/announcement/show.html.erb | 2 +- .../thumbs/annc_widget23_thumbs.png | Bin 0 -> 12280 bytes .../thumbs/annc_widget24_thumbs.png | Bin 0 -> 13396 bytes modules/archive/archive_index16.html.erb | 3 + modules/calendar/index.html.erb | 10 +- modules/e_paper/epaper_index1.html.erb | 4 +- modules/e_paper/epaper_index2.html.erb | 8 +- .../_event_news_widget1.html.erb | 2 +- .../_event_news_widget15.html.erb | 15 +- .../_event_news_widget2.html.erb | 2 + .../_event_news_widget20.html.erb | 15 +- .../_event_news_widget21.html.erb | 14 +- .../_event_news_widget22.html.erb | 2 +- .../_event_news_widget4.html.erb | 2 +- modules/event_news_mod/show.html.erb | 2 +- modules/event_news_mod/show2.html.erb | 2 +- modules/faq/faq_index2.html.erb | 2 +- modules/gallery/gallery_index1.html.erb | 11 +- modules/gallery/gallery_index2.html.erb | 11 +- modules/gallery/gallery_index3.html.erb | 11 +- modules/gallery/gallery_index4.html.erb | 13 +- modules/gallery/gallery_index5.html.erb | 26 +- modules/gallery/gallery_index6.html.erb | 8 +- modules/member/info.json | 8 + modules/member/member_index2.html.erb | 2 +- modules/member/member_index3.html.erb | 2 +- modules/member/member_index5.html.erb | 2 +- modules/member/member_index7.html.erb | 38 + modules/member/thumbs/member_index4_thumb.png | Bin 0 -> 7101 bytes modules/member/thumbs/member_index5_thumb.png | Bin 0 -> 6136 bytes modules/member/thumbs/member_index7_thumb.png | Bin 0 -> 6149 bytes modules/property_hire/index_calendar.html.erb | 12 +- .../publication/publications_index2.html.erb | 2 +- .../publication/publications_index3.html.erb | 2 +- modules/universal_table/index.html.erb | 4 +- modules/universal_table/index2.html.erb | 4 +- modules/video_pro/_video_pro_widget1.html.erb | 33 +- modules/video_pro/_video_pro_widget2.html.erb | 59 ++ modules/video_pro/_video_pro_widget3.html.erb | 129 +++ modules/video_pro/_video_pro_widget4.html.erb | 47 + modules/video_pro/_video_pro_widget5.html.erb | 176 ++++ modules/video_pro/info.json | 53 +- modules/video_pro/video_pro_index1.html.erb | 9 +- modules/video_pro/video_pro_index2.html.erb | 8 +- .../video_pro/video_pro_index2_tag.html.erb | 6 - modules/video_pro/video_pro_index3.html.erb | 10 +- modules/video_pro/video_pro_index4.html.erb | 162 +++ .../video_pro_index_post_agency1.html.erb | 8 +- .../web_resource/_web_res_widget2.html.erb | 1 + .../web_resource/_web_res_widget3.html.erb | 4 - 86 files changed, 3485 insertions(+), 785 deletions(-) create mode 100644 assets/stylesheets/template/modules/video.scss create mode 100644 modules/announcement/_annc_widget23.html.erb create mode 100644 modules/announcement/_annc_widget24.html.erb create mode 100644 modules/announcement/thumbs/annc_widget23_thumbs.png create mode 100644 modules/announcement/thumbs/annc_widget24_thumbs.png create mode 100644 modules/member/member_index7.html.erb create mode 100644 modules/member/thumbs/member_index4_thumb.png create mode 100644 modules/member/thumbs/member_index5_thumb.png create mode 100644 modules/member/thumbs/member_index7_thumb.png create mode 100644 modules/video_pro/_video_pro_widget2.html.erb create mode 100644 modules/video_pro/_video_pro_widget3.html.erb create mode 100644 modules/video_pro/_video_pro_widget4.html.erb create mode 100644 modules/video_pro/_video_pro_widget5.html.erb create mode 100644 modules/video_pro/video_pro_index4.html.erb diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 4849751..62c8615 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -55,14 +55,14 @@ }, // 外掛,所有的外掛都可以放到這個物件裡 - plugins: { - // 自適應圖片裁切,Ray的外掛 - bullEye: function() { - $('.bullseye').bullseye({ - fadeEffect: false - }); - } - }, + // plugins: { + // // 自適應圖片裁切,Ray的外掛 + // bullEye: function() { + // $('.bullseye').bullseye({ + // fadeEffect: false + // }); + // } + // }, // nav: { // 自適應使用的下拉選單 @@ -411,7 +411,7 @@ initdata1(); orbit.sitemenuDropdown(); orbit.goBackTop('top', 800); - orbit.plugins.bullEye(); + // orbit.plugins.bullEye(); orbit.setColumn('.left-column', '.right-column'); // 自適應網頁使用,當網頁載入時,如果視窗寬度小於769,就執行orbit.nav.setDropdown函數 @@ -465,83 +465,344 @@ // $('.header-buttom').appendTo($('.dropdowns')); // } function forFreeGo() { + if (document.documentElement.lang === 'zh_tw') { + document.documentElement.lang = 'zh-Hant'; + } + //tab鍵按下 + $(document).on('keydown', function(e) { + if (e.key === "Tab" || e.keyCode === 9) { + $('.header-nav, .dropdowns').css('display', 'block'); + } + }); + + //li被hover + $('li').hover( + function() { + $(this).children('ul').addClass('show'); + }, + function() { + $(this).children('ul').removeClass('show'); + } + ); + //刪除空的h1 + $('h1').each(function() { + if ($(this).text().trim() === '') { + $(this).remove(); + } + }); + // + // $('.epaper-index2-container h4 a').each(function() { + // var $this = $(this); + // // 取得 a 內部的純文字內容,移除前後空白 + // var textContent = $this.text().trim(); + // // 檢查 a 內部是否所有子元素都是 display: none + // var hasVisibleContent = $this.children().filter(function() { + // return $(this).css('display') !== 'none'; + // }).length > 0; + // // 如果 a 內部沒有純文字,且內部所有元素都是 display: none,則刪除該 a + // if (textContent === '' || !hasVisibleContent) { + // $this.remove(); + // } + // }); + //refresh_btn加上aria-label + $('#refresh_btn').each(function() { + var $this = $(this); + + // 如果 button 尚未有 aria-label,則新增 + if (!$this.attr('aria-label')) { + $this.attr('aria-label', '重新整理'); + } + }); + //無障礙會員表格刪除沒有顯示的th + $('.i-member-tr-head').each(function() { + if ($(this).css('display') === 'none') { + $(this).remove(); + } + }); + //無障礙公告a是空的 + $('.w-annc__subtitle').each(function () { + var $this = $(this); + var $link = $this.find('a'); + + // 檢查 a 是否存在,且去除空白後是否為空字串 + if ($link.length && $link.text().trim() === '') { + $this.remove(); // 移除外層 .w-annc__subtitle + } + }); + //無障礙單位轉換 + $("[style*='font-size']").each(function() { + var fontSize = $(this).css("font-size"); + if (fontSize.includes("px")) { + var pxValue = parseFloat(fontSize); // 取得數值 + var emValue = pxValue / 16; // 假設 1em = 16px + $(this).css("font-size", emValue + "em"); + } + }); + $("[style*='font-size']").each(function() { + var fontSize = $(this).css("font-size"); + if (fontSize.includes("pt")) { + var ptValue = parseFloat(fontSize); // 取得數值 + var emValue = ptValue / 12; // 1em = 12pt(一般轉換標準) + $(this).css("font-size", emValue + "em"); + } + }); + $("table").each(function() { + $(this).find("tr").each(function(rowIndex) { + $(this).find("th").each(function(colIndex) { + if (rowIndex === 0) { + // 第一列的 th,適用於該欄 + $(this).attr("scope", "col"); + } else if (colIndex === 0) { + // 其他列的第一個 th,適用於該行 + $(this).attr("scope", "row"); + } + }); + }); + }); + $(".banner-pager button").addClass('banner-pagerbtn'); + $(".banner-pager button").attr("type","button"); + $(".banner-pager button").append('下一張'); + $("button").attr("role", "button"); + $("select").attr("title","選擇類別"); + $(".jarallax-video-audio").attr("role", "button"); + $('button').each(function() { + var $this = $(this); + if (!$this.attr('title') || $this.attr('title').trim() === '') { + $this.attr('title', '按鈕'); + } + }); + $('img').each(function() { + var $this = $(this); + if (!$this.attr('alt') || $this.attr('alt').trim() === '') { + $this.attr('alt', '這是一張圖片'); + } + }); + $('img').each(function() { + var $this = $(this); + if (!$this.attr('title') || $this.attr('title').trim() === '') { + $this.attr('title', '這是一張圖片'); + } + }); + $(".w-annc__img-wrap a").each(function () { + var $this = $(this); + // 確保 內沒有文字節點 (避免重複添加) + if ($this.text().trim() === "") { + $this.append('公告圖片'); + } + }); + $(".widget-link__widget-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('公告標題'); + } + }); + $(".sitemenu-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('次選單'); + } + }); + $(".annc-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('內頁公告標題'); + } + }); + $(".event-annc-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('內頁活動公告標題'); + } + }); + $(".show-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('內頁活動公告標題'); + } + }); + $(".w-annc__widget-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('公告標題'); + } + }); + $(".widget-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('網路資源標題'); + } + }); + $(".widget-title").each(function () { + if ($(this).text().trim() === "") { + $(this).append('網路資源標題'); + } + }); + $('input').each(function() { + var $this = $(this); + if (!$this.attr('title') || $this.attr('title').trim() === '') { + $this.attr('title', '網內搜尋'); + } + }); + $('.rucaptcha-image').each(function() { + var $button = $(this).next('button'); // 取得緊接在 .rucaptcha-image 之後的 button + if ($button.length && !$button.attr('aria-label')) { + $button.attr('aria-label', '播放驗證碼語音'); + } + }); + // 幫有連結目的之所有a標籤加上aria-label + $('a').each(function() { + var $this = $(this); + + // 如果 已經有 aria-label,則跳過 + if ($this.attr('aria-label')) return; + + var href = $this.attr('href'); + if (!href) return; // 如果沒有 href,則跳過 + + var ariaLabel = ""; + + // 加入開啟方式 + if ($this.attr('target') === '_self') { + ariaLabel += '在本視窗開啟 '; + } else if ($this.attr('target') === '_blank') { + ariaLabel += '在新視窗開啟 '; + } + + // 取得 的文字內容 + var linkText = $this.text().trim(); + if (linkText) { + ariaLabel += linkText; + } else if ($this.children('span').length === 1) { + ariaLabel += $this.children('span').text().trim(); + } + // 如果包含 圖示,標示為 icon + if ($this.find('i').length) { + ariaLabel = "這是 icon"; + } + + // 如果是圖片連結,標示為照片 + if ($this.find('img').length) { + ariaLabel = "這是一張照片"; + } + + // 設定 aria-label + if (ariaLabel) { + $this.attr('aria-label', ariaLabel); + } + }); + // 幫有連結目的之所有a標籤加上title - for(var i=0;i<$('a').length;i++){ - if($('a').eq(i).attr("href") != "" || $('a').eq(i).attr("href") != undefined ){ - var titlestr=""; - if($('a').eq(i).attr('target')=='_self') - titlestr += '在本視窗開啟 '; - else if($('a').eq(i).attr('target') == '_blank') - titlestr += '在新視窗開啟 '; - if($('a').eq(i).attr('title') == "" || $('a').eq(i).attr('title')==undefined && $('a').eq(i).html().search('span').length==1) - titlestr += $('a').eq(i).find('>span').html().trim(); - else if($('a').eq(i).attr('title') == "" || $('a').eq(i).attr('title') == undefined){ - try{ - if($('a').eq(i).html().trim().split('>').length==2) - titlestr += $('a').eq(i).html().trim().split('>')[1].trim(); - else if($('a').eq(i).html().trim().split('>').length==3) - titlestr += $('a').eq(i).html().trim().split('>')[2].trim(); - }catch(e){}; - } - else - titlestr += $('a').eq(i).attr('title'); - if(titlestr.search(' 已經有 title 屬性,則不進行修改 + if ($this.attr('title')) return; + var titlestr = ""; + // 加入開啟方式 + if ($this.attr('target') == '_self') { + titlestr += '在本視窗開啟 '; + } else if ($this.attr('target') == '_blank') { + titlestr += '在新視窗開啟 '; + } + // 決定 title 內容 + var linkText = $this.text().trim(); + if (linkText) { + titlestr += linkText; + } else if ($this.children('span').length == 1) { + titlestr += $this.children('span').text().trim(); + } + // 如果是圖片連結,標示為照片 + if ($this.find('img').length) { + titlestr = "這是一張照片"; + } + // 設定 title + if (titlestr) { + $this.attr('title', titlestr); + } + }); + + // for(var i=0;i<$('a').length;i++){ + // if($('a').eq(i).attr("href") != "" || $('a').eq(i).attr("href") != undefined ){ + // var titlestr=""; + // if($('a').eq(i).attr('target')=='_self') + // titlestr += '在本視窗開啟 '; + // else if($('a').eq(i).attr('target') == '_blank') + // titlestr += '在新視窗開啟 '; + // if($('a').eq(i).attr('title') == "" || $('a').eq(i).attr('title')==undefined && $('a').eq(i).html().search('span').length==1) + // titlestr += $('a').eq(i).find('>span').html().trim(); + // else if($('a').eq(i).attr('title') == "" || $('a').eq(i).attr('title') == undefined){ + // try{ + // if($('a').eq(i).html().trim().split('>').length==2) + // titlestr += $('a').eq(i).html().trim().split('>')[1].trim(); + // else if($('a').eq(i).html().trim().split('>').length==3) + // titlestr += $('a').eq(i).html().trim().split('>')[2].trim(); + // }catch(e){}; + // } + // else + // titlestr += $('a').eq(i).attr('title'); + // if(titlestr.search('=0;i--) - if($('dd a.i-archive-files-item').eq(i).html().trim()=="") - $('dd a.i-archive-files-item').eq(i).parent('dd').remove(); + for(var i=0;i<$('.w-ba-banner__slide a').length;i++){ + if($('.w-ba-banner__slide a').eq(i).attr('href')=="") + $('.w-ba-banner__slide a').eq(i).removeAttr('href'); + if($('.w-ba-banner__slide a').eq(i).attr('target') == "") + $('.w-ba-banner__slide a').eq(i).removeAttr('target'); + }; + // 幫無標題之iframe加上title + for(var i=0;i<$('iframe').length;i++) + if($('iframe').eq(i).attr('title')=="" || $('iframe').eq(i).attr('title')== undefined ){ + if($('iframe').eq(i).attr('src').search('facebook') != -1 ) + $('iframe').eq(i).attr('title','facebook'); + else if($('iframe').eq(i).attr('src').search('google') != -1 ) + $('iframe').eq(i).attr('title','google'); + else if($('iframe').eq(i).attr('src').search('youtube') != -1 ) + $('iframe').eq(i).attr('title','youtube'); + else if($('iframe').eq(i).attr('src').search('twitframe') != -1 ) + $('iframe').eq(i).attr('title','twitter'); + else + $('iframe').eq(i).attr('title','unknown'); + }; + //button是空的就加上內容 + $('button').each(function() { + var $this = $(this); + var titleText = $this.attr('title') || ''; + + // 檢查 button 是否是空的(沒有可見文字或子元素) + if ($this.text().trim() === '' && !$this.children().length && titleText) { + // 新增隱藏的 span,內容為 title + $this.append('' + titleText + ''); + } + }); + // 刪除空的檔案室 + var archievelen = $('dd a.i-archive-files-item').length; + for(i=archievelen-1;i>=0;i--) + if($('dd a.i-archive-files-item').eq(i).html().trim()=="") + $('dd a.i-archive-files-item').eq(i).parent('dd').remove(); // 刪除具有空連結欄位的橫列 - for(var i = 0;i < $('*[data-list] tr td a').length ; i++) - if($('*[data-list] tr td a').eq(i).html().trim()=="") - $('*[data-list] tr td a').eq(i).parent('td').parent('tr').remove(); - // tab按鍵選到menu,會顯示下層的menu(為了符合無障礙) - $('.nav-level-0>li>a').focus(function(e) { + for(var i = 0;i < $('*[data-list] tr td a').length ; i++) + if($('*[data-list] tr td a').eq(i).html().trim()=="") + $('*[data-list] tr td a').eq(i).parent('td').parent('tr').remove(); + // tab按鍵選到menu,會顯示下層的menu(為了符合無障礙) + $('.nav-level-0>li>a').focus(function(e) { e.stopPropagation(); - $(this).parent().focus(); + $(this).parent().focus(); if ($(this).parent().find('.nav-level-1').hasClass('show')) { } else { $('.nav-level-1').removeClass('show'); $(this).parent().find('.nav-level-1').addClass('show'); } }); - $('.nav-level-1>li>a').focus(function(e) { - e.stopPropagation(); - if ($(this).parent().find('.nav-level-2').hasClass('show')) { - }else{ - $('.nav-level-2').removeClass('show'); - $(this).parent().find('.nav-level-2').addClass('show'); - } - }); - $('show').parent('li').focus(); + $('.nav-level-1>li>a').focus(function(e) { + e.stopPropagation(); + if ($(this).parent().find('.nav-level-2').hasClass('show')) { + }else{ + $('.nav-level-2').removeClass('show'); + $(this).parent().find('.nav-level-2').addClass('show'); + } + }); + $('show').parent('li').focus(); } forFreeGo(); @@ -549,9 +810,9 @@ //header banner setting if ( location.href.search('editmode=on') != -1 ) { - $('.header-banner').css('z-index','2'); - } else { - $('.header-banner').css({ + $('.header-banner').css('z-index','2'); + } else { + $('.header-banner').css({ 'position': 'relative', 'top': '0', 'z-index': '-2', @@ -631,19 +892,126 @@ extendPanelWidget(); } +$(document).ready(function () { + if ($(".main-content .video_detail").length > 0) { + $('.videopagenone').css("display","none"); + $('.videopage').css('display', 'block'); + $('.sitemenu').css("display","none"); + $('span img[alt="HD"]').parent().hide(); + $('span img[alt="觀看人數"]').remove(); + $(".video_detail .view_info span").each(function () { + var text = $(this).text().trim(); // 取得 裡的文字,去掉前後空格 + var number = text.replace(/\D/g, ""); // 只保留數字部分 + if (number) { + $(this).text(`・觀看次數:${number}次`); // 更新內容格式 + } + }); + $(".movie_desc").before('

單元介紹

'); + $(".movie_desc").each(function () { + var decodedHtml = $("
- +
    "> "> diff --git a/modules/ad_banner/_ad_banner_widget3.html.erb b/modules/ad_banner/_ad_banner_widget3.html.erb index f2618ed..005de15 100644 --- a/modules/ad_banner/_ad_banner_widget3.html.erb +++ b/modules/ad_banner/_ad_banner_widget3.html.erb @@ -27,7 +27,10 @@ - +
      diff --git a/modules/ad_banner/_ad_banner_widget5.html.erb b/modules/ad_banner/_ad_banner_widget5.html.erb index a64c20d..ecc06bb 100644 --- a/modules/ad_banner/_ad_banner_widget5.html.erb +++ b/modules/ad_banner/_ad_banner_widget5.html.erb @@ -34,7 +34,10 @@ - +
        diff --git a/modules/ad_banner/_ad_banner_widget6.html .erb b/modules/ad_banner/_ad_banner_widget6.html .erb index c42a9f4..96dbcf0 100644 --- a/modules/ad_banner/_ad_banner_widget6.html .erb +++ b/modules/ad_banner/_ad_banner_widget6.html .erb @@ -32,7 +32,10 @@ - +
          diff --git a/modules/ad_banner/_ad_banner_widget7.html.erb b/modules/ad_banner/_ad_banner_widget7.html.erb index 91bfaed..d4449b9 100644 --- a/modules/ad_banner/_ad_banner_widget7.html.erb +++ b/modules/ad_banner/_ad_banner_widget7.html.erb @@ -32,7 +32,10 @@ - +
            "> "> @@ -69,13 +72,6 @@ .w-ba-banner .controlplay{ width: auto; } - .w-ba-banner .button-mid{ - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; - } .next-button,.prev-button{ cursor: pointer; } diff --git a/modules/ad_banner/_ad_banner_widget8_video.html.erb b/modules/ad_banner/_ad_banner_widget8_video.html.erb index d7b2f79..aace0fb 100644 --- a/modules/ad_banner/_ad_banner_widget8_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget8_video.html.erb @@ -29,7 +29,10 @@
            - +
              "> "> diff --git a/modules/announcement/_annc_widget1.html.erb b/modules/announcement/_annc_widget1.html.erb index 9301bdf..37a44d2 100644 --- a/modules/announcement/_annc_widget1.html.erb +++ b/modules/announcement/_annc_widget1.html.erb @@ -6,7 +6,7 @@
            • diff --git a/modules/announcement/_annc_widget15.html.erb b/modules/announcement/_annc_widget15.html.erb index 29333cc..b0b0939 100644 --- a/modules/announcement/_annc_widget15.html.erb +++ b/modules/announcement/_annc_widget15.html.erb @@ -26,7 +26,7 @@ data-cycle-slides=".w-annc__item" >
            • - + {{img_description}}
              diff --git a/modules/announcement/_annc_widget16.html.erb b/modules/announcement/_annc_widget16.html.erb index c72fa98..fdbd314 100644 --- a/modules/announcement/_annc_widget16.html.erb +++ b/modules/announcement/_annc_widget16.html.erb @@ -5,8 +5,8 @@ diff --git a/modules/announcement/_annc_widget18.html.erb b/modules/announcement/_annc_widget18.html.erb index 5289549..fc7c154 100644 --- a/modules/announcement/_annc_widget18.html.erb +++ b/modules/announcement/_annc_widget18.html.erb @@ -6,11 +6,11 @@ <%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %>
                -
              • +
              • diff --git a/modules/announcement/_annc_widget19.html.erb b/modules/announcement/_annc_widget19.html.erb index 1fc8ade..cfd29dd 100644 --- a/modules/announcement/_annc_widget19.html.erb +++ b/modules/announcement/_annc_widget19.html.erb @@ -26,7 +26,7 @@ data-cycle-slides=".w-annc__item" >
              • - +
                {{status}} diff --git a/modules/announcement/_annc_widget2.html.erb b/modules/announcement/_annc_widget2.html.erb index 33dc4f4..fcd093f 100644 --- a/modules/announcement/_annc_widget2.html.erb +++ b/modules/announcement/_annc_widget2.html.erb @@ -5,7 +5,7 @@
                • diff --git a/modules/announcement/_annc_widget20.html.erb b/modules/announcement/_annc_widget20.html.erb index 88000ed..dbb32c2 100644 --- a/modules/announcement/_annc_widget20.html.erb +++ b/modules/announcement/_annc_widget20.html.erb @@ -8,7 +8,7 @@
                  • - + {{img_description}}
                    diff --git a/modules/announcement/_annc_widget21.html.erb b/modules/announcement/_annc_widget21.html.erb index 090d1a6..80c9b2f 100644 --- a/modules/announcement/_annc_widget21.html.erb +++ b/modules/announcement/_annc_widget21.html.erb @@ -26,7 +26,7 @@ data-cycle-slides=".w-annc__item" >
                  • - + {{img_description}}
                    diff --git a/modules/announcement/_annc_widget23.html.erb b/modules/announcement/_annc_widget23.html.erb new file mode 100644 index 0000000..33e64c3 --- /dev/null +++ b/modules/announcement/_annc_widget23.html.erb @@ -0,0 +1,33 @@ +
                    +

                    + {{widget-title}} +

                    + + +
                    diff --git a/modules/announcement/_annc_widget24.html.erb b/modules/announcement/_annc_widget24.html.erb new file mode 100644 index 0000000..6dc75ab --- /dev/null +++ b/modules/announcement/_annc_widget24.html.erb @@ -0,0 +1,111 @@ +
                    + +
                      +
                    • + +
                      +
                      + + {{status}} + + + + + {{category}} + +
                      +

                      + {{title}} +

                      +

                      {{subtitle}}

                      +
                      +
                    • +
                    +
                    + + diff --git a/modules/announcement/_annc_widget4.html.erb b/modules/announcement/_annc_widget4.html.erb index d9bc928..5fb4743 100644 --- a/modules/announcement/_annc_widget4.html.erb +++ b/modules/announcement/_annc_widget4.html.erb @@ -8,7 +8,7 @@
                    • - + {{img_description}}
                      diff --git a/modules/announcement/annc_index20.html.erb b/modules/announcement/annc_index20.html.erb index 590bae5..26d1d38 100644 --- a/modules/announcement/annc_index20.html.erb +++ b/modules/announcement/annc_index20.html.erb @@ -24,6 +24,12 @@
                    {{pagination_goes_here}} + + \ No newline at end of file diff --git a/modules/announcement/annc_index21.html.erb b/modules/announcement/annc_index21.html.erb index 62a4c5b..2a45524 100644 --- a/modules/announcement/annc_index21.html.erb +++ b/modules/announcement/annc_index21.html.erb @@ -31,7 +31,7 @@ function postdate() { var date = $('.i-annc__postdate'); for (let i=0; i + \ No newline at end of file diff --git a/modules/announcement/info.json b/modules/announcement/info.json index d19b7e6..282a109 100644 --- a/modules/announcement/info.json +++ b/modules/announcement/info.json @@ -346,6 +346,22 @@ "en": "18. 3-Column Standard Image + Text Lite (widget-title, title, subtitle(only display 15 words))" }, "thumbnail": "annc_widget18_thumbs.png" + }, + { + "filename": "annc_widget23", + "name": { + "zh_tw": "23.二四欄圖文型態 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "23. 2-4-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget23_thumbs.png" + }, + { + "filename": "annc_widget24", + "name": { + "zh_tw": "24. 長短兩欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "24. longshort2-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget24_thumbs.png" } ] } diff --git a/modules/announcement/show.html.erb b/modules/announcement/show.html.erb index 1fce32e..8a3b869 100644 --- a/modules/announcement/show.html.erb +++ b/modules/announcement/show.html.erb @@ -19,7 +19,7 @@ }
                    -

                    {{title}}

                    +

                    {{title}}

                    • diff --git a/modules/announcement/thumbs/annc_widget23_thumbs.png b/modules/announcement/thumbs/annc_widget23_thumbs.png new file mode 100644 index 0000000000000000000000000000000000000000..eefe6b235a56d69b70267252f662357bb0595009 GIT binary patch literal 12280 zcmc(lcU)81w#TEWs0i2)kY*V~YE-0y2r3{*kt)4JdheZJ!2$@Q(xi)oUL+(mNkCAL zj-g2cL`vvAp(P}F2j|Tl$2WIo?!E7Q-XG+T!#?}$z1G@m?caCrr#f1y%m+^%1c5-z zH`T7|fW}ejv~((9P>g`T?m6!%T6* z2BF|(g$ap3MYT(@KmEK%Gob6ZPT+yOt4jCKB@T{#hQ;Os1sa7F7N#U@39ipz0cE~6 zg2c|k&ZDk47iTpn2kze;87_XR>+q)sx9pC-Xuqp=DX`O=u5?b^y7MQZ^wb7DV=JWJ z#d?87e5sqj-QAkeNoo*>ZvQ%@K` zS3yeLz|w2qYncksPnjr+9XMN z6oCyokhq)RbJtSVd6Cpx6{3_ZQCT50hZ4HKNkcK}PE`!gFiKI2CcGt!@fM#i?K-A0 z{Nnv<3j2n9kN?+zwO1NF#_VbONi|=Px?Twc;kds>vv_@+RwnRqVqi6Olp1Hk`3kfD=8D*??(`}dPZ1$dEMRp zj88CV>tHNtzT&d~Xgea$TB~pVv2xcDeE*2(Lx$=~|1KJu;nPSuwOYi<&#-Kv+BNhv z_o=QLi!brAlD-BVR|;kp7I=s%CMKqguGv5=w&UcJEr-e_sT0AmEJ23;8zb;KaJ`!5 zD>9~~S%zqzt+-jP(Sw-T;^gc?b8j~*4!^YcQd>@UC+nVywOG^;pRx>ds`=WHtB;5i zEiQhrC?zG)7wwx8!F>c@4e1hAmcBZ&FjOWtOe^j;i-!{ykq>}JM~3`yktIJX zZQEBWJb$1IiXMWnmS~&fh-Is4k|#&JmayD$d#olFsqY~XrAXy{EB1W&)SY&n$*Pis ztjT^FTwy^R%zZx3o)2 zZfRa$BOTv@G+s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t~sPI_!g@?5?T&$_y~vz8v~xy_-@i%xwNqbwNcz?C)(u%c7Y zf--zT)X-N=M%m5c>ZS`S$~Hk>vp9p0HN@FvLhn{px!?hhIRvy_6tQmt-C;)$w$Aw zXhg}(%@sgax&oE$Nks_ZW;Kp6X727RSK>|#78FGl>>nGvH&ICU(+hGNCjtyP(1YgO zdDFh;$!5X>nq8w6e7NoJ2;bU*E#B0zgjz;dB0>xY~&jQ{JHSwYu=k zvk%2}`i*QYJF{$+RQKCw7KsjdG}cXKX`!i0_~Q+n6FcY|4RJ!|N1g)iaVRjtPPqeo zdS&@&aqxO|tpStF^75OyL*VO@JU8}FsTrqyy7nc|rbGN&Xssm8+GrN^lZ4W=RaR{E zK&MLK&Ya<`c|cb-TaiHJsdc+(XOl0l5n^n>~oe` z`;o2^;=OzDUC~bRIfge5*G*tFdbljVoPYU2FbP(ENKW=Rc}`em|xo_x}rijSZRr literal 0 HcmV?d00001 diff --git a/modules/announcement/thumbs/annc_widget24_thumbs.png b/modules/announcement/thumbs/annc_widget24_thumbs.png new file mode 100644 index 0000000000000000000000000000000000000000..8ff5d086ead303320e2a0d87bac74fe2ac994d15 GIT binary patch literal 13396 zcmd^`cU)81+V7)`;>ZBb*r__683d#$y#;J2NKpt85TYV2RB53HN3jDVy@O&X2}Mdk zYQRE~PDlcwNeu)O3`qz9Lhi;n=N-m(?m08}zW1;DM?U#vXYI9DdDinh>-$^#k%gI& z@NTi)AP`9S;)SzUK%niDz=yhPCve5*l?reH^sUbY8$S?8@z~~PTM!By2m&1eT|8@O z6_i066$-lM60EdpUUjQI$w|IUfh(nR^yoJ~$g1AcHuym* z4DJL9c)E#FJ_(GPc0?>cpSeQz?bun{Gqz7GhqY&y%DwaigIyxqWMY(jC!d^XP4XDh z?s-VFP9g@KCq5m+I!E9r?E+#7#ayDsQr*TXQODi(=bwN60R&RU9Z2y8fl`paXo5iB z?0L5hbR_bK2ne+8o7*7Jt|JcxKn5T~37~7cfd1_<*dqvv1pQvrz+E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e8nU;Y<$Xq?gj literal 0 HcmV?d00001 diff --git a/modules/archive/archive_index16.html.erb b/modules/archive/archive_index16.html.erb index 38b02d6..faacba8 100644 --- a/modules/archive/archive_index16.html.erb +++ b/modules/archive/archive_index16.html.erb @@ -40,3 +40,6 @@ }
                + diff --git a/modules/calendar/index.html.erb b/modules/calendar/index.html.erb index 14d7ab8..f6b7688 100644 --- a/modules/calendar/index.html.erb +++ b/modules/calendar/index.html.erb @@ -3,13 +3,13 @@ @@ -18,10 +18,10 @@
                - +
                -
                diff --git a/modules/e_paper/epaper_index1.html.erb b/modules/e_paper/epaper_index1.html.erb index 0c4d026..d8510ab 100644 --- a/modules/e_paper/epaper_index1.html.erb +++ b/modules/e_paper/epaper_index1.html.erb @@ -1,6 +1,6 @@ @@ -13,7 +13,7 @@ {{title}}
                -

                {{title}}

                +

                {{title}}

                {{description}}
                diff --git a/modules/e_paper/epaper_index2.html.erb b/modules/e_paper/epaper_index2.html.erb index 960781e..443132b 100644 --- a/modules/e_paper/epaper_index2.html.erb +++ b/modules/e_paper/epaper_index2.html.erb @@ -1,6 +1,6 @@ @@ -9,14 +9,14 @@ diff --git a/modules/event_news_mod/_event_news_widget1.html.erb b/modules/event_news_mod/_event_news_widget1.html.erb index 9ea150b..23ae321 100644 --- a/modules/event_news_mod/_event_news_widget1.html.erb +++ b/modules/event_news_mod/_event_news_widget1.html.erb @@ -5,7 +5,7 @@
                • diff --git a/modules/event_news_mod/_event_news_widget15.html.erb b/modules/event_news_mod/_event_news_widget15.html.erb index 584095a..1f13ed4 100644 --- a/modules/event_news_mod/_event_news_widget15.html.erb +++ b/modules/event_news_mod/_event_news_widget15.html.erb @@ -1,10 +1,7 @@
                  -
                  -

                  - {{widget-title}} -

                  - <%= t("event_news.more") %> -
                  +

                  + {{widget-title}} +

                +
              • - {{view_count_trans}}>x {{view_count}} + {{view_count}} +
                +
                + + + +
                +
                {{video_duration}}
                +
                {{video_tag}}
                +
                {{video_keyword}}
                +
                {{video_postdate}}
                + +
              + \ No newline at end of file diff --git a/modules/video_pro/_video_pro_widget2.html.erb b/modules/video_pro/_video_pro_widget2.html.erb new file mode 100644 index 0000000..66b0402 --- /dev/null +++ b/modules/video_pro/_video_pro_widget2.html.erb @@ -0,0 +1,59 @@ +
              +

              {{widget-title}}

              + +
              +
              + + \ No newline at end of file diff --git a/modules/video_pro/_video_pro_widget3.html.erb b/modules/video_pro/_video_pro_widget3.html.erb new file mode 100644 index 0000000..85bcf07 --- /dev/null +++ b/modules/video_pro/_video_pro_widget3.html.erb @@ -0,0 +1,129 @@ +
              +

              {{widget-title}}

              +
              + + +
              + +
              + +
              + \ No newline at end of file diff --git a/modules/video_pro/_video_pro_widget4.html.erb b/modules/video_pro/_video_pro_widget4.html.erb new file mode 100644 index 0000000..9f92019 --- /dev/null +++ b/modules/video_pro/_video_pro_widget4.html.erb @@ -0,0 +1,47 @@ +
              +

              {{widget-title}}

              + +
              + +
              + \ No newline at end of file diff --git a/modules/video_pro/_video_pro_widget5.html.erb b/modules/video_pro/_video_pro_widget5.html.erb new file mode 100644 index 0000000..0e1af48 --- /dev/null +++ b/modules/video_pro/_video_pro_widget5.html.erb @@ -0,0 +1,176 @@ +
              +

              {{widget-title}}

              + +
              +
              +
              + \ No newline at end of file diff --git a/modules/video_pro/info.json b/modules/video_pro/info.json index 5c1b39b..c5b202e 100644 --- a/modules/video_pro/info.json +++ b/modules/video_pro/info.json @@ -9,6 +9,42 @@ }, "thumbnail" : "thumb.png" }, + { + "filename" : "video_pro_widget2", + "force_cover": "true", + "name" : { + "zh_tw" : "2. 影片列表2 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "2. Video List 2 ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_widget3", + "force_cover": "true", + "name" : { + "zh_tw" : "3. 影片列表倫波 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "3.carousel-Video List ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_widget4", + "force_cover": "true", + "name" : { + "zh_tw" : "4. 四欄影片列表 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "4. 4col-Video List 1 ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_widget5", + "force_cover": "true", + "name" : { + "zh_tw" : "5. 大圖影片列表倫波 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "5.bigcarousel-Video List ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, { "filename" : "video_pro_widget_jqcloud1", "force_cover": "true", @@ -51,8 +87,8 @@ "filename" : "video_pro_index3", "force_cover": "true", "name" : { - "zh_tw" : "3. 影片列表2 + 懸浮框 ( 縮圖, 影片資訊)", - "en" : "3. Video List 2 + Modal window ( snapshot, video info)" + "zh_tw" : "3. 三欄 影片列表2 + 懸浮框 ( 縮圖, 影片資訊)", + "en" : "3. 3col-Video List 2 + Modal window ( snapshot, video info)" }, "thumbnail" : "thumb.png" }, @@ -60,8 +96,17 @@ "filename" : "video_pro_index_post_agency1", "force_cover": "true", "name" : { - "zh_tw" : "4. 影片列表3 + 發佈單位篩選 ( 縮圖, 影片資訊, 關鍵字, 頁面連結)", - "en" : "4. Video List 3 + Post Agency filter ( snapshot, video info, keyword, page link)" + "zh_tw" : "4. 三欄 影片列表3 + 發佈單位篩選 ( 縮圖, 影片資訊, 關鍵字, 頁面連結)", + "en" : "4. 3col-Video List 3 + Post Agency filter ( snapshot, video info, keyword, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_index4", + "force_cover": "true", + "name" : { + "zh_tw" : "4. 四欄影片列表1 + 類別 + 搜尋 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "4. 4col-Video List 1 + Category filter + Search ( snapshot, video info, page link)" }, "thumbnail" : "thumb.png" } diff --git a/modules/video_pro/video_pro_index1.html.erb b/modules/video_pro/video_pro_index1.html.erb index ae360f4..b48457f 100644 --- a/modules/video_pro/video_pro_index1.html.erb +++ b/modules/video_pro/video_pro_index1.html.erb @@ -3,17 +3,17 @@
              {{pagination_goes_here}} diff --git a/modules/video_pro/video_pro_index2.html.erb b/modules/video_pro/video_pro_index2.html.erb index 66259ac..d659050 100644 --- a/modules/video_pro/video_pro_index2.html.erb +++ b/modules/video_pro/video_pro_index2.html.erb @@ -46,13 +46,7 @@ } .video_data{ margin-bottom: 1em; - padding: 0 0.5em; - .video_link{ - background: #f3f3f3; - position: relative; - display: block; - padding: 1em; - } + padding: 0 0.5em; } .video_info { margin: 1em 0; diff --git a/modules/video_pro/video_pro_index2_tag.html.erb b/modules/video_pro/video_pro_index2_tag.html.erb index 8ba705f..0d0e6bc 100644 --- a/modules/video_pro/video_pro_index2_tag.html.erb +++ b/modules/video_pro/video_pro_index2_tag.html.erb @@ -47,12 +47,6 @@ .video_data{ padding: 0 0.5em; margin-bottom: 1em; - .video_link{ - background: #f3f3f3; - position: relative; - display: block; - padding: 1em; - } } .video_info { margin: 1em 0; diff --git a/modules/video_pro/video_pro_index3.html.erb b/modules/video_pro/video_pro_index3.html.erb index 83bdd65..948b9fd 100644 --- a/modules/video_pro/video_pro_index3.html.erb +++ b/modules/video_pro/video_pro_index3.html.erb @@ -14,7 +14,7 @@

              {{page-title}}

").html($(this).text()).html(); // 轉換轉義的 HTML + $(this).html(decodedHtml); // 設置為真正的 HTML + }); + $(".video_group_time").each(function () { + var $this = $(this); // 當前 .video_group_time + // 找到對應的 ,並移動到 .video_group_time 內部 + var $q = $this.closest(".imglst_desc").find(".movie_desc q"); + if ($q.length) { + $this.append($q.clone()); // 將 複製並添加到 .video_group_time + $q.remove(); // 移除 .movie_desc 裡的 + } + // 移動 .view_info 到 .video_group_time 的內部 + $this.append($this.siblings(".view_info")); + // 取得內容並移除 "SystemAdmin | " 前綴 + var text = $this.text().trim(); + var newText = text.replace(/^.*\|\s*/, ""); // 移除 "SystemAdmin | " + $this.text(newText); // 更新內容 + $(this).insertBefore($(this).closest(".imglst_desc").siblings("h3")); + }); + + $(".main-content").css({ + "max-width": "920px", + "margin": "auto" + }); + $(".video_box_wrap").css("padding-bottom", "56%"); + $(".video_detail .video_yt_box").insertBefore(".video_detail .video_group_time"); + + }; + function getYouTubeThumbnail() { + var $ytThumb = $(".ytp-cued-thumbnail-overlay-image"); + if ($ytThumb.length) { + var imageUrl = $ytThumb.css("background-image"); + // 檢查背景圖格式:url("https://...") + var urlMatch = imageUrl.match(/url\(["']?(.*?)["']?\)/); + var extractedUrl = urlMatch ? urlMatch[1] : null; + if (extractedUrl) { + // console.log("成功獲取縮圖:", extractedUrl); + $(".background").css("background-image", `url("${extractedUrl}")`); + } else { + // console.log("背景圖格式不對,改用影片 ID 生成縮圖"); + setThumbnailFromVideoId(); + } + } else { + // console.log("找不到 .ytp-cued-thumbnail-overlay-image,改用影片 ID 生成縮圖"); + setThumbnailFromVideoId(); + } + } + function setThumbnailFromVideoId() { + var $iframe = $("iframe[src*='youtube.com/embed']"); + if ($iframe.length) { + var src = $iframe.attr("src"); + var videoIdMatch = src.match(/youtube\.com\/embed\/([^?]+)/); + var videoId = videoIdMatch ? videoIdMatch[1] : null; + if (videoId) { + var fallbackImageUrl = `https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`; + // console.log("透過影片 ID 取得縮圖:", fallbackImageUrl); + $(".background").css("background-image", `url("${fallbackImageUrl}")`); + } + } + } + // 嘗試多次加載 + var interval = setInterval(function () { + if ($(".ytp-cued-thumbnail-overlay-image").length || $("iframe[src*='youtube.com/embed']").length) { + getYouTubeThumbnail(); + clearInterval(interval); + } + }, 1000); + }); + // 當文件物件模型(DOM)載入後,執行init函數 $(document).ready(function() { - - //背景widget設定 - if ( location.href.search('editmode=on') != -1 ) { - $('.background').css('z-index','2'); - $('.background').css('position','relative'); - } else { - $('.background').css('z-index','-1'); - $('.background').css('position','fixed'); - }; - + // 綁定滑動事件 + $(".cycle-slideshow").swipe({ + swipeLeft: function () { + $(this).cycle("next"); // 向左滑動,切換到下一張 + }, + swipeRight: function () { + $(this).cycle("prev"); // 向右滑動,切換到上一張 + }, + threshold: 50, // 滑動靈敏度(數值越小越敏感) + }); + //改變日期格式 + $(".video_group_time").each(function () { + var $this = $(this); + var originalText = $this.text().trim(); + // 把 YYYY-MM-DD 轉換成 M月D日 + var formattedText = originalText.replace(/(\d{4})-(\d{2})-(\d{2})/g, function (match, year, month, day) { + return parseInt(month, 10) + "月" + parseInt(day, 10) + "日"; + }); + // 找到對應的 ,並複製 + var $q = $this.closest(".video_data").find(".video_desc q").clone(); + // 更新內容並加上 + $this.html(formattedText).append($q); + }); + //常用到的js + // $('.').after($('.')); + // $('.').before($('.')); + // $('.').append($('.')); + // if($('.show-announcement').hasClass('show-announcement')) { + // $('.').css('', ''); + // } + $(".mybooking").append(''); + //內頁dattpp移位 $('.i-annc__page-title').after($('.sitemenu-wrap2')); $('.i-archive-title').after($('.sitemenu-wrap2')); $('.page-module-title').after($('.sitemenu-wrap2')); @@ -654,34 +1022,37 @@ extendPanelWidget(); $(".member-data2-tr").before($(".show-member .table-striped > tbody > tr:nth-of-type(4)")); $(".nav-pills").before($(".show-member .table-striped > tbody > tr:last-child")); - //常用到的js - // $('.').after($('.')); - // $('.').before($('.')); - // $('.').append($('.')); - // if($('.show-announcement').hasClass('show-announcement')) { - // $('.').css('', ''); - // } + //檔案室手風琴 + $('.panel-title>.collapsed').click(function(){ + $(this).find('.fa').toggleClass("fa-chevron-down"); + $(this).find('.fa').toggleClass("fa-chevron-up"); + }); + + //背景widget設定 + if ( location.href.search('editmode=on') != -1 ) { + $('.background').css('z-index','2'); + $('.background').css('position','relative'); + } else { + $('.background').css('z-index','-1'); + $('.background').css('position','fixed'); + }; //公告類別顏色 - $(".w-annc .w-annc__category-wrap").each(function() { - var SaveCategory = $(this).find(".w-annc__category").text(); - // console.log(SaveCategory); - $(this).addClass(SaveCategory); - }) - $(".w-annc__item ").each(function() { - var SaveCategory2 = $(this).find(".w-annc__category").text(); - // console.log(SaveCategory); - $(this).addClass(SaveCategory2); - }) + // $(".w-annc .w-annc__category-wrap").each(function() { + // var SaveCategory = $(this).find(".w-annc__category").text(); + // $(this).addClass(SaveCategory); + // }) + // $(".w-annc__item ").each(function() { + // var SaveCategory2 = $(this).find(".w-annc__category").text(); + // $(this).addClass(SaveCategory2); + // }) $(".i-annc__item .i-annc__category-wrap").each(function() { var SaveCategory = $(this).find(".i-annc__category").text(); - // console.log(SaveCategory); $(this).addClass(SaveCategory); }) $(".i-annc__item ").each(function() { var SaveCategory2 = $(this).find(".i-annc__category").text(); - // console.log(SaveCategory); $(this).addClass(SaveCategory2); }) @@ -726,7 +1097,7 @@ extendPanelWidget(); $("nav ul").toggleClass('hidden'); }); $('.morebken').click(function(){ - $('.list-unstyled>li:nth-child(n+16)').slideToggle(); + $('.list-unstyled>li:nth-child(n+5)').slideToggle(); $(".morebken .fa-chevron-down").toggleClass("rotate"); $(".openmorebken").toggleClass("closemorebken"); @@ -741,6 +1112,7 @@ extendPanelWidget(); headerH(); $(window).resize(function() { if ($(window).width() <769) { + $('.modules-menu-level-0').after($('.header-nav')); }else{ $('.outdropdowns').before($('.header-nav')); @@ -770,8 +1142,11 @@ extendPanelWidget(); // $('.outdropdowns').removeClass('navFixed'); /* 移除選單固定效果 */ // } // }); - $('.navbar-brand h2').replaceWith(function () { - return "

" +$(this).html() + "

"; + $('.navbar-brand h2').replaceWith(function() { + return $("

", { + class: this.className, + html: $(this).html() + }); }); $('#search'). attr('title', '另開新視窗'); $(window).scroll(function() { @@ -831,15 +1206,15 @@ extendPanelWidget(); // // //選單 // $(document).ready(function() { // -// //drop down menu -// $(".dropdown-toggle").hover(function() { -// $('.modules-menu-level-1').addClass('display-on'); -// }); -// $(".dropdown-toggle").mouseleave(function() { -// $('.modules-menu-level-1').removeClass('display-on'); -// }); +// //drop down menu +// $(".dropdown-toggle").hover(function() { +// $('.modules-menu-level-1').addClass('display-on'); +// }); +// $(".dropdown-toggle").mouseleave(function() { +// $('.modules-menu-level-1').removeClass('display-on'); +// }); // -// }); +// }); // $(document).ready(function() { // // "use strict"; diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index aec97bb..c9bcac9 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -21,6 +21,7 @@ outline: 0.3125em auto -webkit-focus-ring-color !important; } .layout-header { + z-index: 2; position: relative; margin-bottom: 0; border: none; diff --git a/assets/stylesheets/template/modules/ad_banner.scss b/assets/stylesheets/template/modules/ad_banner.scss index b2bd0c3..2a0f360 100644 --- a/assets/stylesheets/template/modules/ad_banner.scss +++ b/assets/stylesheets/template/modules/ad_banner.scss @@ -14,20 +14,28 @@ iframe{ border: none; } + .jp-video{ + border:0; + } .w-ba-banner { position: relative; height: fit-content !important; - .cursor { cursor: pointer; } + .w-ad-banner__caption{ + @media(max-width:768px){ + h3{ + margin-top: 0; + } + } + } } .w-ba-banner__wrap { width: 100%; max-width: 100%; height: auto; - overflow: hidden; } .w-ba-banner__slide { @@ -55,23 +63,34 @@ iframe{ .banner-pager { @include list-reset; position: absolute; - bottom: 0.5rem; + bottom: 0.5rem!important; z-index: 200; text-align:center; width: 100%; li { - display: inline-block; - height: 3px; - width: 4%; + + // height: 3px; + // width: 4%; + // margin: 0 2px; cursor: pointer; - margin: 0 2px; + display: inline-block; + width:auto!important; } button { - background: hsla(0,0%,100%,.4); - width: 100%; - height: 3px; - border: unset; + // background: hsla(0,0%,100%,.4); + // width: 100%; + // height: 3px; + // border: unset; + background: white !important; + display: inline-block; + margin-right: 0.25em; + width: 0.8em !important; + height: 0.8em !important; + border-radius: 50%; + opacity: .5; + cursor: pointer; + border: 0; } .active-slide button { opacity: 1; @@ -98,7 +117,7 @@ iframe{ position: absolute; right: 1em; top: 3%; - z-index: 99; + z-index:101; a { display: inline-block; margin-right: 0.25em; @@ -147,7 +166,7 @@ ul.button-mid{ top: 50%; position: absolute; transform: translateY(-50%); - z-index: 99; + z-index: 100; &:hover { background: rgba(0,0,0,0.1); @@ -169,7 +188,7 @@ ul.button-mid{ top: 50%; position: absolute; transform: translateY(-50%); - z-index: 99; + z-index: 100; &:hover { background: rgba(0,0,0,0.1); } @@ -215,17 +234,13 @@ ul.button-mid{ } .ad-overlay{ text-align: center; - padding-top: 20%; position: relative; background: none; color: #fff; + z-index: 99; + padding-left: 10%; + padding-right: 10%; // text-shadow: 1px 1px 1px #0000008c; - @media screen and (min-width:$screen-xs) and (max-width:1025px){ - padding-top: 30%; - } - @media(max-width: $screen-xs){ - padding-top: 60%; - } } img{ position: fixed; @@ -270,7 +285,7 @@ ul.button-mid{ } @media(max-width: $screen-xs){ .ad-overlay{ - top: 17%; + top: 35%; position: absolute; } } @@ -367,22 +382,20 @@ ul.button-mid{ } -// specific style for youtube widget -.ba-banner-widget-youtube { - .cycle-slide-active { - z-index: 101 !important; - } -} + //Widget 5 .ba-banner-widget-5 { - background: url(/assets/BANNER-BG-01.jpg) 0 0 no-repeat; - .slide-img { padding: 1rem 1.5rem; } + margin: 1em 0; + .slide-img { + @media(min-width:769px){ + padding: 0; + } + } .slide-content { z-index: 200; font-family: $main-font; - padding-top: 0.5rem; - padding-left: 0; + padding: 1em 7em 1em 1em; h3 { font-size: 1rem; @@ -395,14 +408,9 @@ ul.button-mid{ word-break: break-all; font-size: 1rem; color: #373634; - padding: 0 2em 0.5em 0; } } - .controlplay { display: none; } .banner-pager { - right: 1rem; - top: 0; - width: unset; li { height: unset; width: unset; } a { background: #a0d2f3;} } @@ -473,6 +481,7 @@ ul.button-mid{ display: none; } .banner-overlay { + border-bottom: 3px solid $theme-color-second; text-align: center; width: 100%; visibility: unset !important; @@ -490,8 +499,12 @@ ul.button-mid{ } p{ padding: 0 0.2em; - border-bottom: 3px solid $theme-color-second; - box-shadow: 0px 0px 3px 0px #3333334d; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; } } } diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index a6d5f13..2eb74b1 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -8,12 +8,29 @@ // Announcement widget // ## Gerneral styles for widgets +.VivaTimeline{ + z-index: 1; + position: relative; +} .w-annc__table{ // border: 0.0625em solid #ddd !important; .w-annc__th{ @extend .i-title; } } +.w-annc__status{ + margin-right: 0.5em; + line-height: 1 !important; +} +.w-annc__status-wrap{ + display: flex; +} +.i-annc__status-wrap{ + display: flex; +} +.i-annc__th--date{ + min-width: 6em; +} // .w-annc__th{ // border-bottom:0.0625em solid #ddd!important; // } @@ -217,7 +234,7 @@ padding-bottom: 0; } .w-annc__img-wrap { - height: 12.5em; + height: 13.5em; margin:0; } @@ -251,7 +268,7 @@ padding-bottom: 0; } .w-annc__img-wrap { - height: 12.5em; + height: 13.5em; margin:0; } @@ -336,11 +353,6 @@ background: $theme-color-main; } } - @media(max-width: $screen-xs){ - margin-left: 0!important; - margin-right: 0!important; - width: 100% !important; - } } .w-annc__item{ // @media(min-width: $screen-lg){ @@ -417,9 +429,6 @@ .w-annc__title{ color: #fff; - @media(min-width:1920px){ - font-size: 1.6rem!important; - } } .w-annc__title { font-family: $main-font; @@ -492,8 +501,8 @@ } .w-annc__item{ @media(max-width: $screen-xs){ - margin-left: 0 !important; - margin-right: 0 !important; + // margin-left: 0 !important; + // margin-right: 0 !important; } &:hover{ -webkit-transform: translateY(-6px); @@ -546,16 +555,6 @@ font-size: 1.2em; } } - .w-annc__img-wrap { - img{ - height: 100% !important; - width: auto!important; - max-width: unset; - position: relative !important; - margin: 0 !important; - // transform: translateX(-7%); - } - } .w-annc__item{ padding: 0; margin-right: 0.5em; @@ -677,9 +676,6 @@ .w-annc__title{ color: #fff; - @media(min-width:1920px){ - font-size: 1.6rem!important; - } } .w-annc__title { font-family: $main-font; @@ -746,9 +742,9 @@ width: 356px!important; } @media (max-width: $screen-xs) { - width: 94vw !important; - margin-left: 0 !important; - margin-right: 0 !important; + width: 93.5vw !important; + margin-left: 0 !important; + margin-right: 1em !important; } &:hover{ -webkit-transition: all .3s ease; @@ -814,16 +810,6 @@ font-size: 1.2em; } } - .w-annc__img-wrap { - img{ - height: 100% !important; - width: auto!important; - max-width: unset; - position: relative !important; - margin: 0 !important; - // transform: translateX(-7%); - } - } .w-annc__item{ padding: 0; margin-right: 0.5em; @@ -911,7 +897,7 @@ background-color:#dfdfdf; display: flex; align-items: center; - padding: 0 1em; + padding:0.5em 1em; } h4,p{ padding: 0 1em; @@ -960,11 +946,342 @@ } @media (max-width: 767px) { width: 100%!important; - margin-left: 0; - margin-right: 0; } } } +// Widget-23 +.widget-announcement-23 { + .w-annc__list{ + flex-wrap: wrap; + display: flex; + justify-content: center; + .w-annc__item{ + @media(min-width:769px){ + margin: 0.5em; + width: calc(25% - 1em)!important; + } + } + .w-annc__item:first-child{ + @media(min-width:769px){ + width: calc(50% - 1em)!important; + } + } + .w-annc__item:nth-child(2){ + @media(min-width:769px){ + width: calc(50% - 1em)!important; + } + } + } + .w-annc__more-wrap{ + display: none; + } + + .w-annc__title { + font-family: $main-font; + } + .w-annc__img-wrap { + margin-bottom: 0.5em; + border-radius: 20px; + overflow: hidden; + .w-annc__img{ + width: 100%; + position: relative !important; + } + } + .w-annc__item{ + margin-bottom: 1em; + padding: 0; + background-color: transparent!important; + &:hover{ + .w-annc__img{ + -webkit-transition: .3s ease-out; + -moz-transition: .3s ease-out; + -ms-transition: .3s ease-out; + -o-transition: .3s ease-out; + transition: .3s ease-out; + filter: brightness(40%); + } + } + } + .w-annc__entry-title{ + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + .w-annc__meta{ + padding-top: 1em; + display: none; + } +} +// Widget-24 +.widget-announcement-24 { + .cycle-carousel-wrap{ + display: flex; + align-items: baseline; + } + .w-annc__entry-title{ + margin: 0; + } + .w-annc__meta i{ + color: #fff!important; + } + .w-annc__list{ + display: flex; + justify-content: center; + flex-wrap: wrap; + } + .w-annc__postdate-wrap{ + color: #fff!important; + } + .w-annc__status-wrap{ + color: #fff!important; + } + .w-annc__category-wrap{ + color: #fff!important; + } + + .w-annc__title{ + color: #fff; + } + .w-annc__title { + font-family: $main-font; + } + .w-annc__widget-title { text-align: center; } + .w-annc__more { margin-top: 1.5em; } + .w-annc__list > .w-annc__item:nth-child(3n+1) { + clear: both; + } + + .w-annc__img-wrap { + margin:0; + height: auto; + } + .w-annc__content-wrap{ + padding: 1.5em; + div{ + display: -webkit-box; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-decoration-break: clone; + box-decoration-break: clone; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + } + } + .clearfix{ + // text-align: center; + // display: flex; + // justify-content: center; + } + .w-annc__subtitle { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + .w-annc__content-wrap { + display: inline-block; + &:after { + content: ''; + display: block; + margin-top: 5px; + height: 4px; + width: 0; + background: transparent; + transition: width .5s ease, background-color .5s ease; + } + } + .w-annc__item{ + -webkit-transition: .3s all ease; + -o-transition: .3s all ease; + transition: .3s all ease; + padding-bottom: 1em; + @media (max-width: $screen-xs) { + margin: 0; + } + &:hover{ + -webkit-transition: all .3s ease; + -moz-transition: all .3s ease; + -ms-transition: all .3s ease; + -o-transition: all .3s ease; + transition: all .3s ease; + .w-annc__content-wrap:after{ + width: 100%; + background: #f2f2f2; + } + } + } + .w-annc__item{ + @media(max-width: $screen-xs){ + + } + &:hover{ + -webkit-transform: translateY(-6px); + -ms-transform: translateY(-6px); + transform: translateY(-6px); + + .w-annc__img-wrap{ + box-shadow: 0 12px 24px #0000004d, 0 10px 10px #00000033; + -webkit-box-shadow: 0 12px 24px #0000004d, 0 10px 10px #00000033; + } + img{ + // transform: scale(1.2)!important; + // -webkit-transition: .3s ease-out; + // -moz-transition: .3s ease-out; + // -ms-transition: .3s ease-out; + // -o-transition: .3s ease-out; + // transition: .3s ease-out; + } + .transitionfade{ + height: inherit; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: rgba(0,0,0,.4); + -webkit-transition: .3s ease-out; + -moz-transition: .3s ease-out; + -ms-transition: .3s ease-out; + -o-transition: .3s ease-out; + transition: .3s ease-out; + } + } + } + .w-annc__subtitle{ + color: #fff; + font-size: 1rem; + display: -webkit-box; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-decoration-break: clone; + box-decoration-break: clone; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + max-height: 0; + opacity: 0; + -webkit-transition: max-height .6s,opacity .6s; + transition: max-height .6s,opacity .6s; + @media(min-width:1920px){ + font-size: 1.2em; + } + } + .w-annc__img-wrap { + img{ + // height: 100% !important; + width:100%!important; + @media(max-width:767px){ + } + } + } + .w-annc__item{ + padding: 0; + margin-right: 0.5em; + margin-left: 0.5em; + margin-bottom: 1em; + overflow: hidden; + position: relative !important; + @media(min-width:768px){ + &:nth-child(1){ + width: calc(200% / 3 - 1em)!important; + } + &:nth-child(2){ + width: calc(100% / 3 - 1em)!important; + } + &:nth-child(3){ + width: calc(100% / 3 - 1em)!important; + } + &:nth-child(4){ + width: calc(200% / 3 - 1em)!important; + } + } + @media(max-width:767px){ + + &:nth-child(2){ + width: calc(100% / 2 - 1em) !important; + margin-right: 0.5em; + } + &:nth-child(3){ + width: calc(100% / 2 - 1em) !important; + margin-left: 0.5em; + } + } + + @media(max-width: $screen-xs){ + width: 100% !important; + } + @media(min-width: 1100px){ + height: 22em; + .w-annc__img-wrap{ + height: 22em; + } + } + @media(min-width: 821px)and(max-width: 1100px){ + height: 22em; + .w-annc__img-wrap{ + height: 22em; + } + } + @media(min-width: $screen-xs)and(max-width: 820px){ + height: 15em; + .w-annc__img-wrap{ + height: 15em; + } + } + @media(max-width: $screen-xs){ + height: 10em; + .w-annc__img-wrap{ + height: 10em; + } + } + } + li{ + &:hover{ + .card:before{ + height:100%; + } + .w-annc__subtitle{ + max-height: 100px; + opacity: 1; + } + } + position: relative; + } + .card{ + position: absolute; + z-index:0; + padding: 20px 25px; + bottom: 0; + left: 0; + background-color: transparent; + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(32%, #ffffff00), color-stop(89%, #00000080)); + background-image: linear-gradient( + 180deg + , #ffffff00 32%, #00000080 89%); + width: 100%; + @media(max-width:$screen-xs){ + padding: 10px; + .w-annc__title{ + font-size: medium; + } + } + } + .card:before{ + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 8px; + background-color: $theme-color-second; + z-index: -1; + -webkit-transition: height .6s; + transition: height .6s; + } +} // Widget-5 .widget-announcement-5 { .w-annc__title { @@ -1279,13 +1596,8 @@ .widget-announcement-14 { .w-annc__img-wrap { - height: 18.75em; - margin-bottom: 0.9375em; - - @media (min-width: $screen-md) { - height: 12.5em; margin-bottom: 0; - } + padding: 0; } .w-annc__item { @@ -1329,7 +1641,7 @@ } .w-annc__img-wrap { - height: 17.5em; + height: 15.5em; margin: 0; overflow: hidden; } @@ -1354,9 +1666,9 @@ width: 356px!important; } @media (max-width: $screen-xs) { - width: 94vw !important; + width: 94.5vw !important; margin-left: 0 !important; - margin-right: 0 !important; + margin-right: 1em !important; } } // .cycle-slide{ @@ -1368,6 +1680,9 @@ } //Widget 16 .widget-announcement-16 { + .w-annc__img{ + width: 100%; + } .w-annc__content-wrap{ padding: 1em; } @@ -1382,7 +1697,6 @@ .w-annc__title { font-family: $main-font; } - .w-annc__item { padding: 0; } .w-annc__img-wrap { margin: 0 0 0.5rem 0; } @@ -1428,14 +1742,14 @@ white-space: normal; } .w-annc__entry-title { - height: 2.5em; + height: 2em; } .w-annc__img-wrap { - height: 12.5em; + height: 13.5em; margin:0; overflow: hidden; @media (max-width: $screen-xs) { - height: 12.5em; + height: 13.5em; } } .w-annc__content-wrap{ @@ -1530,6 +1844,9 @@ //widget 19 .widget-announcement-19 { + .w-annc__title{ + white-space: normal; + } .cycle-carousel-wrap{ display: flex; } @@ -1560,7 +1877,7 @@ -webkit-line-clamp: 2; } .w-annc__img-wrap { - height: 12.5em; + height: 13.5em; margin: 0 0 1em 0; overflow: hidden; } @@ -1575,7 +1892,7 @@ margin-left: 0.5em; height: 14em; @media(min-width: $screen-lg){ - width:579px !important; + width:582px !important; } @media(max-width: 1025px)and(min-width: 821px){ width: 30.5vw !important; @@ -1584,8 +1901,10 @@ width: 356px!important; } @media (max-width: $screen-xs) { - width: 90vw!important; - } + width: 89vw !important; + margin-left: 0.5em !important; + margin-right: 0.5em !important; + } } } @@ -1683,7 +2002,7 @@ .i-annc__img-wrap { overflow: hidden; height: 14.5em; - margin: 0 0 1em 0; + margin: 1em 0.5em; @media (max-width:$screen-xs) { height: 7em; } @@ -1719,7 +2038,7 @@ // box-shadow: #0000004d 0 0 4px; // background: #fff; @media(min-width: $screen-xs){ - float: left; + // float: left; } &:hover{ // border: 1px solid $theme-color-second; @@ -1747,13 +2066,15 @@ font-family: $main-font; @extend .i-title; } + .i-annc__status{ + margin-right: 0.5em; + } .i-annc__status-wrap { span { display: inline-block; padding: .2em .6em .3em; &:last-child { - margin: 0 0.3125em 0.1875em 0; display: inline-block; } } @@ -1779,6 +2100,10 @@ display: flex !important; position: relative; align-items: center; + flex-wrap: wrap; + .i-annc__status-wrap{ + width:100% ; + } .i-annc__status-wrap, .i-annc__postdate-wrap, .i-annc__category-wrap { @@ -1870,7 +2195,6 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl .i-annc__status { @extend .i-title; - display: inline-block; } } @@ -1901,7 +2225,6 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl .i-annc__status { @extend .i-title; - display: inline-block; } } @@ -1931,6 +2254,9 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl } // Index-7 .index-announcement-7 { + .i-annc__item{ + border:0; + } .i-annc__list { display: flex; flex-wrap: wrap; @@ -1939,18 +2265,12 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl font-family: $main-font; } .i-annc__list > .i-annc__item { - margin-right: 0.9375em; - width: calc( 100%/3 - 1.5em ); - margin-bottom: 1em; - border-bottom: 0; - @media (max-width:767px) { - width: calc( 100%/2 - 1.25em ); - min-height: unset; - margin: 0; - margin-bottom: 1em; - } + width:calc( 100%/3); @media (max-width: $screen-xs) { width: 100%!important; + min-height: unset; + margin: 0; + margin-bottom: 1em; } } @@ -1958,11 +2278,13 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl clear: both; } - + .i-annc__content-wrap{ + margin: 0.5em; + } .i-annc__img-wrap { overflow: hidden; - height: 12.5em; - margin: 0 0 1em 0; + height: 13.5em; + margin: 1em 0.5em; img { @media (max-width:767px) { transform: scale(1) !important; @@ -1980,12 +2302,9 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl font-family: $main-font; } .i-annc__list > .i-annc__item { - width: calc( 100%/4 - 1.5em ); - margin-bottom: 1em; - margin-right: 0.5em; - margin-left: 0.5em; + width: calc( 100%/4); @media (max-width:767px) { - width: calc( 100%/2 - 1.25em ); + width: calc( 100%/2); min-height: unset; margin: 0; margin-bottom: 1em; @@ -2002,8 +2321,8 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl .i-annc__img-wrap { overflow: hidden; - height: 12.5em; - margin: 0 0 1em 0; + height: 13.5em; + margin: 1em 0.5em; img { @media (max-width:767px) { transform: scale(1) !important; @@ -2250,7 +2569,6 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl .i-annc__status { @extend .i-title; - display: inline-block; } } // Index-21 @@ -2740,7 +3058,7 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl .i-annc__img-wrap { overflow: hidden; height: 14.5em; - margin: 0 0 1em 0; + margin: 1em 0.5em; @media (max-width:$screen-xs) { height: 7em; } @@ -2760,223 +3078,3 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl padding: 0; } } -.video_data-widget-1{ - .video_info{ - margin:0.5em 0; - } -} -.video_title { - clear: both; -} -.video_data{ - list-style: none; -} -.video_tag{ - display: flex; - float: left; -} -.view_info{ - margin-bottom: 1em; -} -.video_group_time{ - clear: both; -} -.video_group_time{ - color: $theme-color-main!important; -} -.video_tag{ - color: #fff!important; - background: #626262; - padding: 4px 8px; - border-radius: 5px; - margin: 0.5em 0.5em 0.5em 0; -} -.video_title { - clear: both; - height: 3em; -} -.video_data_wrap{ - padding-right: 0.4375em; - padding-left: 0.4375em; -} -.imglst_desc{ - margin: 1em 0; -} -.category_box { - padding: 0; - border: 1px solid #6868688f; - border-radius: 0.5em 0 0 0.5em; - overflow: hidden; -} -.search_box{ - padding: 0; - border-radius: 0 0.5em 0.5em 0; - overflow: hidden; - border: 1px solid #6868688f; -} -.video_linkwrapper{ - position:relative; - height: 12em; - overflow:hidden; - width: 100%; - border-radius: 1em; - img{ - transform:scale(1.3) translatey(-6px); - width: 100%; - } - @media(max-width: 1025px)and(min-width: 821px){ - height: 11.5em; - img{ - transform:scale(1.6) translatey(-3px); - } - } - @media(max-width: 821px)and(min-width: 769px){ - height:8em; - img{ - transform:scale(1.6) translatey(-3px); - } - } - @media(max-width:768px)and(min-width: 600px){ - height: 22.5em; - img{ - transform:scale(1.3) translatey(-45px); - width: 100%; - } - } -} -.video_desc { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - text-overflow: ellipsis; - white-space: normal; - padding-bottom: 0; - @media(min-width: 769px){ - height: 3em; - } - -} - -.video_linkwrapper2{ - position:relative; - height: 17.5em; - overflow:hidden; - width: 100%; - border-radius: 1em; - img{ - transform:scale(1.3) translatey(-41px); - width: 100%; - } - @media(max-width: 1025px)and(min-width: 821px){ - height:16.5em; - img{ - transform:scale(1.3) translatey(-8px); - } - } - @media(max-width: 821px)and(min-width: 769px){ - height:11.5em; - img{ - transform:scale(1.3) translatey(-13px); - } - } - @media(max-width:768px)and(min-width: 600px){ - height: 22.5em; - img{ - transform:scale(1.3) translatey(-48px); - width: 100%; - } - } - @media(max-width: $screen-xs){ - height: 12.5em; - img{ - transform:scale(1.3) translatey(-22px); - width: 100%; - } - } -} -.video_linkwrapper3{ - position:relative; - height: 12em; - overflow:hidden; - img{ - transform:scale(1.6) translatey(5px); - } - @media(max-width: 1025px)and(min-width: 821px){ - height:9.5em; - img{ - transform:scale(1.6) translatey(6px); - } - } - @media(max-width: 821px)and(min-width: 769px){ - height:7.5em; - img{ - transform:scale(1.6) translatey(6px); - } - } - @media(max-width:768px)and(min-width: 600px){ - height: 22.5em; - img{ - transform:scale(1.3) translatey(-48px); - width: 100%; - } - } - @media(max-width: $screen-xs){ - height: 12.5em; - img{ - transform:scale(1.3) translatey(-3px); - width: 100%; - } - } -} -.video_data{ - @media(max-width: 768px){ - width: 100%; - } -} -.video_data:hover, .video_data.hover-class{ - @media(min-width: 1025px){ - .video_snapshot{ - box-shadow: 4px 4px 5px 1px rgba(0, 0, 0, 0.3); - -webkit-transform: scale(1.35) translateY(-6px); - -ms-transform: scale(1.35) translateY(-6px); - transform: scale(1.35) translateY(-6px); - -webkit-transition: all .3s ease; - -moz-transition: all .3s ease; - -ms-transition: all .3s ease; - -o-transition: all .3s ease; - transition: all .3s ease; - } - .video_linkwrapper3{ - .video_snapshot{ - -webkit-transform: scale(1.95) translateY(-6px)!important; - -ms-transform: scale(1.95) translateY(-6px)!important; - transform: scale(1.95) translateY(-6px)!important; - } - } - } -} -.index-publications-3{ - @media(min-width:$screen-xs){ - .i-annc__img{ - width: auto; - max-width: unset; - height: 20em; - } - } -} -.index-publications-3 .i-annc__img-wrap{ - overflow: hidden; - margin: 0 0 1em 0; - text-align: center; -} -// .index-publications-3 .i-annc__content-wrap{ -// height: 6em; -// } -.wordcloud2{ - span{ - font-size: 1.5em !important; - height: 2em !important; - position: relative !important; - } -} diff --git a/assets/stylesheets/template/modules/archives.scss b/assets/stylesheets/template/modules/archives.scss index b29069d..8f823f5 100644 --- a/assets/stylesheets/template/modules/archives.scss +++ b/assets/stylesheets/template/modules/archives.scss @@ -550,6 +550,7 @@ font-family: $main-font; display: flex; flex-wrap: wrap; + align-items:center; a { @media(min-width: 769px){ max-width: 80%; diff --git a/assets/stylesheets/template/modules/calendar.scss b/assets/stylesheets/template/modules/calendar.scss index af7ff62..2957fd1 100644 --- a/assets/stylesheets/template/modules/calendar.scss +++ b/assets/stylesheets/template/modules/calendar.scss @@ -1,17 +1,7 @@ @charset "utf-8"; @import "../initial"; -.widget-calendar-2{ - .w-calendar-title{ - background:$theme-color-second!important; - } - .day{ - color:$theme-color-second!important; - } - .w-calendar-toggle div{ - background:$theme-color-second!important; - } -} + .w-calendar { width: 100%; position: relative; @@ -66,7 +56,10 @@ } } #orbit_calendar{ + position: relative; + margin-top: 1em; width: 100%!important; + z-index: 0; table th{ background-color: #fff; color: #333; @@ -82,22 +75,95 @@ .fc-daygrid-event-dot{ display: none!important; } + .fc-daygrid-event-harness{ .mybooking{ - background-color:#ff7a00 !important; - color: #fff !important; - border:0!important; - .fc-event-main{ - color: #333 !important; - } + box-shadow: 0 1px 2px 1px #000000; + // background-color:#ff7a00 !important; + // color: #fff !important; + // border:0!important; + // .fc-event-time,.fc-event-title-container{ + // color: #fff !important; + // } + // .fc-event-main-frame{ + // color: #fff !important; + // } } } .fc .fc-daygrid-event{ margin-top: 4px; } +.fc-timegrid-event-harness{ + .mybooking{ + box-shadow: 0 1px 2px 1px #000000; + // background-color:#ff7a00 !important; + // border:0!important; + // .fc-event-main-frame{ + // color: #fff !important; + // } + } +} +.fc-timegrid-slot-label-cushion{ + font-size:small; +} +.fc .fc-timegrid-slot-label{ + border:0; +} +.fc .fc-timegrid-slot{ + height: 0.5em !important; +} +.fc-direction-ltr .fc-timegrid-slot-label-frame{ + text-align:center!important; +} +.fc .fc-timegrid-axis-cushion, .fc .fc-timegrid-slot-label-cushion{ + padding: 0; +} +.fc .fc-timegrid-axis-frame{ + justify-content: center!important; +} +// .fc-timeGridWeek-view{ +// .fc-event-time{ +// display: none; +// } +// } + .fc-v-event .fc-event-main-frame{ + padding: 5px; + color: #fff; + } + // .fc-timeGridWeek-view{ + // .fc-scrollgrid-sync-table{ + // display: none; + // } + // } + // td.fc-timegrid-axis.fc-scrollgrid-shrink{ + // display: none; + // } +// .fc .fc-timegrid-axis-frame{ +// display: none; +// } + // .fc .fc-timegrid-slot-label{ + // display: none; + // } + +.fc-timegrid-event-harness{ + position:relative!important; + inset: unset !important; +} +.fc-timegrid-event-harness > .fc-timegrid-event{ + position:relative!important; + inset: unset !important; + width: 100%; + border: 0; +} +#hire_form label.col-sm-4.control-label{ + @media(max-width: $screen-xs){ + padding-left:0.9375em!important; + } +} .modal-content{ box-shadow: 0 24px 38px 3px #00000024, 0 9px 46px 8px #0000001f, 0 11px 15px -7px #00000033; border-radius: 8px; + behavior: url("/assets/ie_support/PIE2/PIE.htc"); border: 0; } .fc .fc-daygrid-day.fc-day-today{ @@ -106,6 +172,8 @@ color: #fff; background-color: #858585; border-radius: 0.65em; + min-width: 2em; + text-align: center; } } .calendar-modal .event_summary{ @@ -120,18 +188,18 @@ } .fc .fc-daygrid-day-number{ margin-top: 0.3em; + color: inherit; +} +.fc .fc-col-header-cell-cushion{ + color: inherit; } .fc-daygrid-dot-event{ display:block !important; } .fc-daygrid-event-harness .fc-daygrid-event{ - background-color: #d3d3d3; - font-size: 1em; padding: 5px; } -.fc .fc-daygrid-more-link{ - font-size: 1em; -} + .fc-timegrid-axis{ min-width: 10em; } @@ -146,7 +214,7 @@ @media(max-width: 768px){ white-space: normal; text-align: justify; - font-size: xx-small; + font-size: small; display: unset !important; padding: 0 !important; } @@ -168,16 +236,9 @@ .fc-daygrid-day-number{ font-size: small; } - // .form-group{ - // .col-sm-4{ - // float: left; - // width: 33.33333333%; - // } - // .col-sm-8{ - // float: left; - // width: 66.66666667%; - // } - // } +} +.has_event{ + background-color: $theme-color-second!important; } .createbooking{ cursor: pointer; @@ -195,92 +256,28 @@ height: 2em; position: relative; border-radius: 2em; + behavior: url("/assets/ie_support/PIE2/PIE.htc"); display: block; border: 1px solid #fff; } position: absolute; top: 5em; right: 103%; - // padding-left: 0.65em; - // a{ - // margin-top: -5.2em; - // margin-left: 5em; - // z-index: 100; - // position: relative; - // } @media(max-width:820px){ display: none!important; } } -#hire_form{ - @media(min-width: 821px){ - min-width: 500px; - height:-webkit-fill-available; - transform: translateX(100%); - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; - -webkit-transition-duration: .35s; - -o-transition-duration: .35s; - transition-duration: .35s; - -webkit-transition-property: transform; - -o-transition-property: transform; - transition-property: transform; - position: relative; - float: right; - display: none; - z-index: 999; - - .form-group{ - margin-bottom: 0.5em; - } +.form-horizontal{ + @media(min-width:769px){ + margin: auto; + width: 60%; } +} .control-label{ @media(max-width: 820px){ padding-left:0.9375em!important; } } - // #pick_start_date{ - // @media(min-width: 821px){ - // margin-left: 0!important; - // margin-top: 1em; - // } - // } - // #pick_end_date{ - // @media(min-width: 821px){ - // margin-left: 0!important; - // margin-top: 1em; - // } - // } - -} -.hire-ken-click2{ - padding-top: 4em; - top: 0; - background: #fff; - right: 0; - width: 40%; - transform: translateX(0%)!important; - display:block!important; -} -.shadowblock{ - overflow-y: scroll !important; - padding: 0; - position: fixed; - background: #333333b8; - width: 100%; - height: -webkit-fill-available; - top: 0; - z-index: 999; - left: 0; - #hire_form{ - @media(min-width: 821px){ - max-width: 580px; - padding-right: 2em; - padding-left: 2em; - } - } -} .fc-popover-header{ padding: 6px 12px!important; .fc-popover-close{ @@ -304,3 +301,281 @@ .fc .fc-timegrid-slot-minor{ border-top: 0; } +.fc-view-harness{ + height: auto!important; +} +.fc-timeGridDay-view{ + position: relative!important; + span.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner{ + display: none; + } + .fc-timegrid-axis-frame{ + display: none; + } + .fc-scrollgrid-section-liquid{ + display: none; + } + .fc-timegrid-slot{ + border:0!important; + } + .fc-timegrid-slot:empty:before{ + position: absolute; + } + .fc-scroller-liquid-absolute{ + position: relative!important; + @media(min-width:$screen-xs){ + overflow: unset !important; + } + } + .fc-daygrid-day-frame{ + @media(min-width: $screen-xs){ + min-height: 7em!important; + } + @media(max-width: $screen-xs){ + min-height:24em !important; + } + } + .fc-scrollgrid-section-liquid{ + display: none!important; + } + span.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner{ + display: none; + } + .fc-timegrid-axis-frame{ + display: none; + } + th.fc-timegrid-axis{ + display: none; + } + td.fc-timegrid-axis.fc-scrollgrid-shrink{ + display: none; + } +} +.fc-timeGridWeek-view{ +/* table th{ + display: table-cell; + }*/ +/* .fc-col-header { + display: none; + }*/ +/* .fc-timegrid-axis{ + display: none; + }*/ + .fc-daygrid-day-frame{ + @media(min-width: $screen-xs){ + min-height: 7em!important; + } + @media(max-width: $screen-xs){ + min-height:24em !important; + } + } + .fc-event-title{ + @media(max-width: $screen-xs){ + -webkit-line-clamp: 4!important; + } + } +/* span.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner{ + display: none; + }*/ +/* .fc-timegrid-axis-frame{ + display: none; + }*/ + .fc-scrollgrid-section-liquid{ + display: none!important; + } + position: relative!important; + .fc-timegrid-slot{ + border:0!important; + } + .fc-timegrid-slot:empty:before{ + position: absolute; + } + .fc-scroller-liquid-absolute{ + position: relative!important; + @media(min-width:$screen-xs){ + overflow: unset !important; + } + } +.fc-timegrid-slot:empty:before{ + // @media(max-width: $screen-xs){ + height: 0.8em; + position: relative; + display: block; + // } + } +} +.fc-dayGridMonth-view{ + position: relative!important; + .fc-scroller-liquid-absolute{ + position: relative!important; + } + .fc-scrollgrid-sync-table{ + height: 600px!important; + } +} +.ui-widget-header{ + background: #000000!important; + border-color: #000000!important; + color: #fff !important; +} +.ui-state-default{ + background: #fff !important; + border: 0 !important; + text-align: center !important; +} +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{ + border: 0 !important; + background: silver !important; +} +.ui-widget-header a{ + color: #fff!important; +} +.ui-widget-header .ui-icon{ + filter: brightness(500%); +} +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover, .ui-button.ui-state-active.hover-class{ + border: 0 !important; + background: silver !important; + color:#000!important; +} +.hidden_timepickerbtn{ + margin-left:0.5em; + @media(max-width:$screen-xs){ + margin-left: 0; + margin-top: 0.5em; + } + +} +#confirm_date{ + background: #000000; + border-color: #000000; + &:hover{ + opacity: .8; + } +} +#cancel_date{ + background: #000000; + border-color: #000000; + &:hover{ + opacity: .8; + } +} + #hidden_timepicker{ + background: #f1f1f1; + padding: 1.2em 0 0 0; + border-radius: 0.5em; + + } + .hidden_timepicker{ + display: flex; + justify-content: center; + align-items: center; + @media(max-width:$screen-xs){ + display: grid; + padding: 0 1em; + justify-content: flex-start; + } + } + .property_title{ + font-size: 1.2em; + font-weight: bold; + } + .modal-header{ + .close{ + font-size: 2em; + position: absolute; + right: 0.5em; + } + } +@media(max-width: $screen-xs){ +/* .fc-theme-standard td, .fc-theme-standard th{ + border:0!important; + }*/ + .fc-timeGridWeek-view{ + .fc-scrollgrid-sync-table{ + + } + } +/* .fc .fc-timegrid-axis-frame{ + display: none!important; + }*/ + .fc .fc-timegrid-slot-label{ + display:none!important; + } +} +#property-selector{ + @media(max-width:$screen-xs){ + .fc .fc-daygrid-body-natural .fc-daygrid-day-events{ + display: none!important; + } + .fc .fc-timegrid .fc-daygrid-body{ + display: none!important; + } + .fc-daygrid-day-events{ + display: none!important; + } + td.fc-timegrid-axis.fc-scrollgrid-shrink{ + display: none; + } + } +} +.fc-daygrid-day-bottom{ + a{ + color:$theme-color-main; + } +} +.fc-daygrid-event-harness{ + a{ + color:$theme-color-main; + } +} +table.fc-col-header{ + width:100%!important; +} +a.fc-daygrid-more-link.fc-more-link{ + display: block; + padding: 0.5em; + border-radius: 1em; + box-shadow: 0 2px 6px #00000026; + border: 0.0625em solid #00000033; + @media(max-width: 768px){ + padding: 0.3em; + font-size: .85em; + } +} +.fc .fc-daygrid-more-link{ + font-size: 1.2em; + font-weight: bold; +} +.fc-h-event .fc-event-title{ + display:-webkit-box!important; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + min-height: 3em; +} +.mybooking{ + &:after{ + content:"\f2bd"!important; + position: relative!important; + background: none!important; + display: block; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + color: #fff; +/* @media(min-width: $screen-xs){ + position: absolute; + top: 2em; + right: 1em; + }*/ + } +} +.mybookinga{ + margin-bottom: 0.5em; + a{ + font-size: 1em; + font-weight: bold; + } +} diff --git a/assets/stylesheets/template/modules/epaper.scss b/assets/stylesheets/template/modules/epaper.scss index e939ae0..5c1ff0e 100644 --- a/assets/stylesheets/template/modules/epaper.scss +++ b/assets/stylesheets/template/modules/epaper.scss @@ -163,21 +163,15 @@ // epaper-index2 .epaper-index2-container{ - border-style: solid; - border-color: #ccc; - border-width: 0 1px 1px; + // border-style: solid; + // border-color: #ccc; + // border-width: 0 1px 1px; h1,h2,h3,h4{ border-bottom: 1px solid #ccc;//#e1e1e1; margin: 0; padding: 10px 0 10px 10px; span{ - float:right; - margin-right:10px; - color: #0e5c92; - border: 1px solid #d1d1d1; - background: #f0f0f0; - padding: 4px 6px; - margin-top:-3px; + } } margin-top: 15px; @@ -228,9 +222,6 @@ background:#fff; } } -.epaper-description a:visited{ - color: #777575; -} .epaper-description a:hover{ text-decoration-color: #333; text-decoration-line: underline; diff --git a/assets/stylesheets/template/modules/event_news.scss b/assets/stylesheets/template/modules/event_news.scss index 3442224..93caf47 100644 --- a/assets/stylesheets/template/modules/event_news.scss +++ b/assets/stylesheets/template/modules/event_news.scss @@ -1,6 +1,9 @@ @charset "utf-8"; @import "../initial"; +.w-annc__list{ + clear: both; +} .i-annc__table{ // border: 0.0625em solid #ddd !important; .i-annc__th{ @@ -174,9 +177,9 @@ width: 356px!important; } @media (max-width: $screen-xs) { - width: 94vw !important; - margin-left: 0 !important; - margin-right: 0 !important; + width: 93.5vw !important; + margin-left: 0 !important; + margin-right: 1em !important; } &:hover{ -webkit-transition: all .3s ease; @@ -242,16 +245,6 @@ font-size: 1.2em; } } - .w-annc__img-wrap { - img{ - height: 100% !important; - width: auto!important; - max-width: unset; - position: relative !important; - margin: 0 !important; - // transform: translateX(-7%); - } - } .w-annc__item{ padding: 0; margin-right: 0.5em; @@ -317,13 +310,7 @@ } } .event-news-22{ - .w-annc__img{ - @media(max-width: 768px){ - height: 100% !important; - width: auto!important; - max-width: unset; - } - } + .w-annc__content-wrap{ width:50%!important; } @@ -477,6 +464,9 @@ // Index-5 .index-eventnews-5{ +.i-annc__item{ + width:100% ; + } .i-annc__content-wrap{ @media(max-width: 768px){ padding-top: 0.5em; @@ -854,3 +844,6 @@ display: inline-block; } } +.widget-event-news-calendar-2.w-calendar .w-calendar-title{ + background:$theme-color-second; +} \ No newline at end of file diff --git a/assets/stylesheets/template/modules/gallery.scss b/assets/stylesheets/template/modules/gallery.scss index 4303853..f57d89b 100644 --- a/assets/stylesheets/template/modules/gallery.scss +++ b/assets/stylesheets/template/modules/gallery.scss @@ -241,6 +241,7 @@ overflow: hidden; text-overflow: ellipsis; margin-bottom: 0; + height: 2.5em; } .index-img-description { diff --git a/assets/stylesheets/template/modules/member.scss b/assets/stylesheets/template/modules/member.scss index a87c275..18bdd34 100644 --- a/assets/stylesheets/template/modules/member.scss +++ b/assets/stylesheets/template/modules/member.scss @@ -67,6 +67,7 @@ .i-member-pic { width: 100%; + padding: 0; } .i-member-profile-list { @@ -280,6 +281,82 @@ .i-member-profile-list { @include list-reset; word-break: break-all; + text-align: center; + } + + .i-member-profile-item { + font-size: 1em; + line-height: 1.3; + padding-top: 0.5em; + letter-spacing: 1px; + } + .i-member-title { display: none; } + .i-member-item:nth-child(4n+1) { + clear: both; + } + + .i-member-pic-wrap { + padding: 0; + } +} +//index 7 +.index-member-7 { + .i-member-section { + margin: auto; + } + .i-member-list { + display: flex; + flex-flow: row wrap; + margin: 0; + } + .i-member-item { + float: none; + padding: 15px; + + @media (max-width:1280px) { + width: calc( 100% / 3 ); + } + @media (max-width:767px) { + width: calc( 100% / 2 ); + } + @media (max-width:580px) { + width: 100%; + } + } + .i-member-item-inner { + height: auto !important; + } + + .i-member-status-title { + @extend .unity-title; + } + + .i-member-item-inner { + background: none; + } + + .i-member-pic-wrap { + height: auto; + margin-bottom: 16px; + + @media(max-width:580px) { + overflow: hidden; + border-radius: 50%; + behavior: url("/assets/ie_support/PIE2/PIE.htc"); + height: 14em; + width: 14em; + margin: 1.5em auto 1em auto; + } + } + + .i-member-pic { + width: 100%; + } + + .i-member-profile-list { + @include list-reset; + word-break: break-all; + text-align: center; } .i-member-profile-item { diff --git a/assets/stylesheets/template/modules/text_marquee.scss b/assets/stylesheets/template/modules/text_marquee.scss index e5081a9..0b4c888 100644 --- a/assets/stylesheets/template/modules/text_marquee.scss +++ b/assets/stylesheets/template/modules/text_marquee.scss @@ -1,12 +1,29 @@ @import "../initial"; .marquee { - background: rgba(255,255,255,0.1); - border: 1px solid rgba(0,0,0,0.1); - border-radius: 0.3125em; + background:#ff0000; font-size: 0.938em; - list-style: outside none none; - margin: 0 0 1.875em; + list-style:none; + margin: 0; min-height: 1.875em; overflow: hidden; - padding: 0.9375em; + padding: 0.75em; + color: #fff; + li{ + list-style:none; + } + a{ + color: #fff; + } + &:before{ + content: "\f0a1"; + font-family: FontAwesome; + color: #FFEB3B; + font-size: 18px; + padding-right: 0.5em; + float: left; + } } +.text_marqueewrapper{ + z-index:1 ; + position: relative; +} \ No newline at end of file diff --git a/assets/stylesheets/template/modules/universal-table.scss b/assets/stylesheets/template/modules/universal-table.scss index 38406bf..c354621 100644 --- a/assets/stylesheets/template/modules/universal-table.scss +++ b/assets/stylesheets/template/modules/universal-table.scss @@ -1,6 +1,25 @@ @charset "utf-8"; @import "../initial"; +.universal-table-index tbody{ + width:100% ; +} +.universal-table-show{ + .view_count > i:before{ + content: "\f019"!important; + margin: 0.5em; + padding: 0.5em; + border-radius: 1em; + } +} +.universal-table-index{ + .view_count > i:before{ + content: "\f019"!important; + margin: 0.5em; + padding: 0.5em; + border-radius: 1em; + } +} .universal-table-index{ tr{ background-color: #fff!important; @@ -193,10 +212,10 @@ } } .column_entry_files{ - padding-left: 1em; + padding-left:0; } .column_entry_file{ - list-style: disc; + list-style: none; } .ken-click2{ margin-top:-3em; diff --git a/assets/stylesheets/template/modules/video.scss b/assets/stylesheets/template/modules/video.scss new file mode 100644 index 0000000..0173c0e --- /dev/null +++ b/assets/stylesheets/template/modules/video.scss @@ -0,0 +1,963 @@ +@charset "utf-8"; + +@import "../initial"; +.video_desc{ + cite{ + display: none; + } +} +.video_tag .video_tags2{ + display: none; + &:first-child{ + display: block!important; + } +} +.Video__Player{ + display: flex; + -webkit-box-align: center; + align-items: center; + -webkit-box-pack: center; + justify-content: center; + width: 100%; + height: 100%; + .Video__PlayerButton{ + display: inline-block; + padding-bottom: 0px; + padding-top: 0px; + border-radius: 50%; + border: 0px; + background-color: $theme-color-second; + background: url(/assets/btn-play.svg) no-repeat; + background-size: 100%; + background-repeat: no-repeat; + background-position: center center; + transition: 0.5s; + width: 60px; + height: 60px; + &:hover{ + width: 80px; + height: 80px; + } + } +} +.view_info{ + max-height: 100%; + border-radius: 2px; + font-size: 0.875rem; + font-weight: normal; + letter-spacing: 0.3px; + text-align: center; + display: flex; + -webkit-box-align: center; + align-items: center; + position: absolute; + padding: 0px 8px; + background-color: #000000cc; + color: rgb(255, 255, 255); + z-index: 10; + top: 10px; + left: 10px; + border: 1px solid transparent; + line-height: 1.45; + span{ + color:#fff; + } + &:before{ + content: ""; + display: inline-block; + margin-right: 5px; + width: 14px; + height: 10px; + background: url(/assets/icon-view@2x.png) no-repeat; + position: relative; + background-size: contain; + } +} +.w-video_data{ + padding-bottom: 1em; + position: relative; + .video_keyword{ + display: none; + } + .video_tag{ + top:10px; + max-height: 100%; + border: 0; + border-radius: 2px; + background-color: transparent; + font-size: 0.875rem; + font-family: "Noto Sans TC", PingFangTC, 微軟正黑體, "Microsoft JhengHei", sans-serif; + font-weight: normal; + letter-spacing: 0.3px; + text-align: center; + display: flex; + -webkit-box-align: center; + align-items: center; + position: absolute; + padding: 0px 8px; + color: #fff; + z-index: 5; + .video_tags2 { + &:first-child{ + border:1px #fff solid; + border-radius: 2px; + background-color: #1515154d; + } + float: left; + padding: 0 0.5em; + + } + } +} +.view_info{ + img{ + width: 30px!important; + } +} +.videohover{ + position: absolute; + width: 100%; + height: 100%; + transition: 0.3s; + top: 0; + opacity: 0; +} +.video_data{ + z-index: 1!important; + position: relative!important; + &:hover{ + .video_title{ + .video_link{ + color: $theme-color-second; + text-decoration: underline; + } + } + + .videohover{ + position: absolute; + width: 100%; + height: 100%; + transition: 0.3s; + z-index: 2; + opacity: 1; + } + } + &:hover{ + @media(min-width: 1025px){ + .video_snapshot{ + box-shadow: 4px 4px 5px 1px rgba(0, 0, 0, 0.3); + -webkit-transform: scale(1.1) ; + -ms-transform: scale(1.1) ; + transform: scale(1.1) ; + -webkit-transition: all .3s ease; + -moz-transition: all .3s ease; + -ms-transition: all .3s ease; + -o-transition: all .3s ease; + transition: all .3s ease; + } + .video_linkwrapper2{ + .video_snapshot{ + -webkit-transform: scale(1.1) !important; + -ms-transform: scale(1.1) !important; + transform: scale(1.1) !important; + } + } + } + .video_tag{ + display: none; + } + + } + img{ + width: 100%; + height: 100%; + object-fit: cover; + } + + @media(max-width: 768px){ + width: 100%; + } +} + +.video_data-widget-1{ + .video_info{ + margin:0.5em 0; + } +} +.video_data-widget-2{ + + cite{ + display: none; + } + .col-sm-4{ + @media(min-width:768px){ + width: 33.33333333%; + float: left; + } + } + .video_data_wrap{ + @media(min-width:$screen-xs){ + display: flex; + flex-wrap: wrap; + } + } + + .video_desc{ + display: none; + } + .video_info{ + margin:0.5em 0; + } + .video_link{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; + } + .video_keyword{ + display: none; + } + .video_data{ + &:first-child{ + .video_tags2{ + display: block!important; + } + .video_linkwrapper2{ + + @media(min-width:$screen-xs)and(max-width:768px){ + height: 24em; + } + } + width: 100% ; + margin-bottom: 2em; + @media(max-width:1024px){ + width: 100%!important; + } + @media(max-width:$screen-xs){ + width: 100.5vw !important; + margin-left: -6vw; + } + .video_desc{ + .video_link{ + &:hover{ + &:before{ + background-color: #c21000!important; + } + } + &:before{ + content: " ▶ 觀看節目"; /* Font Awesome 播放圖示 + 文字 */ + font-weight: 900; + position: absolute; + display: inline-flex; + align-items: center; + gap: 5px; + display: inline-flex; + -webkit-box-pack: center; + justify-content: center; + -webkit-box-align: center; + align-items: center; + padding: 0px 15px; + height: 44px; + border-radius: 22px; + line-height: 42px; + border: 1px solid transparent; + background-color: $theme-color-second; + color: rgb(255, 255, 255); + font-size: 1.25rem; + letter-spacing: 0.3px; + font-weight: normal; + white-space: nowrap; + transition: 0.3s; + bottom: 3em; + } + } + } + + .videohover{ + display: none!important; + } + .video_tag{ + position: absolute; + left: 6em; + bottom: 8em; + top: auto; + display: block!important; + background-color:transparent; + border:0; + } + .video_desc{ + display: block; + height: 4.1em; + overflow: hidden; + margin-bottom: 8em; + + } + + .video_group_time{ + color: #fff!important; + position: absolute; + bottom: 4.5em; + margin-left: 10.5em; + } + .view_info{ + display: none; + } + + @media(min-width:767px){ + + &:before{ + content: ''; + position: absolute; + bottom: 0; + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%); + top: 0; + z-index: 1; + width: 100%; + height: 100%; + } + } + .video_info{ + position: absolute; + z-index: 2; + bottom: 0; + color: #fff; + a{ + color: #fff; + } + @media(min-width:767px){ + padding: 2em 5em; + width: 55%; + } + @media(max-width:820px)and(min-width:767px){ + .video_title h5{ + font-size: 1.6em; + } + } + @media(max-width:767px){ + margin: 0; + padding: 1em; + background-color: #444; + position: relative; + padding-bottom: 4em; + padding-top: 3em; + .video_title h5{ + font-size: 1.2em; + text-align: center; + } + .video_tag{ + left: 12%; + bottom: 10.5em; + flex-wrap: wrap; + justify-content: center; + display: flex!important; + width: 75%; + .video_keyword{ + margin-top: 0.5em; + } + } + .video_link:before{ + bottom: 4em; + left: 32vw; + } + .video_group_time{ + margin-left: 0; + width: 100%; + text-align: center; + left: 0; + bottom:2.5em; + } + } + + } + + + .video_linkwrapper2{ + @media(min-width:1025px){ + height: 40.6em; + } + @media(min-width:769px)and(max-width:1024px){ + height: 32.6em!important; + } + @media(max-width: 821px)and(min-width: 769px){ + height: 25.6em!important; + } + @media(max-width:$screen-xs){ + height: 14.5em!important; + } + } + + } + + } +} +.video_data-widget-3{ + @media(max-width:768px){ + margin-bottom: 3em; + } + .btnwrapper{ + @media(max-width:768px)and(min-width:$screen-xs){ + top:100%!important; + width: 14%!important; + left: 44%!important; + } + @media(max-width:$screen-xs){ + top: 100%!important; + width: 24% !important; + left: 38% !important; + } + } + .video_data_wrap{ + @media(min-width:$screen-xs){ + display: flex; + flex-wrap: wrap; + } + } + .video_data{ + @media(max-width:821px)and(min-width:$screen-xs){ + width: 48vw !important; + float: none; + } + @media(max-width:$screen-xs){ + width: 92.5vw !important; + margin-left: 0 !important; + margin-right: 1em !important; + float: none; + } + } + .video_desc{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + max-height: 4.5em; + line-height: 1.5em; + min-height: 4.5em; + } + .video_info{ + margin:0.5em 0; + } + .video_link{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; + } +} +.video_data-widget-5{ + margin-bottom: 1em!important; + .video_data{ + .video_group_time{ + display: none; + } + .video_desc{ + display: none; + } + } + span.video-date { + display: block; + font-size: 0.875rem; + font-family: "Noto Sans TC", PingFangTC, 微軟正黑體, "Microsoft JhengHei", sans-serif; + font-weight: normal; + letter-spacing: 0.3px; + color: #8f8f8f; + line-height: 1.6; + cursor: pointer; +} + margin-bottom: 1em; + .cycle-pager{ + font-size: 1.25rem; + font-family: "Noto Serif TC", serif; + font-weight: bold; + h5{ + font-size: 1.25rem; + border-bottom: 1px solid #ccc; + padding: 0.5em 0; + margin-top: 0; + } + } + + .video_title h5{ + @extend .i-title; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + .view_info{ + float: right; + } + .view_info img{ + margin-right: 5px; + } + .Video__Player{ + display: flex; + -webkit-box-align: center; + align-items: center; + -webkit-box-pack: center; + justify-content: center; + width: 100%; + height: 100%; + .Video__PlayerButton{ + display: inline-block; + padding-bottom: 0px; + padding-top: 0px; + border-radius: 50%; + border: 0px; + background-color: $theme-color-second; + background: url(/assets/btn-play.svg) no-repeat; + background-size: 100%; + background-repeat: no-repeat; + background-position: center center; + transition: 0.5s; + width: 60px; + height: 60px; + &:hover{ + width: 80px; + height: 80px; + } + } + } + .view_info{ + max-height: 100%; + border-radius: 2px; + font-size: 0.875rem; + font-weight: normal; + letter-spacing: 0.3px; + text-align: center; + display: flex; + -webkit-box-align: center; + align-items: center; + position: absolute; + padding: 0px 8px; + background-color: #000000cc; + color: rgb(255, 255, 255); + z-index: 10; + top: 10px; + left: 10px; + border: 1px solid transparent; + line-height: 1.45; + span{ + color:#fff; + } + &:before{ + content: ""; + display: inline-block; + margin-right: 5px; + width: 14px; + height: 10px; + background: url(/assets/icon-view@2x.png) no-repeat; + position: relative; + background-size: contain; + } + } + .cycle-sentinel { + display: none !important; +} + .pager-controls{ + position: absolute; + right: 1em; + bottom: 1em; + .prev-btn,.next-btn{ + color: #909090; + background: #fff; + border-radius: 50%; + border: none; + height: 2.5em; + width: 2.5em; + transition: .3s; + &:hover{ + filter: drop-shadow(rgb(214, 214, 214) 0px 0px 0.1rem); + } + } + @media(max-width:768px){ + position: relative; + float: right; + right: 0; + bottom: 0; + } + } + .video_data_wrap{ + @media(min-width:$screen-xs){ + display: flex; + flex-wrap: wrap; + } + } + .video_data{ + @media(max-width:$screen-xs){ + width: 88.5vw !important; + margin-left: 0 !important; + margin-right: 1em !important; + float: none; + } + } + .video_desc{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + max-height: 4.5em; + line-height: 1.5em; + } + .video_info{ + margin:0.5em 0; + } + .video_link{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; + } +} +.video_detail{ + @media(max-width:820px){ + .video_box_wrap{ + width: 100vw!important; + left: -1em!important; + margin: 0; + } + } + + h3{ + margin-top: 0.5em; + } +} +.movie_desc{ + clear: both; + letter-spacing: 0.3px; + color: #8f8f8f; + line-height: 1.8; +} +.video_title { + clear: both; +} +.video_data{ + list-style: none; +} +.video_tag{ + display: flex; + float: left; +} +.view_info{ + margin-bottom: 1em; +} +.video_group_time{ + clear: both; +} +.video_group_time{ + color: #8f8f8f!important; +} +.movietitle{ + margin-bottom: 15px; + width: 100%; + border-bottom: 1px solid #ccc; + clear: both; + font-family: "Noto Serif TC", serif; + font-weight: bold; + h4{ + width: 100px; + border-bottom: 2px solid #141414; + padding-bottom: 0.5em; + margin-bottom: 0; + } +} +.imglst_desc{ + .cite{ + font-style: normal !important; + } + .video_tag{ + background-color: transparent; + color: $theme-color-second; + font-weight: normal; + letter-spacing: 0.3px; + text-align: center; + display: inline-block; + padding: 0px 7px; + max-height: 100%; + border-radius: 2px; + margin-bottom: 1em; + &:first-child{ + border: 1px solid; + } + } +} +.video_title { + clear: both; + @extend .i-title; +} +.video_data_wrap{ + padding-right: 0.4375em; + padding-left: 0.4375em; +} +.imglst_desc{ + margin: 1em 0; +} +.category_box { + padding: 0; + border: 1px solid #6868688f; + border-radius: 0.5em 0 0 0.5em; + overflow: hidden; +} +.search_box{ + padding: 0; + border-radius: 0 0.5em 0.5em 0; + overflow: hidden; + border: 1px solid #6868688f; +} +.video_linkwrapper{ + position:relative; + height: 12em; + overflow:hidden; + width: 100%; + img{ + width: 100%; + } + +} +.video_desc { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; + padding-bottom: 0; + +} +.video_data-widget-10{ + padding-top: 2em; + .video_info{ + margin:0.5em 0; + } + .video_data{ + @media(max-width:820px)and(min-width: $screen-xs){ + width: 50%!important; + } + } +} +.video_linkwrapper10{ + position: relative; + overflow: hidden; + height: 9.5em; + @media(max-width: 1025px)and(min-width: 821px){ + height:7.5em; + } + @media(max-width: 821px)and(min-width: 769px){ + height:13em; + } + @media(max-width:768px)and(min-width: 600px){ + height: 12em; + } + @media(max-width: $screen-xs){ + height:13em; + } +} +.video_linkwrapper{ + @media(max-width: 1025px)and(min-width: 821px){ + height:10.5em; + } + @media(max-width: 821px)and(min-width: 769px){ + height:8em; + } + @media(max-width:768px)and(min-width: 600px){ + height: 23.5em; + } + @media(max-width: $screen-xs){ + height: 12em; + } +} +.video_linkwrapper2{ + position:relative; + height: 13.5em; + overflow:hidden; + + @media(max-width: 1025px)and(min-width: 769px){ + height:10em; + + } + @media(max-width: 821px)and(min-width: 768px){ + height:7.5em; + + } + @media(max-width:767px)and(min-width:$screen-xs){ + height: 22.5em; + } + @media(max-width:$screen-xs){ + height: 12em; + } +} +.video_linkwrapper3{ + position:relative; + height: 13.5em; + overflow:hidden; + + @media(max-width: 1025px)and(min-width: 821px){ + height:10em; + + } +@media(max-width: 821px)and(min-width: 769px){ + height: 7.8em; + + +} +@media(max-width:768px)and(min-width:$screen-xs){ + height: 12em; + +} +@media(max-width: $screen-xs){ + height:12em; +} +} +.video_linkwrapper5{ + + position:relative; + height: 27em; + overflow:hidden; + + @media(max-width: 1025px)and(min-width: 821px){ + height:21.5em; + + } +@media(max-width: 821px)and(min-width: 769px){ + height: 7.8em; + + +} +@media(max-width:768px)and(min-width:$screen-xs){ + height: 25em; + +} +@media(max-width: $screen-xs){ + height:12em; + +} +} +.video_group_time{ + q{ + margin-left: 0.5em; + } + q::before { + display: none!important; + } + q::after { + display: none!important; + } +} + +.video_data-modal-view .play_icon{ + height: 55px; +} +.video_box_wrap{ + box-shadow: #15151580 0px 2px 10px 0px; + margin-bottom: 1em; +} +.video_data-index-1{ + .view_info{ + position: relative; + } +} +.video_data-post-agency-1{ + .view_info{ + position: relative; + } +} +.video_data-index-2{ + .video_tag{ + display: block!important; + } +} +.video_data-index-4{ + + .i-annc__page-title{ + display: none; + } + .category_box{ + border:0; + display: flex; + justify-content: center; + } + button.category-btn{ + margin: 0.5em; + display: inline-flex; + -webkit-box-pack: center; + justify-content: center; + -webkit-box-align: center; + align-items: center; + padding: 0px 15px; + height: 36px; + border-radius: 18px; + line-height: 34px; + border: 1px solid rgb(204, 204, 204); + background-color: rgb(255, 255, 255); + color: rgb(20, 20, 20); + font-size: 1rem; + font-family: "Noto Sans TC", PingFangTC, 微軟正黑體, "Microsoft JhengHei", sans-serif; + letter-spacing: 0.3px; + font-weight: normal; + white-space: nowrap; + transition: 0.3s; + &:hover{ + background-color: $theme-color-second; + color: #ffffff; + } + &:active{ + background-color: $theme-color-second; + color: #ffffff; + } + } + // .video_linkwrapper2{ + // height: 9.5em; + // } + .video_desc{ + letter-spacing: 0.3px; + color: #8f8f8f; + line-height: 1.6; + max-height: 5em; + } + .video_info{ + margin:0.5em 0; + } + .video_link{ + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + white-space: normal; + } + .video_tag{ + top:5px; + left: 10px; + max-height: 100%; + border: 0; + border-radius: 2px; + background-color: transparent; + font-size: 0.875rem; + font-family: "Noto Sans TC", PingFangTC, 微軟正黑體, "Microsoft JhengHei", sans-serif; + font-weight: normal; + letter-spacing: 0.3px; + text-align: center; + display: flex; + -webkit-box-align: center; + align-items: center; + position: absolute; + padding: 0px 8px; + color: #fff; + z-index: 5; + .video_tags2 { + float: left; + min-width: 5em; + border: 1px solid; + border-radius: 2px; + background-color: #1515154d; + } + } +} \ No newline at end of file diff --git a/assets/stylesheets/template/modules/web_resource.scss b/assets/stylesheets/template/modules/web_resource.scss index adfeeba..0c881c4 100644 --- a/assets/stylesheets/template/modules/web_resource.scss +++ b/assets/stylesheets/template/modules/web_resource.scss @@ -3,6 +3,28 @@ @import "../initial"; // Link MODULES +.morebken{ + font-size: 1.2em; + font-weight: normal; + color: #333; + padding: 0.5em 1em; + width: fit-content; + float: right; + cursor: pointer; + display: flex; + align-items: center; + &:hover{ + color: $theme-color-second; + } + i{ + font-size: 0.8em; + padding-left: 5px; + } +} +.rotate { + -webkit-transform: rotate(-180deg); + transform: rotate(-180deg); +} .widget-link_wrapper{ z-index: 1; } @@ -36,7 +58,7 @@ align-items: normal; } .liWrapper{ - margin: 0.5em; + margin:0 0.5em; overflow: hidden; } } @@ -46,7 +68,7 @@ &.widget1 { img{ - width: 32%; + // width: 32%; } .widget-content { text-align: center; @@ -56,7 +78,6 @@ } .widget-content-title { - display: inline-block; padding-top: 0.5em; @extend .i-subtitle; } @@ -70,6 +91,17 @@ } } } + &.widget2{ + .list-unstyled{ + display: flex; + justify-content: center; + flex-wrap: wrap; + overflow: hidden; + li:nth-child(n+5){ + display: none; + } + } + } &.widget-3 { ul{ @media(max-width: $screen-xs){ @@ -108,10 +140,10 @@ padding: 0.5em !important; } .link-img-wrap{ - border-radius: 50%; + border-radius:10em; overflow: hidden; &:hover{ - border-radius: 20%; + border-radius:2em; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; @@ -169,6 +201,7 @@ // Link INDEX .index-link { + clear: both; .index-title { @extend .unity-title; } diff --git a/modules/ad_banner/_ad_banner_widget0.html.erb b/modules/ad_banner/_ad_banner_widget0.html.erb index 67a7f26..1d99635 100644 --- a/modules/ad_banner/_ad_banner_widget0.html.erb +++ b/modules/ad_banner/_ad_banner_widget0.html.erb @@ -29,7 +29,10 @@ - +
    "> "> diff --git a/modules/ad_banner/_ad_banner_widget1.html.erb b/modules/ad_banner/_ad_banner_widget1.html.erb index 69c96c5..0a19702 100644 --- a/modules/ad_banner/_ad_banner_widget1.html.erb +++ b/modules/ad_banner/_ad_banner_widget1.html.erb @@ -32,7 +32,10 @@ - +
      "> "> diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index c0d483d..d9be7d3 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -26,7 +26,10 @@