From d9131fd644f2d006be1711f51411e3be0e3fa3f9 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 24 Sep 2026 14:51:29 +0800 Subject: [PATCH] up --- .../template/modules/ad_banner.scss | 21 ++-- .../template/modules/universal-table.scss | 4 + .../stylesheets/template/modules/video.scss | 8 +- home/index.html.erb | 1 - modules/ad_banner/_ad_banner_widget3.html.erb | 99 +++++++++++++++++++ modules/ad_banner/info.json | 8 ++ 6 files changed, 124 insertions(+), 17 deletions(-) create mode 100644 modules/ad_banner/_ad_banner_widget3.html.erb diff --git a/assets/stylesheets/template/modules/ad_banner.scss b/assets/stylesheets/template/modules/ad_banner.scss index 3846acb..fa6a7a0 100644 --- a/assets/stylesheets/template/modules/ad_banner.scss +++ b/assets/stylesheets/template/modules/ad_banner.scss @@ -468,25 +468,22 @@ ul.button-mid{ // Widget 3 .ba-banner-widget-3 { -.banner-pager .active-slide a { - background: $theme-color-second !important; -} - - .w-ba-banner__wrap { + overflow: hidden; + border-radius: 2em; + .w-ba-banner__image { width: 100%; + height: auto; } - .w-ba-banner__slide { + .youtube, .cycle-youtube { width: 100%; - position: relative; + height: 100%; } - .banner-pager { - right: 0; - bottom: 2em; - li { height: unset; width: unset; } + object, embed { + width: 100%; + height: 100%; } - ul.button-mid { display: none; } } //Widget 4 diff --git a/assets/stylesheets/template/modules/universal-table.scss b/assets/stylesheets/template/modules/universal-table.scss index 6789b2c..985dbd5 100644 --- a/assets/stylesheets/template/modules/universal-table.scss +++ b/assets/stylesheets/template/modules/universal-table.scss @@ -4,6 +4,10 @@ .universal-th-text{ white-space: pre; } +.btn-info { + background-color: #157d9d; + border-color: #157d9d; +} .universal-table-index h3 { padding: 0; } diff --git a/assets/stylesheets/template/modules/video.scss b/assets/stylesheets/template/modules/video.scss index c1ec642..4f98c88 100644 --- a/assets/stylesheets/template/modules/video.scss +++ b/assets/stylesheets/template/modules/video.scss @@ -453,7 +453,7 @@ font-family: "Noto Sans TC", PingFangTC, 微軟正黑體, "Microsoft JhengHei", sans-serif; font-weight: normal; letter-spacing: 0.3px; - color: #8f8f8f; + color: #707070; line-height: 1.6; cursor: pointer; } @@ -707,7 +707,7 @@ .movie_desc{ clear: both; letter-spacing: 0.3px; - color: #8f8f8f; + color: #707070; line-height: 1.8; } .video_title { @@ -727,7 +727,7 @@ clear: both; } .video_group_time{ - color: #8f8f8f!important; + color: #707070!important; } .movietitle{ margin-bottom: 15px; @@ -905,7 +905,7 @@ } .video_desc{ letter-spacing: 0.3px; - color: #8f8f8f; + color: #707070; line-height: 1.6; max-height: 5em; } diff --git a/home/index.html.erb b/home/index.html.erb index 5203119..4ba145a 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -7,7 +7,6 @@ <%= render_orbit_bar %>
<%= render_header %> -
diff --git a/modules/ad_banner/_ad_banner_widget3.html.erb b/modules/ad_banner/_ad_banner_widget3.html.erb new file mode 100644 index 0000000..dc60869 --- /dev/null +++ b/modules/ad_banner/_ad_banner_widget3.html.erb @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/modules/ad_banner/info.json b/modules/ad_banner/info.json index ff8db23..c95782f 100644 --- a/modules/ad_banner/info.json +++ b/modules/ad_banner/info.json @@ -40,6 +40,14 @@ }, "thumbnail": "ad_banner2_thumb.png" }, + { + "filename": "ad_banner_widget3", + "name": { + "zh_tw": "P1-1. 純圖片導圓角輪播-標準 ( 圖片, 導航圖示 )", + "en": "P1-1. Pure Image Carousel - Rounded - Standard ( image, navigation )" + }, + "thumbnail": "ad_banner2_thumb.png" + }, { "filename": "ad_banner_widget0", "name": {