2015-04-26 12:48:37 +05:30
|
|
|
.file-content.code {
|
2014-09-02 18:07:02 +05:30
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-09-02 18:07:02 +05:30
|
|
|
table-layout: fixed;
|
|
|
|
|
|
|
|
pre {
|
2016-09-29 09:46:39 +05:30
|
|
|
padding: 10px 0;
|
2014-09-02 18:07:02 +05:30
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
font-family: $monospace_font;
|
2016-09-29 09:46:39 +05:30
|
|
|
font-size: $code_font_size;
|
2015-04-26 12:48:37 +05:30
|
|
|
line-height: $code_line_height !important;
|
2014-09-02 18:07:02 +05:30
|
|
|
margin: 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
overflow: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
2016-02-05 20:25:01 +05:30
|
|
|
border-left: 1px solid;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
code {
|
2016-09-29 09:46:39 +05:30
|
|
|
display: inline-block;
|
|
|
|
min-width: 100%;
|
2015-04-26 12:48:37 +05:30
|
|
|
font-family: $monospace_font;
|
2016-09-29 09:46:39 +05:30
|
|
|
white-space: normal;
|
2014-09-02 18:07:02 +05:30
|
|
|
word-wrap: normal;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.line {
|
2016-09-29 09:46:39 +05:30
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 19px;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
white-space: pre;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-numbers {
|
|
|
|
padding: 10px;
|
|
|
|
text-align: right;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
display: block;
|
2015-04-26 12:48:37 +05:30
|
|
|
font-size: $code_font_size !important;
|
|
|
|
line-height: $code_line_height !important;
|
2014-09-02 18:07:02 +05:30
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
i {
|
2016-06-02 11:05:42 +05:30
|
|
|
float: left;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-right: 5px;
|
2014-09-02 18:07:02 +05:30
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover i {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|