2014-09-02 18:07:02 +05:30
|
|
|
/**
|
|
|
|
* File content holder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.file-holder {
|
2015-04-26 12:48:37 +05:30
|
|
|
border: 1px solid $border-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-title {
|
2015-04-26 12:48:37 +05:30
|
|
|
position: relative;
|
|
|
|
background: $background-color;
|
|
|
|
border-bottom: 1px solid $border-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
margin: 0;
|
|
|
|
text-align: left;
|
|
|
|
padding: 10px 15px;
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.file-actions {
|
2014-09-02 18:07:02 +05:30
|
|
|
float: right;
|
2015-04-26 12:48:37 +05:30
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 15px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 0px 10px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.left-options {
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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;
|
2015-09-11 14:41:01 +05:30
|
|
|
padding: 8px;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
.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;
|
2015-04-26 12:48:37 +05:30
|
|
|
border-left: 1px solid $border-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|