Browse Source

Slight changes to diff/file/annotate styles.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10432 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.2.0
Jean-Philippe Lang 11 years ago
parent
commit
fa2fe3e1e8
1 changed files with 8 additions and 4 deletions
  1. 8
    4
      public/stylesheets/scm.css

+ 8
- 4
public/stylesheets/scm.css View File

#changes-legend li { float: left; background-position: 5px 0; } #changes-legend li { float: left; background-position: 5px 0; }


table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; } table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; }
table.filecontent tbody {font-family:"Liberation Mono", Courier, monospace; font-size:12px;}
table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; } table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; }
table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;}
table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding:5px;}
table.filecontent tr.spacing th { text-align:center; } table.filecontent tr.spacing th { text-align:center; }
table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;} table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
table.filecontent th.line-num { table.filecontent th.line-num {
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
font-size: 0.8em;
text-align: right; text-align: right;
width: 2%; width: 2%;
padding-right: 3px;
padding: 0 3px 0 0;
color: #999; color: #999;
user-select: none; user-select: none;
-moz-user-select: none; -moz-user-select: none;
-o-user-select: none; -o-user-select: none;
-ms-user-select: none; -ms-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
font-weight:normal;
} }
table.filecontent th.line-num a { table.filecontent th.line-num a {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
} }
table.filecontent td.line-code {padding: 0 0 0 4px;}
table.filecontent td.line-code pre { table.filecontent td.line-code pre {
margin: 0px; margin: 0px;
white-space: pre-wrap; white-space: pre-wrap;
font-family:"Liberation Mono", Courier, monospace; font-size:12px;
} }


/* 12 different colors for the annonate view */ /* 12 different colors for the annonate view */
table.annotate tr.bloc-11 {background: #BFE4FF;} table.annotate tr.bloc-11 {background: #BFE4FF;}


table.annotate td.revision { table.annotate td.revision {
padding:0;
text-align: center; text-align: center;
width: 2%; width: 2%;
padding-left: 1em; padding-left: 1em;
} }


table.annotate td.author { table.annotate td.author {
padding:0;
text-align: center; text-align: center;
border-right: 1px solid #d7d7d7; border-right: 1px solid #d7d7d7;
white-space: nowrap; white-space: nowrap;
padding-right: 1em; padding-right: 1em;
width: 3%; width: 3%;
background: inherit; background: inherit;
font-size: 90%;
} }


table.annotate td.line-code { background-color: #fafafa; } table.annotate td.line-code { background-color: #fafafa; }

Loading…
Cancel
Save