diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:55:00 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:55:00 +0000 |
commit | 34f1c52e231c0f9b2ae96099d6f370a6a2187e63 (patch) | |
tree | 4c2827e01284d23286977394ee7705ab046fe2b0 /app/assets/themes | |
parent | 0fa0848521a7b04b97f9328e535d2351ef4533e4 (diff) | |
download | redmine-34f1c52e231c0f9b2ae96099d6f370a6a2187e63.tar.gz redmine-34f1c52e231c0f9b2ae96099d6f370a6a2187e63.zip |
Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/assets/themes')
-rw-r--r-- | app/assets/themes/README | 1 | ||||
-rw-r--r-- | app/assets/themes/alternate/stylesheets/application.css | 95 | ||||
-rw-r--r-- | app/assets/themes/classic/images/home.png | bin | 0 -> 806 bytes | |||
-rw-r--r-- | app/assets/themes/classic/images/wrench.png | bin | 0 -> 610 bytes | |||
-rw-r--r-- | app/assets/themes/classic/stylesheets/application.css | 66 |
5 files changed, 162 insertions, 0 deletions
diff --git a/app/assets/themes/README b/app/assets/themes/README new file mode 100644 index 000000000..1af3d1992 --- /dev/null +++ b/app/assets/themes/README @@ -0,0 +1 @@ +Put your Redmine themes here. diff --git a/app/assets/themes/alternate/stylesheets/application.css b/app/assets/themes/alternate/stylesheets/application.css new file mode 100644 index 000000000..080c190ab --- /dev/null +++ b/app/assets/themes/alternate/stylesheets/application.css @@ -0,0 +1,95 @@ +/* Redmine - project management software + * Copyright (C) 2006-2023 Jean-Philippe Lang + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +@import url(/application.css); + +body, #wrapper { background-color:#EEEEEE; } +#header, #top-menu { margin: 0px 10px 0px 11px; } +#main { background: #EEEEEE; margin: 8px 10px 0px 10px; } +#content, #main.nosidebar #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; } +#footer { background-color:#EEEEEE; border: 0px; } + +/* Headers */ +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;} + +/* Menu */ +#main-menu li a { background-color: #507AAA; font-weight: bold;} +#main-menu li a:hover { background: #507AAA; text-decoration: underline; } +#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; } +#main-menu li a.new-object { background-color:#507AAA; text-decoration: none; } + +#main-menu .menu-children { + border-right: 1px solid #507AAA; + border-bottom: 1px solid #507AAA; + border-left: 1px solid #507AAA; +} +#main-menu .menu-children li a:hover { background-color: #507AAA;} + + +/* Tables */ +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; } +table.list thead th { + border-width: 1px; + border-style: solid; + border-top-color: #d7d7d7; + border-right-color: #d7d7d7; + border-left-color: #d7d7d7; + border-bottom-color: #999999; +} + +/* Issues grid styles by priorities (provided by Wynn Netherland) */ +table.list tr.issue a { color: #666; } + +tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; } +tr.odd.priority-highest { background: #ffc4c4; } +tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; } +tr.even.priority-highest { background: #ffd4d4; } +tr.priority-highest a, tr.priority-5:hover a { color: #900; } +tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #ffb4b4; } + +tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; } +tr.odd.priority-high2 { background: #ffc4c4; } +tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; } +tr.even.priority-high2 { background: #ffd4d4; } +tr.priority-high2 a { color: #900; } +tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #ffb4b4; } + +tr.odd.priority-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; } +tr.odd.priority-high3 { background: #fee; } +tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; } +tr.even.priority-high3 { background: #fff2f2; } +tr.priority-high3 a { color: #900; } +tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; } + +tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; } +tr.odd.priority-lowest { background: #eaf7ff; } +tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; } +tr.even.priority-lowest { background: #f2faff; } +tr.priority-lowest a { color: #559; } +tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #add7f3; } + +/* Buttons */ +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; } +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; } + +/* Fields */ +input[type="text"], input[type="password"], textarea, select { border: 1px solid #d7d7d7; } +input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border: 1px solid #888866; } +option { border-bottom: 1px dotted #d7d7d7; } + +/* Misc */ +.box { background-color: #fcfcfc; } diff --git a/app/assets/themes/classic/images/home.png b/app/assets/themes/classic/images/home.png Binary files differnew file mode 100644 index 000000000..fed62219f --- /dev/null +++ b/app/assets/themes/classic/images/home.png diff --git a/app/assets/themes/classic/images/wrench.png b/app/assets/themes/classic/images/wrench.png Binary files differnew file mode 100644 index 000000000..5c8213fef --- /dev/null +++ b/app/assets/themes/classic/images/wrench.png diff --git a/app/assets/themes/classic/stylesheets/application.css b/app/assets/themes/classic/stylesheets/application.css new file mode 100644 index 000000000..922773599 --- /dev/null +++ b/app/assets/themes/classic/stylesheets/application.css @@ -0,0 +1,66 @@ +/* Redmine - project management software + * Copyright (C) 2006-2023 Jean-Philippe Lang + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +@import url(/application.css); + +body{ color:#303030; background:#e8eaec; } + +#top-menu { font-size: 80%; height: 2em; padding-top: 0.5em; background-color: #578bb8; } +#top-menu a { font-weight: bold; } +#header { background: #467aa7; height:5.8em; padding: 10px 0 0 0; } +#header h1 { margin-left: 6px; } +#quick-search { margin-right: 6px; } +#main-menu { background-color: #578bb8; left: 0; border-top: 1px solid #fff; width: 100%; } +#main-menu li { margin: 0; padding: 0; } +#main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 90%; padding: 4px 8px 4px 8px; font-weight: bold; } +#main-menu li a:hover { background-color: #80b0da; color: #ffffff; } +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; } +#main-menu li a.new-object { background-color:#80b0da; } + +#main-menu .menu-children { + border-right: 1px solid #80b0da; + border-bottom: 1px solid #80b0da; + border-left: 1px solid #80b0da; +} +#main-menu .menu-children li a { border-right: none; } +#main-menu .menu-children li a:hover { background-color: #80b0da } + +#footer { background-color: #578bb8; border: 0; color: #fff;} +#footer a { color: #fff; font-weight: bold; } + +#main { font:90% Verdana,Tahoma,Arial,sans-serif; background: #e8eaec; } +#main a { font-weight: bold; color: #467aa7;} +#main a:hover { color: #2a5a8a; text-decoration: underline; } +#content { background: #fff; } + +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 { border-bottom: 0px; color:#606060; font-family: Trebuchet MS,Georgia,"Times New Roman",serif; } +h2, .wiki h1 { letter-spacing:-1px; } +h4 { border-bottom: dotted 1px #c0c0c0; } + +#top-menu a.home, #top-menu a.my-page, #top-menu a.projects, #top-menu a.administration, #top-menu a.help { + background-position: 0% 40%; + background-repeat: no-repeat; + padding-left: 20px; + padding-top: 2px; + padding-bottom: 3px; +} + +#top-menu a.home { background-image: url(/themes/classic/home.png); } +#top-menu a.my-page { background-image: url(/user.png); } +#top-menu a.projects { background-image: url(/projects.png); } +#top-menu a.administration { background-image: url(/themes/classic/wrench.png); } +#top-menu a.help { background-image: url(/help.png); } |