splendeo-generators 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +119 -0
- data/LICENSE +20 -0
- data/README.rdoc +98 -0
- data/Rakefile +12 -0
- data/lib/nifty_generators.rb +3 -0
- data/rails_generators/splendeo_authentication/USAGE +50 -0
- data/rails_generators/splendeo_authentication/lib/insert_commands.rb +74 -0
- data/rails_generators/splendeo_authentication/splendeo_authentication_generator.rb +128 -0
- data/rails_generators/splendeo_authentication/templates/authentication.rb +61 -0
- data/rails_generators/splendeo_authentication/templates/authlogic_session.rb +2 -0
- data/rails_generators/splendeo_authentication/templates/fixtures.yml +24 -0
- data/rails_generators/splendeo_authentication/templates/migration.rb +20 -0
- data/rails_generators/splendeo_authentication/templates/sessions_controller.rb +45 -0
- data/rails_generators/splendeo_authentication/templates/sessions_helper.rb +2 -0
- data/rails_generators/splendeo_authentication/templates/tests/rspec/sessions_controller.rb +39 -0
- data/rails_generators/splendeo_authentication/templates/tests/rspec/user.rb +83 -0
- data/rails_generators/splendeo_authentication/templates/tests/rspec/users_controller.rb +26 -0
- data/rails_generators/splendeo_authentication/templates/tests/shoulda/sessions_controller.rb +40 -0
- data/rails_generators/splendeo_authentication/templates/tests/shoulda/user.rb +85 -0
- data/rails_generators/splendeo_authentication/templates/tests/shoulda/users_controller.rb +27 -0
- data/rails_generators/splendeo_authentication/templates/tests/testunit/sessions_controller.rb +36 -0
- data/rails_generators/splendeo_authentication/templates/tests/testunit/user.rb +88 -0
- data/rails_generators/splendeo_authentication/templates/tests/testunit/users_controller.rb +23 -0
- data/rails_generators/splendeo_authentication/templates/user.rb +42 -0
- data/rails_generators/splendeo_authentication/templates/users_controller.rb +18 -0
- data/rails_generators/splendeo_authentication/templates/users_helper.rb +2 -0
- data/rails_generators/splendeo_authentication/templates/views/erb/login.html.erb +30 -0
- data/rails_generators/splendeo_authentication/templates/views/erb/signup.html.erb +24 -0
- data/rails_generators/splendeo_authentication/templates/views/haml/login.html.haml +30 -0
- data/rails_generators/splendeo_authentication/templates/views/haml/signup.html.haml +24 -0
- data/rails_generators/splendeo_config/USAGE +23 -0
- data/rails_generators/splendeo_config/splendeo_config_generator.rb +32 -0
- data/rails_generators/splendeo_config/templates/config.yml +8 -0
- data/rails_generators/splendeo_config/templates/load_config.rb +2 -0
- data/rails_generators/splendeo_layout/USAGE +25 -0
- data/rails_generators/splendeo_layout/splendeo_layout_generator.rb +76 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/ie.sass +103 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/icons/cross.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/icons/key.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/icons/tick.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/readme.txt +32 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/screen.sass +104 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/fancy-type/readme.txt +14 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/fancy-type/screen.sass +34 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/doc.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/email.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/external.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/feed.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/im.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/pdf.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/visited.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/xls.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/readme.txt +18 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/screen.sass +50 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/rtl/readme.txt +10 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/rtl/screen.sass +272 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/print.sass +75 -0
- data/rails_generators/splendeo_layout/templates/blueprint-sass/screen.sass +1062 -0
- data/rails_generators/splendeo_layout/templates/blueprint/ie.css +35 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/buttons/icons/key.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/buttons/readme.txt +32 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/buttons/screen.css +97 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/fancy-type/screen.css +71 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/readme.txt +18 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/link-icons/screen.css +40 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/rtl/readme.txt +10 -0
- data/rails_generators/splendeo_layout/templates/blueprint/plugins/rtl/screen.css +110 -0
- data/rails_generators/splendeo_layout/templates/blueprint/print.css +29 -0
- data/rails_generators/splendeo_layout/templates/blueprint/screen.css +258 -0
- data/rails_generators/splendeo_layout/templates/haml/init.rb +16 -0
- data/rails_generators/splendeo_layout/templates/helper.rb +22 -0
- data/rails_generators/splendeo_layout/templates/layout.html.erb +34 -0
- data/rails_generators/splendeo_layout/templates/layout.html.haml +31 -0
- data/rails_generators/splendeo_layout/templates/stylesheet.css +77 -0
- data/rails_generators/splendeo_layout/templates/stylesheet.sass +63 -0
- data/rails_generators/splendeo_scaffold/USAGE +51 -0
- data/rails_generators/splendeo_scaffold/splendeo_scaffold_generator.rb +232 -0
- data/rails_generators/splendeo_scaffold/templates/actions/create.rb +9 -0
- data/rails_generators/splendeo_scaffold/templates/actions/destroy.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/actions/edit.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/actions/index.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/actions/new.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/actions/show.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/actions/update.rb +9 -0
- data/rails_generators/splendeo_scaffold/templates/controller.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/fixtures.yml +9 -0
- data/rails_generators/splendeo_scaffold/templates/helper.rb +2 -0
- data/rails_generators/splendeo_scaffold/templates/migration.rb +16 -0
- data/rails_generators/splendeo_scaffold/templates/model.rb +3 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/create.rb +11 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/edit.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/index.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/new.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/show.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/actions/update.rb +11 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/controller.rb +8 -0
- data/rails_generators/splendeo_scaffold/templates/tests/rspec/model.rb +7 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/create.rb +13 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/index.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/new.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/show.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/actions/update.rb +13 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/controller.rb +5 -0
- data/rails_generators/splendeo_scaffold/templates/tests/shoulda/model.rb +7 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/create.rb +11 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/edit.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/index.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/new.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/show.rb +4 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/actions/update.rb +11 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/controller.rb +5 -0
- data/rails_generators/splendeo_scaffold/templates/tests/testunit/model.rb +7 -0
- data/rails_generators/splendeo_scaffold/templates/views/erb/_form.html.erb +10 -0
- data/rails_generators/splendeo_scaffold/templates/views/erb/edit.html.erb +14 -0
- data/rails_generators/splendeo_scaffold/templates/views/erb/index.html.erb +29 -0
- data/rails_generators/splendeo_scaffold/templates/views/erb/new.html.erb +7 -0
- data/rails_generators/splendeo_scaffold/templates/views/erb/show.html.erb +20 -0
- data/rails_generators/splendeo_scaffold/templates/views/haml/_form.html.haml +10 -0
- data/rails_generators/splendeo_scaffold/templates/views/haml/edit.html.haml +14 -0
- data/rails_generators/splendeo_scaffold/templates/views/haml/index.html.haml +25 -0
- data/rails_generators/splendeo_scaffold/templates/views/haml/new.html.haml +7 -0
- data/rails_generators/splendeo_scaffold/templates/views/haml/show.html.haml +20 -0
- data/test/test_helper.rb +119 -0
- data/test/test_splendeo_authentication_generator.rb +274 -0
- data/test/test_splendeo_config_generator.rb +37 -0
- data/test/test_splendeo_layout_generator.rb +42 -0
- data/test/test_splendeo_scaffold_generator.rb +534 -0
- metadata +212 -0
@@ -0,0 +1,103 @@
|
|
1
|
+
body
|
2
|
+
text-align: center
|
3
|
+
|
4
|
+
|
5
|
+
.container
|
6
|
+
text-align: left
|
7
|
+
|
8
|
+
|
9
|
+
* html
|
10
|
+
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24
|
11
|
+
display: inline
|
12
|
+
overflow-x: hidden
|
13
|
+
|
14
|
+
legend
|
15
|
+
margin: 0px -8px 16px 0
|
16
|
+
padding: 0
|
17
|
+
|
18
|
+
|
19
|
+
sup
|
20
|
+
vertical-align: text-top
|
21
|
+
|
22
|
+
|
23
|
+
sub
|
24
|
+
vertical-align: text-bottom
|
25
|
+
|
26
|
+
|
27
|
+
html>body p code
|
28
|
+
*white-space: normal
|
29
|
+
|
30
|
+
|
31
|
+
hr
|
32
|
+
margin: -8px auto 11px
|
33
|
+
|
34
|
+
|
35
|
+
img
|
36
|
+
-ms-interpolation-mode: bicubic
|
37
|
+
|
38
|
+
|
39
|
+
.clearfix, .container
|
40
|
+
display: inline-block
|
41
|
+
|
42
|
+
|
43
|
+
* html
|
44
|
+
.clearfix, .container
|
45
|
+
height: 1%
|
46
|
+
|
47
|
+
|
48
|
+
fieldset
|
49
|
+
padding-top: 0
|
50
|
+
|
51
|
+
|
52
|
+
textarea
|
53
|
+
overflow: auto
|
54
|
+
|
55
|
+
|
56
|
+
input
|
57
|
+
&.text, &.title
|
58
|
+
background-color: #fff
|
59
|
+
border: 1px solid #bbb
|
60
|
+
|
61
|
+
|
62
|
+
textarea
|
63
|
+
background-color: #fff
|
64
|
+
border: 1px solid #bbb
|
65
|
+
|
66
|
+
|
67
|
+
input
|
68
|
+
&.text:focus, &.title:focus
|
69
|
+
border-color: #666
|
70
|
+
|
71
|
+
&.text, &.title
|
72
|
+
margin: 0.5em 0
|
73
|
+
|
74
|
+
|
75
|
+
textarea, select
|
76
|
+
margin: 0.5em 0
|
77
|
+
|
78
|
+
|
79
|
+
input
|
80
|
+
&.checkbox, &.radio
|
81
|
+
position: relative
|
82
|
+
top: .25em
|
83
|
+
|
84
|
+
|
85
|
+
form.inline
|
86
|
+
div, p
|
87
|
+
vertical-align: middle
|
88
|
+
|
89
|
+
label
|
90
|
+
position: relative
|
91
|
+
top: -0.25em
|
92
|
+
|
93
|
+
input
|
94
|
+
&.checkbox, &.radio, &.button
|
95
|
+
margin: 0.5em 0
|
96
|
+
|
97
|
+
button
|
98
|
+
margin: 0.5em 0
|
99
|
+
|
100
|
+
|
101
|
+
button, input.button
|
102
|
+
position: relative
|
103
|
+
top: 0.25em
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/buttons/icons/cross.png
ADDED
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,32 @@
|
|
1
|
+
Buttons
|
2
|
+
|
3
|
+
* Gives you great looking CSS buttons, for both <a> and <button>.
|
4
|
+
* Demo: particletree.com/features/rediscovering-the-button-element
|
5
|
+
|
6
|
+
|
7
|
+
Credits
|
8
|
+
----------------------------------------------------------------
|
9
|
+
|
10
|
+
* Created by Kevin Hale [particletree.com]
|
11
|
+
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
|
12
|
+
|
13
|
+
|
14
|
+
Usage
|
15
|
+
----------------------------------------------------------------
|
16
|
+
|
17
|
+
1) Add this plugin to lib/settings.yml.
|
18
|
+
See compress.rb for instructions.
|
19
|
+
|
20
|
+
2) Use the following HTML code to place the buttons on your site:
|
21
|
+
|
22
|
+
<button type="submit" class="button positive">
|
23
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
24
|
+
</button>
|
25
|
+
|
26
|
+
<a class="button" href="/password/reset/">
|
27
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
28
|
+
</a>
|
29
|
+
|
30
|
+
<a href="#" class="button negative">
|
31
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
32
|
+
</a>
|
@@ -0,0 +1,104 @@
|
|
1
|
+
a.button
|
2
|
+
display: block
|
3
|
+
float: left
|
4
|
+
margin: 0.7em 0.5em 0.7em 0
|
5
|
+
padding: 5px 10px 5px 7px
|
6
|
+
border: 1px solid #dedede
|
7
|
+
border-top: 1px solid #eee
|
8
|
+
border-left: 1px solid #eee
|
9
|
+
background-color: #f5f5f5
|
10
|
+
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif
|
11
|
+
font-size: 100%
|
12
|
+
line-height: 130%
|
13
|
+
text-decoration: none
|
14
|
+
font-weight: bold
|
15
|
+
color: #565656
|
16
|
+
cursor: pointer
|
17
|
+
|
18
|
+
|
19
|
+
button
|
20
|
+
display: block
|
21
|
+
float: left
|
22
|
+
margin: 0.7em 0.5em 0.7em 0
|
23
|
+
padding: 5px 10px 5px 7px
|
24
|
+
border: 1px solid #dedede
|
25
|
+
border-top: 1px solid #eee
|
26
|
+
border-left: 1px solid #eee
|
27
|
+
background-color: #f5f5f5
|
28
|
+
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif
|
29
|
+
font-size: 100%
|
30
|
+
line-height: 130%
|
31
|
+
text-decoration: none
|
32
|
+
font-weight: bold
|
33
|
+
color: #565656
|
34
|
+
cursor: pointer
|
35
|
+
width: auto
|
36
|
+
overflow: visible
|
37
|
+
padding: 4px 10px 3px 7px
|
38
|
+
|
39
|
+
&[type]
|
40
|
+
padding: 4px 10px 4px 7px
|
41
|
+
line-height: 17px
|
42
|
+
|
43
|
+
|
44
|
+
*:first-child+html button[type]
|
45
|
+
padding: 4px 10px 3px 7px
|
46
|
+
|
47
|
+
|
48
|
+
button img, a.button img
|
49
|
+
margin: 0 3px -3px 0 !important
|
50
|
+
padding: 0
|
51
|
+
border: none
|
52
|
+
width: 16px
|
53
|
+
height: 16px
|
54
|
+
float: none
|
55
|
+
|
56
|
+
|
57
|
+
button:hover
|
58
|
+
background-color: #dff4ff
|
59
|
+
border: 1px solid #c2e1ef
|
60
|
+
color: #336699
|
61
|
+
|
62
|
+
|
63
|
+
a.button
|
64
|
+
&:hover
|
65
|
+
background-color: #dff4ff
|
66
|
+
border: 1px solid #c2e1ef
|
67
|
+
color: #336699
|
68
|
+
|
69
|
+
&:active
|
70
|
+
background-color: #6299c5
|
71
|
+
border: 1px solid #6299c5
|
72
|
+
color: #fff
|
73
|
+
|
74
|
+
|
75
|
+
body .positive
|
76
|
+
color: #529214
|
77
|
+
|
78
|
+
|
79
|
+
a.positive:hover, button.positive:hover
|
80
|
+
background-color: #E6EFC2
|
81
|
+
border: 1px solid #C6D880
|
82
|
+
color: #529214
|
83
|
+
|
84
|
+
|
85
|
+
a.positive:active
|
86
|
+
background-color: #529214
|
87
|
+
border: 1px solid #529214
|
88
|
+
color: #fff
|
89
|
+
|
90
|
+
|
91
|
+
body .negative
|
92
|
+
color: #d12f19
|
93
|
+
|
94
|
+
|
95
|
+
a.negative:hover, button.negative:hover
|
96
|
+
background-color: #fbe3e4
|
97
|
+
border: 1px solid #fbc2c4
|
98
|
+
color: #d12f19
|
99
|
+
|
100
|
+
|
101
|
+
a.negative:active
|
102
|
+
background-color: #d12f19
|
103
|
+
border: 1px solid #d12f19
|
104
|
+
color: #fff
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Fancy Type
|
2
|
+
|
3
|
+
* Gives you classes to use if you'd like some
|
4
|
+
extra fancy typography.
|
5
|
+
|
6
|
+
Credits and instructions are specified above each class
|
7
|
+
in the fancy-type.css file in this directory.
|
8
|
+
|
9
|
+
|
10
|
+
Usage
|
11
|
+
----------------------------------------------------------------
|
12
|
+
|
13
|
+
1) Add this plugin to lib/settings.yml.
|
14
|
+
See compress.rb for instructions.
|
@@ -0,0 +1,34 @@
|
|
1
|
+
p + p
|
2
|
+
text-indent: 2em
|
3
|
+
margin-top: -1.5em
|
4
|
+
|
5
|
+
|
6
|
+
form p + p
|
7
|
+
text-indent: 0
|
8
|
+
|
9
|
+
|
10
|
+
.alt
|
11
|
+
color: #666
|
12
|
+
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif
|
13
|
+
font-style: italic
|
14
|
+
font-weight: normal
|
15
|
+
|
16
|
+
|
17
|
+
.dquo
|
18
|
+
margin-left: -.5em
|
19
|
+
|
20
|
+
|
21
|
+
p.incr, .incr p
|
22
|
+
font-size: 10px
|
23
|
+
line-height: 1.44em
|
24
|
+
margin-bottom: 1.5em
|
25
|
+
|
26
|
+
|
27
|
+
.caps
|
28
|
+
font-variant: small-caps
|
29
|
+
letter-spacing: 1px
|
30
|
+
text-transform: lowercase
|
31
|
+
font-size: 1.2em
|
32
|
+
line-height: 1%
|
33
|
+
font-weight: bold
|
34
|
+
padding: 0 2px
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/doc.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/email.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/external.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/feed.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/im.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/pdf.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/visited.png
ADDED
Binary file
|
data/rails_generators/splendeo_layout/templates/blueprint-sass/plugins/link-icons/icons/xls.png
ADDED
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Link Icons
|
2
|
+
* Icons for links based on protocol or file type.
|
3
|
+
|
4
|
+
This is not supported in IE versions < 7.
|
5
|
+
|
6
|
+
|
7
|
+
Credits
|
8
|
+
----------------------------------------------------------------
|
9
|
+
|
10
|
+
* Marc Morgan
|
11
|
+
* Olav Bjorkoy [bjorkoy.com]
|
12
|
+
|
13
|
+
|
14
|
+
Usage
|
15
|
+
----------------------------------------------------------------
|
16
|
+
|
17
|
+
1) Add this line to your HTML:
|
18
|
+
<link rel="stylesheet" href="css/blueprint/plugins/link-icons/screen.css" type="text/css" media="screen, projection">
|
@@ -0,0 +1,50 @@
|
|
1
|
+
body a.noicon
|
2
|
+
background: transparent none !important
|
3
|
+
padding: 0 !important
|
4
|
+
margin: 0 !important
|
5
|
+
|
6
|
+
|
7
|
+
a
|
8
|
+
&[href^="http:"], &[href^="mailto:"], &[href^="http:"]:visited
|
9
|
+
padding: 2px 22px 2px 0
|
10
|
+
margin: -2px 0
|
11
|
+
background-repeat: no-repeat
|
12
|
+
background-position: right center
|
13
|
+
|
14
|
+
&[href$="
|
15
|
+
&.pdf"], &.doc"], &.xls"], &.rss"], &.rdf"]
|
16
|
+
padding: 2px 22px 2px 0
|
17
|
+
margin: -2px 0
|
18
|
+
background-repeat: no-repeat
|
19
|
+
background-position: right center
|
20
|
+
|
21
|
+
&[href^="aim:"]
|
22
|
+
padding: 2px 22px 2px 0
|
23
|
+
margin: -2px 0
|
24
|
+
background-repeat: no-repeat
|
25
|
+
background-position: right center
|
26
|
+
|
27
|
+
&[href^="http:"]
|
28
|
+
background-image: url(icons/external.png)
|
29
|
+
|
30
|
+
&[href^="mailto:"]
|
31
|
+
background-image: url(icons/email.png)
|
32
|
+
|
33
|
+
&[href^="http:"]:visited
|
34
|
+
background-image: url(icons/visited.png)
|
35
|
+
|
36
|
+
&[href$="
|
37
|
+
&.pdf"]
|
38
|
+
background-image: url(icons/pdf.png)
|
39
|
+
|
40
|
+
&.doc"]
|
41
|
+
background-image: url(icons/doc.png)
|
42
|
+
|
43
|
+
&.xls"]
|
44
|
+
background-image: url(icons/xls.png)
|
45
|
+
|
46
|
+
&.rss"], &.rdf"]
|
47
|
+
background-image: url(icons/feed.png)
|
48
|
+
|
49
|
+
&[href^="aim:"]
|
50
|
+
background-image: url(icons/im.png)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
RTL
|
2
|
+
* Mirrors Blueprint, so it can be used with Right-to-Left languages.
|
3
|
+
|
4
|
+
By Ran Yaniv Hartstein, ranh.co.il
|
5
|
+
|
6
|
+
Usage
|
7
|
+
----------------------------------------------------------------
|
8
|
+
|
9
|
+
1) Add this line to your HTML:
|
10
|
+
<link rel="stylesheet" href="css/blueprint/plugins/rtl/screen.css" type="text/css" media="screen, projection">
|
@@ -0,0 +1,272 @@
|
|
1
|
+
body
|
2
|
+
.container
|
3
|
+
direction: rtl
|
4
|
+
|
5
|
+
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24
|
6
|
+
float: right
|
7
|
+
margin-right: 0
|
8
|
+
margin-left: 10px
|
9
|
+
text-align: right
|
10
|
+
|
11
|
+
div.last
|
12
|
+
margin-left: 0
|
13
|
+
|
14
|
+
table .last
|
15
|
+
padding-left: 0
|
16
|
+
|
17
|
+
.append-1
|
18
|
+
padding-right: 0
|
19
|
+
padding-left: 40px
|
20
|
+
|
21
|
+
.append-2
|
22
|
+
padding-right: 0
|
23
|
+
padding-left: 80px
|
24
|
+
|
25
|
+
.append-3
|
26
|
+
padding-right: 0
|
27
|
+
padding-left: 120px
|
28
|
+
|
29
|
+
.append-4
|
30
|
+
padding-right: 0
|
31
|
+
padding-left: 160px
|
32
|
+
|
33
|
+
.append-5
|
34
|
+
padding-right: 0
|
35
|
+
padding-left: 200px
|
36
|
+
|
37
|
+
.append-6
|
38
|
+
padding-right: 0
|
39
|
+
padding-left: 240px
|
40
|
+
|
41
|
+
.append-7
|
42
|
+
padding-right: 0
|
43
|
+
padding-left: 280px
|
44
|
+
|
45
|
+
.append-8
|
46
|
+
padding-right: 0
|
47
|
+
padding-left: 320px
|
48
|
+
|
49
|
+
.append-9
|
50
|
+
padding-right: 0
|
51
|
+
padding-left: 360px
|
52
|
+
|
53
|
+
.append-10
|
54
|
+
padding-right: 0
|
55
|
+
padding-left: 400px
|
56
|
+
|
57
|
+
.append-11
|
58
|
+
padding-right: 0
|
59
|
+
padding-left: 440px
|
60
|
+
|
61
|
+
.append-12
|
62
|
+
padding-right: 0
|
63
|
+
padding-left: 480px
|
64
|
+
|
65
|
+
.append-13
|
66
|
+
padding-right: 0
|
67
|
+
padding-left: 520px
|
68
|
+
|
69
|
+
.append-14
|
70
|
+
padding-right: 0
|
71
|
+
padding-left: 560px
|
72
|
+
|
73
|
+
.append-15
|
74
|
+
padding-right: 0
|
75
|
+
padding-left: 600px
|
76
|
+
|
77
|
+
.append-16
|
78
|
+
padding-right: 0
|
79
|
+
padding-left: 640px
|
80
|
+
|
81
|
+
.append-17
|
82
|
+
padding-right: 0
|
83
|
+
padding-left: 680px
|
84
|
+
|
85
|
+
.append-18
|
86
|
+
padding-right: 0
|
87
|
+
padding-left: 720px
|
88
|
+
|
89
|
+
.append-19
|
90
|
+
padding-right: 0
|
91
|
+
padding-left: 760px
|
92
|
+
|
93
|
+
.append-20
|
94
|
+
padding-right: 0
|
95
|
+
padding-left: 800px
|
96
|
+
|
97
|
+
.append-21
|
98
|
+
padding-right: 0
|
99
|
+
padding-left: 840px
|
100
|
+
|
101
|
+
.append-22
|
102
|
+
padding-right: 0
|
103
|
+
padding-left: 880px
|
104
|
+
|
105
|
+
.append-23
|
106
|
+
padding-right: 0
|
107
|
+
padding-left: 920px
|
108
|
+
|
109
|
+
.prepend-1
|
110
|
+
padding-left: 0
|
111
|
+
padding-right: 40px
|
112
|
+
|
113
|
+
.prepend-2
|
114
|
+
padding-left: 0
|
115
|
+
padding-right: 80px
|
116
|
+
|
117
|
+
.prepend-3
|
118
|
+
padding-left: 0
|
119
|
+
padding-right: 120px
|
120
|
+
|
121
|
+
.prepend-4
|
122
|
+
padding-left: 0
|
123
|
+
padding-right: 160px
|
124
|
+
|
125
|
+
.prepend-5
|
126
|
+
padding-left: 0
|
127
|
+
padding-right: 200px
|
128
|
+
|
129
|
+
.prepend-6
|
130
|
+
padding-left: 0
|
131
|
+
padding-right: 240px
|
132
|
+
|
133
|
+
.prepend-7
|
134
|
+
padding-left: 0
|
135
|
+
padding-right: 280px
|
136
|
+
|
137
|
+
.prepend-8
|
138
|
+
padding-left: 0
|
139
|
+
padding-right: 320px
|
140
|
+
|
141
|
+
.prepend-9
|
142
|
+
padding-left: 0
|
143
|
+
padding-right: 360px
|
144
|
+
|
145
|
+
.prepend-10
|
146
|
+
padding-left: 0
|
147
|
+
padding-right: 400px
|
148
|
+
|
149
|
+
.prepend-11
|
150
|
+
padding-left: 0
|
151
|
+
padding-right: 440px
|
152
|
+
|
153
|
+
.prepend-12
|
154
|
+
padding-left: 0
|
155
|
+
padding-right: 480px
|
156
|
+
|
157
|
+
.prepend-13
|
158
|
+
padding-left: 0
|
159
|
+
padding-right: 520px
|
160
|
+
|
161
|
+
.prepend-14
|
162
|
+
padding-left: 0
|
163
|
+
padding-right: 560px
|
164
|
+
|
165
|
+
.prepend-15
|
166
|
+
padding-left: 0
|
167
|
+
padding-right: 600px
|
168
|
+
|
169
|
+
.prepend-16
|
170
|
+
padding-left: 0
|
171
|
+
padding-right: 640px
|
172
|
+
|
173
|
+
.prepend-17
|
174
|
+
padding-left: 0
|
175
|
+
padding-right: 680px
|
176
|
+
|
177
|
+
.prepend-18
|
178
|
+
padding-left: 0
|
179
|
+
padding-right: 720px
|
180
|
+
|
181
|
+
.prepend-19
|
182
|
+
padding-left: 0
|
183
|
+
padding-right: 760px
|
184
|
+
|
185
|
+
.prepend-20
|
186
|
+
padding-left: 0
|
187
|
+
padding-right: 800px
|
188
|
+
|
189
|
+
.prepend-21
|
190
|
+
padding-left: 0
|
191
|
+
padding-right: 840px
|
192
|
+
|
193
|
+
.prepend-22
|
194
|
+
padding-left: 0
|
195
|
+
padding-right: 880px
|
196
|
+
|
197
|
+
.prepend-23
|
198
|
+
padding-left: 0
|
199
|
+
padding-right: 920px
|
200
|
+
|
201
|
+
.border
|
202
|
+
padding-right: 0
|
203
|
+
padding-left: 4px
|
204
|
+
margin-right: 0
|
205
|
+
margin-left: 5px
|
206
|
+
border-right: none
|
207
|
+
border-left: 1px solid #eee
|
208
|
+
|
209
|
+
.colborder
|
210
|
+
padding-right: 0
|
211
|
+
padding-left: 24px
|
212
|
+
margin-right: 0
|
213
|
+
margin-left: 25px
|
214
|
+
border-right: none
|
215
|
+
border-left: 1px solid #eee
|
216
|
+
|
217
|
+
.pull-1
|
218
|
+
margin-left: 0
|
219
|
+
margin-right: -40px
|
220
|
+
|
221
|
+
.pull-2
|
222
|
+
margin-left: 0
|
223
|
+
margin-right: -80px
|
224
|
+
|
225
|
+
.pull-3
|
226
|
+
margin-left: 0
|
227
|
+
margin-right: -120px
|
228
|
+
|
229
|
+
.pull-4
|
230
|
+
margin-left: 0
|
231
|
+
margin-right: -160px
|
232
|
+
|
233
|
+
.push-0
|
234
|
+
margin: 0 18px 0 0
|
235
|
+
|
236
|
+
.push-1
|
237
|
+
margin: 0 18px 0 -40px
|
238
|
+
|
239
|
+
.push-2
|
240
|
+
margin: 0 18px 0 -80px
|
241
|
+
|
242
|
+
.push-3
|
243
|
+
margin: 0 18px 0 -120px
|
244
|
+
|
245
|
+
.push-4
|
246
|
+
margin: 0 18px 0 -160px
|
247
|
+
|
248
|
+
.push-0, .push-1, .push-2, .push-3, .push-4
|
249
|
+
float: left
|
250
|
+
|
251
|
+
h1, h2, h3, h4, h5, h6
|
252
|
+
font-family: Arial, sans-serif
|
253
|
+
|
254
|
+
|
255
|
+
html body
|
256
|
+
font-family: Arial, sans-serif
|
257
|
+
|
258
|
+
|
259
|
+
body
|
260
|
+
pre, code, tt
|
261
|
+
font-family: monospace
|
262
|
+
|
263
|
+
p img
|
264
|
+
float: right
|
265
|
+
margin: 1.5em 0 1.5em 1.5em
|
266
|
+
|
267
|
+
dd, ul, ol
|
268
|
+
margin-left: 0
|
269
|
+
margin-right: 1.5em
|
270
|
+
|
271
|
+
td, th
|
272
|
+
text-align: right
|