endymion-origami 0.1.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.
Files changed (83) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.textile +138 -0
  3. data/Rakefile +39 -0
  4. data/app/helpers/layout_helper.rb +44 -0
  5. data/app/views/layouts/1_column_em.html.erb +110 -0
  6. data/app/views/layouts/1_column_percentage.html.erb +127 -0
  7. data/app/views/layouts/1_column_pixel.html.erb +110 -0
  8. data/app/views/layouts/2_column_left_menu_em.html.erb +209 -0
  9. data/app/views/layouts/2_column_left_menu_percentage.html.erb +181 -0
  10. data/app/views/layouts/2_column_left_menu_pixel.html.erb +216 -0
  11. data/app/views/layouts/2_column_right_menu_em.html.erb +204 -0
  12. data/app/views/layouts/2_column_right_menu_percentage.html.erb +227 -0
  13. data/app/views/layouts/2_column_right_menu_pixel.html.erb +240 -0
  14. data/app/views/layouts/3_column_blog_em.html.erb +257 -0
  15. data/app/views/layouts/3_column_blog_percentage.html.erb +255 -0
  16. data/app/views/layouts/3_column_blog_pixel.html.erb +268 -0
  17. data/app/views/layouts/3_column_holy_grail_em.html.erb +262 -0
  18. data/app/views/layouts/3_column_holy_grail_percentage.html.erb +255 -0
  19. data/app/views/layouts/3_column_holy_grail_pixel.html.erb +262 -0
  20. data/app/views/layouts/_body.html.erb +7 -0
  21. data/app/views/layouts/_column_1.html.erb +5 -0
  22. data/app/views/layouts/_column_2.html.erb +5 -0
  23. data/app/views/layouts/_column_3.html.erb +5 -0
  24. data/app/views/layouts/_flashes.html.erb +15 -0
  25. data/app/views/layouts/_footer.html.erb +5 -0
  26. data/app/views/layouts/_google_analytics_tracker.html.erb +8 -0
  27. data/app/views/layouts/_head.html.erb +23 -0
  28. data/app/views/layouts/_header.html.erb +5 -0
  29. data/app/views/layouts/_image_replacement.html.erb +3 -0
  30. data/app/views/layouts/_javascript_includes.html.erb +1 -0
  31. data/app/views/layouts/_layout_and_theme_stylesheets.html.erb +8 -0
  32. data/app/views/layouts/stacked_columns.html.erb +418 -0
  33. data/assets/bluetrip-css-framework/LICENSE +312 -0
  34. data/assets/bluetrip-css-framework/README.rst +37 -0
  35. data/assets/bluetrip-css-framework/css/ie.css +21 -0
  36. data/assets/bluetrip-css-framework/css/print.css +49 -0
  37. data/assets/bluetrip-css-framework/css/screen.css +409 -0
  38. data/assets/bluetrip-css-framework/css/style.css +7 -0
  39. data/assets/bluetrip-css-framework/examples/grid.html +232 -0
  40. data/assets/bluetrip-css-framework/examples/index.html +263 -0
  41. data/assets/bluetrip-css-framework/examples/test-small.jpg +0 -0
  42. data/assets/bluetrip-css-framework/img/grid.png +0 -0
  43. data/assets/bluetrip-css-framework/img/icons/cross.png +0 -0
  44. data/assets/bluetrip-css-framework/img/icons/doc.png +0 -0
  45. data/assets/bluetrip-css-framework/img/icons/email.png +0 -0
  46. data/assets/bluetrip-css-framework/img/icons/external.png +0 -0
  47. data/assets/bluetrip-css-framework/img/icons/feed.png +0 -0
  48. data/assets/bluetrip-css-framework/img/icons/im.png +0 -0
  49. data/assets/bluetrip-css-framework/img/icons/information.png +0 -0
  50. data/assets/bluetrip-css-framework/img/icons/key.png +0 -0
  51. data/assets/bluetrip-css-framework/img/icons/pdf.png +0 -0
  52. data/assets/bluetrip-css-framework/img/icons/tick.png +0 -0
  53. data/assets/bluetrip-css-framework/img/icons/visited.png +0 -0
  54. data/assets/bluetrip-css-framework/img/icons/xls.png +0 -0
  55. data/init.rb +1 -0
  56. data/install.rb +1 -0
  57. data/lib/chaise.rb +9 -0
  58. data/origami.gemspec +118 -0
  59. data/public/stylesheets/1_column_em.css +117 -0
  60. data/public/stylesheets/1_column_percentage.css +134 -0
  61. data/public/stylesheets/1_column_pixel.css +117 -0
  62. data/public/stylesheets/2_column_left_menu_em.css +149 -0
  63. data/public/stylesheets/2_column_left_menu_percentage.css +142 -0
  64. data/public/stylesheets/2_column_left_menu_pixel.css +149 -0
  65. data/public/stylesheets/2_column_right_menu_em.css +148 -0
  66. data/public/stylesheets/2_column_right_menu_percentage.css +142 -0
  67. data/public/stylesheets/2_column_right_menu_pixel.css +148 -0
  68. data/public/stylesheets/3_column_blog_pixel.css +162 -0
  69. data/rails/init.rb +1 -0
  70. data/rdoc/classes/ApplicationController.html +151 -0
  71. data/rdoc/created.rid +1 -0
  72. data/rdoc/files/README_textile.html +363 -0
  73. data/rdoc/files/lib/chaise_rb.html +101 -0
  74. data/rdoc/fr_class_index.html +27 -0
  75. data/rdoc/fr_file_index.html +28 -0
  76. data/rdoc/fr_method_index.html +27 -0
  77. data/rdoc/index.html +24 -0
  78. data/rdoc/rdoc-style.css +208 -0
  79. data/tasks/chaise_tasks.rake +15 -0
  80. data/test/chaise_test.rb +26 -0
  81. data/test/test_helper.rb +3 -0
  82. data/uninstall.rb +1 -0
  83. metadata +136 -0
@@ -0,0 +1,142 @@
1
+ /* General styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+ body {
7
+ margin:0;
8
+ padding:0;
9
+ border:0; /* This removes the border around the viewport in old versions of IE */
10
+ width:100%;
11
+ background:#fff;
12
+ min-width:600px; /* Minimum width of layout - remove line if not required */
13
+ /* The min-width property does not work in old versions of Internet Explorer */
14
+ font-size:90%;
15
+ }
16
+ a {
17
+ color:#369;
18
+ }
19
+ a:hover {
20
+ color:#fff;
21
+ background:#369;
22
+ text-decoration:none;
23
+ }
24
+ h1, h2, h3 {
25
+ margin:.8em 0 .2em 0;
26
+ padding:0;
27
+ }
28
+ p {
29
+ margin:.4em 0 .8em 0;
30
+ padding:0;
31
+ }
32
+ /* Header styles */
33
+ #header {
34
+ clear:both;
35
+ float:left;
36
+ width:100%;
37
+ }
38
+ #header p,
39
+ #header h1,
40
+ #header h2 {
41
+ padding:.4em 15px 0 15px;
42
+ margin:0;
43
+ }
44
+ #header ul {
45
+ clear:left;
46
+ float:left;
47
+ width:100%;
48
+ list-style:none;
49
+ margin:10px 0 0 0;
50
+ padding:0;
51
+ }
52
+ #header ul li {
53
+ display:inline;
54
+ list-style:none;
55
+ margin:0;
56
+ padding:0;
57
+ }
58
+ #header ul li a {
59
+ display:block;
60
+ float:left;
61
+ margin:0 0 0 1px;
62
+ padding:3px 10px;
63
+ text-align:center;
64
+ background:#eee;
65
+ color:#000;
66
+ text-decoration:none;
67
+ position:relative;
68
+ left:15px;
69
+ line-height:1.3em;
70
+ }
71
+ #header ul li a:hover {
72
+ background:#369;
73
+ color:#fff;
74
+ }
75
+ #header ul li a.active,
76
+ #header ul li a.active:hover {
77
+ color:#fff;
78
+ background:#000;
79
+ font-weight:bold;
80
+ }
81
+ #header ul li a span {
82
+ display:block;
83
+ }
84
+ /* 'widths' sub menu */
85
+ #layoutdims {
86
+ clear:both;
87
+ background:#eee;
88
+ border-top:4px solid #000;
89
+ margin:0;
90
+ padding:6px 15px !important;
91
+ text-align:right;
92
+ }
93
+ /* column container */
94
+ .colmask {
95
+ position:relative; /* This fixes the IE7 overflow hidden bug */
96
+ clear:both;
97
+ float:left;
98
+ width:100%; /* width of whole page */
99
+ overflow:hidden; /* This chops off any overhanging divs */
100
+ }
101
+ /* common column settings */
102
+ .colright,
103
+ .colmid,
104
+ .colleft {
105
+ float:left;
106
+ width:100%;
107
+ position:relative;
108
+ }
109
+ .col1,
110
+ .col2,
111
+ .col3 {
112
+ float:left;
113
+ position:relative;
114
+ padding:0 0 1em 0;
115
+ overflow:hidden;
116
+ }
117
+ /* 2 Column (right menu) settings */
118
+ .rightmenu {
119
+ background:#eee; /* right column background colour */
120
+ }
121
+ .rightmenu .colleft {
122
+ right:25%; /* right column width */
123
+ background:#fff; /* left column background colour */
124
+ }
125
+ .rightmenu .col1 {
126
+ width:71%; /* left column content width (left column width minus left and right padding) */
127
+ left:27%; /* (right column width) plus (left column left padding) */
128
+ }
129
+ .rightmenu .col2 {
130
+ width:21%; /* right column content width (right column width minus left and right padding) */
131
+ left:31%; /* (right column width) plus (left column left and right padding) plus (right column left padding) */
132
+ }
133
+ /* Footer styles */
134
+ #footer {
135
+ clear:both;
136
+ float:left;
137
+ width:100%;
138
+ }
139
+ #footer p {
140
+ padding:10px;
141
+ margin:0;
142
+ }
@@ -0,0 +1,148 @@
1
+ /* General styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+ body {
7
+ margin:0;
8
+ padding:0;
9
+ border:0; /* This removes the border around the viewport in old versions of IE */
10
+ width:100%;
11
+ background:#fff;
12
+ min-width:600px; /* Minimum width of layout - remove line if not required */
13
+ /* The min-width property does not work in old versions of Internet Explorer */
14
+ font-size:90%;
15
+ }
16
+ a {
17
+ color:#369;
18
+ }
19
+ a:hover {
20
+ color:#fff;
21
+ background:#369;
22
+ text-decoration:none;
23
+ }
24
+ h1, h2, h3 {
25
+ margin:.8em 0 .2em 0;
26
+ padding:0;
27
+ }
28
+ p {
29
+ margin:.4em 0 .8em 0;
30
+ padding:0;
31
+ }
32
+ /* Header styles */
33
+ #header {
34
+ clear:both;
35
+ float:left;
36
+ width:100%;
37
+ }
38
+ #header p,
39
+ #header h1,
40
+ #header h2 {
41
+ padding:.4em 15px 0 15px;
42
+ margin:0;
43
+ }
44
+ #header ul {
45
+ clear:left;
46
+ float:left;
47
+ width:100%;
48
+ list-style:none;
49
+ margin:10px 0 0 0;
50
+ padding:0;
51
+ }
52
+ #header ul li {
53
+ display:inline;
54
+ list-style:none;
55
+ margin:0;
56
+ padding:0;
57
+ }
58
+ #header ul li a {
59
+ display:block;
60
+ float:left;
61
+ margin:0 0 0 1px;
62
+ padding:3px 10px;
63
+ text-align:center;
64
+ background:#eee;
65
+ color:#000;
66
+ text-decoration:none;
67
+ position:relative;
68
+ left:15px;
69
+ line-height:1.3em;
70
+ }
71
+ #header ul li a:hover {
72
+ background:#369;
73
+ color:#fff;
74
+ }
75
+ #header ul li a.active,
76
+ #header ul li a.active:hover {
77
+ color:#fff;
78
+ background:#000;
79
+ font-weight:bold;
80
+ }
81
+ #header ul li a span {
82
+ display:block;
83
+ }
84
+ /* 'widths' sub menu */
85
+ #layoutdims {
86
+ clear:both;
87
+ background:#eee;
88
+ border-top:4px solid #000;
89
+ margin:0;
90
+ padding:6px 15px !important;
91
+ text-align:right;
92
+ }
93
+ /* column container */
94
+ .colmask {
95
+ position:relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
96
+ clear:both;
97
+ float:left;
98
+ width:100%; /* width of whole page */
99
+ overflow:hidden; /* This chops off any overhanging divs */
100
+ }
101
+ /* 2 column right menu settings */
102
+ .rightmenu {
103
+ background:#ff9;
104
+ }
105
+ .rightmenu .colleft {
106
+ float:left;
107
+ width:200%;
108
+ margin-left:-200px;
109
+ position:relative;
110
+ right:100%;
111
+ background:#fff;
112
+ }
113
+ .rightmenu .col1wrap {
114
+ float:left;
115
+ width:50%;
116
+ position:relative;
117
+ left:50%;
118
+ padding-bottom:1em;
119
+ }
120
+ .rightmenu .col1 {
121
+ margin:0 15px 0 215px;
122
+ overflow:hidden;
123
+ }
124
+ .rightmenu .col2 {
125
+ float:right;
126
+ width:170px;
127
+ position:relative;
128
+ left:185px;
129
+ }
130
+ /* Footer styles */
131
+ #footer {
132
+ clear:both;
133
+ float:left;
134
+ width:100%;
135
+ }
136
+ #footer p {
137
+ padding:10px;
138
+ margin:0;
139
+ }
140
+ /* --> */
141
+ </style>
142
+ <!--[if lt IE 7]>
143
+ <style media="screen" type="text/css">
144
+ .col1 {
145
+ width:100%;
146
+ }
147
+ </style>
148
+ <![endif]-->
@@ -0,0 +1,162 @@
1
+ /* General styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+ body {
7
+ margin:0;
8
+ padding:0;
9
+ border:0; /* This removes the border around the viewport in old versions of IE */
10
+ width:100%;
11
+ background:#fff;
12
+ min-width:600px; /* Minimum width of layout - remove line if not required */
13
+ /* The min-width property does not work in old versions of Internet Explorer */
14
+ font-size:90%;
15
+ }
16
+ a {
17
+ color:#369;
18
+ }
19
+ a:hover {
20
+ color:#fff;
21
+ background:#369;
22
+ text-decoration:none;
23
+ }
24
+ h1, h2, h3 {
25
+ margin:.8em 0 .2em 0;
26
+ padding:0;
27
+ }
28
+ p {
29
+ margin:.4em 0 .8em 0;
30
+ padding:0;
31
+ }
32
+ /* Header styles */
33
+ #header {
34
+ clear:both;
35
+ float:left;
36
+ width:100%;
37
+ }
38
+ #header p,
39
+ #header h1,
40
+ #header h2 {
41
+ padding:.4em 15px 0 15px;
42
+ margin:0;
43
+ }
44
+ #header ul {
45
+ clear:left;
46
+ float:left;
47
+ width:100%;
48
+ list-style:none;
49
+ margin:10px 0 0 0;
50
+ padding:0;
51
+ }
52
+ #header ul li {
53
+ display:inline;
54
+ list-style:none;
55
+ margin:0;
56
+ padding:0;
57
+ }
58
+ #header ul li a {
59
+ display:block;
60
+ float:left;
61
+ margin:0 0 0 1px;
62
+ padding:3px 10px;
63
+ text-align:center;
64
+ background:#eee;
65
+ color:#000;
66
+ text-decoration:none;
67
+ position:relative;
68
+ left:15px;
69
+ line-height:1.3em;
70
+ }
71
+ #header ul li a:hover {
72
+ background:#369;
73
+ color:#fff;
74
+ }
75
+ #header ul li a.active,
76
+ #header ul li a.active:hover {
77
+ color:#fff;
78
+ background:#000;
79
+ font-weight:bold;
80
+ }
81
+ #header ul li a span {
82
+ display:block;
83
+ }
84
+ /* 'widths' sub menu */
85
+ #layoutdims {
86
+ clear:both;
87
+ background:#eee;
88
+ border-top:4px solid #000;
89
+ margin:0;
90
+ padding:6px 15px !important;
91
+ text-align:right;
92
+ }
93
+ /* column container */
94
+ .colmask {
95
+ position:relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
96
+ clear:both;
97
+ float:left;
98
+ width:100%; /* width of whole page */
99
+ overflow:hidden; /* This chops off any overhanging divs */
100
+ }
101
+ /* 3 column blog style settings */
102
+ .blogstyle {
103
+ background:#ff9; /* Right column background colour */
104
+ }
105
+ .blogstyle .colmid {
106
+ float:left;
107
+ width:200%;
108
+ margin-left:-200px; /* Width of right column */
109
+ position:relative;
110
+ right:100%;
111
+ background:#FFD8B7; /* Centre column background colour */
112
+ }
113
+ .blogstyle .colleft {
114
+ float:left;
115
+ width:100%;
116
+ margin-left:-200px; /* Width of centre column */
117
+ background:#fff; /* Left column background colour */
118
+ }
119
+ .blogstyle .col1wrap {
120
+ float:left;
121
+ width:50%;
122
+ padding-bottom:1em; /* Centre column bottom padding. Leave it out if it's zero */
123
+ }
124
+ .blogstyle .col1 {
125
+ margin:0 15px 0 415px; /* Centre column side padding:
126
+ Left padding = left column width + centre column left padding width
127
+ Right padding = right column width + centre column right padding width */
128
+ position:relative;
129
+ left:100%;
130
+ overflow:hidden;
131
+ }
132
+ .blogstyle .col2 {
133
+ float:right;
134
+ width:170px; /* Width of left column content (left column width minus left and right padding) */
135
+ position:relative;
136
+ left:185px; /* Width of the left-had side padding on the left column */
137
+ }
138
+ .blogstyle .col3 {
139
+ float:right;
140
+ width:170px; /* Width of right column content (right column width minus left and right padding) */
141
+ position:relative;
142
+ left:555px;
143
+ }
144
+ /* Footer styles */
145
+ #footer {
146
+ clear:both;
147
+ float:left;
148
+ width:100%;
149
+ }
150
+ #footer p {
151
+ padding:10px;
152
+ margin:0;
153
+ }
154
+ /* --> */
155
+ </style>
156
+ <!--[if lt IE 7]>
157
+ <style media="screen" type="text/css">
158
+ .col1 {
159
+ width:100%;
160
+ }
161
+ </style>
162
+ <![endif]-->