Skip to content

Commit 1c98504

Browse files
committed
update to version 2.2.0
1 parent f652be8 commit 1c98504

File tree

4 files changed

+386
-7
lines changed

4 files changed

+386
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
v2.2.0 (2024-10-16)
2+
* 引入 normalize.css
3+
* Wiki 字體、尺寸間距調整
4+
* 取消論壇設定的預設邊框
5+
* 專案卡片寬度自動調整的邏輯修正
6+
* 修正 Redmine 已知問題(論壇回覆主題輸入框超出版面)
7+
18
v2.1.0 (2024-05-16):
29
* 議題列表按照權重顯示不同的背景顏色
310
* 專案卡片的視覺微調

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A free Redmine theme made in Taiwan.
66

77
With simple design, create a style that is compatible with English and Chinese visuals. This is my first time working on Github. If you like this, please feel free to give a star to this project.
88

9-
**Version:** 2.1.0
9+
**Version:** 2.2.0
1010

1111
**Compatible with :** Redmine 5.1 - 4.1
1212

stylesheets/application.css

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* TW-Style theme version 2.1.0, Copyright (C) 2024 Tomy Shen
2+
* TW-Style theme version 2.2.0, Copyright (C) 2024 Tomy Shen
33
*
44
* Author: Tomy Shen ([email protected])
55
* Website: https://redmine-tw.net
@@ -8,6 +8,7 @@
88
*
99
*/
1010

11+
@import url("normalize.css");
1112
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
1213
@import url("../../../stylesheets/application.css");
1314

@@ -144,15 +145,20 @@ div#top-menu {
144145
.flyout-menu { background-color: #628DB6 !important; }
145146
.flyout-menu h3 { background-color: #003153 !important; }
146147
}
147-
@media screen and (max-width: 1080px) {
148-
#projects-index ul.projects li.root { width: calc(33.333% - 10px); }
148+
@media screen and (min-width: 1181px) {
149+
#projects-index ul.projects li.root { width: calc(25% - 18px); }
149150
}
150-
@media screen and (max-width: 880px) {
151-
#projects-index ul.projects li.root { width: calc(50% - 10px); }
151+
@media screen and (max-width: 1180px) {
152+
#projects-index ul.projects li.root { width: calc(33.333% - 18px); }
153+
}
154+
@media screen and (max-width: 888px) {
155+
#projects-index ul.projects li.root { width: calc(50% - 18px); }
152156
}
153157
@media screen and (max-width: 600px) {
154-
#projects-index ul.projects li.root { width: calc(100% - 10px); }
158+
#projects-index ul.projects li.root { width: calc(100% - 12px); }
155159
}
160+
161+
156162
/* Page transition */
157163
#main {
158164
animation: fadeInAnimation ease-in-out 0.6s;
@@ -202,6 +208,19 @@ tr.time-entry td.issue a.issue {
202208
border: 1px solid lightgray;
203209
margin-right: 4px;
204210
}
211+
212+
/* Fix reply subject bug */
213+
input#message_subject, input#document_title, input#issue_subject, input#news_title, textarea#news_summary {
214+
width: 100%; max-width: 100%;
215+
}
216+
217+
/* compatible for normal.css */
218+
div.issue .attribute .value { overflow: visible; }
219+
[type="checkbox"], [type="radio"] { margin-left: 4px; margin-right: 4px; }
220+
221+
/* Forum setting table borderless*/
222+
table.list, .table-list { border:0 }
223+
205224
/* Popup window style */
206225
div.modal { border-radius:0 ; padding: 0 0 4px 0; }
207226
.ui-widget.ui-widget-content { border: unset; }
@@ -368,3 +387,7 @@ img.gravatar, div.gravatar-with-child > img.gravatar:nth-child(2) {
368387
right: 0;
369388
background-image: url(icons/ArrowForward.png);
370389
}
390+
391+
/* 2024-0402 wiki行間距、字體顏色 */
392+
.wiki.wiki-page { font-size: 1.1em; font-weight: 400; }
393+
div.wiki { color: #121212; line-height: 1.5; }

0 commit comments

Comments
 (0)