File tree 1 file changed +21
-6
lines changed
1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change
1
+ @import " locate://bit-docs-site/styles/variables.less" ;
2
+
3
+ /* *
4
+ * @parent bit-docs-html-highlight-line/static
5
+ * @module bit-docs-html-highlight-line/static/styles/highlight-line.less
6
+ *
7
+ * @description Base styles for highlight tag.
8
+ *
9
+ * @body
10
+ *
11
+ * Adds styling for the `.expand` element.
12
+ *
13
+ * The `.expand` element gets added onload when the `only` option is used with
14
+ * the highlight tag, and the code block has lines before/after the highlight.
15
+ */
1
16
article {
2
17
code {
3
18
.expand {
4
- background-color : #eee ;
5
- text-align : center ;
19
+ color : black ;
6
20
padding : 4px 0px ;
21
+ text-align : center ;
22
+ background-color : #eee ;
7
23
border-top : 1px solid #ccc ;
8
24
border-bottom : 1px solid #ccc ;
9
- color : black ;
10
25
}
11
26
.expand :before {
12
- content : ' ⇅ EXPAND ⇅' ;
13
- display : block ;
14
27
width : 15px ;
15
28
height : 15px ;
16
29
margin : 0 auto ;
30
+ display : block ;
31
+ content : ' ⇅ EXPAND ⇅' ;
17
32
}
18
- .expand :hover {
33
+ .expand :hover {
19
34
opacity : .6 ;
20
35
cursor : pointer ;
21
36
}
You can’t perform that action at this time.
0 commit comments