sul_styles 0.2.0 → 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.
- checksums.yaml +4 -4
- data/.fontcustom-manifest.json +183 -19
- data/.gitignore +2 -1
- data/.rspec +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +17 -0
- data/README.md +21 -1
- data/Rakefile +13 -0
- data/app/assets/fonts/sul-icons.eot +0 -0
- data/app/assets/fonts/sul-icons.svg +321 -0
- data/app/assets/fonts/sul-icons.ttf +0 -0
- data/app/assets/fonts/sul-icons.woff +0 -0
- data/{assets → app/assets}/stylesheets/_sul-icons-aliases.scss +4 -4
- data/app/assets/stylesheets/_sul-icons-rails.scss +137 -0
- data/app/assets/stylesheets/_sul-icons.scss +187 -0
- data/app/assets/stylesheets/styleguide/styleguide.scss +52 -0
- data/app/assets/stylesheets/styleguide.scss +1 -0
- data/{assets → app/assets}/stylesheets/sul-styles/su_primary_colors.scss +4 -1
- data/{assets → app/assets}/stylesheets/sul-styles/su_web_colors.scss +4 -1
- data/{assets → app/assets}/stylesheets/sul-styles.scss +1 -1
- data/app/controllers/sul_styles/style_guide_controller.rb +47 -0
- data/app/views/layouts/styleguide.html.erb +22 -0
- data/app/views/sul_styles/style_guide/colors.html.erb +18 -0
- data/app/views/sul_styles/style_guide/icons.html.erb +19 -0
- data/app/views/sul_styles/style_guide/index.html.erb +0 -0
- data/bin/rails +12 -0
- data/config/locales/sul_styles.en.yml +4 -0
- data/config/routes.rb +5 -0
- data/docs/styleguide/sul-icons-preview.html +640 -25
- data/fontcustom.yml +2 -2
- data/lib/generators/sul_styles/install_generator.rb +16 -0
- data/lib/sul_styles/engine.rb +17 -0
- data/lib/sul_styles/version.rb +1 -1
- data/lib/sul_styles.rb +1 -12
- data/sul_styles.gemspec +5 -0
- metadata +82 -15
- data/assets/fonts/sul-icons.eot +0 -0
- data/assets/fonts/sul-icons.svg +0 -73
- data/assets/fonts/sul-icons.ttf +0 -0
- data/assets/fonts/sul-icons.woff +0 -0
- data/assets/stylesheets/_sul-icons-rails.scss +0 -55
- data/assets/stylesheets/_sul-icons.scss +0 -64
- data/bin/console +0 -14
- data/bin/setup +0 -7
data/fontcustom.yml
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module SulStyles
|
4
|
+
class Install < Rails::Generators::Base
|
5
|
+
|
6
|
+
source_root File.expand_path('../templates', __FILE__)
|
7
|
+
|
8
|
+
desc 'Install SulStyles'
|
9
|
+
|
10
|
+
def bundle_install
|
11
|
+
Bundler.with_clean_env do
|
12
|
+
run 'bundle install'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module SulStyles
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
isolate_namespace SulStyles
|
4
|
+
|
5
|
+
initializer 'SulStyles.update_assets_path' do |app|
|
6
|
+
unless Rails.env.production?
|
7
|
+
app.config.assets.precompile += %w(styleguide.css)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
config.after_initialize do |app|
|
12
|
+
unless Rails.env.production?
|
13
|
+
app.routes.prepend { mount SulStyles::Engine => '/styleguide' }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/sul_styles/version.rb
CHANGED
data/lib/sul_styles.rb
CHANGED
@@ -1,15 +1,4 @@
|
|
1
|
-
require 'sul_styles/
|
1
|
+
require 'sul_styles/engine'
|
2
2
|
|
3
3
|
module SulStyles
|
4
|
-
module Rails
|
5
|
-
class Engine < ::Rails::Engine
|
6
|
-
initializer 'sul_styles.assets.precompile' do |app|
|
7
|
-
%w(stylesheets fonts).each do |sub|
|
8
|
-
app.config.assets.paths << root.join('assets', sub).to_s
|
9
|
-
end
|
10
|
-
|
11
|
-
app.config.assets.precompile << /\.(?:svg|eot|woff|woff2|ttf)\z/
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
4
|
end
|
data/sul_styles.gemspec
CHANGED
@@ -17,6 +17,11 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
+
spec.add_dependency 'rails', '~> 4.1'
|
21
|
+
|
20
22
|
spec.add_development_dependency "bundler", "~> 1.10"
|
21
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency 'engine_cart', '~> 0.7.0'
|
25
|
+
spec.add_development_dependency 'rspec-rails', '~> 3.0'
|
26
|
+
spec.add_development_dependency 'capybara', '~> 2.4.4'
|
22
27
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sul_styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Reed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +52,48 @@ dependencies:
|
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: engine_cart
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.7.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.7.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: capybara
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.4.4
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.4.4
|
41
97
|
description:
|
42
98
|
email:
|
43
99
|
- pjreed@stanford.edu
|
@@ -47,26 +103,38 @@ extra_rdoc_files: []
|
|
47
103
|
files:
|
48
104
|
- ".fontcustom-manifest.json"
|
49
105
|
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.yml"
|
50
108
|
- Gemfile
|
51
109
|
- LICENSE
|
52
110
|
- README.md
|
53
111
|
- Rakefile
|
54
|
-
- assets/fonts/sul-icons.eot
|
55
|
-
- assets/fonts/sul-icons.svg
|
56
|
-
- assets/fonts/sul-icons.ttf
|
57
|
-
- assets/fonts/sul-icons.woff
|
58
|
-
- assets/stylesheets/_sul-icons-aliases.scss
|
59
|
-
- assets/stylesheets/_sul-icons-rails.scss
|
60
|
-
- assets/stylesheets/_sul-icons.scss
|
61
|
-
- assets/stylesheets/
|
62
|
-
- assets/stylesheets/
|
63
|
-
- assets/stylesheets/sul-styles
|
64
|
-
-
|
65
|
-
-
|
112
|
+
- app/assets/fonts/sul-icons.eot
|
113
|
+
- app/assets/fonts/sul-icons.svg
|
114
|
+
- app/assets/fonts/sul-icons.ttf
|
115
|
+
- app/assets/fonts/sul-icons.woff
|
116
|
+
- app/assets/stylesheets/_sul-icons-aliases.scss
|
117
|
+
- app/assets/stylesheets/_sul-icons-rails.scss
|
118
|
+
- app/assets/stylesheets/_sul-icons.scss
|
119
|
+
- app/assets/stylesheets/styleguide.scss
|
120
|
+
- app/assets/stylesheets/styleguide/styleguide.scss
|
121
|
+
- app/assets/stylesheets/sul-styles.scss
|
122
|
+
- app/assets/stylesheets/sul-styles/su_primary_colors.scss
|
123
|
+
- app/assets/stylesheets/sul-styles/su_web_colors.scss
|
124
|
+
- app/controllers/sul_styles/style_guide_controller.rb
|
125
|
+
- app/views/layouts/styleguide.html.erb
|
126
|
+
- app/views/sul_styles/style_guide/colors.html.erb
|
127
|
+
- app/views/sul_styles/style_guide/icons.html.erb
|
128
|
+
- app/views/sul_styles/style_guide/index.html.erb
|
129
|
+
- bin/rails
|
130
|
+
- config/locales/sul_styles.en.yml
|
131
|
+
- config/routes.rb
|
66
132
|
- docs/styleguide/sul-icons-preview.html
|
67
133
|
- fontcustom.yml
|
68
134
|
- icon_svgs/.keep
|
135
|
+
- lib/generators/sul_styles/install_generator.rb
|
69
136
|
- lib/sul_styles.rb
|
137
|
+
- lib/sul_styles/engine.rb
|
70
138
|
- lib/sul_styles/version.rb
|
71
139
|
- sul_styles.gemspec
|
72
140
|
homepage: https://github.com/sul-dlss/sul_styles
|
@@ -93,4 +161,3 @@ signing_key:
|
|
93
161
|
specification_version: 4
|
94
162
|
summary: A gem for adding Stanford University Libraries styles to Rails applications
|
95
163
|
test_files: []
|
96
|
-
has_rdoc:
|
data/assets/fonts/sul-icons.eot
DELETED
Binary file
|
data/assets/fonts/sul-icons.svg
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
-
<!--
|
4
|
-
2015-7-16: Created with FontForge (http://fontforge.org)
|
5
|
-
-->
|
6
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
7
|
-
<metadata>
|
8
|
-
Created by FontForge 20150302 at Thu Jul 16 11:39:20 2015
|
9
|
-
By Jack Reed
|
10
|
-
Copyright (c) 2015, Jack Reed
|
11
|
-
</metadata>
|
12
|
-
<defs>
|
13
|
-
<font id="sul-icons" horiz-adv-x="512" >
|
14
|
-
<font-face
|
15
|
-
font-family="sul-icons"
|
16
|
-
font-weight="400"
|
17
|
-
font-stretch="normal"
|
18
|
-
units-per-em="512"
|
19
|
-
panose-1="2 0 5 3 0 0 0 0 0 0"
|
20
|
-
ascent="448"
|
21
|
-
descent="-64"
|
22
|
-
bbox="0 -64.0017 512.277 448"
|
23
|
-
underline-thickness="25.6"
|
24
|
-
underline-position="-51.2"
|
25
|
-
unicode-range="U+0020-F107"
|
26
|
-
/>
|
27
|
-
<missing-glyph />
|
28
|
-
<glyph glyph-name="space" unicode=" " horiz-adv-x="200"
|
29
|
-
/>
|
30
|
-
<glyph glyph-name="uniF107" unicode=""
|
31
|
-
d="M203.179 214.613l-98.0693 -98.0479c-16.6191 -16.6396 -16.6191 -43.6904 0 -60.3525l15.083 -15.0605c16.1494 -16.1494 44.2236 -16.1279 60.3301 0l46.3574 46.293c8.3418 8.3623 21.8242 8.3623 30.165 0c8.3418 -8.32031 8.3418 -21.8242 0 -30.165
|
32
|
-
l-46.3564 -46.3145c-16.1074 -16.1074 -37.5254 -25.0029 -60.3096 -25.0029c-22.8057 0 -44.2246 8.87402 -60.3525 25.0234l-15.082 15.0615c-33.2803 33.2803 -33.2803 87.4023 0 120.683l98.0693 98.0693c16.1279 16.1064 37.5459 24.9814 60.3301 24.9814
|
33
|
-
s44.2246 -8.875 60.3525 -25.0234l15.0615 -15.0615c8.34082 -8.32031 8.34082 -21.8457 0 -30.166c-8.3418 -8.34082 -21.8242 -8.34082 -30.166 0l-15.082 15.083c-16.1074 16.1279 -44.2031 16.1279 -60.3311 0zM338.966 139.179
|
34
|
-
c-16.1289 -16.085 -37.5469 -24.96 -60.374 -24.9814c-22.7842 0 -44.2021 8.875 -60.3301 25.0029c-8.32031 8.3623 -8.32031 21.8242 0.0205078 30.1865c8.3418 8.32031 21.8242 8.32031 30.166 -0.0214844c16.1064 -16.1279 44.2021 -16.1279 60.3096 0l98.0693 98.0479
|
35
|
-
c8.06348 8.06445 12.501 18.7734 12.501 30.166c0 11.4131 -4.4375 22.1221 -12.501 30.165l-15.083 15.1035c-8.06445 8.06445 -18.7734 12.502 -30.165 12.502c-11.3926 0 -22.1016 -4.4375 -30.166 -12.502l-42.3467 -42.3467
|
36
|
-
c-8.34082 -8.3623 -21.8447 -8.3623 -30.1865 0c-8.32031 8.32031 -8.32031 21.8242 0.0214844 30.166l42.3682 42.3467c16.1064 16.1279 37.5469 25.002 60.3301 25.002c22.7842 0 44.2031 -8.87402 60.3311 -25.002l15.083 -15.1045
|
37
|
-
c16.1279 -16.1064 25.002 -37.5254 25.002 -60.3301c0 -22.8057 -8.87402 -44.2031 -25.002 -60.3311z" />
|
38
|
-
<glyph glyph-name="uniF103" unicode=""
|
39
|
-
d="M176.768 143.062c8.32031 8.3623 21.8242 8.38379 30.166 0.0214844c8.34082 -8.32031 8.3623 -21.8027 0.0214844 -30.166l-134.166 -134.399h55.2109c11.7969 0 21.333 -9.55762 21.333 -21.334c0 -11.7969 -9.53613 -21.333 -21.333 -21.1836h-106.667
|
40
|
-
c-11.7969 -0.149414 -21.333 9.62109 -21.333 21.1631v0.0205078v106.667c0 11.7764 9.55762 21.333 21.333 21.333c11.7979 0 21.334 -9.55664 21.334 -21.333v-55.1035zM511.701 426.667l0.298828 -107.094c0.0214844 -11.7764 -9.49316 -21.3545 -21.291 -21.376
|
41
|
-
h-0.0419922c-11.7764 0 -21.3125 9.49316 -21.334 21.2695l-0.169922 55.7656l-134.208 -134.465c-4.16016 -4.15918 -9.62207 -6.25 -15.083 -6.25s-10.9229 2.06934 -15.083 6.22949c-8.34082 8.34082 -8.3623 21.8232 -0.0214844 30.165l134.038 134.293
|
42
|
-
l-54.5713 -0.149414h-0.0419922c-11.7764 0 -21.334 9.49414 -21.334 21.2695c-0.0419922 11.7979 9.47266 21.3545 21.2695 21.3975l106.154 0.277344c12.0752 0 21.4189 -9.77051 21.4189 -21.291v-0.0419922v0z" />
|
43
|
-
<glyph glyph-name="uniF100" unicode=""
|
44
|
-
d="M444.886 316.864c1.9834 -1.98438 3.11426 -4.69336 3.11426 -7.53125v-362.666c0 -5.88867 -4.77832 -10.667 -10.667 -10.667h-362.666c-5.88867 0 -10.667 4.77832 -10.667 10.667v490.666c0 5.88867 4.77832 10.667 10.667 10.667h234.666
|
45
|
-
c2.81641 0 5.54688 -1.13086 7.55273 -3.13574zM298.667 298.667h128l-128 128v-128z" />
|
46
|
-
<glyph glyph-name="uniF105" unicode=""
|
47
|
-
d="M416.256 128c52.9922 0 96.0215 -42.9863 96.0215 -96s-43.0078 -96 -96 -96c-53.0352 0 -96 42.9863 -96 96c0 11.6484 2.1543 22.7627 5.95215 33.0879l-149.61 74.8164c-17.6221 -27.2852 -47.4463 -43.9043 -80.3633 -43.9043c-52.9277 0 -96 43.0723 -96 96
|
48
|
-
s43.0723 96 96 96c32.917 0 62.7412 -16.6396 80.3418 -43.9043l149.61 74.8164c-3.77637 10.3252 -5.95215 21.4395 -5.95215 33.0879c0 53.0137 42.9658 96 96 96c52.9922 0 96 -42.9863 96 -96s-43.0078 -96 -96 -96c-33.7705 0 -63.4238 17.4502 -80.5117 43.8184
|
49
|
-
l-149.44 -74.709c3.94727 -10.624 5.95215 -21.7178 5.95215 -33.1094s-2.00488 -22.5068 -5.95215 -33.1094l149.44 -74.7305c17.0879 26.3682 46.7412 43.8398 80.5117 43.8398z" />
|
50
|
-
<glyph glyph-name="uniF106" unicode=""
|
51
|
-
d="M248.448 45.7812l-149.334 149.333c-3.0498 3.07227 -3.96777 7.61621 -2.3252 11.627c1.66406 3.98926 5.54688 6.5918 9.87793 6.5918h64v224c0 5.88867 4.77832 10.667 10.666 10.667h149.334c5.86621 0 10.666 -4.77832 10.666 -10.667v-224.021l64 0.0214844
|
52
|
-
c4.28809 0 8.19238 -2.60254 9.83496 -6.5918c1.68555 -4.01074 0.767578 -8.55469 -2.28223 -11.627l-149.334 -149.333c-2.00488 -1.98438 -4.73535 -3.11426 -7.55176 -3.11426c-2.83691 0 -5.54688 1.12988 -7.55176 3.11426zM490.667 74.667
|
53
|
-
c11.7754 0 21.333 -9.53613 21.333 -21.334v-96c0 -11.7754 -9.55762 -21.333 -21.333 -21.333h-469.334c-11.7969 0 -21.333 9.55762 -21.333 21.333v96c0 11.7979 9.53613 21.334 21.333 21.334c11.7764 0 21.334 -9.53613 21.334 -21.334v-74.666h426.666v74.666
|
54
|
-
c0 11.7979 9.53613 21.334 21.334 21.334z" />
|
55
|
-
<glyph glyph-name="uniF101" unicode=""
|
56
|
-
d="M508.886 295.53c1.9834 -1.9834 3.11426 -4.69336 3.11426 -7.53027v-298.667c0 -5.8877 -4.77832 -10.666 -10.667 -10.666h-234.666c-5.88867 0 -10.667 4.77832 -10.667 10.666v405.334c0 5.8877 4.77832 10.666 10.667 10.666h128
|
57
|
-
c2.81543 0 5.5459 -1.12988 7.55176 -3.13574zM384 277.333h106.667l-106.667 106.667v-106.667zM224 405.333c5.8877 0 10.667 -4.77832 10.667 -10.666v-405.334c0 -5.8877 -4.7793 -10.666 -10.667 -10.666h-213.333c-5.88867 0 -10.667 4.77832 -10.667 10.666v298.667
|
58
|
-
c0 2.83691 1.13086 5.54688 3.13574 7.53027l106.667 106.667c1.98438 2.00586 4.71484 3.13574 7.53027 3.13574h106.667zM128 277.333v106.667l-106.667 -106.667h106.667z" />
|
59
|
-
<glyph glyph-name="uniF104" unicode=""
|
60
|
-
d="M245.354 426.667c135.274 0 245.334 -110.038 245.334 -245.334s-110.06 -245.333 -245.334 -245.333c-135.296 0 -245.333 110.037 -245.333 245.333s110.037 245.334 245.333 245.334zM234.688 320c-11.7979 0 -21.334 -9.55762 -21.334 -21.333
|
61
|
-
c0 -11.7979 9.53613 -21.334 21.334 -21.334c11.7539 0 21.333 9.53613 21.333 21.334c0 11.7754 -9.5791 21.333 -21.333 21.333zM309.354 21.333c5.86719 0 10.667 4.7793 10.667 10.667s-4.7998 10.667 -10.667 10.667h-53.3545v181.333
|
62
|
-
c0.0214844 5.8877 -4.77832 10.667 -10.6455 10.667h-42.666c-5.88867 0 -10.667 -4.7793 -10.667 -10.667s4.77832 -10.667 10.667 -10.667h31.9785v-170.666h-53.3125c-5.8877 0 -10.666 -4.7793 -10.666 -10.667s4.77832 -10.667 10.666 -10.667h128z" />
|
63
|
-
<glyph glyph-name="uniF102" unicode=""
|
64
|
-
d="M309.333 448c5.86719 0 10.667 -4.77832 10.667 -10.667v-128c0 -5.8877 -4.7998 -10.666 -10.667 -10.666h-128c-5.8877 0 -10.666 4.77832 -10.666 10.666v128c0 5.88867 4.77832 10.667 10.666 10.667h128zM138.667 448c5.86621 0 10.666 -4.77832 10.666 -10.667
|
65
|
-
v-128c0 -5.8877 -4.7998 -10.666 -10.666 -10.666h-128c-5.88867 0 -10.667 4.77832 -10.667 10.666v128c0 5.88867 4.77832 10.667 10.667 10.667h128zM480 448c5.86621 0 10.667 -4.77832 10.667 -10.667v-128c0 -5.8877 -4.80078 -10.666 -10.667 -10.666h-128
|
66
|
-
c-5.8877 0 -10.667 4.77832 -10.667 10.666v128c0 5.88867 4.7793 10.667 10.667 10.667h128zM309.333 277.333c5.86719 0 10.667 -4.77832 10.667 -10.666v-128c0 -5.88867 -4.7998 -10.667 -10.667 -10.667h-128c-5.8877 0 -10.666 4.77832 -10.666 10.667v128
|
67
|
-
c0 5.8877 4.77832 10.666 10.666 10.666h128zM138.667 277.333c5.86621 0 10.666 -4.77832 10.666 -10.666v-128c0 -5.88867 -4.7998 -10.667 -10.666 -10.667h-128c-5.88867 0 -10.667 4.77832 -10.667 10.667v128c0 5.8877 4.77832 10.666 10.667 10.666h128zM480 277.333
|
68
|
-
c5.86621 0 10.667 -4.77832 10.667 -10.666v-128c0 -5.88867 -4.80078 -10.667 -10.667 -10.667h-128c-5.8877 0 -10.667 4.77832 -10.667 10.667v128c0 5.8877 4.7793 10.666 10.667 10.666h128zM309.333 106.667c5.86719 0 10.667 -4.7793 10.667 -10.667v-128
|
69
|
-
c0 -5.8877 -4.7998 -10.667 -10.667 -10.667h-128c-5.8877 0 -10.666 4.7793 -10.666 10.667v128c0 5.8877 4.77832 10.667 10.666 10.667h128zM138.667 106.667c5.86621 0 10.666 -4.7793 10.666 -10.667v-128c0 -5.8877 -4.7998 -10.667 -10.666 -10.667h-128
|
70
|
-
c-5.88867 0 -10.667 4.7793 -10.667 10.667v128c0 5.8877 4.77832 10.667 10.667 10.667h128zM480 106.667c5.86621 0 10.667 -4.7793 10.667 -10.667v-128c0 -5.8877 -4.80078 -10.667 -10.667 -10.667h-128c-5.8877 0 -10.667 4.7793 -10.667 10.667v128
|
71
|
-
c0 5.8877 4.7793 10.667 10.667 10.667h128z" />
|
72
|
-
</font>
|
73
|
-
</defs></svg>
|
data/assets/fonts/sul-icons.ttf
DELETED
Binary file
|
data/assets/fonts/sul-icons.woff
DELETED
Binary file
|
@@ -1,55 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Icon Font: sul-icons
|
3
|
-
//
|
4
|
-
|
5
|
-
@font-face {
|
6
|
-
font-family: "sul-icons";
|
7
|
-
src: font-url("sul-icons.eot");
|
8
|
-
src: font-url("sul-icons.eot?#iefix") format("embedded-opentype"),
|
9
|
-
font-url("sul-icons.woff") format("woff"),
|
10
|
-
font-url("sul-icons.ttf") format("truetype"),
|
11
|
-
font-url("sul-icons.svg#sul-icons") format("svg");
|
12
|
-
font-weight: normal;
|
13
|
-
font-style: normal;
|
14
|
-
}
|
15
|
-
|
16
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
17
|
-
@font-face {
|
18
|
-
font-family: "sul-icons";
|
19
|
-
src: font-url("sul-icons.svg#sul-icons") format("svg");
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
[data-icon]:before { content: attr(data-icon); }
|
24
|
-
|
25
|
-
[data-icon]:before,
|
26
|
-
.sul-i-download-3:before,
|
27
|
-
.sul-i-expand-diagonal-2:before,
|
28
|
-
.sul-i-file-new-1:before,
|
29
|
-
.sul-i-files-2:before,
|
30
|
-
.sul-i-infomation-circle:before,
|
31
|
-
.sul-i-link-3:before,
|
32
|
-
.sul-i-share:before,
|
33
|
-
.sul-i-view-module-1:before {
|
34
|
-
display: inline-block;
|
35
|
-
font-family: "sul-icons";
|
36
|
-
font-style: normal;
|
37
|
-
font-weight: normal;
|
38
|
-
font-variant: normal;
|
39
|
-
line-height: 1;
|
40
|
-
text-decoration: inherit;
|
41
|
-
text-rendering: optimizeLegibility;
|
42
|
-
text-transform: none;
|
43
|
-
-moz-osx-font-smoothing: grayscale;
|
44
|
-
-webkit-font-smoothing: antialiased;
|
45
|
-
font-smoothing: antialiased;
|
46
|
-
}
|
47
|
-
|
48
|
-
.sul-i-download-3:before { content: "\f106"; }
|
49
|
-
.sul-i-expand-diagonal-2:before { content: "\f103"; }
|
50
|
-
.sul-i-file-new-1:before { content: "\f100"; }
|
51
|
-
.sul-i-files-2:before { content: "\f101"; }
|
52
|
-
.sul-i-infomation-circle:before { content: "\f104"; }
|
53
|
-
.sul-i-link-3:before { content: "\f107"; }
|
54
|
-
.sul-i-share:before { content: "\f105"; }
|
55
|
-
.sul-i-view-module-1:before { content: "\f102"; }
|
@@ -1,64 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Icon Font: sul-icons
|
3
|
-
//
|
4
|
-
|
5
|
-
@font-face {
|
6
|
-
font-family: "sul-icons";
|
7
|
-
src: url("sul-icons.eot");
|
8
|
-
src: url("sul-icons.eot?#iefix") format("embedded-opentype"),
|
9
|
-
url("sul-icons.woff") format("woff"),
|
10
|
-
url("sul-icons.ttf") format("truetype"),
|
11
|
-
url("sul-icons.svg#sul-icons") format("svg");
|
12
|
-
font-weight: normal;
|
13
|
-
font-style: normal;
|
14
|
-
}
|
15
|
-
|
16
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
17
|
-
@font-face {
|
18
|
-
font-family: "sul-icons";
|
19
|
-
src: url("sul-icons.svg#sul-icons") format("svg");
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
[data-icon]:before { content: attr(data-icon); }
|
24
|
-
|
25
|
-
[data-icon]:before,
|
26
|
-
.sul-i-download-3:before,
|
27
|
-
.sul-i-expand-diagonal-2:before,
|
28
|
-
.sul-i-file-new-1:before,
|
29
|
-
.sul-i-files-2:before,
|
30
|
-
.sul-i-infomation-circle:before,
|
31
|
-
.sul-i-link-3:before,
|
32
|
-
.sul-i-share:before,
|
33
|
-
.sul-i-view-module-1:before {
|
34
|
-
display: inline-block;
|
35
|
-
font-family: "sul-icons";
|
36
|
-
font-style: normal;
|
37
|
-
font-weight: normal;
|
38
|
-
font-variant: normal;
|
39
|
-
line-height: 1;
|
40
|
-
text-decoration: inherit;
|
41
|
-
text-rendering: optimizeLegibility;
|
42
|
-
text-transform: none;
|
43
|
-
-moz-osx-font-smoothing: grayscale;
|
44
|
-
-webkit-font-smoothing: antialiased;
|
45
|
-
font-smoothing: antialiased;
|
46
|
-
}
|
47
|
-
|
48
|
-
.sul-i-download-3:before { content: "\f106"; }
|
49
|
-
.sul-i-expand-diagonal-2:before { content: "\f103"; }
|
50
|
-
.sul-i-file-new-1:before { content: "\f100"; }
|
51
|
-
.sul-i-files-2:before { content: "\f101"; }
|
52
|
-
.sul-i-infomation-circle:before { content: "\f104"; }
|
53
|
-
.sul-i-link-3:before { content: "\f107"; }
|
54
|
-
.sul-i-share:before { content: "\f105"; }
|
55
|
-
.sul-i-view-module-1:before { content: "\f102"; }
|
56
|
-
|
57
|
-
$font-sul-icons-download-3: "\f106";
|
58
|
-
$font-sul-icons-expand-diagonal-2: "\f103";
|
59
|
-
$font-sul-icons-file-new-1: "\f100";
|
60
|
-
$font-sul-icons-files-2: "\f101";
|
61
|
-
$font-sul-icons-infomation-circle: "\f104";
|
62
|
-
$font-sul-icons-link-3: "\f107";
|
63
|
-
$font-sul-icons-share: "\f105";
|
64
|
-
$font-sul-icons-view-module-1: "\f102";
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "sul_styles"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|