11/**
2- * TW-Style theme version 2.0.2 , Copyright (C) 2024 Tomy Shen
2+ * TW-Style theme version 2.0.3 , Copyright (C) 2024 Tomy Shen
33 *
44 * Author: Tomy Shen ([email protected] ) 55 * Website: https://redmine-tw.net
6- * @2024-03-14
6+ * @2024-04-02
77 * @license https://opensource.org/license/mit/
88 *
99 */
1717# header h1 { color : black; margin-top : 5px ; font-family : "Courier Prime" , monospace , system-ui, "Trebuchet MS" , Verdana, sans-serif; }
1818# header a { color : black; }
1919# quick-search { margin-top : 8px ; }
20+ button .tab-left , button .tab-right { border : 0 ; border-radius : 0 ; } /* Main-menu extend button */
2021# main-menu li a { color : black; font-weight : normal; border-bottom : 3px solid transparent; }
2122# main-menu li a : hover { background : # fff ; color : black; border-bottom : 3px solid # 628DB6 ; }
2223# main-menu li a .new-object { background-color : transparent; }
2526# main-menu .menu-children li a { border-bottom : 3px solid transparent; }
2627# main-menu .menu-children li a : hover { border-bottom : 3px solid transparent; }
2728# main { border-top : 1px solid lightgray; }
28- # sidebar { background : whitesmoke ; }
29+ # sidebar { background : white ; }
2930# projects-index { column-width : unset; -webkit-column-width : unset; margin : -5px ; }
3031# projects-index ul .projects .root { display : flex ;flex-wrap : wrap; }
3132# projects-index ul .projects li .root { box-shadow : 0 3px 9px rgba (0 , 0 , 0 , .2 ); border-radius : 8px ; margin : 8px ; width : calc (25% - 10px ); }
@@ -132,7 +133,7 @@ div#top-menu {
132133}
133134/* Responsive RWD */
134135@media screen and (max-width : 899px ) {
135- # header { background-color : # 3E5B76 !important ; }
136+ # header { background-color : # 5B7493 !important ; }
136137 .flyout-menu { background-color : # 628DB6 !important ; }
137138 .flyout-menu h3 { background-color : # 003153 !important ; }
138139}
@@ -155,19 +156,6 @@ div#top-menu {
155156 0% {opacity : 0 ;}
156157 100% {opacity : 1 ;}
157158}
158- /* Fixed header
159- #wrapper { width:100%; height: 100vh; }
160- #main { display: flex; flex: 1 1 auto; overflow: auto;}
161-
162- div#top-menu {
163- position: fixed;
164- top: 0px;
165- left: 0px;
166- right: 0px;
167- z-index: 10100;
168- }
169- #header { margin-top: 44px; }
170- */
171159
172160/* Global */
173161h1 , h2 , h3 , h4 , h5 , h6 { font-family : system-ui, "Trebuchet MS" , Verdana, sans-serif; }
@@ -189,9 +177,9 @@ h1, h2, h3, h4, h5, h6 { font-family: system-ui, "Trebuchet MS", Verdana, sans-s
189177# quick-search form { margin-right : 4px ; }
190178# quick-search # q { margin-left : -34px ; border-radius : 25px ; }
191179# quick-search # project-jump { box-shadow : 0 0px 3px rgba (0 , 0 , 0 , .1 );border-radius : 25px ; }
192- input # q .small { padding-left : 28px ; box-shadow : 0 0px 3px rgba (0 , 0 , 0 , .1 ); } /* dialog cursor position*/
180+ input # q .small { padding-left : 28px ; box-shadow : 0 0px 3px rgba (0 , 0 , 0 , .1 ); } /* dialog cursor position */
193181# quick-search # q : focus { border : 1px solid darkgray; }
194- /* Popup window style*/
182+ /* Popup window style */
195183div .modal { border-radius : 0 ; padding : 0 0 4px 0 ; }
196184.ui-widget .ui-widget-content { border : unset; }
197185.ui-corner-all , .ui-corner-top , .ui-corner-right , .ui-corner-tr { border-top-right-radius : unset; }
@@ -226,25 +214,25 @@ div#activity dl {
226214 border-right : 0px ;
227215 margin-top : 2px ;
228216}
229- /* Roadmap percentage bar*/
217+ /* Roadmap percentage bar */
230218# roadmap { margin-left : 10px ; }
231219table .progress td : first-child { border-top-left-radius : 6px ; border-bottom-left-radius : 6px ; }
232220table .progress td : last-child { border-top-right-radius : 6px ; border-bottom-right-radius : 6px ; }
233221table .progress td .closed { background : # 00c600 none repeat scroll 0% ; }
234- .version-overview table .progress td , table .progress td { Height : .5em ; }
222+ .version-overview table .progress td , table .progress td { height : .5em ; }
235223/* Calendar module */
236224table .cal { border : 0 !important ; border-width : 0px !important ; } /* Table border */
237225table .cal thead th { background-color : transparent !important ; padding-bottom : 8px !important ; } /* Table top row */
238- table .cal td .week-number { border : 0 none !important ; background-color : transparent !important ; } /* Table left column */
226+ table .cal td .week-number { border : 0 none !important ; background-color : transparent !important ; } /* Table left column */
239227table .cal td { border : 1px solid # e3e5ec !important ; } /* every td border */
240228table .cal td .today { background : cornsilk !important ; } /* Today's background color */
241229
242- ul .cal { border : 0 ; } /* compatible with Redmine 5.1*/
230+ ul .cal { border : 0 ; } /* compatible with Redmine 5.1 */
243231.cal .calbody { margin-right : -1px ; margin-top : -1px ; border-bottom : 1px solid # d7d7d7 ; border-right : 1px solid # d7d7d7 ; }
244232.cal .week-number { background-color : transparent; }
245233.cal .calhead { background-color : transparent; margin-bottom : 4px ; }
246234.cal div .issue { padding : unset; background : white;padding : 4px ; }
247- /* Documents module*/
235+ /* Documents module */
248236# document-list .document-group { padding : 18px 18px 0 18px ; margin-bottom : 2px ; }
249237.document-item { padding-bottom : 10px ; padding-top : 2px ; padding-left : 24px ; margin-left : 32px ; border-left : 2px dashed lightgray; }
250238.document-item .updated_on em { padding-left : 20px ; font-weight : bold; }
@@ -272,7 +260,7 @@ h3.comments {
272260 background-repeat : no-repeat;
273261 padding-left : 20px ;
274262}
275- /* Gantt moudle*/
263+ /* Gantt moudle */
276264.task_late { background : # f66 ; }
277265.task_done { background : # 00c600 ; }
278266/* Wiki module */
@@ -337,7 +325,6 @@ img.gravatar, div.gravatar-with-child > img.gravatar:nth-child(2) {
337325 width : 14px ;
338326 height : 16px ;
339327 transform : translateY (100% );
340- background-color : # eff0f4 ;
341328 background-position : center;
342329 line-height : 1 ;
343330 -webkit-user-select : none;
0 commit comments