From 6646500642442af6d216bb776220eec4d6a4d9cf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 5 May 2010 01:14:05 -0400 Subject: [PATCH] initial upload, documentation --- README | 0 Readme.mkd | 18 ++++ gitcamp/stylesheets/application.css | 150 ++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+) delete mode 100644 README create mode 100644 Readme.mkd create mode 100644 gitcamp/stylesheets/application.css diff --git a/README b/README deleted file mode 100644 index e69de29..0000000 diff --git a/Readme.mkd b/Readme.mkd new file mode 100644 index 0000000..6c2f277 --- /dev/null +++ b/Readme.mkd @@ -0,0 +1,18 @@ +GitCamp -- Basecamp Redmine with GitHub Wikis +============================================= + +Redmine is a fantastic alternative to Basecamp. Having a familiar interface is always helpful for new users, so someone stole Basecamp's. Quite perfect really. I feel at home in GitHub's wiki styles, so I decided to smashed the two together. + +Never been better. + +Installation +------------ + +1. Copy `gitcamp` into Redmine's `public/themes/` +1. Enable GitCamp in your Admin Panel +1. [Fork it](http://github.com/kennethreitz/redmine-gitcamp-theme/fork) and make it even better :) + +Suggested Plugins +----------------- +* [Redmine GitHub Plugin](http://github.com/rpanachi/redmine-github-plugin.git) +* [Redmine Markdown Formatter](http://github.com/bitherder/redmine_markdown_formatter) \ No newline at end of file diff --git a/gitcamp/stylesheets/application.css b/gitcamp/stylesheets/application.css new file mode 100644 index 0000000..0b79b01 --- /dev/null +++ b/gitcamp/stylesheets/application.css @@ -0,0 +1,150 @@ +/** + * GitCamp stylesheet, based on "basecamp" + * author: Kenneth Reitz, http://kennethreitz.com + */ + +@import url(../../../stylesheets/application.css); + +body, #wrapper { background-color:#eee; font-family:"Lucida Grande", verdana, arial, helvetica, sans-serif; } + +a:hover { text-decoration: underline; } +a:hover, a:active { color: #2A5685; } + +#header, #top-menu { margin: 0; } +#header { background-color: #333; padding: 8px 8px 0 8px; height: 5.5em; } +#header h1 { margin: 0 24px; } +#header #quick-search { margin: 0 24px; } +#top-menu { background-color: #000; font-size: 10px; position: relative; padding: 0; height: 21px } +#top-menu ul { padding: 0 21px; } +#top-menu li, #top-menu #loggedas { color: #ddd; line-height: 21px; margin-right: 4px; } +#top-menu li a { color: #999; font-weight: normal; padding:4px 5px; } +#top-menu li a:hover { color: #fff; text-decoration: none; } +#main { background: #EEEEEE; margin: 8px 24px 0px 24px; } +#content, #main.nosidebar #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; width: 70%; overflow: auto; } +#sidebar { width: 26%; } +#footer { background-color:#EEEEEE; border: 0px; clear: left; color:#666666; font-size:9px; margin:4px 0 20px 20px; padding-bottom:15px; text-align:left; } +#footer a:hover { background:#666666 none repeat scroll 0 0; color:#FFFFFF !important;} +#footer a:link, #footer a:visited { color:#666666; } + +/* Headers */ +h1, h2, h3, h4 { font-family: "Lucida Grande",arial,sans-serif; } +h1 { font-size: 24px; font-weight: normal; margin:0pt 0pt 0pt 0.25em; padding:0pt 0pt 10px; text-align:left; } +h2, h3, h4 { border-bottom: 0px;} +#content h3:first {margin-top: 0!important;} +#content h3 {margin-top: 2em;} +h2 { background-color: #edf3fe; margin: -6px -10px 10px; padding: 10px 20px; font-size: 14px; color: #000; } +.wiki h1 { font-family:"Trebuchet MS",Verdana,sans-serif; font-weight: bold;} +.wiki h2 { background-color: #fff; } + +.wiki *{line-height: 1.4em;} +.wiki h1,h2,h3,h4,h5,h6{border:0!important;} +.wiki h1{font-size:170%!important;border-top:4px solid #aaa!important;padding-top:.5em!important;margin-top:1.5em!important;} +.wiki h1:first-child{margin-top:0!important;padding-top:.25em!important;border-top:none!important;} +.wiki h2{background-color: transparent; font-size:150%!important;border-top:4px solid #e0e0e0!important;padding-top:.5em!important;} +.wiki h3{font-size: 1.15em; background-color: transparent; padding-top:.4em!important;font-weight:bold;} +.wiki h3{margin-top:1em!important;} +.wiki p{margin:1em 0!important;line-height:1.5em!important;} +/*.wiki ul{margin:1em 0 1em 2em!important;} +.wiki ol{margin:1em 0 1em 2em!important;}*/ +.wiki ul ul, ul ol, ol ol, ol ul{margin-top:0!important;margin-bottom:0!important;} +.wiki blockquote{margin:1em 0!important;border-left:5px solid #ddd!important;padding-left:.6em!important;color:#555!important;} +.wiki dt{font-weight:bold!important;margin-left:1em!important;} +.wiki dd{margin-left:2em!important;margin-bottom:1em!important;} +.wiki table{margin:1em 0!important;} +.wiki table th{border-bottom:1px solid #bbb!important;padding:.2em 1em!important;} +.wiki table td{border-bottom:1px solid #ddd!important;padding:.2em 1em!important;} +.wiki pre{margin:1em 0!important;font-size:90%!important;background-color:#f8f8ff!important;border:1px solid #dedede!important;padding:.5em!important;line-height:1.5em!important;color:#444!important;overflow:auto!important;} +.wiki pre code{padding:0!important;font-size:100%!important;background-color:#f8f8ff!important;border:none!important;} +.wiki code{font-size:90%!important;background-color:#f8f8ff!important;color:#444!important;padding:0 .2em!important;border:1px solid #dedede!important;} + + +h3, h4 { font-weight: normal; } + +#sidebar h3 { border-bottom:1px solid #DCDCDC; padding:6px 8px; } + +/* Links */ +#sidebar a:hover { background-color:#003399; color:#FFFFFF; text-decoration: none;} + +/* Menu */ +#main-menu { margin: 0 24px; } +#main-menu li a { background-color: #666; font-weight: normal; padding:4px 8px 6px; } +#main-menu li a:hover { background: #999; text-decoration: none; } +#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; color: #111; font-weight:bold; } + +/* Tables */ +table.list { border: none; } +table.list th { background-color: #fff; } +table.list tbody td, table.list tbody tr td { border-bottom: solid 1px #ddd; font-size: 11px; padding:4px 10px 4px 3px; } +table.list thead th { + border: none; + border-bottom:1px solid #999999; + font-size:9px; + font-weight:normal; + padding:0pt 3px 3px; + text-transform:uppercase; +} + +table.list thead th a { color: #000; } +table.list thead th a:hover { color: #000; } + +/* Issues grid styles by priorities (provided by Wynn Netherland) */ +table.list tr.issue a { color: #333; } + +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; } +tr.odd.priority-5 { background: #ffc4c4; } +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; } +tr.even.priority-5 { background: #ffd4d4; } +tr.priority-5 a, tr.priority-5:hover a { color: #900; } +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; } + +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; } +tr.odd.priority-4 { background: #ffc4c4; } +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; } +tr.even.priority-4 { background: #ffd4d4; } +tr.priority-4 a { color: #900; } +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; } + +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; } +tr.odd.priority-3 { background: #fee; } +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; } +tr.even.priority-3 { background: #fff2f2; } +tr.priority-3 a { color: #900; } +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; } + +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; } +tr.odd.priority-1 { background: #eaf7ff; } +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; } +tr.even.priority-1 { background: #f2faff; } +tr.priority-1 a { color: #559; } +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; } + +p.breadcrumb { + background-color:#EEEEEE; + border-bottom:1px solid white; + font-size:0.9em; + margin:-6px -10px 6px; + padding:6px; + text-indent:15px; +} + +/* Fields */ +input[type="text"], input[type="password"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; } +input[type="text"], input[type="password"] { padding: 3px; } +input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border: 1px solid #888866; } +option { border-bottom: 1px dotted #d7d7d7; } +input#issue_subject { font-size: 200%; width: 90%; } + +textarea.wiki-edit { font-family: Cambria, Verdana, Serif; font-size: larger; } + +/* Misc */ +.box { background-color: #fcfcfc; } + +.contextual { font-size: 0.9em; font-family:verdana; } + +hr { background:#eee none repeat scroll 0% 0%; } + +#footer {display: none;} +.help {display: none;} +ul.projects li.root div.root {margin-bottom: 1.6em;} + +ul.projects li.root div.root div.description { margin-top: -0.6em;} \ No newline at end of file