styleyt 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Rakefile +2 -2
  2. data/VERSION +1 -1
  3. data/templates/images/16x16/add.png +0 -0
  4. data/templates/images/16x16/edit.png +0 -0
  5. data/templates/images/16x16/index.png +0 -0
  6. data/templates/images/16x16/remove.png +0 -0
  7. data/templates/images/22x22/arrow-right.png +0 -0
  8. data/templates/images/22x22/edit.png +0 -0
  9. data/templates/images/22x22/insert_booking.png +0 -0
  10. data/templates/images/22x22/remove.png +0 -0
  11. data/templates/images/32x32/edit.png +0 -0
  12. data/templates/images/32x32/remove.png +0 -0
  13. data/templates/images/favicon.ico +0 -0
  14. data/templates/images/logo.png +0 -0
  15. data/templates/preview/index.html.haml +62 -0
  16. data/templates/stylesheets/ie.scss +8 -0
  17. data/templates/stylesheets/ie6.scss +7 -0
  18. data/templates/stylesheets/partials/_application.sass +0 -0
  19. data/templates/stylesheets/partials/_base.sass +38 -0
  20. data/templates/stylesheets/partials/_content.sass +107 -0
  21. data/templates/stylesheets/partials/_cyt.sass +173 -0
  22. data/templates/stylesheets/partials/_formtastic.sass +203 -0
  23. data/templates/stylesheets/partials/_formtastic_cyt.sass +68 -0
  24. data/templates/stylesheets/partials/_header.sass +28 -0
  25. data/templates/stylesheets/partials/_invoice.sass +187 -0
  26. data/templates/stylesheets/partials/_jquery.sass +2 -0
  27. data/templates/stylesheets/partials/_layout.sass +19 -0
  28. data/templates/stylesheets/partials/_navigation.sass +2 -0
  29. data/templates/stylesheets/partials/_pagination.sass +61 -0
  30. data/templates/stylesheets/partials/_redmine.sass +270 -0
  31. data/templates/stylesheets/partials/_scaffold.sass +67 -0
  32. data/templates/stylesheets/partials/_sidebar.sass +5 -0
  33. data/templates/stylesheets/partials/content/_ajax_indicator.sass +27 -0
  34. data/templates/stylesheets/partials/content/_fancy_buttons.sass +10 -0
  35. data/templates/stylesheets/partials/content/_flash_errors.sass +45 -0
  36. data/templates/stylesheets/partials/content/_icons.sass +16 -0
  37. data/templates/stylesheets/partials/content/_overview.sass +37 -0
  38. data/templates/stylesheets/partials/content/_table_list.sass +23 -0
  39. data/templates/stylesheets/partials/formtastic/_formtastic_base.sass +624 -0
  40. data/templates/stylesheets/partials/jquery/_jquery_ui.sass +1473 -0
  41. data/templates/stylesheets/partials/jquery/_tooltip.sass +13 -0
  42. data/templates/stylesheets/partials/navigation/_main.sass +33 -0
  43. data/templates/stylesheets/partials/navigation/_sidebar.sass +18 -0
  44. data/templates/stylesheets/print.sass +30 -0
  45. data/templates/stylesheets/print.scss +26 -0
  46. data/templates/stylesheets/screen.scss +25 -0
  47. data/templates/stylesheets/themes/default/colors.sass +9 -0
  48. data/templates/stylesheets/themes/red/colors.sass +0 -0
  49. data/templates/test.css +0 -0
  50. metadata +53 -12
@@ -0,0 +1,13 @@
1
+ // Styling from http://flowplayer.org/tools/demos/tooltip/index.html, 19.10.2010
2
+ // simple css-based tooltip
3
+ .tooltip
4
+ display:none
5
+ background: url(/images/jquery/tooltip/black_arrow.png)
6
+ font-size: 12px
7
+ height: 70px
8
+ width: 160px
9
+ padding: 25px
10
+ color: #fff
11
+
12
+
13
+
@@ -0,0 +1,33 @@
1
+ // Based on Redmine from the redmine.css
2
+ // begin
3
+ #main-menu
4
+ li
5
+ margin: 0px 2px 0px 0px
6
+ padding: 0px 0px 0px 0px
7
+ white-space: nowrap
8
+ a
9
+ display: block
10
+ color: white
11
+ text-decoration: none
12
+ font-weight: bold
13
+ margin: 0
14
+ padding: 4px 10px 4px 10px
15
+ &:hover
16
+ background: $light_blue
17
+ color: $white
18
+ &.selected
19
+ background: $white
20
+ color: $gray
21
+ &:hover
22
+ background: $white
23
+ color: $gray
24
+ // end
25
+ #main-menu
26
+ position: absolute
27
+ bottom: 0px
28
+ ul
29
+ +horizontal-list
30
+ float: left
31
+ li
32
+ a
33
+ +border-top-radius($border_radius)
@@ -0,0 +1,18 @@
1
+ #second-main-menu
2
+ margin: -1em
3
+ +border-top-radius($border_radius)
4
+ border: 1px solid #AEB9CF
5
+ ul
6
+ +no-bullets
7
+ li
8
+ border-bottom: 1px solid white
9
+ line-height: 2em
10
+ a
11
+ display: block
12
+ padding-left: 1em
13
+ &.selected,
14
+ &:hover
15
+ color: black
16
+ &:hover,
17
+ &.selected
18
+ border-bottom: 1px solid #AEB9CF
@@ -0,0 +1,30 @@
1
+ @import "blueprint"
2
+ @import 'partials/invoice'
3
+
4
+ // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
5
+
6
+ //Recommended Blueprint configuration with scoping and semantic layout:
7
+ body.bp
8
+ +blueprint-print(true)
9
+
10
+ h1
11
+ display: none
12
+
13
+ #balance-sheet form,
14
+ #profit-sheet form
15
+ display: none
16
+ #balance-sheet, #profit-sheet
17
+ background: white
18
+ // Media print specific styles ****
19
+ #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats
20
+ display: none
21
+ #main
22
+ background: white
23
+ #content
24
+ width: 99%
25
+ margin: 0
26
+ padding: 0
27
+ border: 0
28
+ background: white
29
+ overflow: visible !important
30
+
@@ -0,0 +1,26 @@
1
+ @import "blueprint"
2
+
3
+ // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
4
+ // @include blueprint-print
5
+
6
+ //Recommended Blueprint configuration with scoping and semantic layout:
7
+ body
8
+ @include blueprint-print(true)
9
+
10
+ #balance-sheet form,
11
+ #profit-sheet form
12
+ display: none
13
+ #balance-sheet, #profit-sheet
14
+ background: white
15
+ // Media print specific styles ****
16
+ #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats
17
+ display: none
18
+ #main
19
+ background: white
20
+ #content
21
+ width: 99%
22
+ margin: 0
23
+ padding: 0
24
+ border: 0
25
+ background: white
26
+ overflow: visible !important
@@ -0,0 +1,25 @@
1
+ // This import applies a global reset to any page that imports this stylesheet.
2
+ @import "blueprint/reset";
3
+ @import 'partials/base';
4
+
5
+ // Import all the default blueprint modules so that we can access their mixins.
6
+ @import "blueprint";
7
+ @import 'partials/layout';
8
+ @import 'partials/header';
9
+ @import 'partials/content';
10
+ @import 'partials/sidebar';
11
+ @import 'partials/navigation';
12
+
13
+ // Import the non-default scaffolding module.
14
+ //@import "blueprint/scaffolding";
15
+
16
+ // To generate css equivalent to the blueprint css but with your
17
+ // configuration applied, uncomment:
18
+ // @include blueprint
19
+
20
+ @import 'partials/cyt';
21
+ @import 'partials/application';
22
+
23
+ // jQuery UI styling
24
+ @import 'partials/jquery'
25
+ ;
@@ -0,0 +1,9 @@
1
+ // Color definition
2
+ $dark_blue : #507aaa
3
+ $light_blue : #759fcf
4
+ $white : #ffffff
5
+ $gray : #555555
6
+ $link_color : $dark_blue
7
+ $link_color_hover : $light_blue
8
+ $bg_dark_blue : #AEB9CF
9
+ $red : red
File without changes
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roman Simecek
@@ -14,14 +14,13 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-19 00:00:00 +02:00
17
+ date: 2011-02-14 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thoughtbot-shoulda
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
24
  requirements:
26
25
  - - ">="
27
26
  - !ruby/object:Gem::Version
@@ -34,9 +33,8 @@ dependencies:
34
33
  name: rails
35
34
  prerelease: false
36
35
  requirement: &id002 !ruby/object:Gem::Requirement
37
- none: false
38
36
  requirements:
39
- - - "="
37
+ - - ~>
40
38
  - !ruby/object:Gem::Version
41
39
  segments:
42
40
  - 3
@@ -49,7 +47,6 @@ dependencies:
49
47
  name: haml
50
48
  prerelease: false
51
49
  requirement: &id003 !ruby/object:Gem::Requirement
52
- none: false
53
50
  requirements:
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
@@ -62,7 +59,6 @@ dependencies:
62
59
  name: compass
63
60
  prerelease: false
64
61
  requirement: &id004 !ruby/object:Gem::Requirement
65
- none: false
66
62
  requirements:
67
63
  - - ">="
68
64
  - !ruby/object:Gem::Version
@@ -86,6 +82,53 @@ files:
86
82
  - lib/generators/styleyt/preview_generator.rb
87
83
  - lib/generators/styleyt/styleyt_helper.rb
88
84
  - lib/generators/styleyt/theme_generator.rb
85
+ - templates/images/16x16/add.png
86
+ - templates/images/16x16/edit.png
87
+ - templates/images/16x16/index.png
88
+ - templates/images/16x16/remove.png
89
+ - templates/images/22x22/arrow-right.png
90
+ - templates/images/22x22/edit.png
91
+ - templates/images/22x22/insert_booking.png
92
+ - templates/images/22x22/remove.png
93
+ - templates/images/32x32/edit.png
94
+ - templates/images/32x32/remove.png
95
+ - templates/images/favicon.ico
96
+ - templates/images/logo.png
97
+ - templates/preview/index.html.haml
98
+ - templates/stylesheets/ie.scss
99
+ - templates/stylesheets/ie6.scss
100
+ - templates/stylesheets/partials/_application.sass
101
+ - templates/stylesheets/partials/_base.sass
102
+ - templates/stylesheets/partials/_content.sass
103
+ - templates/stylesheets/partials/_cyt.sass
104
+ - templates/stylesheets/partials/_formtastic.sass
105
+ - templates/stylesheets/partials/_formtastic_cyt.sass
106
+ - templates/stylesheets/partials/_header.sass
107
+ - templates/stylesheets/partials/_invoice.sass
108
+ - templates/stylesheets/partials/_jquery.sass
109
+ - templates/stylesheets/partials/_layout.sass
110
+ - templates/stylesheets/partials/_navigation.sass
111
+ - templates/stylesheets/partials/_pagination.sass
112
+ - templates/stylesheets/partials/_redmine.sass
113
+ - templates/stylesheets/partials/_scaffold.sass
114
+ - templates/stylesheets/partials/_sidebar.sass
115
+ - templates/stylesheets/partials/content/_ajax_indicator.sass
116
+ - templates/stylesheets/partials/content/_fancy_buttons.sass
117
+ - templates/stylesheets/partials/content/_flash_errors.sass
118
+ - templates/stylesheets/partials/content/_icons.sass
119
+ - templates/stylesheets/partials/content/_overview.sass
120
+ - templates/stylesheets/partials/content/_table_list.sass
121
+ - templates/stylesheets/partials/formtastic/_formtastic_base.sass
122
+ - templates/stylesheets/partials/jquery/_jquery_ui.sass
123
+ - templates/stylesheets/partials/jquery/_tooltip.sass
124
+ - templates/stylesheets/partials/navigation/_main.sass
125
+ - templates/stylesheets/partials/navigation/_sidebar.sass
126
+ - templates/stylesheets/print.sass
127
+ - templates/stylesheets/print.scss
128
+ - templates/stylesheets/screen.scss
129
+ - templates/stylesheets/themes/default/colors.sass
130
+ - templates/stylesheets/themes/red/colors.sass
131
+ - templates/test.css
89
132
  - test/helper.rb
90
133
  - test/test_styleyt.rb
91
134
  has_rdoc: true
@@ -98,7 +141,6 @@ rdoc_options:
98
141
  require_paths:
99
142
  - lib
100
143
  required_ruby_version: !ruby/object:Gem::Requirement
101
- none: false
102
144
  requirements:
103
145
  - - ">="
104
146
  - !ruby/object:Gem::Version
@@ -106,7 +148,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
148
  - 0
107
149
  version: "0"
108
150
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
151
  requirements:
111
152
  - - ">="
112
153
  - !ruby/object:Gem::Version
@@ -116,10 +157,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
157
  requirements: []
117
158
 
118
159
  rubyforge_project: styleyt
119
- rubygems_version: 1.3.7
160
+ rubygems_version: 1.3.6
120
161
  signing_key:
121
162
  specification_version: 3
122
163
  summary: Style generator for cyt projects.
123
164
  test_files:
124
- - test/helper.rb
125
165
  - test/test_styleyt.rb
166
+ - test/helper.rb