-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlearning-map.css
111 lines (97 loc) · 3.4 KB
/
learning-map.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
105
106
107
108
109
110
111
/* http://keith-wood.name/svg.html
SVG for jQuery v1.4.5.
Written by Keith Wood (kbwood{at}iinet.com.au) August 2007.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
Please attribute the author if you use it. */
svg\:svg {
display: none;
}
.svg_error {
color: red;
font-weight: bold;
}
/* The rest is via Rick Osborne */
.learning-map-canary { display: none; }
.map-set-word-know { color: #A6A9AC; }
.map-set-word-show { color: #EA5E24; }
.map-set-word-research { color: #67A443; }
.map-set-word-build { color: #0264A2; }
.map-set-word-beyond { color: #A84724; }
.learning-map-wrap {
position: relative;
}
/* increased specificity to override fso */
ol.learning-map {
margin: 0;
overflow-x: auto;
font-size: 100%;
line-height: 1.5em;
/* font-family: 'Ubuntu Condensed', sans-serif; */
position: relative;
}
.learning-map-svg {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
ol.learning-map, ol.map-items {
padding: 0;
margin: 0;
list-style: none;
}
.activity ol.learning-map li.learning-map-set {
position: relative;
float: left;
top: 0;
list-style: none;
margin: 0 -100% 0 0; /* Yeah, that just looks awful */
}
/* 5-column rules */
.activity ol.learning-map li.learning-map-set { width: 17%; }
.activity ol.learning-map li.learning-map-set1 { left: 20.5%; }
.activity ol.learning-map li.learning-map-set2 { left: 41%; }
.activity ol.learning-map li.learning-map-set3 { left: 61.5%; }
.activity ol.learning-map li.learning-map-set4 { left: 82%; }
/* 4-column rules */
.activity ol.learning-map-col4 li.learning-map-set { width: 22%; }
.activity ol.learning-map-col4 li.learning-map-set1 { left: 25.666666%; }
.activity ol.learning-map-col4 li.learning-map-set2 { left: 51.333333%; }
.activity ol.learning-map-col4 li.learning-map-set3 { left: 77%; }
/* 3-column rules */
.activity ol.learning-map-col3 li.learning-map-set { width: 30%; }
.activity ol.learning-map-col3 li.learning-map-set1 { left: 34.5%; }
.activity ol.learning-map-col3 li.learning-map-set2 { left: 69%; }
/* 2-column rules */
.activity ol.learning-map-col2 li.learning-map-set { width: 48%; }
.activity ol.learning-map-col2 li.learning-map-set1 { left: 52%; }
.activity ol.learning-map li.map-item {
background-color: #D1D2D3;
border: none;
border-left: 0.5em solid #D1D2D3;
padding: 0.5em;
list-style: none;
margin: 0 0 1em 0;
}
.activity ol.learning-map li.map-item-unknown { border-left-color: #756f61; }
.activity ol.learning-map li.map-item-know { border-left-color: #A6A9AC; }
.activity ol.learning-map li.map-item-show { border-left-color: #EA5E24; }
.activity ol.learning-map li.map-item-research { border-left-color: #67A443; }
.activity ol.learning-map li.map-item-build { border-left-color: #0264A2; }
.activity ol.learning-map li.map-item-beyond { border-left-color: #A84724; }
.activity ol.learning-map li.map-item.invert, .learning-map-svg .invert { opacity: 0.20; }
.activity .learning-map a {
display: block;
text-decoration: none;
color: black;
background: transparent url(link-icon.png) no-repeat right center;
padding: 0.5em; /* yeah, whatcha gonna do about it? */
margin: -0.5em;
}
.activity .learning-map a:hover {
color: blue;
text-decoration: underline;
background-color: #d1d2ff;
}