diff --git a/assets/images/design_thumb.png b/assets/images/design_thumb.png index 606898d..f90ac5a 100644 Binary files a/assets/images/design_thumb.png and b/assets/images/design_thumb.png differ diff --git a/assets/stylesheets/template/base/_variables.scss b/assets/stylesheets/template/base/_variables.scss index 43a8faf..bef24da 100644 --- a/assets/stylesheets/template/base/_variables.scss +++ b/assets/stylesheets/template/base/_variables.scss @@ -14,197 +14,63 @@ $theme-gray-darker: #242424; $theme-white: #fff; $theme-red: #d20001; $theme-blue: #003d7e; - $theme-color-main: #333333; $theme-color-second: #E4002B; $theme-color-third: #ed4c43; $theme-color-green: #288E8E; - // Font stacks $main-font: "Calibri","Barlow", "Roboto", "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif; $sub-font: "Calibri","Roboto", "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif; - @font-face {font-family: "IndustryW00-Medium"; src: url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.eot"); src: url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.woff") format("woff"), url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/b8e20323f8f36e06f87745c93c45afcd.svg#IndustryW00-Medium") format("svg"); } - // Font sizes $font-15: 0.9375rem; $font-13:1.2rem; - $font-h1: 1.6rem; $font-h2: 1.5rem; $font-h3: 1.2rem; $font-h4: 1.1rem; $font-h5: 1rem; $font-h6: 0.9rem; - // // Modules // -------------------------------------------------- // ## commonly use in all widgets - // Font sizes $w-widget-title-font-size: 1.5rem; - // Colors $w-border-color: $theme-gray-lighter; - // // AD banner Module // -------------------------------------------------- - // Font sizes $w-caption-font-size: 1.2rem; $w-caption-desc: 1rem; - // // Announcement Module // -------------------------------------------------- - // Font sizes $w-title-font-size-small: 0.75rem; $w-subtitle-font-size: 0.75rem; $w-meta-font-size: 0.75rem; - $w-table-th-font-size: 0.75em; $w-table-td-font-size: 0.75em; - $i-title-font-size-large: 2em; - // colors - $link-color: $theme-color-main; $link-hover-color: lighten($theme-color-main, 10%); - $table-th-bgcolor: $theme-color-main; - // // Archive Module // -------------------------------------------------- - // Font sizes $w-item-heading-font-size: 0.85rem; - // // Member Module // -------------------------------------------------- - $border-width: 0.25em; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +.response-content { + justify-self: auto; +} .response-content { justify-self: auto; diff --git a/modules/calendar/_calendar_widget1.html.erb b/modules/calendar/_calendar_widget1.html.erb index f691295..a37b22c 100644 --- a/modules/calendar/_calendar_widget1.html.erb +++ b/modules/calendar/_calendar_widget1.html.erb @@ -2,7 +2,7 @@

placeholder - +

@@ -28,9 +28,7 @@
<%= stylesheet_link_tag "calendar_widget1" %> diff --git a/modules/calendar/_calendar_widget2.html.erb b/modules/calendar/_calendar_widget2.html.erb index 4313f12..5e234af 100644 --- a/modules/calendar/_calendar_widget2.html.erb +++ b/modules/calendar/_calendar_widget2.html.erb @@ -6,7 +6,7 @@

placeholder - +

-
- -
+
diff --git a/modules/video_pro/_video_pro_widget1.html.erb b/modules/video_pro/_video_pro_widget1.html.erb new file mode 100644 index 0000000..e0253f6 --- /dev/null +++ b/modules/video_pro/_video_pro_widget1.html.erb @@ -0,0 +1,46 @@ +
+ +
+ +
\ No newline at end of file diff --git a/modules/video_pro/_video_pro_widget_jqcloud1.html.erb b/modules/video_pro/_video_pro_widget_jqcloud1.html.erb new file mode 100644 index 0000000..baf2cdb --- /dev/null +++ b/modules/video_pro/_video_pro_widget_jqcloud1.html.erb @@ -0,0 +1,50 @@ +
+ <%= javascript_include_tag 'video_pro/wordcloud2.js' %> +
+ +
diff --git a/modules/video_pro/info.json b/modules/video_pro/info.json new file mode 100644 index 0000000..5c1b39b --- /dev/null +++ b/modules/video_pro/info.json @@ -0,0 +1,69 @@ +{ + "widgets" : [ + { + "filename" : "video_pro_widget1", + "force_cover": "true", + "name" : { + "zh_tw" : "1. 影片列表1 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "1. Video List 1 ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_widget_jqcloud1", + "force_cover": "true", + "name" : { + "zh_tw" : "2. 影片文字雲(標籤)", + "en" : "2. Video Word Cloud(tags)" + }, + "thumbnail" : "thumb.png" + } + ], + "frontend" : [ + { + "filename" : "video_pro_index1", + "force_cover": "true", + "name" : { + "zh_tw" : "1. 影片列表1 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "1. Video List 1 ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_index2", + "force_cover": "true", + "name" : { + "zh_tw" : "2. 影片列表1 + 類別 + 搜尋 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "2. Video List 1 + Category filter + Search ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_index2_tag", + "force_cover": "true", + "name" : { + "zh_tw" : "2-1. 影片列表1 + 標籤 + 搜尋 ( 縮圖, 影片資訊, 頁面連結)", + "en" : "2-1. Video List 1 + Tag filter + Search ( snapshot, video info, page link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "video_pro_index3", + "force_cover": "true", + "name" : { + "zh_tw" : "3. 影片列表2 + 懸浮框 ( 縮圖, 影片資訊)", + "en" : "3. Video List 2 + Modal window ( snapshot, video info)" + }, + "thumbnail" : "thumb.png" + }, + { + "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)" + }, + "thumbnail" : "thumb.png" + } + ] +} \ No newline at end of file diff --git a/modules/video_pro/thumbs/thumb.png b/modules/video_pro/thumbs/thumb.png new file mode 100644 index 0000000..266af56 Binary files /dev/null and b/modules/video_pro/thumbs/thumb.png differ diff --git a/modules/video_pro/video_pro_index1.html.erb b/modules/video_pro/video_pro_index1.html.erb new file mode 100644 index 0000000..d3004c6 --- /dev/null +++ b/modules/video_pro/video_pro_index1.html.erb @@ -0,0 +1,48 @@ +
+

{{page-title}}

+ +
+ +
+{{pagination_goes_here}} \ No newline at end of file diff --git a/modules/video_pro/video_pro_index2.html.erb b/modules/video_pro/video_pro_index2.html.erb new file mode 100644 index 0000000..fdaa92b --- /dev/null +++ b/modules/video_pro/video_pro_index2.html.erb @@ -0,0 +1,146 @@ +
+

{{page-title}}

+
+
+
+ +
+ +
+
+
+
+ +
+ +
+ + +
+{{pagination_goes_here}} \ No newline at end of file diff --git a/modules/video_pro/video_pro_index2_tag.html.erb b/modules/video_pro/video_pro_index2_tag.html.erb new file mode 100644 index 0000000..c918582 --- /dev/null +++ b/modules/video_pro/video_pro_index2_tag.html.erb @@ -0,0 +1,146 @@ +
+

{{page-title}}

+
+
+
+ +
+ +
+
+
+
+ +
+ +
+ + +
+{{pagination_goes_here}} \ No newline at end of file diff --git a/modules/video_pro/video_pro_index3.html.erb b/modules/video_pro/video_pro_index3.html.erb new file mode 100644 index 0000000..da719a8 --- /dev/null +++ b/modules/video_pro/video_pro_index3.html.erb @@ -0,0 +1,75 @@ +
+ +

{{page-title}}

+ +
+ + +
+{{pagination_goes_here}} \ No newline at end of file diff --git a/modules/video_pro/video_pro_index_post_agency1.html.erb b/modules/video_pro/video_pro_index_post_agency1.html.erb new file mode 100644 index 0000000..726f002 --- /dev/null +++ b/modules/video_pro/video_pro_index_post_agency1.html.erb @@ -0,0 +1,97 @@ +
+
+
+
+ +
+
+
+
+ +
+ + +
+{{pagination_goes_here}} \ No newline at end of file diff --git a/template.json b/template.json index be30f85..3f33bb1 100644 --- a/template.json +++ b/template.json @@ -1 +1 @@ -{"key":"asia-home-b-en","title":"asia-home-b-en","author":"ken","thumbnail":"assets/images/design_thumb.png"} +{"key":"asia-home-b-en","title":"asia-home-b-en","author":"ken","thumbnail":"assets/images/design_thumb.png"} \ No newline at end of file