forked from c3founder/Roam-Enhancement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenhancedPDF.css
104 lines (90 loc) · 2.52 KB
/
enhancedPDF.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
:root{
--col1: rgba(255, 243, 174, .8);
--col2: rgba(255, 132, 132, .8);
--col3: rgba(155, 253, 130, .8);
--col4: rgba(130, 169, 255, .8);
--col5: rgba(220, 131, 255, .7);
--col6: rgba(172,172,172, .7);
}
[data-tag^="h:"] {
display:none !important;
}
[data-tag^="h:"] + .rm-highlight,
[data-tag^="h:"] + span > .rm-page-ref--link {
color: rgb(0,0,0) !important;
/*border-radius: 5px;
padding-left: 5px;
padding-right: 5px;
font-weight: bold;*/
}
[data-tag^="h:yellow"] + .rm-highlight,
[data-tag^="h:yellow"] + span > .rm-page-ref--link {
background-color: var(--col1) !important;
}
[data-tag^="h:yellow"] + .rm-italics,
[data-tag^="h:yellow"] + .rm-bold
{color: var(--col1);}
[data-tag^="h:red"] + .rm-highlight,
[data-tag^="h:red"] + span > .rm-page-ref--link {
background-color: var(--col2) !important;
}
[data-tag^="h:red"] + .rm-italics,
[data-tag^="h:red"] + .rm-bold
{color: var(--col2); }
[data-tag^="h:green"] + .rm-highlight,
[data-tag^="h:green"] + span > .rm-page-ref--link {
background-color: var(--col3) !important;
}
[data-tag^="h:green"] + .rm-italics,
[data-tag^="h:green"] + .rm-bold
{color: var(--col3); }
[data-tag^="h:blue"] + .rm-highlight,
[data-tag^="h:blue"] + span > .rm-page-ref--link {
background-color: var(--col4) !important;
}
[data-tag^="h:blue"] + .rm-italics,
[data-tag^="h:blue"] + .rm-bold
{color: var(--col4); }
[data-tag^="h:purple"] + .rm-highlight,
[data-tag^="h:purple"] + span > .rm-page-ref--link {
background-color: var(--col5) !important;
}
[data-tag^="h:purple"] + .rm-italics,
[data-tag^="h:purple"] + .rm-bold
{color: var(--col5); }
[data-tag^="h:grey"] + .rm-highlight,
[data-tag^="h:grey"] + span > .rm-page-ref--link {
background-color: var(--col6) !important;
}
[data-tag^="h:grey"] + .rm-italics,
[data-tag^="h:grey"] + .rm-bold
{color: var(--col6); }
/*All btns*/
.btn{padding: 0px !important; border: 3px !important;}
/*All main highlight btns*/
.btn-pdf-activated{
border-radius: 14px !important;
font-size: 12px !important;
font-weight: bold;
min-width: 18px !important;
min-height: 18px !important;
margin-top: 3px !important;
}
.btn-main-annotation{
background-color : rgb(221,220,220) !important;
color: rgb(0,0,0);
margin-top: 0px !important;
}
/*All reference to highlight buttons*/
.btn-rep-text{
}
.btn-rep-alias{
}
.btn-ref-annotation{
background-image: linear-gradient(rgb(249,249,49), rgb(246,246,170), rgb(210,210,9));
color: rgb(6,6,6);
}
/* Hide PDF Breadcrumb */
.parent-path-wrapper > div > span > div > div {
display: none;
}