Skip to content

Commit 29e8c95

Browse files
committed
Add static asset highlight-line.less
1 parent b7dc96a commit 29e8c95

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

highlight-line.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require("./highlight-line.less");
12
var $ = require("jquery");
23

34
var getLines = function(lineString) {

highlight-line.less

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
article {
2+
code {
3+
.expand {
4+
background-color: #eee;
5+
text-align: center;
6+
padding: 4px 0px;
7+
border-top: 1px solid #ccc;
8+
border-bottom: 1px solid #ccc;
9+
color: black;
10+
}
11+
.expand:before {
12+
content: '⇅ EXPAND ⇅';
13+
display: block;
14+
width: 15px;
15+
height: 15px;
16+
margin: 0 auto;
17+
}
18+
.expand:hover{
19+
opacity: .6;
20+
cursor: pointer;
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)