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 CHANGED
@@ -1,2 +1,3 @@
1
1
  .DS_Store
2
- pkg
2
+ pkg
3
+ .sass-cache
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{compass-slickmap}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Thomas Reynolds"]
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
- NUMBER OF COLUMNS: Adjust #primaryNav li to set the number
11
- of columns required in your site map. The default is
12
- 4 columns (25%). 5 columns would be 20%, 6 columns would
13
- be 16.6%, etc.
14
- #primaryNav
15
- margin: 0
16
- float: left
17
- width: 100%
18
- li
19
- width: 25%
20
- &.col1 li
21
- width: 99.9%
22
- &.col2 li
23
- width: 50.0%
24
- &.col3 li
25
- width: 33.3%
26
- &.col4 li
27
- width: 25.0%
28
- &.col5 li
29
- width: 20.0%
30
- &.col6 li
31
- width: 16.6%
32
- &.col7 li
33
- width: 14.2%
34
- &.col8 li
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
- ul li
42
- width: 100% !important
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: #78a9c0
63
+ color: #8faf5c
46
64
 
47
- // Second Level
48
- li
65
+ // Third Level
66
+ ul
67
+ margin: 10px 0 0 0
49
68
  width: 100%
50
- clear: left
51
- margin-top: 0
52
- padding: 10px 0 0 0
53
- background= image_url('vertical-line.png') "center" "bottom" "repeat-y"
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: #cee3ac
56
- border-color: #b8da83
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
- border-color: #94b75f
59
- background-color: #e7f1d7
84
+ background-color: #fffce5
85
+ border-color: #d1b62c
60
86
  &:first-child
61
- padding-top: 30px
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('vertical-line.png') "center" "bottom" "repeat-y"
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: #8faf5c
92
+ color: #ccae14
93
+ font-size: 9px
67
94
 
68
- // Third Level
69
- ul
70
- margin: 10px 0 0 0
71
- width: 100%
72
- float: right
73
- padding: 9px 0 10px 0
74
- background= #fff url('L3-ul-top.png') "center" "top" "no-repeat"
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
- li
77
- background= image_url('L3-center.png') "left" "center" "no-repeat"
78
- padding: 5px 0
79
- a
80
- background-color: #fff7aa
81
- border-color: #e3ca4b
82
- font-size: 12px
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
- #home
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
- float: none
101
- background= #fff image_url('L1-left.png') "center" "bottom" "no-repeat"
102
- position: relative
103
- z-index: 2
104
- padding: 0 0 30px 0
105
- li
106
- float: left
107
- background= image_url('L1-center.png') "center" "top" "no-repeat"
108
- padding: 30px 0
109
- margin-top: -30px
110
- &:last-child
111
- background= image_url('L1-right.png') "center" "top" "no-repeat"
112
- a
113
- margin: 0 20px 0 0
114
- padding: 10px 0
115
- display: block
116
- font-size: 14px
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdreyno-compass-slickmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds