Skip to content

Commit

Permalink
update to version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomy-shen committed Oct 16, 2024
1 parent f652be8 commit 1c98504
Show file tree
Hide file tree
Showing 4 changed files with 386 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v2.2.0 (2024-10-16)
* 引入 normalize.css
* Wiki 字體、尺寸間距調整
* 取消論壇設定的預設邊框
* 專案卡片寬度自動調整的邏輯修正
* 修正 Redmine 已知問題(論壇回覆主題輸入框超出版面)

v2.1.0 (2024-05-16):
* 議題列表按照權重顯示不同的背景顏色
* 專案卡片的視覺微調
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A free Redmine theme made in Taiwan.

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.

**Version:** 2.1.0
**Version:** 2.2.0

**Compatible with :** Redmine 5.1 - 4.1

Expand Down
35 changes: 29 additions & 6 deletions stylesheets/application.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* TW-Style theme version 2.1.0, Copyright (C) 2024 Tomy Shen
* TW-Style theme version 2.2.0, Copyright (C) 2024 Tomy Shen
*
* Author: Tomy Shen ([email protected])
* Website: https://redmine-tw.net
Expand All @@ -8,6 +8,7 @@
*
*/

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

Expand Down Expand Up @@ -144,15 +145,20 @@ div#top-menu {
.flyout-menu { background-color: #628DB6 !important; }
.flyout-menu h3 { background-color: #003153 !important; }
}
@media screen and (max-width: 1080px) {
#projects-index ul.projects li.root { width: calc(33.333% - 10px); }
@media screen and (min-width: 1181px) {
#projects-index ul.projects li.root { width: calc(25% - 18px); }
}
@media screen and (max-width: 880px) {
#projects-index ul.projects li.root { width: calc(50% - 10px); }
@media screen and (max-width: 1180px) {
#projects-index ul.projects li.root { width: calc(33.333% - 18px); }
}
@media screen and (max-width: 888px) {
#projects-index ul.projects li.root { width: calc(50% - 18px); }
}
@media screen and (max-width: 600px) {
#projects-index ul.projects li.root { width: calc(100% - 10px); }
#projects-index ul.projects li.root { width: calc(100% - 12px); }
}


/* Page transition */
#main {
animation: fadeInAnimation ease-in-out 0.6s;
Expand Down Expand Up @@ -202,6 +208,19 @@ tr.time-entry td.issue a.issue {
border: 1px solid lightgray;
margin-right: 4px;
}

/* Fix reply subject bug */
input#message_subject, input#document_title, input#issue_subject, input#news_title, textarea#news_summary {
width: 100%; max-width: 100%;
}

/* compatible for normal.css */
div.issue .attribute .value { overflow: visible; }
[type="checkbox"], [type="radio"] { margin-left: 4px; margin-right: 4px; }

/* Forum setting table borderless*/
table.list, .table-list { border:0 }

/* Popup window style */
div.modal { border-radius:0 ; padding: 0 0 4px 0; }
.ui-widget.ui-widget-content { border: unset; }
Expand Down Expand Up @@ -368,3 +387,7 @@ img.gravatar, div.gravatar-with-child > img.gravatar:nth-child(2) {
right: 0;
background-image: url(icons/ArrowForward.png);
}

/* 2024-0402 wiki行間距、字體顏色 */
.wiki.wiki-page { font-size: 1.1em; font-weight: 400; }
div.wiki { color: #121212; line-height: 1.5; }
Loading

0 comments on commit 1c98504

Please sign in to comment.