tdreyno-compass-slickmap 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -1
- data/VERSION +1 -1
- data/compass-slickmap.gemspec +1 -1
- data/sass/slickmap.sass +150 -137
- metadata +1 -1
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/compass-slickmap.gemspec
CHANGED
data/sass/slickmap.sass
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
!slickmap_image_prefix ||= ""
|
2
|
+
|
1
3
|
=slickmap(!body_selector = "body")
|
2
4
|
#{!body_selector}
|
3
5
|
+slickmap-body
|
@@ -6,157 +8,152 @@
|
|
6
8
|
@if !body_selector == "body"
|
7
9
|
+slickmap-defaults
|
8
10
|
|
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
|
-
width: 12.5%
|
36
|
-
&.col9 li
|
37
|
-
width: 11.1%
|
38
|
-
&.col10 li
|
39
|
-
width: 10.0%
|
11
|
+
=slickmap-primary-nav
|
12
|
+
margin: 0
|
13
|
+
float: left
|
14
|
+
width: 100%
|
15
|
+
li
|
16
|
+
width: 25%
|
17
|
+
&.col1 li
|
18
|
+
width: 99.9%
|
19
|
+
&.col2 li
|
20
|
+
width: 50.0%
|
21
|
+
&.col3 li
|
22
|
+
width: 33.3%
|
23
|
+
&.col4 li
|
24
|
+
width: 25.0%
|
25
|
+
&.col5 li
|
26
|
+
width: 20.0%
|
27
|
+
&.col6 li
|
28
|
+
width: 16.6%
|
29
|
+
&.col7 li
|
30
|
+
width: 14.2%
|
31
|
+
&.col8 li
|
32
|
+
width: 12.5%
|
33
|
+
&.col9 li
|
34
|
+
width: 11.1%
|
35
|
+
&.col10 li
|
36
|
+
width: 10.0%
|
40
37
|
|
41
|
-
|
42
|
-
|
38
|
+
ul li
|
39
|
+
width: 100% !important
|
40
|
+
|
41
|
+
a:link:before, a:visited:before
|
42
|
+
color: #78a9c0
|
43
|
+
|
44
|
+
// Second Level
|
45
|
+
li
|
46
|
+
width: 100%
|
47
|
+
clear: left
|
48
|
+
margin-top: 0
|
49
|
+
padding: 10px 0 0 0
|
50
|
+
background= image_url("#{!slickmap_image_prefix}vertical-line.png") "center" "bottom" "repeat-y"
|
51
|
+
a
|
52
|
+
background-color: #cee3ac
|
53
|
+
border-color: #b8da83
|
54
|
+
&:hover
|
55
|
+
border-color: #94b75f
|
56
|
+
background-color: #e7f1d7
|
57
|
+
&:first-child
|
58
|
+
padding-top: 30px
|
59
|
+
&:last-child
|
60
|
+
background= image_url("#{!slickmap_image_prefix}vertical-line.png") "center" "bottom" "repeat-y"
|
43
61
|
|
44
62
|
a:link:before, a:visited:before
|
45
|
-
color: #
|
63
|
+
color: #8faf5c
|
46
64
|
|
47
|
-
//
|
48
|
-
|
65
|
+
// Third Level
|
66
|
+
ul
|
67
|
+
margin: 10px 0 0 0
|
49
68
|
width: 100%
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
69
|
+
float: right
|
70
|
+
padding: 9px 0 10px 0
|
71
|
+
background= #fff image_url("#{!slickmap_image_prefix}L3-ul-top.png") "center" "top" "no-repeat"
|
72
|
+
|
73
|
+
li
|
74
|
+
background= image_url("#{!slickmap_image_prefix}L3-center.png") "left" "center" "no-repeat"
|
75
|
+
padding: 5px 0
|
54
76
|
a
|
55
|
-
background-color: #
|
56
|
-
border-color: #
|
77
|
+
background-color: #fff7aa
|
78
|
+
border-color: #e3ca4b
|
79
|
+
font-size: 12px
|
80
|
+
padding: 5px 0
|
81
|
+
width: 80%
|
82
|
+
float: right
|
57
83
|
&:hover
|
58
|
-
|
59
|
-
|
84
|
+
background-color: #fffce5
|
85
|
+
border-color: #d1b62c
|
60
86
|
&:first-child
|
61
|
-
padding
|
87
|
+
padding: 15px 0 5px 0
|
88
|
+
background= image_url("#{!slickmap_image_prefix}L3-li-top.png") "left" "center" "no-repeat"
|
62
89
|
&:last-child
|
63
|
-
background= image_url(
|
64
|
-
|
90
|
+
background= image_url("#{!slickmap_image_prefix}L3-bottom.png") "left" "center" "no-repeat"
|
65
91
|
a:link:before, a:visited:before
|
66
|
-
color: #
|
92
|
+
color: #ccae14
|
93
|
+
font-size: 9px
|
67
94
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
95
|
+
li
|
96
|
+
float: left
|
97
|
+
background= image_url("#{!slickmap_image_prefix}L1-center.png") "center" "top" "no-repeat"
|
98
|
+
padding: 30px 0
|
99
|
+
margin-top: -30px
|
100
|
+
&:last-child
|
101
|
+
background= image_url("#{!slickmap_image_prefix}L1-right.png") "center" "top" "no-repeat"
|
102
|
+
a
|
103
|
+
margin: 0 20px 0 0
|
104
|
+
padding: 10px 0
|
105
|
+
display: block
|
106
|
+
font-size: 14px
|
107
|
+
font-weight: bold
|
108
|
+
text-align: center
|
109
|
+
color: black
|
110
|
+
background= #c3eafb image_url("#{!slickmap_image_prefix}white-highlight.png") "top" "left" "repeat-x"
|
111
|
+
border: 2px solid #b5d9ea
|
112
|
+
-moz-border-radius: 5px
|
113
|
+
-webkit-border-radius: 5px
|
114
|
+
-webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
115
|
+
-moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
116
|
+
&:hover
|
117
|
+
background-color: #e2f4fd
|
118
|
+
border-color: #97bdcf
|
75
119
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
padding: 5px 0
|
84
|
-
width: 80%
|
85
|
-
float: right
|
86
|
-
&:hover
|
87
|
-
background-color: #fffce5
|
88
|
-
border-color: #d1b62c
|
89
|
-
&:first-child
|
90
|
-
padding: 15px 0 5px 0
|
91
|
-
background= image_url('L3-li-top.png') "left" "center" "no-repeat"
|
92
|
-
&:last-child
|
93
|
-
background= image_url('L3-bottom.png') "left" "center" "no-repeat"
|
94
|
-
a:link:before, a:visited:before
|
95
|
-
color: #ccae14
|
96
|
-
font-size: 9px
|
120
|
+
=slickmap-primary-nav-home
|
121
|
+
display: block
|
122
|
+
float: none
|
123
|
+
background= #fff image_url("#{!slickmap_image_prefix}L1-left.png") "center" "bottom" "no-repeat"
|
124
|
+
position: relative
|
125
|
+
z-index: 2
|
126
|
+
padding: 0 0 30px 0
|
97
127
|
|
98
|
-
|
128
|
+
=slickmap-utility-nav
|
129
|
+
float: right
|
130
|
+
max-width: 50%
|
131
|
+
margin-right: 10px
|
132
|
+
li
|
133
|
+
float: left
|
134
|
+
margin-bottom: 10px
|
135
|
+
a
|
136
|
+
margin: 0 10px 0 0
|
137
|
+
padding: 5px 10px
|
99
138
|
display: block
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
&:
|
111
|
-
background
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
font-weight: bold
|
118
|
-
text-align: center
|
119
|
-
color: black
|
120
|
-
background= #c3eafb image_url('white-highlight.png') "top" "left" "repeat-x"
|
121
|
-
border: 2px solid #b5d9ea
|
122
|
-
-moz-border-radius: 5px
|
123
|
-
-webkit-border-radius: 5px
|
124
|
-
-webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
125
|
-
-moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
126
|
-
&:hover
|
127
|
-
background-color: #e2f4fd
|
128
|
-
border-color: #97bdcf
|
139
|
+
border: 2px solid #e3ca4b
|
140
|
+
font-size: 12px
|
141
|
+
font-weight: bold
|
142
|
+
text-align: center
|
143
|
+
color: black
|
144
|
+
background= #fff7aa image_url("white-highlight.png") "top" "left" "repeat-x"
|
145
|
+
-moz-border-radius: 5px
|
146
|
+
-webkit-border-radius: 5px
|
147
|
+
-webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
148
|
+
-moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
149
|
+
&:hover
|
150
|
+
background-color: #fffce5
|
151
|
+
border-color: #d1b62c
|
152
|
+
&:link:before, &:visited:before
|
153
|
+
color: #ccae14
|
154
|
+
font-size: 9px
|
155
|
+
margin-bottom: 3px
|
129
156
|
|
130
|
-
// Utility Navigation
|
131
|
-
#utilityNav
|
132
|
-
float: right
|
133
|
-
max-width: 50%
|
134
|
-
margin-right: 10px
|
135
|
-
li
|
136
|
-
float: left
|
137
|
-
margin-bottom: 10px
|
138
|
-
a
|
139
|
-
margin: 0 10px 0 0
|
140
|
-
padding: 5px 10px
|
141
|
-
display: block
|
142
|
-
border: 2px solid #e3ca4b
|
143
|
-
font-size: 12px
|
144
|
-
font-weight: bold
|
145
|
-
text-align: center
|
146
|
-
color: black
|
147
|
-
background= #fff7aa image_url('white-highlight.png') "top" "left" "repeat-x"
|
148
|
-
-moz-border-radius: 5px
|
149
|
-
-webkit-border-radius: 5px
|
150
|
-
-webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
151
|
-
-moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
|
152
|
-
&:hover
|
153
|
-
background-color: #fffce5
|
154
|
-
border-color: #d1b62c
|
155
|
-
&:link:before, &:visited:before
|
156
|
-
color: #ccae14
|
157
|
-
font-size: 9px
|
158
|
-
margin-bottom: 3px
|
159
|
-
|
160
157
|
// General Styles
|
161
158
|
=slickmap-body
|
162
159
|
background: white
|
@@ -191,4 +188,20 @@
|
|
191
188
|
margin-bottom: 5px
|
192
189
|
word-wrap: break-word
|
193
190
|
ol, ul
|
194
|
-
list-style: none
|
191
|
+
list-style: none
|
192
|
+
|
193
|
+
//
|
194
|
+
NUMBER OF COLUMNS: Adjust #primaryNav li to set the number
|
195
|
+
of columns required in your site map. The default is
|
196
|
+
4 columns (25%). 5 columns would be 20%, 6 columns would
|
197
|
+
be 16.6%, etc.
|
198
|
+
#primaryNav
|
199
|
+
+slickmap-primary-nav
|
200
|
+
li#home
|
201
|
+
+slickmap-primary-nav-home
|
202
|
+
|
203
|
+
// Utility Navigation
|
204
|
+
#utilityNav
|
205
|
+
+slickmap-utility-nav
|
206
|
+
|
207
|
+
+slickmap
|