2012-08-29 20:23:43 +02:00
|
|
|
/**
|
|
|
|
* File content holder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.file_holder {
|
2012-11-23 17:51:38 +01:00
|
|
|
border: 1px solid #BBB;
|
2012-11-23 17:33:43 +01:00
|
|
|
margin-bottom: 1em;
|
2012-11-28 00:30:26 +01:00
|
|
|
@include solid-shade;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
.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;
|
2012-11-23 17:33:43 +01:00
|
|
|
height: 18px;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
.options {
|
2012-11-23 17:33:43 +01:00
|
|
|
float: right;
|
2012-08-29 20:23:43 +02:00
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file_name {
|
2012-11-23 17:33:43 +01:00
|
|
|
color: $style_color;
|
|
|
|
font-size: 14px;
|
2012-08-29 20:23:43 +02:00
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
small {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #999;
|
2012-11-23 17:33:43 +01:00
|
|
|
font-size: 13px;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.file_content {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #fff;
|
2012-08-29 20:23:43 +02:00
|
|
|
font-size: 11px;
|
|
|
|
|
|
|
|
&.image_file {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #eee;
|
2012-11-23 17:33:43 +01:00
|
|
|
text-align: center;
|
2012-08-29 20:23:43 +02:00
|
|
|
img {
|
2012-11-23 17:33:43 +01:00
|
|
|
padding: 100px;
|
|
|
|
max-width: 300px;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-10 17:09:12 +01:00
|
|
|
&.wiki {
|
|
|
|
padding: 20px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2012-08-29 20:23:43 +02:00
|
|
|
&.blob_file {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Blame file
|
|
|
|
*/
|
|
|
|
&.blame {
|
2012-09-27 10:58:41 +02:00
|
|
|
table {
|
2012-11-23 17:33:43 +01:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
margin: 0;
|
2012-09-27 10:58:41 +02:00
|
|
|
}
|
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 {
|
2012-11-23 17:33:43 +01:00
|
|
|
border-left: none;
|
2012-09-27 10:58:41 +02:00
|
|
|
}
|
|
|
|
&:last-child {
|
2012-11-23 17:33:43 +01:00
|
|
|
border-right: none;
|
2012-09-27 10:58:41 +02:00
|
|
|
}
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #fff;
|
2012-11-23 17:33:43 +01:00
|
|
|
padding: 5px;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
.author,
|
|
|
|
.blame_commit {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #f5f5f5;
|
2012-11-23 17:33:43 +01:00
|
|
|
vertical-align: top;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
.lines {
|
|
|
|
pre {
|
2012-11-23 17:33:43 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.logs {
|
2012-11-23 17:51:38 +01:00
|
|
|
background: #eee;
|
2012-08-29 20:23:43 +02:00
|
|
|
max-height: 700px;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
ol {
|
2012-11-23 17:33:43 +01:00
|
|
|
margin-left: 40px;
|
2012-08-29 20:23:43 +02:00
|
|
|
padding: 10px 0;
|
|
|
|
border-left: 1px solid #CCC;
|
2012-11-23 17:33:43 +01:00
|
|
|
margin-bottom: 0;
|
2012-08-29 20:23:43 +02:00
|
|
|
background: white;
|
|
|
|
li {
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #888;
|
2012-08-29 20:23:43 +02:00
|
|
|
p {
|
2012-11-23 17:33:43 +01:00
|
|
|
margin: 0;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #333;
|
2012-11-23 17:33:43 +01:00
|
|
|
line-height: 24px;
|
2012-08-29 20:23:43 +02:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2012-11-23 17:33:43 +01:00
|
|
|
background: $hover;
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Code file
|
|
|
|
*/
|
|
|
|
&.code {
|
2012-11-10 00:03:46 +01:00
|
|
|
padding: 0;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
2012-11-10 00:03:46 +01:00
|
|
|
table.lines {
|
2012-08-29 20:23:43 +02:00
|
|
|
border: none;
|
2012-11-10 00:03:46 +01:00
|
|
|
box-shadow: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
table-layout: fixed;
|
2012-08-29 20:23:43 +02:00
|
|
|
|
2012-11-10 00:03:46 +01:00
|
|
|
pre {
|
|
|
|
border: none;
|
2012-11-27 22:50:24 +01:00
|
|
|
border-radius: 0;
|
2012-12-01 13:49:21 +01:00
|
|
|
font-family: $monospace_font;
|
2012-11-10 00:03:46 +01:00
|
|
|
font-size: 12px !important;
|
|
|
|
line-height: 16px !important;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
background: #eee;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tr:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
|
2012-11-10 00:03:46 +01:00
|
|
|
pre.line_numbers {
|
2012-11-07 12:31:26 +01:00
|
|
|
color: #666;
|
2012-11-10 00:03:46 +01:00
|
|
|
padding: 10px 6px 10px 0;
|
2012-11-07 12:31:26 +01:00
|
|
|
text-align: right;
|
2012-11-10 00:03:46 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: #666;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: none;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
&:hover i {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
border-left: 1px solid #DEE2E3;
|
|
|
|
overflow: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
|
|
|
pre {
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
|
|
|
|
|
|
|
.line {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
}
|
2012-11-07 12:31:26 +01:00
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|