From 90f8136a94560be6deebaf3fe498b785ca26afc1 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 27 Aug 2026 18:32:10 +0800 Subject: [PATCH] update --- assets/javascripts/app.js | 10 ---- .../stylesheets/template/base/_accesskey.scss | 2 +- assets/stylesheets/template/base/_global.scss | 5 ++ .../template/modules/ad_banner.scss | 8 +--- assets/stylesheets/template/template.scss | 4 +- modules/ad_banner/_ad_banner_widget1.html.erb | 6 --- modules/ad_banner/_ad_banner_widget2.html.erb | 47 +++++++++++++------ .../_ad_banner_widget2_video.html.erb | 4 +- modules/ad_banner/_ad_banner_widget3.html.erb | 4 +- .../_ad_banner_widget8_video.html.erb | 4 +- .../_ad_banner_widget9_video.html.erb | 4 +- modules/announcement/_annc_widget27.html.erb | 4 +- 12 files changed, 57 insertions(+), 45 deletions(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 2c55563..6dde40a 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -3582,16 +3582,6 @@ setTimeout(function() { } }, 600); -$(document).ready(function () { - $('.widget-breadcrumb .breadcrumb li:last-child a').attr('aria-current', 'page'); - - // 若尚未有 nav 包住,自動加上 - $('.widget-breadcrumb .breadcrumb').each(function () { - if (!$(this).closest('nav').length) { - $(this).wrap(''); - } - }); -}); //會員tab邏輯 $(document).ready(function () { setTimeout(function () { diff --git a/assets/stylesheets/template/base/_accesskey.scss b/assets/stylesheets/template/base/_accesskey.scss index c6cd8cd..164f7a1 100644 --- a/assets/stylesheets/template/base/_accesskey.scss +++ b/assets/stylesheets/template/base/_accesskey.scss @@ -3,7 +3,7 @@ a[accesskey] { position: absolute; margin-left: -0.9375em; - color: transparent !important; + color: transparent; } #orbit-bar a[accesskey] { diff --git a/assets/stylesheets/template/base/_global.scss b/assets/stylesheets/template/base/_global.scss index f19432e..aaa34e9 100644 --- a/assets/stylesheets/template/base/_global.scss +++ b/assets/stylesheets/template/base/_global.scss @@ -6,6 +6,11 @@ .fa-classic, .fa-regular, .fa-solid, .far, .fas ,.fa{ font-family: var(--fa-style-family, "FontAwesome")!important; } +li#language-li { + @media(max-width:767px){ + display: none !important; + } +} #orbit-bar .orbit-bar-inner > label:focus, #orbit-bar .orbit-bar-inner > label.focus{ .orbit-bar-search-sign-language{ display: block diff --git a/assets/stylesheets/template/modules/ad_banner.scss b/assets/stylesheets/template/modules/ad_banner.scss index 8bc635b..deb5cca 100644 --- a/assets/stylesheets/template/modules/ad_banner.scss +++ b/assets/stylesheets/template/modules/ad_banner.scss @@ -158,7 +158,6 @@ iframe{ content:"\f04c" } @media(max-width: $screen-sm) { - right: 0; a { padding: 0 5px;} a i { font-size: 0.75em; } } @@ -269,12 +268,10 @@ ul.button-mid{ } } .controlplay{ - bottom: 5em; + bottom: 2em; top: auto; z-index: 210; @media(max-width:768px){ - bottom:auto; - top: 1em; } } .banner-pager{ @@ -325,7 +322,6 @@ ul.button-mid{ padding:2em 1em 6em!important; } .controlplay { - right: 0; a { padding: 0 5px;} a i { font-size: 0.75em; } } @@ -483,7 +479,7 @@ ul.button-mid{ .ba-banner-widget-7 { position: relative; background: url(/assets/bgdark.png) repeat; - background-size: contain; + background-size: cover; color: #fff; .w-ba-banner__wrap{ overflow: hidden; diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index e146bf5..1a8e3b4 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -92,7 +92,7 @@ input:hover { } @media (min-width: $screen-lg) { - // max-width:1400px; + max-width: 1700px; padding: 0; } } @@ -391,8 +391,8 @@ ul.tab_nav,.nav_tabs_filter { } td,th{ + width:100%; @media(max-width: 768px){ - width:100%!important; a{ padding: 0.5rem 1.25rem!important; flex-wrap: wrap; diff --git a/modules/ad_banner/_ad_banner_widget1.html.erb b/modules/ad_banner/_ad_banner_widget1.html.erb index a5e36dd..13c68c1 100644 --- a/modules/ad_banner/_ad_banner_widget1.html.erb +++ b/modules/ad_banner/_ad_banner_widget1.html.erb @@ -92,12 +92,6 @@ .w-ba-banner .controlplay{ width: auto; } - .w-ba-banner .button-mid{ - position: absolute; - width: 100%; - height: 0; - top: 50%; - } .next-button,.prev-button{ cursor: pointer; } diff --git a/modules/ad_banner/_ad_banner_widget2.html.erb b/modules/ad_banner/_ad_banner_widget2.html.erb index e7c9f79..e72e764 100644 --- a/modules/ad_banner/_ad_banner_widget2.html.erb +++ b/modules/ad_banner/_ad_banner_widget2.html.erb @@ -29,7 +29,9 @@ - + + \ No newline at end of file diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 86f45c2..e7e63e8 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -25,7 +25,9 @@ {{html}}
- +