-
Notifications
You must be signed in to change notification settings - Fork 21
/
module.C4.Navigator.css
176 lines (153 loc) · 4.45 KB
/
module.C4.Navigator.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/*-- C.4. Navigator
Details : http://www.reddit.com/r/mindashq/wiki/modules/navigator
+ Add only when corresponding markup is added in sidebar
----*/
.side .md > blockquote:last-child {
display: none;
}
.side .md > blockquote:last-child {
position: absolute;
top: 69px; /*Tweak this as per the header height (esp when C1 HeaderImages is used)*/
left: 0; /*Tweak depending on subreddit name length; Set for stage*/
z-index: 99;
display: block;
margin: 0;
padding: 0;
border: 0 none;
background-color: transparent;
}
.side .md > blockquote:last-child > h1 {
overflow: hidden;
margin: -24px 0 0;
padding: 2px;
width: 25px;
background-color: #acd9fc;
color: #357ae8;
vertical-align: middle;
text-align: center;
text-shadow: -1px -1px 0 #d8eeff,1px 1px 0 #075e85;
font-weight: bold;
font-size: 20px;
line-height: 28px;
}
.side .md > blockquote:last-child > h1 a {
background-color: #acd9fc;
color: #357ae8;
}
.side .md > blockquote:last-child > h1 em {
display: none;
}
.side .md > blockquote:last-child ul {
display: none;
overflow: visible;
margin: 0;
padding: 0;
list-style: none outside;
list-style-image: none;
vertical-align: top;
white-space: normal;
}
.side .md > blockquote:last-child:hover > h1,
.side .md > blockquote:last-child:active > h1 {
margin-bottom: -15px;
padding-bottom: 15px;
background-color: #5ba2fd;
color: #eaf4fc;
text-shadow: none;
}
.side .md > blockquote:last-child:hover > h1 a,
.side .md > blockquote:last-child:active > h1 a {
background-color: transparent;
color: #eaf4fc;
}
.side .md > blockquote:last-child:hover > ul,
.side .md > blockquote:last-child:active > ul {
display: block;
margin: -3px 0 0 -50px;
padding: 0 50px 50px;
}
.side .md > blockquote:last-child li {
margin: 0;
padding: 5px 15px 0;
width: 150px;
height: 30px;
border: 1px solid #ddd;
border-width: 0 1px 1px 1px;
background-color: #eee;
box-shadow: 0 1px 3px 0 #bbb;
text-shadow: 0 1px 0 #ddd;
white-space: normal;
line-height: 30px;
}
.side .md > blockquote:last-child li:first-child {
border-width: 1px;
}
.side .md > blockquote:last-child li a {
color: #357ae8;
}
.side .md > blockquote:last-child ul > li:hover,
.side .md > blockquote:last-child ul > li:active,
.side .md > blockquote:last-child ul > li:hover > a,
.side .md > blockquote:last-child ul > li:active > a {
background-color: #5ba2fd;
color: #eaf4fc;
text-shadow: 0 1px 0 #333;
}
.side .md > blockquote:last-child > ul > li:hover > ul,
.side .md > blockquote:last-child > ul > li:active > ul,
.side .md > blockquote:last-child > ul > li > ul:hover,
.side .md > blockquote:last-child > ul > li > ul:active {
position: relative;
top: -36px;
display: inline-block;
overflow: hidden;
margin-left: 163px;
padding: 0 50px 50px 3px;
height: auto;
}
.side .md > blockquote:last-child li > ul > li,
.side .md > blockquote:last-child li > ul > li {
min-width: 150px;
width: auto;
background-color: #f8f8f8;
color: #5ba2fd;
white-space: nowrap;
}
body.res-nightmode .side .md > blockquote:last-child {
border: 0 none;
background-color: transparent;
}
body.res-nightmode .side .md > blockquote:last-child > h1,
body.res-nightmode .side .md > blockquote:last-child > h1 a {
background-color: #414141 !important;
color: #ff910b !important;
}
body.res-nightmode .side .md > blockquote:last-child:hover > h1,
body.res-nightmode .side .md > blockquote:last-child:active > h1,
body.res-nightmode .side .md > blockquote:last-child:hover > h1 a,
body.res-nightmode .side .md > blockquote:last-child:active > h1 a {
background-color: #ff910b !important;
color: #414141 !important;
}
body.res-nightmode .side .md > blockquote:last-child li {
border-color: #6a6a6a;
background-color: #444;
box-shadow: 0 1px 6px 0 #000;
text-shadow: 0 1px 0 #888;
}
body.res-nightmode .side .md > blockquote:last-child li a {
color: #bbb;
}
body.res-nightmode .side .md > blockquote:last-child ul > li:hover,
body.res-nightmode .side .md > blockquote:last-child ul > li:active,
body.res-nightmode .side .md > blockquote:last-child ul > li:hover > a,
body.res-nightmode .side .md > blockquote:last-child ul > li:active > a {
background-color: #ff910b;
color: #eaf4fc !important;
text-shadow: 0 1px 0 #333;
}
body.res-nightmode .side .md > blockquote:last-child li > ul > li {
background-color: #4a4a4a;
box-shadow: 0 1px 6px 0 #000;
}
/*-- C.4.end Navigator ----*/