-
Notifications
You must be signed in to change notification settings - Fork 0
/
copyicons.css
72 lines (59 loc) · 1.08 KB
/
copyicons.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
/**
Bootstrap icons for PmWiki
Written by (c) Petko Yotov 2023-2024 www.pmwiki.org/Petko
License: MIT, see file LICENSE
This sets styles for the (:biconlist:) listings.
*/
ul.biconlist {
list-style-type: none;
font-size: .8em;
display: flex;
flex-wrap: wrap;
max-height: 10em;
overflow-y: auto;
padding: 0;
margin-top: .4em;
line-height: 1.5;
}
.biconlist li {
flex: 0 0 15em;
margin: 0;
position:relative;
padding-left: .2em;
}
.biconlist li:hover {
cursor: pointer;
background-color: #ff8;
}
.biconlist li.copied {
background-color: #afa;
}
.biconlist li:before {
content:"";
display: block;
position: absolute;
font-size: .7em;
line-height: 1;
top:0;
right: 0;
color: #080;
}
.biconlist li:hover:before {
content:"click to copy";
}
.biconlist li.copied:before,
.biconlist li:hover.copied:before {
content:"\2714";
font-size: 2em;
}
html.pmDarkTheme {
.biconlist li:hover {
background-color: #282900;
}
.biconlist li.copied {
background-color: #004c02;
}
.biconlist li:before {
color: #5bc548;
}
}