compass-slickmap 0.2.3 → 0.3.0

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,3 +1,4 @@
1
1
  .DS_Store
2
2
  pkg
3
- .sass-cache
3
+ .sass-cache
4
+ compass-slickmap-*.gem
data/Rakefile CHANGED
@@ -5,13 +5,14 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "compass-slickmap"
8
- gem.summary = %Q{An implementation of SlickmapCSS sitemap in Sass}
8
+ gem.summary = %Q{An implementation of SlickmapCSS sitemap in SCSS/Sass3}
9
9
  gem.email = "tdreyno@gmail.com"
10
10
  gem.homepage = "http://github.com/tdreyno/compass-slickmap"
11
11
  gem.authors = ["Thomas Reynolds"]
12
12
  # gem.rubyforge_project = "compassslickmap"
13
13
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
- gem.add_dependency("compass")
14
+ gem.add_dependency("haml", ">= 3.0")
15
+ gem.add_dependency("compass", ">= 0.10")
15
16
  end
16
17
 
17
18
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.3.0
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{compass-slickmap}
8
- s.version = "0.2.3"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Reynolds"]
12
- s.date = %q{2009-12-03}
12
+ s.date = %q{2010-05-22}
13
13
  s.email = %q{tdreyno@gmail.com}
14
14
  s.files = [
15
15
  ".gitignore",
@@ -17,37 +17,38 @@ Gem::Specification.new do |s|
17
17
  "VERSION",
18
18
  "compass-slickmap.gemspec",
19
19
  "lib/slickmap.rb",
20
- "lib/slickmap/compass_plugin.rb",
21
- "sass/_slickmap.sass",
22
- "templates/project/images/L1-center.png",
23
- "templates/project/images/L1-left.png",
24
- "templates/project/images/L1-right.png",
25
- "templates/project/images/L3-bottom.png",
26
- "templates/project/images/L3-center.png",
27
- "templates/project/images/L3-li-top.png",
28
- "templates/project/images/L3-ul-top.png",
29
- "templates/project/images/vertical-line.png",
30
- "templates/project/images/white-highlight.png",
31
- "templates/project/manifest.rb",
32
- "templates/project/sitemap.sass"
20
+ "lib/stylesheets/_slickmap.scss",
21
+ "lib/templates/project/L1-center.png",
22
+ "lib/templates/project/L1-left.png",
23
+ "lib/templates/project/L1-right.png",
24
+ "lib/templates/project/L3-bottom.png",
25
+ "lib/templates/project/L3-center.png",
26
+ "lib/templates/project/L3-li-top.png",
27
+ "lib/templates/project/L3-ul-top.png",
28
+ "lib/templates/project/manifest.rb",
29
+ "lib/templates/project/sitemap.scss",
30
+ "lib/templates/project/vertical-line.png",
31
+ "lib/templates/project/white-highlight.png"
33
32
  ]
34
33
  s.homepage = %q{http://github.com/tdreyno/compass-slickmap}
35
34
  s.rdoc_options = ["--charset=UTF-8"]
36
35
  s.require_paths = ["lib"]
37
- s.rubygems_version = %q{1.3.5}
38
- s.summary = %q{An implementation of SlickmapCSS sitemap in Sass}
36
+ s.rubygems_version = %q{1.3.7}
37
+ s.summary = %q{An implementation of SlickmapCSS sitemap in SCSS/Sass3}
39
38
 
40
39
  if s.respond_to? :specification_version then
41
40
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
42
41
  s.specification_version = 3
43
42
 
44
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
45
- s.add_runtime_dependency(%q<compass>, [">= 0"])
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_runtime_dependency(%q<haml>, [">= 3.0"])
45
+ s.add_runtime_dependency(%q<compass>, [">= 0.10"])
46
46
  else
47
- s.add_dependency(%q<compass>, [">= 0"])
47
+ s.add_dependency(%q<haml>, [">= 3.0"])
48
+ s.add_dependency(%q<compass>, [">= 0.10"])
48
49
  end
49
50
  else
50
- s.add_dependency(%q<compass>, [">= 0"])
51
+ s.add_dependency(%q<haml>, [">= 3.0"])
52
+ s.add_dependency(%q<compass>, [">= 0.10"])
51
53
  end
52
54
  end
53
-
@@ -1,45 +1,3 @@
1
- require 'base64'
2
- require File.join(File.dirname(__FILE__), 'slickmap', 'compass_plugin')
3
-
4
- module Compass::SlickmapImage
5
- def slickmap_image(path, mime_type = nil)
6
- path = path.value
7
- real_path = File.join(File.dirname(__FILE__), "..", "templates", "project", "images", path)
8
- url = "url('data:#{compute_mime_type(path,mime_type)};base64,#{data(real_path)}')"
9
- Sass::Script::String.new(url)
10
- end
11
-
12
- private
13
- def compute_mime_type(path, mime_type)
14
- return mime_type if mime_type
15
- case path
16
- when /\.png$/i
17
- 'image/png'
18
- when /\.jpe?g$/i
19
- 'image/jpeg'
20
- when /\.gif$/i
21
- 'image/gif'
22
- when /\.([a-zA-Z]+)$/
23
- "image/#{Regexp.last_match(1).downcase}"
24
- else
25
- raise Compass::Error, "A mime type could not be determined for #{path}, please specify one explicitly."
26
- end
27
- end
28
-
29
- def data(real_path)
30
- if File.readable?(real_path)
31
- Base64.encode64(File.read(real_path)).gsub("\n","")
32
- else
33
- raise Compass::Error, "File not found or cannot be read: #{real_path}"
34
- end
35
- end
36
- end
37
-
38
-
39
- module ::Sass::Script::Functions
40
- include Compass::SlickmapImage
41
- end
42
-
43
- class ::Sass::Script::Functions::EvaluationContext
44
- include ::Sass::Script::Functions
45
- end
1
+ Compass::Frameworks.register('slickmap',
2
+ :stylesheets_directory => File.join(File.dirname(__FILE__), 'stylesheets'),
3
+ :templates_directory => File.join(File.dirname(__FILE__), 'templates'))
@@ -0,0 +1,197 @@
1
+ @import "compass/reset";
2
+ @import "compass/css3";
3
+
4
+ /* Override !column-default with the number of top-level navigation columns you need */
5
+ /* - not including your home page */
6
+ $column-default: 4 !default;
7
+
8
+ @mixin slickmap($body-selector: body, $columns: $column-default) {
9
+ #{$body-selector} {
10
+ @include nested-reset;
11
+ @include slickmap-body;
12
+ @if $body-selector != "body" {
13
+ @include slickmap-defaults($columns); } }
14
+ @if $body-selector == "body" {
15
+ @include slickmap-defaults($columns); } }
16
+
17
+ @mixin slickmap-primary-nav($columns: $column-default) {
18
+ margin: 0;
19
+ float: left;
20
+ width: 100%;
21
+ li {
22
+ width: 100% / $columns; }
23
+ &.col1 li {
24
+ width: 99.9%; }
25
+ &.col2 li {
26
+ width: 50%; }
27
+ &.col3 li {
28
+ width: 33.3%; }
29
+ &.col4 li {
30
+ width: 25%; }
31
+ &.col5 li {
32
+ width: 20%; }
33
+ &.col6 li {
34
+ width: 16.6%; }
35
+ &.col7 li {
36
+ width: 14.2%; }
37
+ &.col8 li {
38
+ width: 12.5%; }
39
+ &.col9 li {
40
+ width: 11.1%; }
41
+ &.col10 li {
42
+ width: 10%; }
43
+ li {
44
+ ul li {
45
+ width: 100% !important; }
46
+ a:link:before, a:visited:before, span:before {
47
+ color: #78a9c0; }
48
+ /* Second Level */
49
+ li {
50
+ width: 100%;
51
+ clear: left;
52
+ margin-top: 0;
53
+ padding: 10px 0 0 0;
54
+ background: inline-image("vertical-line.png") repeat-y 50% bottom;
55
+ a, span {
56
+ background-color: #cee3ac;
57
+ border-color: #b8da83;
58
+ &:hover {
59
+ border-color: #94b75f;
60
+ background-color: #e7f1d7; } }
61
+ &:first-child {
62
+ padding-top: 30px; }
63
+ &:last-child {
64
+ background: inline-image("vertical-line.png") repeat-y 50% bottom; }
65
+ a:link:before, a:visited:before, span:before {
66
+ color: #8faf5c; }
67
+ /* Third Level */
68
+ ul {
69
+ margin: 10px 0 0 0;
70
+ width: 100%;
71
+ float: right;
72
+ padding: 9px 0 10px 0;
73
+ background: white inline-image("L3-ul-top.png") no-repeat 50% 0; }
74
+ li {
75
+ background: inline-image("L3-center.png") no-repeat 0 50%;
76
+ padding: 5px 0;
77
+ a, span {
78
+ background-color: #fff7aa;
79
+ border-color: #e3ca4b;
80
+ font-size: 12px;
81
+ padding: 5px 0;
82
+ width: 80%;
83
+ float: right;
84
+ &:hover {
85
+ background-color: #fffce5;
86
+ border-color: #d1b62c; } }
87
+ &:first-child {
88
+ padding: 15px 0 5px 0;
89
+ background: inline-image("L3-li-top.png") no-repeat 0 50%; }
90
+ &:last-child {
91
+ background: inline-image("L3-bottom.png") no-repeat 0 50%; }
92
+ a:link:before, a:visited:before, span:before {
93
+ color: #ccae14;
94
+ font-size: 9px; } } } }
95
+ li {
96
+ float: left;
97
+ background: inline-image("L1-center.png") no-repeat 50% 0;
98
+ padding: 30px 0;
99
+ margin-top: -30px;
100
+ &:last-child {
101
+ background: inline-image("L1-right.png") no-repeat 50% 0; }
102
+ a, span {
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 inline-image("white-highlight.png") repeat-x 0 0;
111
+ border: 2px solid #b5d9ea;
112
+ @include border-radius(5px);
113
+ @include box-shadow(rgba(0, 0, 0, 0.5), 2px, 2px, 2px);
114
+ &:hover, span {
115
+ background-color: #e2f4fd;
116
+ border-color: #97bdcf; } } } }
117
+
118
+ @mixin slickmap-primary-nav-home {
119
+ display: block;
120
+ float: none;
121
+ background: white inline-image("L1-left.png") no-repeat 50% bottom;
122
+ position: relative;
123
+ z-index: 2;
124
+ padding: 0 0 30px 0; }
125
+
126
+ @mixin slickmap-utility-nav {
127
+ float: right;
128
+ max-width: 50%;
129
+ margin-right: 10px;
130
+ li {
131
+ float: left;
132
+ margin-bottom: 10px;
133
+ a, span {
134
+ margin: 0 10px 0 0;
135
+ padding: 5px 10px;
136
+ display: block;
137
+ border: 2px solid #e3ca4b;
138
+ font-size: 12px;
139
+ font-weight: bold;
140
+ text-align: center;
141
+ color: black;
142
+ background: #fff7aa inline-image("white-highlight.png") repeat-x 0 0;
143
+ @include border-radius(5px);
144
+ @include box-shadow(rgba(0, 0, 0, 0.5), 2px, 2px, 2px);
145
+ &:hover {
146
+ background-color: #fffce5;
147
+ border-color: #d1b62c; } }
148
+ a:link:before, a:visited:before, span:before {
149
+ color: #ccae14;
150
+ font-size: 9px;
151
+ margin-bottom: 3px; } } }
152
+
153
+ /* General Styles */
154
+ @mixin slickmap-body {
155
+ background: white;
156
+ color: black;
157
+ padding: 40px;
158
+ font-family: Gotham, Helvetica, Arial, sans-serif;
159
+ font-size: 12px;
160
+ line-height: 1; }
161
+
162
+ @mixin slickmap-defaults($columns: $column-default) {
163
+ .sitemap {
164
+ margin: 0 0 40px 0;
165
+ float: left;
166
+ width: 100%; }
167
+ h1 {
168
+ font-weight: bold;
169
+ text-transform: uppercase;
170
+ font-size: 20px;
171
+ margin: 0 0 5px 0; }
172
+ h2 {
173
+ font-family: "Lucida Grande", Verdana, sans-serif;
174
+ font-size: 10px;
175
+ color: #777777;
176
+ margin: 0 0 20px 0; }
177
+ a, span {
178
+ text-decoration: none; }
179
+ a:link:before, a:visited:before, span:before {
180
+ display: block;
181
+ text-transform: uppercase;
182
+ font-size: 10px;
183
+ margin-bottom: 5px;
184
+ word-wrap: break-word; }
185
+ a:link:before, a:visited:before {
186
+ content: " " attr(href) " "; }
187
+ span:before {
188
+ content: " " attr(title) " "; }
189
+ ol, ul {
190
+ list-style: none; }
191
+ #primaryNav {
192
+ @include slickmap-primary-nav($columns);
193
+ li#home {
194
+ @include slickmap-primary-nav-home; } }
195
+ /* Utility Navigation */
196
+ #utilityNav {
197
+ @include slickmap-utility-nav; } }
@@ -0,0 +1,10 @@
1
+ image 'L1-center.png'
2
+ image 'L1-left.png'
3
+ image 'L1-right.png'
4
+ image 'L3-bottom.png'
5
+ image 'L3-center.png'
6
+ image 'L3-li-top.png'
7
+ image 'L3-ul-top.png'
8
+ image 'vertical-line.png'
9
+ image 'white-highlight.png'
10
+ stylesheet 'sitemap.scss', :media => "screen, projection"
@@ -0,0 +1,6 @@
1
+ /* Override with the number of top level naigation columns you need.
2
+ - not including your home page */
3
+ $column-default: 4 !default;
4
+
5
+ @import "slickmap";
6
+ @include slickmap;
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-slickmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ hash: 19
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - Thomas Reynolds
@@ -9,19 +15,39 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-12-03 00:00:00 -08:00
18
+ date: 2010-05-22 00:00:00 -07:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
- name: compass
22
+ name: haml
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
33
+ version: "3.0"
17
34
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: compass
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
20
41
  requirements:
21
42
  - - ">="
22
43
  - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
44
+ hash: 31
45
+ segments:
46
+ - 0
47
+ - 10
48
+ version: "0.10"
49
+ type: :runtime
50
+ version_requirements: *id002
25
51
  description:
26
52
  email: tdreyno@gmail.com
27
53
  executables: []
@@ -36,19 +62,18 @@ files:
36
62
  - VERSION
37
63
  - compass-slickmap.gemspec
38
64
  - lib/slickmap.rb
39
- - lib/slickmap/compass_plugin.rb
40
- - sass/_slickmap.sass
41
- - templates/project/images/L1-center.png
42
- - templates/project/images/L1-left.png
43
- - templates/project/images/L1-right.png
44
- - templates/project/images/L3-bottom.png
45
- - templates/project/images/L3-center.png
46
- - templates/project/images/L3-li-top.png
47
- - templates/project/images/L3-ul-top.png
48
- - templates/project/images/vertical-line.png
49
- - templates/project/images/white-highlight.png
50
- - templates/project/manifest.rb
51
- - templates/project/sitemap.sass
65
+ - lib/stylesheets/_slickmap.scss
66
+ - lib/templates/project/L1-center.png
67
+ - lib/templates/project/L1-left.png
68
+ - lib/templates/project/L1-right.png
69
+ - lib/templates/project/L3-bottom.png
70
+ - lib/templates/project/L3-center.png
71
+ - lib/templates/project/L3-li-top.png
72
+ - lib/templates/project/L3-ul-top.png
73
+ - lib/templates/project/manifest.rb
74
+ - lib/templates/project/sitemap.scss
75
+ - lib/templates/project/vertical-line.png
76
+ - lib/templates/project/white-highlight.png
52
77
  has_rdoc: true
53
78
  homepage: http://github.com/tdreyno/compass-slickmap
54
79
  licenses: []
@@ -59,23 +84,29 @@ rdoc_options:
59
84
  require_paths:
60
85
  - lib
61
86
  required_ruby_version: !ruby/object:Gem::Requirement
87
+ none: false
62
88
  requirements:
63
89
  - - ">="
64
90
  - !ruby/object:Gem::Version
91
+ hash: 3
92
+ segments:
93
+ - 0
65
94
  version: "0"
66
- version:
67
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
+ none: false
68
97
  requirements:
69
98
  - - ">="
70
99
  - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
71
103
  version: "0"
72
- version:
73
104
  requirements: []
74
105
 
75
106
  rubyforge_project:
76
- rubygems_version: 1.3.5
107
+ rubygems_version: 1.3.7
77
108
  signing_key:
78
109
  specification_version: 3
79
- summary: An implementation of SlickmapCSS sitemap in Sass
110
+ summary: An implementation of SlickmapCSS sitemap in SCSS/Sass3
80
111
  test_files: []
81
112
 
@@ -1,5 +0,0 @@
1
- options = Hash.new
2
- options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass'))
3
- options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates'))
4
-
5
- Compass::Frameworks.register('slickmap', options)
@@ -1,210 +0,0 @@
1
- @import compass/utilities/general/reset.sass
2
-
3
- // Override !column_default with the number of top-level navigation columns you need
4
- // - not including your home page
5
- !column_default ||= 4
6
-
7
- =slickmap(!body_selector = "body", !columns = !column_default)
8
- #{!body_selector}
9
- +nested-reset
10
- +slickmap-body
11
- @if !body_selector != "body"
12
- +slickmap-defaults(!columns)
13
- @if !body_selector == "body"
14
- +slickmap-defaults(!columns)
15
-
16
- =slickmap-primary-nav(!columns = !column_default)
17
- margin: 0
18
- float: left
19
- width: 100%
20
- li
21
- width= 100/!columns + "%"
22
-
23
- &.col1 li
24
- width: 99.9%
25
- &.col2 li
26
- width: 50.0%
27
- &.col3 li
28
- width: 33.3%
29
- &.col4 li
30
- width: 25.0%
31
- &.col5 li
32
- width: 20.0%
33
- &.col6 li
34
- width: 16.6%
35
- &.col7 li
36
- width: 14.2%
37
- &.col8 li
38
- width: 12.5%
39
- &.col9 li
40
- width: 11.1%
41
- &.col10 li
42
- width: 10.0%
43
-
44
- li
45
- ul li
46
- width: 100% !important
47
-
48
- a:link:before, a:visited:before, span:before
49
- color: #78a9c0
50
-
51
- // Second Level
52
- li
53
- width: 100%
54
- clear: left
55
- margin-top: 0
56
- padding: 10px 0 0 0
57
- background= slickmap_image("vertical-line.png") "center" "bottom" "repeat-y"
58
- a, span
59
- background-color: #cee3ac
60
- border-color: #b8da83
61
- &:hover
62
- border-color: #94b75f
63
- background-color: #e7f1d7
64
- &:first-child
65
- padding-top: 30px
66
- &:last-child
67
- background= slickmap_image("vertical-line.png") "center" "bottom" "repeat-y"
68
-
69
- a:link:before, a:visited:before, span:before
70
- color: #8faf5c
71
-
72
- // Third Level
73
- ul
74
- margin: 10px 0 0 0
75
- width: 100%
76
- float: right
77
- padding: 9px 0 10px 0
78
- background= #fff slickmap_image("L3-ul-top.png") "center" "top" "no-repeat"
79
-
80
- li
81
- background= slickmap_image("L3-center.png") "left" "center" "no-repeat"
82
- padding: 5px 0
83
- a, span
84
- background-color: #fff7aa
85
- border-color: #e3ca4b
86
- font-size: 12px
87
- padding: 5px 0
88
- width: 80%
89
- float: right
90
- &:hover
91
- background-color: #fffce5
92
- border-color: #d1b62c
93
- &:first-child
94
- padding: 15px 0 5px 0
95
- background= slickmap_image("L3-li-top.png") "left" "center" "no-repeat"
96
- &:last-child
97
- background= slickmap_image("L3-bottom.png") "left" "center" "no-repeat"
98
- a:link:before, a:visited:before, span:before
99
- color: #ccae14
100
- font-size: 9px
101
-
102
- li
103
- float: left
104
- background= slickmap_image("L1-center.png") "center" "top" "no-repeat"
105
- padding: 30px 0
106
- margin-top: -30px
107
- &:last-child
108
- background= slickmap_image("L1-right.png") "center" "top" "no-repeat"
109
- a, span
110
- margin: 0 20px 0 0
111
- padding: 10px 0
112
- display: block
113
- font-size: 14px
114
- font-weight: bold
115
- text-align: center
116
- color: black
117
- background= #c3eafb slickmap_image("white-highlight.png") "top" "left" "repeat-x"
118
- border: 2px solid #b5d9ea
119
- -moz-border-radius: 5px
120
- -webkit-border-radius: 5px
121
- -webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
122
- -moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
123
- &:hover, span
124
- background-color: #e2f4fd
125
- border-color: #97bdcf
126
-
127
- =slickmap-primary-nav-home
128
- display: block
129
- float: none
130
- background= #fff slickmap_image("L1-left.png") "center" "bottom" "no-repeat"
131
- position: relative
132
- z-index: 2
133
- padding: 0 0 30px 0
134
-
135
- =slickmap-utility-nav
136
- float: right
137
- max-width: 50%
138
- margin-right: 10px
139
- li
140
- float: left
141
- margin-bottom: 10px
142
- a, span
143
- margin: 0 10px 0 0
144
- padding: 5px 10px
145
- display: block
146
- border: 2px solid #e3ca4b
147
- font-size: 12px
148
- font-weight: bold
149
- text-align: center
150
- color: black
151
- background= #fff7aa slickmap_image("white-highlight.png") "top" "left" "repeat-x"
152
- -moz-border-radius: 5px
153
- -webkit-border-radius: 5px
154
- -webkit-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
155
- -moz-box-shadow: rgba(0,0,0,0.5) 2px 2px 2px
156
- &:hover
157
- background-color: #fffce5
158
- border-color: #d1b62c
159
- a:link:before, a:visited:before, span:before
160
- color: #ccae14
161
- font-size: 9px
162
- margin-bottom: 3px
163
-
164
- // General Styles
165
- =slickmap-body
166
- background: white
167
- color: black
168
- padding: 40px
169
- font-family: Gotham, Helvetica, Arial, sans-serif
170
- font-size: 12px
171
- line-height: 1
172
-
173
- =slickmap-defaults(!columns = !column_default)
174
- .sitemap
175
- margin: 0 0 40px 0
176
- float: left
177
- width: 100%
178
- h1
179
- font-weight: bold
180
- text-transform: uppercase
181
- font-size: 20px
182
- margin: 0 0 5px 0
183
- h2
184
- font-family: "Lucida Grande", Verdana, sans-serif
185
- font-size: 10px
186
- color: #777777
187
- margin: 0 0 20px 0
188
- a, span
189
- text-decoration: none
190
- a:link:before, a:visited:before, span:before
191
- display: block
192
- text-transform: uppercase
193
- font-size: 10px
194
- margin-bottom: 5px
195
- word-wrap: break-word
196
- a:link:before, a:visited:before
197
- content: " "attr(href)" "
198
- span:before
199
- content: " "attr(title)" "
200
- ol, ul
201
- list-style: none
202
-
203
- #primaryNav
204
- +slickmap-primary-nav(!columns)
205
- li#home
206
- +slickmap-primary-nav-home
207
-
208
- // Utility Navigation
209
- #utilityNav
210
- +slickmap-utility-nav
@@ -1,10 +0,0 @@
1
- image 'images/L1-center.png'
2
- image 'images/L1-left.png'
3
- image 'images/L1-right.png'
4
- image 'images/L3-bottom.png'
5
- image 'images/L3-center.png'
6
- image 'images/L3-li-top.png'
7
- image 'images/L3-ul-top.png'
8
- image 'images/vertical-line.png'
9
- image 'images/white-highlight.png'
10
- stylesheet 'sitemap.sass', :media => "screen, projection"
@@ -1,7 +0,0 @@
1
- // Override with the number of top level naigation columns you need.
2
- // - not including your home page
3
- !column_default ||= 4
4
-
5
- @import slickmap.sass
6
-
7
- +slickmap