Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Last active December 12, 2015 05:58
Show Gist options
  • Save marek-saji/4725778 to your computer and use it in GitHub Desktop.
Save marek-saji/4725778 to your computer and use it in GitHub Desktop.
Less ugly RedMine
/**
* HG stylesheet, based on "Basecamp"
*/
body, input, select, textarea, h1, h2, h3, h4 {
font-family: "Lucida Grande", "Segoe UI", verdana, arial, helvetica, sans-serif !important;
}
body {
background-color: #bbb;
}
body[class|="controller"], #wrapper {
background-color: #f9f9f9;
}
body a, a:visited, a:link {
color: #006ab4;
}
body a:hover {
text-decoration: underline;
}
body a:hover, a:active {
color: #007cd3;
}
#login-form table {
border: 1px solid #d1cb9b;
background: #ffffd1;
-moz-box-shadow: inset 0 0 0 1px #fff;
-webkit-box-shadow: inset 0 0 0 1px #fff;
box-shadow: inset 0 0 0 1px #fff;
}
#login-form label {
font-weight: 600;
}
#login-form input[type="text"], #login-form input[type="password"] {
border: 1px solid #d1cb9b;
}
#login-form input[type="submit"] {
border: 1px solid #201836;
background: #685897;
padding: 5px 15px;
color: #fff;
cursor: pointer;
-moz-box-shadow: inset 0 1px 0 #9c8bcd;
-webkit-box-shadow: inset 0 1px 0 #9c8bcd;
box-shadow: inset 0 1px 0 #9c8bcd;
}
#header, #top-menu {
margin: 0;
}
#header {
background-color: #4b3d75;
padding: 6px 0 0;
height: auto;
}
#header h1 {
margin: 0 14px;
font-size: 25px;
}
#header #quick-search {
margin: 0 14px;
}
#header #quick-search input, #header #quick-search select {
border: 1px solid #150f26;
}
#top-menu {
background-color: #201836;
font-size: 11px;
position: relative;
padding: 0;
height: 25px;
}
#top-menu ul {
padding: 0 12px;
}
#top-menu li, #top-menu #loggedas {
color: #edf;
line-height: 25px;
margin-right: 4px;
}
#top-menu #account li {
color: #edf;
line-height: 25px;
margin-right: 0;
margin-left: 4px;
}
#top-menu #account li a {
margin-right: 0;
margin-left: 8px;
}
#top-menu li a {
color: #edf;
font-weight: normal;
padding: 4px 5px;
}
#top-menu li a:hover {
color: #fff;
text-decoration: none;
}
#main {
width: auto;
height: auto;
margin: 8px;
}
#wrapper #main {
background: #f3f3f3;
margin: 14px;
border: 1px solid #ccc;
}
#content {
width: auto;
padding: 10px 14px 14px;
margin-right: 260px;
-moz-box-shadow: 2px 0 3px rgba(0,0,0,0.05);
-webkit-box-shadow: 2px 0 3px rgba(0,0,0,0.05);
box-shadow: 2px 0 3px rgba(0,0,0,0.05);
}
#main.nosidebar #content {
width: auto;
}
#sidebar {
width: 246px;
}
#footer {
background: transparent;
border: 0px;
clear: left;
color: #666666;
font-size: 9px;
padding: 0 14px 14px;
text-align: left;
}
#footer a:hover {
background: #666 none repeat scroll 0 0;
color: #fff !important;
}
#footer a:link, #footer a:visited {
color: #666;
}
h1 {
font-size: 24px;
font-weight: normal;
margin: 0 0 0 0.25em;
padding: 0 0 10px;
text-align: left;
}
div.wiki {
font-size: 1.1em;
}
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {
border-bottom: 0px;
}
h2, .wiki h1 {
font-size: 28px;
color: #000;
padding: 5px 2px;
}
.wiki h1 {
font-weight: bold;
}
.wiki h2 {
margin: 1.5em 0 .5em;
background-color: transparent;
font-size: 1.33em;
}
.wiki h3 {
margin: 1.5em 0 .5em;
font-size: 1.2em;
}
.wiki h3 {
margin: 1.5em 0 .5em;
font-size: 1.1em;
}
div.issue div.wiki h3 {
text-decoration: underline;
}
h3, h4 {
font-weight: normal;
}
pre, code {
font-family: Consolas, Source Code Pro, Courier New, monospace;
background: rgba(0,0,0,0.04);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
pre code, td pre {
background: transparent;
box-shadow: none;
padding: 0;
}
pre .syntaxhl {
margin: -.2em -.5em;
display: block;
}
.syntaxhl .line-code {
height: 1.4em;
}
.syntaxhl .no {
background: #eee;
color: #999;
border-right: 1px solid #ccc;
}
div.wiki pre, pre {
margin: .4em 0;
padding: .2em .5em;
line-height: 1.4em;
background: rgba(0,0,0,0.03);
border-color: rgba(0,0,0,0.2);
color: #333;
}
code {
padding: .15em .33em;
}
div.wiki h3, div.wiki h4 {
font-weight: bold;
}
#sidebar h3 {
border-bottom: 1px solid #dcdcdc;
padding: 6px 8px 6px 0;
}
div.journal h4 {
padding: 6px 10px 3px 0;
background-color: #edf3fe;
border-bottom: 1px dotted #e3e8f5;
}
h4 img.gravatar {
vertical-align: middle;
}
div.flash {
border-width: 1px;
}
div.splitcontentleft h2 {
background-color: transparent;
padding: 0;
margin: 20px 0 5px 0;
}
#sidebar {
line-height: 1.3em;
}
#sidebar a {
padding: 2px;
margin: 1px 0;
display: inline-block;
}
#sidebar a:hover {
background-color: #039;
color: #fff;
text-decoration: none;
}
#main-menu {
margin: 0 14px;
font-size: 13px;
font-weight: 600;
position: static !important;
}
#main-menu ul {
overflow: hidden;
}
#main-menu li {
margin: 1px 1px 0 0;
}
#main-menu li a {
background-color: #685897;
color: #fff;
font-weight: normal;
padding: 4px 8px 6px;
border-top: 1px solid #8475b3;
font-weight: normal;
}
#main-menu li a:hover {
background: #7f6eb0;
text-decoration: none;
border-top-color: #9c8bcd;
}
#main-menu li a.selected, #main-menu li a.selected:hover {
background-color: #f9f9f9;
border-top-color: #fff;
color: #111;
}
table.list {
border: none;
}
table.list th {
background-color: #fff;
}
table.list tbody td, table.list tbody tr td, table.list tbody tr td.checkbox {
border: solid 1px #ddd;
font-size: 11px;
padding: 5px 6px;
}
table.list thead th {
border: none;
border-bottom: 1px solid #999;
font-size: 9px;
font-weight: normal;
padding: 0 3px 3px;
text-transform: uppercase;
}
table.list thead th a {
color: #000;
}
table.list thead th a:hover {
color: #000;
}
table.list tr.issue td.subject a {
font-weight: 600;
}
.controller-issues.action-index table.list tr.issue td.subject {
padding: 0;
}
.controller-issues.action-index table.list tr.issue td.subject a {
display: block;
padding: 5px 6px;
}
.controller-issues.action-index table.list tr.issue.idnt td.subject a {
padding-left: 16px;
}
#issue_tree table.list {
background: #ffe;
}
#issue_tree table.list tbody td {
border-color: #d9d5b3;
}
.odd, .even {
background-color: #f6f7f8;
}
tr.priority-5, table.list tbody tr.priority-5:hover {
color: #900;
font-weight: bold;
}
tr.priority-5 {
background: #ffd3cc;
}
tr.priority-5 a {
color: #900;
}
tr.priority-5 td {
border-color: #fdbdbd !important;
}
tr.priority-4, table.list tbody tr.priority-4:hover {
color: #900;
}
tr.priority-4 {
background: #fff0cc;
}
tr.priority-4 a {
color: #900;
}
tr.priority-4 td {
border-color: #e8d0a6 !important;
}
tr.priority-3, table.list tbody tr.priority-3:hover {
color: #3d5374;
}
tr.priority-3 {
background: #e5efff;
}
tr.priority-3 td {
border-color: #cddaee !important;
}
tr.priority-1, table.list tbody tr.priority-1:hover {
color: #6c7d53;
}
tr.priority-1 {
background: #e9ffd4;
}
tr.priority-1 td {
border-color: #bee6a9 !important;
}
table.progress {
background: none repeat scroll 0 0 #fff;
border: 1px solid #fff;
outline: 1px solid rgba(0,0,0,0.1);
}
p.breadcrumb {
border: none;
font-size: 0.9em;
margin: 4px 0 6px;
padding: 8px 0;
}
td.done_ratio {
width: 80px;
}
table.list tbody tr.group td {
font-size: 1.1em;
}
input[type="text"], input[type="password"], textarea, select {
padding: 2px;
border: 1px solid #ccc;
}
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%;
}
.box {
background-color: #fcfcfc;
}
input[type="text"], input[type="password"], textarea, select {
margin: 0 1px 2px;
background: #fff;
-moz-box-shadow: inset 0 1px 2px #eee;
-webkit-box-shadow: inset 0 1px 2px #eee;
box-shadow: inset 0 1px 2px #eee;
}
.contextual {
padding: 7px 2px;
}
.details .contextual {
margin: 0;
padding: 0 2px;
}
hr {
background: #eee none repeat scroll 0% 0%;
}
div.issue {
background: #fffedd;
border-color: #d9d5b3;
padding: 12px;
}
div.issue hr {
background: #d9d5b3;
}
div.issue div.subject {
border-bottom: 1px solid #d9d5b3;
padding-bottom: 5px;
}
div.issue div.subject h3 {
color: #000;
font-weight: 600;
font-size: 1.5em;
}
div.splitcontentleft ol li, div.splitcontentleft ul li, div.wiki ol li, div.wiki ul li {
padding: 2px 0;
}
div.wiki ul.toc li {
padding: 0;
}
.issue ol, .issue ul, .issue p {
line-height: 1.4em;
}
ol, ul {
padding-left: 1.5em
}
ol li ol li {
list-style-type: lower-alpha;
}
ol li ol li ol li {
list-style-type: lower-roman;
}
#history h3, #issue-changesets h3 {
margin: 1em 0 .5em;
}
#history .details {
margin: .2em 0;
}
#history .details strong {
font-weight: 600;
}
#history .details i {
font-style: normal;
color: #000;
background: rgba(255, 237, 142, 0.5);
padding: 2px;
}
#history .details li {
padding: 4px 0;
}
#history .details li > i:last-of-type {
background: rgba(191, 255, 126, 0.5);
}
table.list tbody tr.group td {
font-weight: 600;
}
table.list tbody td table.progress td {
font-size: 0;
}
table.progress td {
background: #fff;
font-size: 0;
border: none !important;
padding: 6px 0 5px !important;
}
table.progress td.closed {
background: #a0d68e;
background-image: linear-gradient(top, #a0d68e, #74b940) !important;
background-image: -moz-linear-gradient(top, #a0d68e, #74b940) !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#a0d68e), to(#74b940))!important;
background-image: -webkit-linear-gradient(top, #a0d68e, #74b940) !important;
background-image: -o-linear-gradient(top, #a0d68e, #74b940) !important;
}
table.attributes {
line-height: 1.4em;
border-collapse: collapse;
}
table.attributes td, th {
padding: 5px;
}
table.attributes th {
width: 15%;
font-weight: 600;
text-align: right;
padding-right: 10px;
}
table.attributes td.progress {
width: 120px;
vertical-align: middle;
}
.tabular label {
font-weight: 600;
}
.required {
color: #e00;
font-size: 1.26em;
}
#backlogs_container .backlog,
#backlogs_container .backlog .header .menu .items {
-moz-box-shadow: 0 2px 3px rgba(0,0,0,0.25), 1px 3px 8px rgba(0,0,0,0.2) !important;
-webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.25), 1px 3px 8px rgba(0,0,0,0.2) !important;
box-shadow: 0 2px 3px rgba(0,0,0,0.25), 1px 3px 8px rgba(0,0,0,0.2) !important;
}
#toolbar {
height: 34px;
background: #f5f5f5;
-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25) !important;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.25) !important;
box-shadow: 0 1px 1px rgba(0,0,0,0.25) !important;
background-image: linear-gradient(top, #fff, #f0f0f0) !important;
background-image: -moz-linear-gradient(top, #fff, #f0f0f0) !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f0f0f0))!important;
background-image: -webkit-linear-gradient(top, #fff, #f0f0f0) !important;
background-image: -o-linear-gradient(top, #fff, #f0f0f0) !important;
border-bottom: 1px solid #fff !important;
}
#toolbar .breadcrumbs {
bottom: 3px !important;
}
#backlogs_container .backlog .header {
background: #e7e7e7 !important;
border-top: 1px solid #fff !important;
background-image: linear-gradient(top, #f3f3f3, #e3e3e3) !important;
background-image: -moz-linear-gradient(top, #f3f3f3, #e3e3e3) !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#e3e3e3))!important;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e3e3e3) !important;
background-image: -o-linear-gradient(top, #f3f3f3, #e3e3e3) !important;
}
#backlogs_container .backlog .header .menu:hover,
#backlogs_container .backlog .header .menu .items {
background: #fff !important;
border: 1px solid #888;
border-width: 0 1px 1px 0;
}
#backlogs_container .backlog .header .menu .item {
height: auto !important;
}
#backlogs_container .backlog .header .menu .item:hover {
background: #eee !important;
}
#backlogs_container .backlog .header .menu .item a {
color: #006ab4 !important;
padding: 6px 8px !important;
}
#backlogs_container .backlog .sprint .sprint_start_date, #backlogs_container .backlog .sprint .effective_date {
top: 1px !important;
}
#backlogs_container .stories {
background-color: #fff !important;
}
#backlogs_container .stories .story {
font-size: 12px !important;
background-color: #fff !important;
border-top: 1px solid #ddd !important;
overflow: visible;
}
#backlogs_container .stories .story:nth-child(even) {
background-color: #f3f3f3 !important;
}
#backlogs_container .stories .story:hover {
background-color: #fffebf !important;
}
#backlogs_container .stories .story .id {
left: 7px !important;
}
#backlogs_container .stories .story .id .t * {
background: #7f6eb0 !important;
color: #fff !important;
text-align: center !important;
font-size: 9px !important;
font-weight: 600 !important;
padding: 0 !important;
}
#backlogs_container .stories .story.editing input,
#backlogs_container .stories .story.editing select {
font-size: 12px;
border: 1px solid #aaa !important;
padding: 4px 2px 3px !important;
margin: 0 -1px !important;
height: auto !important;
top: 1px !important;
}
#backlogs_container .stories .story.editing select {
padding: 3px 2px 2px !important;
}
#backlogs_container {
width: auto !important;
max-width: 1800px !important;
}
#product_backlog_container,
#top_sprint_backlogs_container {
width: 50% !important;
}
#backlogs_container .backlog .sprint.editing .name.editor {
left: 3px !important;
top: 1px !important;
}
#backlogs_container .backlog .sprint .sprint_start_date,
#backlogs_container .backlog .sprint .effective_date {
line-height: 28px !important;
padding: 0 4px;
}
#backlogs_container .backlog .sprint.editing .effective_date.editor,
#backlogs_container .backlog .sprint.editing .sprint_start_date.editor {
line-height: 26px !important;
width: 80px !important;
}
#backlogs_container .backlog .sprint .sprint_start_date.editor {
text-align: right;
padding-right: 2px !important;
}
#product_backlog_container .backlog {
position: static !important;
width: auto !important;
}
#sprint_backlogs_container {
width: auto !important;
padding-right: 8px !important;
}
#backlogs_container .backlog .sprint {
width: auto !important;
right: 40px !important;
}
#backlogs_container .backlog .sprint .sprint_start_date {
left: auto !important;
right: 90px !important;
}
#backlogs_container .backlog .sprint .effective_date {
left: auto !important;
right: 0 !important;
}
#product_backlog_container .backlog .header > .close_sprint {
right: 15px !important;
}
#backlogs_container .stories li.story {
overflow: visible;
}
#backlogs_container .stories .story .editable {
padding: 5px 0 0 2px !important;
}
#backlogs_container .stories .story.editing .tracker_id.editor {
left: 2px !important;
width: 62px !important;
}
#backlogs_container .stories .story .subject {
width: auto !important;
left: 65px !important;
right: 120px !important;
white-space: nowrap;
text-overflow: ellipsis !important;
overflow: hidden;
}
#backlogs_container .stories .story:not(.editing) div.subject:hover
{
overflow: visible;
white-space: normal;
z-index: 20;
height: auto;
background-color: inherit;
padding-bottom: 4px !important;
}
#backlogs_container .stories .story .status_id {
width: 80px !important;
right: 39px !important;
left: auto !important;
white-space: nowrap;
text-overflow: ellipsis !important;
overflow: hidden;
}
#backlogs_container .stories .story .story_points {
width: 30px !important;
right: 2px !important;
left: auto !important;
text-align: center !important;
}
#backlogs_container .editors {
position: static !important;
}
@media all and (max-width: 1100px)
{
div#issue-changesets {
float: none;
width: auto;
margin-left: 0;
padding-left: 0;
max-height: 32em;
overflow: auto;
}
}
@media all and (max-width: 900px)
{
div#issue-changesets p {
margin-bottom: .5em;
}
div#issue-changesets .wiki {
display: none;
}
}
/* better layout of edit form */
.attributes input[type=text],
.attributes select {
box-sizing: border-box;
width: -webkit-calc(47% - 20px) !important;
}
.attributes input[type=text][id$=hours] {
width: -webkit-calc(47% - 3em) !important;
}
html>body .tabular p
{
padding: 0;
}
.tabular label
{
width: 25%;
margin: 0;
padding: 0 0.25em 0 0;
}
@media all and (max-width: 70em)
{
.splitcontentright,
.splitcontentleft
{
float: none;
width: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment