2015-05-10 17:18:02 +00:00
|
|
|
.terminal {
|
2015-06-14 15:24:03 +00:00
|
|
|
box-sizing: border-box;
|
2015-11-18 20:14:46 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&_header {
|
|
|
|
|
|
|
|
}
|
2015-07-08 20:37:31 +00:00
|
|
|
|
2015-05-10 17:18:02 +00:00
|
|
|
&_code {
|
2015-12-09 15:18:10 +00:00
|
|
|
display: table;
|
2015-12-09 18:11:35 +00:00
|
|
|
width: 100%;
|
2015-12-09 15:18:10 +00:00
|
|
|
padding: 10px 0;
|
|
|
|
color: #f1f1f1;
|
2015-11-18 20:14:46 +00:00
|
|
|
font-family: monospace;
|
|
|
|
font-size: 12px;
|
2015-12-09 15:18:10 +00:00
|
|
|
line-height: 18px;
|
2015-11-18 20:14:46 +00:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
background-color: #2a2a2a;
|
|
|
|
counter-reset: line-numbering;
|
|
|
|
}
|
|
|
|
|
|
|
|
&_footer {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-line {
|
2015-12-09 15:18:10 +00:00
|
|
|
display: table-row;
|
2015-11-18 20:14:46 +00:00
|
|
|
|
|
|
|
&_counter {
|
2015-12-09 15:18:10 +00:00
|
|
|
display: table-cell;
|
|
|
|
width: 1px;
|
2015-12-12 12:07:36 +00:00
|
|
|
vertical-align: top;
|
2015-11-18 20:14:46 +00:00
|
|
|
text-align: right;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
color: darken(@gray-lighter, 15%);
|
2015-12-09 15:18:10 +00:00
|
|
|
padding: 0 10px;
|
|
|
|
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
2015-12-09 18:11:35 +00:00
|
|
|
white-space: nowrap;
|
2015-12-09 15:18:10 +00:00
|
|
|
|
2015-11-18 20:14:46 +00:00
|
|
|
&:before {
|
|
|
|
content: counter(line-numbering);
|
|
|
|
counter-increment: line-numbering;
|
2015-07-08 20:37:31 +00:00
|
|
|
}
|
2015-12-09 15:18:10 +00:00
|
|
|
|
2015-11-18 20:14:46 +00:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @gray-lighter;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&_body {
|
2015-12-09 15:18:10 +00:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 0 10px;
|
2015-11-18 20:14:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #444;
|
2015-05-10 17:18:02 +00:00
|
|
|
}
|
|
|
|
}
|