b34f1be47f
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
149 lines
2.3 KiB
SCSS
149 lines
2.3 KiB
SCSS
/**
|
|
* File content holder
|
|
*
|
|
*/
|
|
.file-holder {
|
|
border: 1px solid #CCC;
|
|
margin-bottom: 1em;
|
|
|
|
table {
|
|
@extend .table;
|
|
}
|
|
|
|
.file-title {
|
|
background: #EEE;
|
|
border-bottom: 1px solid #CCC;
|
|
text-shadow: 0 1px 1px #fff;
|
|
margin: 0;
|
|
text-align: left;
|
|
padding: 10px 15px;
|
|
|
|
.options {
|
|
float: right;
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.left-options {
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.file_name {
|
|
font-weight: bold;
|
|
padding-left: 3px;
|
|
font-size: 14px;
|
|
|
|
small {
|
|
color: #888;
|
|
font-size: 13px;
|
|
font-weight: normal;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
.file-content {
|
|
background: #fff;
|
|
|
|
&.image_file {
|
|
background: #eee;
|
|
text-align: center;
|
|
img {
|
|
padding: 100px;
|
|
max-width: 50%;
|
|
}
|
|
}
|
|
|
|
&.wiki {
|
|
padding: 25px;
|
|
|
|
.highlight {
|
|
margin-bottom: 9px;
|
|
|
|
> pre {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.blob_file {
|
|
|
|
}
|
|
|
|
&.blob-no-preview {
|
|
background: #eee;
|
|
text-shadow: 0 1px 2px #FFF;
|
|
padding: 100px 0;
|
|
}
|
|
|
|
/**
|
|
* Blame file
|
|
*/
|
|
&.blame {
|
|
table {
|
|
border: none;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
}
|
|
tr {
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
td {
|
|
&:first-child {
|
|
border-left: none;
|
|
}
|
|
&:last-child {
|
|
border-right: none;
|
|
}
|
|
background: #fff;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|