2012-08-29 20:23:43 +02:00
|
|
|
/**
|
|
|
|
* File content holder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.file_holder {
|
2012-09-05 22:00:10 +02:00
|
|
|
border:1px solid #BBB;
|
2012-08-29 20:23:43 +02:00
|
|
|
margin-bottom:1em;
|
|
|
|
@include solid_shade;
|
|
|
|
|
|
|
|
.file_title {
|
|
|
|
border-bottom: 1px solid #bbb;
|
2012-09-03 21:57:34 +02:00
|
|
|
@include bg-dark-gray-gradient;
|
2012-08-29 20:23:43 +02:00
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: left;
|
|
|
|
color: #666;
|
|
|
|
padding: 9px 10px;
|
|
|
|
height:18px;
|
|
|
|
|
|
|
|
.options {
|
|
|
|
float:right;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file_name {
|
|
|
|
color:$style_color;
|
|
|
|
font-size:14px;
|
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
small {
|
|
|
|
color:#999;
|
|
|
|
font-size:13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.file_content {
|
|
|
|
background:#fff;
|
|
|
|
font-size: 11px;
|
|
|
|
|
2012-10-17 15:14:20 +02:00
|
|
|
&.wiki {
|
|
|
|
font-size: 13px;
|
|
|
|
code {
|
|
|
|
padding:0 4px;
|
|
|
|
}
|
|
|
|
padding:20px;
|
|
|
|
h1, h2 {
|
|
|
|
line-height: 46px;
|
|
|
|
}
|
|
|
|
h3, h4 {
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-29 20:23:43 +02:00
|
|
|
&.image_file {
|
|
|
|
background:#eee;
|
|
|
|
text-align:center;
|
|
|
|
img {
|
|
|
|
padding:100px;
|
|
|
|
max-width:300px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.blob_file {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Blame file
|
|
|
|
*/
|
|
|
|
&.blame {
|
2012-09-27 10:58:41 +02:00
|
|
|
table {
|
|
|
|
border:none;
|
|
|
|
box-shadow:none;
|
|
|
|
margin:0;
|
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
tr {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
td {
|
2012-09-27 10:58:41 +02:00
|
|
|
&:first-child {
|
|
|
|
border-left:none;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
border-right:none;
|
|
|
|
}
|
|
|
|
background:#fff;
|
2012-08-29 20:23:43 +02:00
|
|
|
padding:5px;
|
|
|
|
}
|
|
|
|
.author,
|
|
|
|
.blame_commit {
|
|
|
|
background:#f5f5f5;
|
|
|
|
vertical-align:top;
|
|
|
|
}
|
|
|
|
.lines {
|
|
|
|
pre {
|
|
|
|
padding:0;
|
|
|
|
margin:0;
|
|
|
|
background:none;
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.logs {
|
|
|
|
background:#eee;
|
|
|
|
max-height: 700px;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
margin-left:40px;
|
|
|
|
padding: 10px 0;
|
|
|
|
border-left: 1px solid #CCC;
|
|
|
|
margin-bottom:0;
|
|
|
|
background: white;
|
|
|
|
li {
|
|
|
|
color:#888;
|
|
|
|
p {
|
|
|
|
margin:0;
|
|
|
|
color:#333;
|
|
|
|
line-height:24px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background:$hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Code file
|
|
|
|
*/
|
|
|
|
&.code {
|
|
|
|
padding:0;
|
|
|
|
td.code {
|
|
|
|
width: 100%;
|
|
|
|
.highlight {
|
|
|
|
margin-left: 55px;
|
|
|
|
overflow:auto;
|
|
|
|
overflow-y:hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.highlight pre {
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap:normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.highlighttable {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
body.project-page table.highlighttable td { border: none }
|
|
|
|
table.highlighttable tr:hover { background:none;}
|
|
|
|
|
|
|
|
table.highlighttable pre{
|
|
|
|
line-height:16px !important;
|
|
|
|
font-size:12px !important;
|
|
|
|
}
|
|
|
|
|
2012-11-07 12:31:26 +01:00
|
|
|
table.highlighttable .linenodiv {
|
|
|
|
a {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 4px;
|
|
|
|
color:#666;
|
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|