styleyt 0.2.3 → 0.2.4

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 (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,68 @@
1
+ // Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
2
+ // This will allow you to update formtastic.css with new releases without clobbering your own changes.
3
+ //
4
+ // For example, to make the inline hint paragraphs a little darker in color than the standard #666:
5
+ // form.formtastic fieldset ol li p.inline-hints { color:#333; }
6
+
7
+ // FORMS
8
+
9
+ form.formtastic
10
+ +border-radius($border_radius)
11
+ padding: 6px
12
+ margin-bottom: 10px
13
+ background-color: #f6f6f6
14
+ color: #505050
15
+ line-height: 1.5em
16
+ border: 1px solid #e4e4e4
17
+ fieldset > ol > li.boolean label
18
+ padding-left: 15%
19
+ ul.errors
20
+ color: #cc0000
21
+ margin: 0.5em 0 1.5em 15%
22
+ list-style: square
23
+
24
+ // BOOLEAN OVERRIDES
25
+ // SEMANTIC ERRORS
26
+ // FIELD SETS & LISTS
27
+ #recall_form form.formtastic fieldset
28
+ border: 2px groove #d7d7d7
29
+ padding: 0.2em
30
+ &.buttons
31
+ border: 0
32
+ padding-left: 15%
33
+
34
+ // LABELS
35
+ form.formtastic fieldset
36
+ ol li label
37
+ width: 15%
38
+ margin-right: 0.5em
39
+ text-align: right
40
+ > ol > li
41
+ label
42
+ font-weight: bold
43
+ &.required
44
+ color: #484848
45
+ abbr
46
+ color: #bb0000
47
+ fieldset ol
48
+ float: left
49
+ width: 74%
50
+ margin: 0
51
+ padding: 0 0 0 15%
52
+ p
53
+ &.inline-hints
54
+ margin: 0.5em 0 0 15%
55
+ &.inline-errors
56
+ margin: 0.5em 0 0 15%
57
+ ul.errors
58
+ margin: 0.5em 0 0 15%
59
+ ol li
60
+ margin-bottom: 0.5em
61
+ &.buttons
62
+ padding-left: 15%
63
+ ol
64
+ margin-left: 0.5em
65
+ input.icon
66
+ background-position: 3px 3px
67
+ padding: 3px
68
+ padding-left: 20px
@@ -0,0 +1,28 @@
1
+ @import 'compass/css3/border-radius'
2
+ @import 'compass/css3/text-shadow'
3
+ $default-text-shadow-blur : 5px
4
+
5
+ #header
6
+ +border-radius($border_radius)
7
+ height: 60px
8
+ background-color: $dark_blue
9
+ color: $white
10
+ position: relative
11
+
12
+ #logo
13
+ position: absolute
14
+ right: 1em
15
+
16
+ #logo img
17
+ float: left
18
+ display: inline
19
+
20
+ #logo-text
21
+ float: right
22
+ font-size: 24pt
23
+ padding-top: 6px
24
+ color: #002B3D
25
+ +text-shadow(#555555, 1px, 1px, 1px)
26
+
27
+ #logo-yt
28
+ color: #074a9d
@@ -0,0 +1,187 @@
1
+ // VESR Invoice **
2
+ #invoice
3
+ table
4
+ border-spacing: 0
5
+ border-collapse: collapse
6
+ h1, h2, h3
7
+ border-bottom: 0
8
+
9
+ .block
10
+ font-size: 8pt
11
+ position: absolute
12
+
13
+ #invoice h3
14
+ color: gray
15
+ font-style: italic
16
+ font-weight: normal
17
+ font-size: 8pt
18
+ margin-bottom: 0.2em
19
+
20
+ .block th
21
+ color: gray
22
+ font-style: italic
23
+ font-weight: normal
24
+ font-size: 8pt
25
+ text-align: left
26
+ padding-right: 5.4em
27
+
28
+ .line
29
+ font-size: 9pt
30
+ position: absolute
31
+
32
+ .head
33
+ font-size: 16pt
34
+ font-weight: bold
35
+
36
+ .subhead
37
+ vertical-align: top
38
+ font-size: 7pt
39
+ font-weight: bold
40
+
41
+ #invoice .list
42
+ font-size: 7pt
43
+
44
+ .bullet
45
+ font-size: 8pt
46
+ font-weight: none
47
+
48
+ .col1
49
+ width: 1.8cm
50
+
51
+ .total
52
+ font-weight: bold
53
+
54
+ .amount
55
+ font-size: 8pt
56
+ text-align: right
57
+
58
+ .totalamount
59
+ font-size: 8pt
60
+ font-weight: bold
61
+ text-align: right
62
+
63
+ // Invoice
64
+ #invoice
65
+ font-family: Arial, DejaVu Sans
66
+ font-size: 8pt
67
+ margin-top: 0.5cm
68
+ position: absolute
69
+ width: 18.2cm
70
+ height: 29cm
71
+ top: 0cm
72
+ left: 0cm
73
+
74
+ #invoice-balance
75
+ position: absolute
76
+ top: 11cm
77
+ width: 16.2cm
78
+ left: 1.5cm
79
+
80
+ #billingaddress
81
+ font-size: 12pt
82
+ top: 4.2cm
83
+ left: 12.3cm
84
+
85
+ #info
86
+ top: 0cm
87
+ left: 1.5cm
88
+ h2
89
+ margin-bottom: 1em
90
+
91
+ #biller
92
+ top: 2.2cm
93
+ left: 1.5cm
94
+
95
+ #referrer
96
+ top: 4.8cm
97
+ left: 1.5cm
98
+
99
+ #provider
100
+ top: 2.1cm
101
+ left: 5.5cm
102
+
103
+ #patient
104
+ top: 4.8cm
105
+ left: 5.5cm
106
+
107
+ // VESR Form
108
+ #vesr
109
+ width: 18.2cm
110
+ font-size: 10pt
111
+ font-family: ocr-b, Helvetica, Arial, sans-serif
112
+ position: absolute
113
+ top: 26.9cm
114
+ left: 6.7cm
115
+
116
+ #paymentfor1
117
+ top: 19.4cm
118
+ left: 0.2cm
119
+
120
+ #account1
121
+ top: 22.5cm
122
+ left: 2.7cm
123
+
124
+ #paymentreference1
125
+ font-size: 95%
126
+ top: 24.5cm
127
+ left: 0.2cm
128
+
129
+ #paymentby1
130
+ top: 25cm
131
+ left: 0.2cm
132
+
133
+ #paymentamount1
134
+ top: 23.5cm
135
+ right: 12.8cm
136
+ text-align: right
137
+
138
+ #paymentfor2
139
+ top: 19.4cm
140
+ left: 6.2cm
141
+
142
+ #account2
143
+ top: 22.5cm
144
+ left: 8.7cm
145
+
146
+ #paymentby2
147
+ top: 24cm
148
+ left: 6.2cm
149
+
150
+ #paymentby3
151
+ top: 23cm
152
+ left: 12.5cm
153
+
154
+ #paymentamount2
155
+ top: 23.5cm
156
+ right: 6.7cm
157
+ text-align: right
158
+
159
+ #reference
160
+ font-size: 11pt
161
+ top: 21.8cm
162
+ left: 12.6cm
163
+ width: 10cm
164
+
165
+ // Reminder
166
+ #reminder-message
167
+ font-size: 9pt
168
+ position: absolute
169
+ top: 7.5cm
170
+ width: 17cm
171
+ left: 1.5cm
172
+
173
+ #reminder-balance
174
+ position: absolute
175
+ top: 14.5cm
176
+ width: 17cm
177
+ left: 1.5cm
178
+
179
+ #invoice .booking_list
180
+ width: 100%
181
+ font-size: 8pt
182
+ th
183
+ text-align: left
184
+
185
+ #signature
186
+ margin-top: 1.5em
187
+ margin-left: 10.8cm
@@ -0,0 +1,2 @@
1
+ @import 'partials/jquery/jquery_ui'
2
+ @import 'partials/jquery/tooltip'
@@ -0,0 +1,19 @@
1
+ @import "blueprint/liquid"
2
+ @import "compass/utilities/lists/horizontal-list"
3
+
4
+ body
5
+ +blueprint-liquid-grid
6
+
7
+ #container
8
+ +container
9
+
10
+ #content-column
11
+ +column($column_content)
12
+ +last
13
+
14
+ #sidebar-column
15
+ +column($column_sidebar)
16
+
17
+ #sidebar-column,
18
+ #content-column
19
+ margin-top: 10px
@@ -0,0 +1,2 @@
1
+ @import 'partials/navigation/main'
2
+ @import 'partials/navigation/sidebar'
@@ -0,0 +1,61 @@
1
+ /**
2
+ *Code based on will_paginate example CSS at http://github.com/mislav/will_paginate/tree/gh-pages
3
+ **
4
+ .digg_pagination
5
+ background: white
6
+ /* self-clearing method:
7
+
8
+ .digg_pagination a, .digg_pagination span, .digg_pagination em
9
+ +border-radius($border_radius / 1.5)
10
+ padding: .2em .5em
11
+ display: block
12
+ float: left
13
+ margin-right: 1px
14
+
15
+ .digg_pagination span.disabled
16
+ color: #999
17
+ border: 1px solid #DDD
18
+
19
+ .digg_pagination em
20
+ font-weight: bold
21
+ background: #2E6AB1
22
+ color: white
23
+ border: 1px solid #2E6AB1
24
+
25
+ .digg_pagination a
26
+ text-decoration: none
27
+ color: #105CB6
28
+ border: 1px solid #9AAFE5
29
+
30
+ .digg_pagination a:hover, .digg_pagination a:focus
31
+ color: #003
32
+ border-color: #003
33
+
34
+ .digg_pagination .page_info
35
+ background: #2E6AB1
36
+ color: white
37
+ padding: .4em .6em
38
+ width: 22em
39
+ margin-bottom: .3em
40
+ text-align: center
41
+
42
+ .digg_pagination .page_info b
43
+ color: #003
44
+ background: #6aa6ed
45
+ padding: .1em .25em
46
+
47
+ .digg_pagination:after
48
+ content: "."
49
+ display: block
50
+ height: 0
51
+ clear: both
52
+ visibility: hidden
53
+
54
+ * html .digg_pagination
55
+ height: 1%
56
+
57
+ *:first-child+html .digg_pagination
58
+ overflow: hidden
59
+
60
+ .digg_paggination a.per_page
61
+ border: 0
@@ -0,0 +1,270 @@
1
+ // Layout ****
2
+
3
+ // Links ****
4
+
5
+ a
6
+ color: #2a5685
7
+ text-decoration: none
8
+ &:link, &:visited
9
+ color: #2a5685
10
+ text-decoration: none
11
+ &:hover, &:active
12
+ color: #c61a1a
13
+ text-decoration: underline
14
+ img
15
+ border: 0
16
+
17
+ // Tables ****
18
+
19
+ table.list
20
+ border: 1px solid #e4e4e4
21
+ border-collapse: collapse
22
+ width: 100%
23
+ margin-bottom: 4px
24
+ th
25
+ background-color: #eeeeee
26
+ padding: 4px
27
+ white-space: nowrap
28
+ td
29
+ vertical-align: top
30
+ &.id
31
+ width: 2%
32
+ text-align: center
33
+ &.checkbox
34
+ width: 15px
35
+ padding: 0px
36
+
37
+ tr
38
+ &.entry
39
+ border: 1px solid #f8f8f8
40
+ td
41
+ white-space: nowrap
42
+ &.filename
43
+ width: 30%
44
+ &.size
45
+ text-align: right
46
+ font-size: 90%
47
+ &.revision, &.author
48
+ text-align: center
49
+ &.age
50
+ text-align: right
51
+ span.expander
52
+ background-image: url(../images/bullet_toggle_plus.png)
53
+ padding-left: 8px
54
+ margin-left: 0
55
+ cursor: pointer
56
+ &.open span.expander
57
+ background-image: url(../images/bullet_toggle_minus.png)
58
+ &.file td.filename a
59
+ margin-left: 16px
60
+ &.message
61
+ height: 2.6em
62
+ td.last_message
63
+ font-size: 80%
64
+ &.locked td.subject a
65
+ background-image: url(../images/locked.png)
66
+ &.sticky td.subject a
67
+ background-image: url(../images/sticky.png)
68
+ font-weight: bold
69
+
70
+ table
71
+ &.list tbody tr:hover
72
+ background-color: #ffffdd
73
+ td
74
+ padding: 2px
75
+ p
76
+ margin: 0
77
+
78
+ .odd
79
+ background-color: #f6f7f8
80
+
81
+ .even
82
+ background-color: white
83
+
84
+ .box
85
+ padding: 6px
86
+ margin-bottom: 10px
87
+ background-color: #f6f6f6
88
+ color: #505050
89
+ line-height: 1.5em
90
+ border: 1px solid #e4e4e4
91
+
92
+ div.square
93
+ border: 1px solid #999999
94
+ float: left
95
+ margin: 0.3em 0.4em 0 0.4em
96
+ overflow: hidden
97
+ width: 0.6em
98
+ height: 0.6em
99
+
100
+ .contextual
101
+ float: right
102
+ white-space: nowrap
103
+ line-height: 1.4em
104
+ margin-top: 5px
105
+ padding-left: 10px
106
+ font-size: 0.9em
107
+ input
108
+ font-size: 0.9em
109
+
110
+ input, select
111
+ vertical-align: middle
112
+ margin-top: 1px
113
+ margin-bottom: 1px
114
+
115
+ fieldset
116
+ border: 1px solid #e4e4e4
117
+ margin: 0
118
+
119
+ legend
120
+ color: #484848
121
+
122
+ hr
123
+ width: 100%
124
+ height: 1px
125
+ background: #cccccc
126
+ border: 0
127
+
128
+ blockquote
129
+ font-style: italic
130
+ border-left: 3px solid #e0e0e0
131
+ padding-left: 0.6em
132
+ margin-left: 2.4em
133
+ blockquote
134
+ margin-left: 0
135
+
136
+ li p
137
+ margin-top: 0
138
+
139
+ p
140
+ &.breadcrumb
141
+ font-size: 0.9em
142
+ margin: 4px 0 4px 0
143
+ &.subtitle
144
+ font-size: 0.9em
145
+ margin: -6px 0 12px 0
146
+ font-style: italic
147
+ &.footnote
148
+ font-size: 0.9em
149
+ margin-top: 0px
150
+ margin-bottom: 0px
151
+
152
+ fieldset
153
+ &#filters, &#date-range
154
+ padding: 0.7em
155
+ margin-bottom: 8px
156
+ &#filters
157
+ p
158
+ margin: 1.2em 0 0.8em 2px
159
+ table
160
+ border-collapse: collapse
161
+ td
162
+ padding: 0
163
+ vertical-align: middle
164
+ tr.filter
165
+ height: 2em
166
+ td.add-filter
167
+ text-align: right
168
+ vertical-align: top
169
+
170
+ .buttons
171
+ font-size: 0.9em
172
+
173
+ .pagination
174
+ font-size: 90%
175
+
176
+ p.pagination
177
+ margin-top: 8px
178
+
179
+ .required
180
+ color: #bb0000
181
+
182
+ // Flash & error messages ***
183
+
184
+ #errorExplanation, div.flash, .nodata, .warning
185
+ padding: 4px 4px 4px 30px
186
+ margin-bottom: 12px
187
+ font-size: 1.1em
188
+ border: 2px solid
189
+
190
+ div.flash
191
+ margin-top: 8px
192
+ &.error
193
+ background: url(../images/false.png) 8px 5px no-repeat
194
+ background-color: #ffe3e3
195
+ border-color: #dd0000
196
+ color: #550000
197
+
198
+ #errorExplanation
199
+ background: url(../images/false.png) 8px 5px no-repeat
200
+ background-color: #ffe3e3
201
+ border-color: #dd0000
202
+ color: #550000
203
+
204
+ div.flash.notice
205
+ background: url(../images/true.png) 8px 5px no-repeat
206
+ background-color: #dfffdf
207
+ border-color: #9fcf9f
208
+ color: #005f00
209
+
210
+ .nodata, .warning
211
+ text-align: center
212
+ background-color: #ffebc1
213
+ border-color: #fdbf3b
214
+ color: #a6750c
215
+
216
+ #errorExplanation ul
217
+ font-size: 0.9em
218
+
219
+ // Ajax indicator *****
220
+ #ajax-indicator
221
+ position: absolute
222
+ /* fixed not supported by IE
223
+ background-color: #eeeeee
224
+ border: 1px solid #bbbbbb
225
+ top: 35%
226
+ left: 40%
227
+ width: 20%
228
+ font-weight: bold
229
+ text-align: center
230
+ padding: 0.6em
231
+ z-index: 100
232
+ filter: alpha(opacity = 50)
233
+ opacity: 0.5
234
+
235
+ html>body #ajax-indicator
236
+ position: fixed
237
+
238
+ #ajax-indicator span
239
+ background-position: 0% 40%
240
+ background-repeat: no-repeat
241
+ background-image: url(../images/loading.gif)
242
+ padding-left: 26px
243
+ vertical-align: bottom
244
+
245
+ a.close-icon
246
+ display: block
247
+ margin-top: 3px
248
+ overflow: hidden
249
+ width: 12px
250
+ height: 12px
251
+ background-repeat: no-repeat
252
+ cursor: pointer
253
+ background-image: url('../images/close.png')
254
+ &:hover
255
+ background-image: url('../images/close_hl.png')
256
+
257
+ // Icons ****
258
+ .icon
259
+ background-position: 0% 40%
260
+ background-repeat: no-repeat
261
+ padding-left: 20px
262
+ padding-top: 2px
263
+ padding-bottom: 3px
264
+
265
+ .icon22
266
+ background-position: 0% 40%
267
+ background-repeat: no-repeat
268
+ padding-left: 26px
269
+ line-height: 22px
270
+ vertical-align: middle