diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index 28eab13..1ddd7ba 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -2369,10 +2369,7 @@ table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, tabl } .s-annc__flie-title { - max-width: 9.375rem; - overflow: hidden; white-space: nowrap; - text-overflow: ellipsis; } .s-annc__social > * { diff --git a/assets/stylesheets/template/modules/universal-table.scss b/assets/stylesheets/template/modules/universal-table.scss index 6e91e51..bd3198f 100644 --- a/assets/stylesheets/template/modules/universal-table.scss +++ b/assets/stylesheets/template/modules/universal-table.scss @@ -74,10 +74,11 @@ cursor: pointer; padding: 0; position: absolute; - right: 1em; + right:1em; z-index: 99; @media(max-width: $screen-xs){ margin-top: 0.5em; + right:0; } .searchbtn2, .universal-btn { line-height: 2em; @@ -203,3 +204,60 @@ -o-transition: .3s all ease; transition: .3s all ease; } +.universal-table-index.table td{ + padding: 15px 10px!important; +} +.universal-table-index1{ + .col-ken{ + @media(min-width: $screen-xs){ + width: auto!important; + } + + } + @media(min-width: $screen-xs){ + .universal-th-icon{ + padding:5px!important; + } + .universal-dropdown{ + .btn{ + padding: 0.3125em!important; + } + } + .universal-th-text{ + display: block!important; + clear: both; + } + } +} +.universal-table-index3{ + .col-ken{ + @media(min-width: $screen-xs){ + width: auto!important; + } + + } + @media(min-width: $screen-xs){ + .universal-th-icon{ + padding:5px!important; + } + .universal-dropdown{ + .btn{ + padding: 0.3125em!important; + } + } + .universal-th-text{ + display: block!important; + clear: both; + } + } +} +.universal-table-index4{ + .universal-th-text{ + margin: 0; + } + .col-ken{ + @media(min-width: $screen-xs){ + width: auto!important; + } + } +} diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index 243968e..1079d5e 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -41,7 +41,7 @@ // container setting .response-container { position: relative; - margin: auto; + margin:auto!important; @media (max-width: $screen-xs) { width: 100%; } @@ -501,5 +501,4 @@ input.search_box{ display: flex; flex-wrap: wrap-reverse!important; } - } diff --git a/modules/universal_table/index.html.erb b/modules/universal_table/index.html.erb index 6df4915..acf60e8 100644 --- a/modules/universal_table/index.html.erb +++ b/modules/universal_table/index.html.erb @@ -1,9 +1,42 @@ - +
- @@ -91,33 +124,7 @@
{{export_button}}
{{pagination_goes_here}} - -

{{table-name}}

Reset
+ -
{{title}}
+
{{title}}
-
-
-
查詢
- Reset -
-
- +
- + - @@ -123,25 +114,14 @@

{{table-name}}

+ Reset
+ -
{{title}}
+
{{title}}
-
{{total_entries}}
{{export_button}}
{{pagination_goes_here}} + diff --git a/modules/universal_table/index3.html.erb b/modules/universal_table/index3.html.erb index f7d0a77..590cff5 100644 --- a/modules/universal_table/index3.html.erb +++ b/modules/universal_table/index3.html.erb @@ -1,4 +1,13 @@ -
- + +
查詢
@@ -84,7 +93,7 @@
-
+
{{title}}