cifkao commited on
Commit
7214b0b
·
1 Parent(s): bed1194

Add missing Sass file

Browse files
Files changed (1) hide show
  1. highlighted_text/src/index.scss +54 -0
highlighted_text/src/index.scss ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ padding: 0;
3
+ margin: 0;
4
+ font-family: "Source Sans Pro", sans-serif;
5
+ font-size: 1rem;
6
+ line-height: 1.4;
7
+ }
8
+
9
+ .highlighted-text, .status-bar {
10
+ color: black;
11
+ background-color: white;
12
+ }
13
+
14
+ .highlighted-text {
15
+ border: 1px solid #d2d2d2;
16
+ border-radius: 0 0 5px 5px;
17
+ padding: 4px;
18
+ cursor: pointer;
19
+
20
+ .token.active {
21
+ outline: 1px solid #444;
22
+ }
23
+
24
+ &.frozen {
25
+ .token {
26
+ opacity: 0.75;
27
+
28
+ &.context, &.active {
29
+ opacity: 1;
30
+ }
31
+
32
+ &.context {
33
+ text-decoration: #999 underline;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ .status-bar {
40
+ min-height: 1.4em;
41
+ border: 1px solid #d2d2d2;
42
+ border-bottom: none;
43
+ border-radius: 5px 5px 0 0;
44
+ padding: 3px 4px;
45
+
46
+ .token {
47
+ border: 1px solid #aaa;
48
+ border-radius: 2px;
49
+ background: #f5f5f5;
50
+ padding: 1px;
51
+ margin: 1px;
52
+ margin-right: 2px;
53
+ }
54
+ }