innetra-easy_generators 1.2 → 1.3

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.
@@ -1,346 +1,2 @@
1
- // *****************************************************************************
2
- // Layout elements color's
3
- // *****************************************************************************
4
- !body_background_color = #EFEFEF
5
- !body_background_image = url(\/images\/body_bg.png)
6
- !default_border_color = #E0E0E0
7
- !head_color = #707070
8
- !link_color = #21A1D5
9
- !page_background_color = #FFF
10
- !text_color = #696969
11
- !toolbar_color = #FFF
12
-
13
- // Sidebar
14
- !sidebar_width = 350px
15
- !sidebar_content_width = 370px
16
- !sidebar_section_background_color = #EFEFEF
17
- !sidebar_section_border_color = #DDD
18
- !sidebar_section_border_width = 3px
19
-
20
- // *****************************************************************************
21
- // Forms
22
- // *****************************************************************************
23
-
24
- // Flash messages
25
- !flash_background_color = #FFFFCC
26
- !flash_error_color = #F00
27
- !flash_notice_color = #000
28
-
29
- // Input[type=text|password] and textarea colors with shadow effect
30
- !form_input_dark_border_color = #8C8C8C
31
- !form_input_light_border_color = #BEBEBE
32
-
33
- // The color for * (asterisk) indicating required fields
34
- !required_field_symbol_color = #F00
35
-
36
- // Comment's color
37
- !comment_color = #9E9E9E
38
-
39
- // Errors
40
- !form_error_color = #F00
41
-
42
- // *****************************************************************************
43
- // Shadowbox colors
44
- // *****************************************************************************
45
- !shadow1_background_color = #C9C9C9
46
- !shadow2_background_color = #B0B0B0
47
- !shadow3_background_color = #A9A9A9
48
-
49
- // *****************************************************************************
50
- // Fonts
51
- // *****************************************************************************
52
- !font_family = "helvetica, arial, sans-serif"
53
- !font_size = 16px
54
-
55
- // *****************************************************************************
56
- // *****************************************************************************
57
- @media all
58
-
59
- // ***************************************************************************
60
- // Tags
61
- // ***************************************************************************
62
- body *
63
- font:
64
- family = !font_family
65
-
66
- a
67
- font-weight: normal
68
-
69
- h1
70
- font-size: 1.7em
71
- padding: 10px 20px
72
- margin: -20px
73
- margin-bottom: 20px
74
- .comment
75
- font:
76
- size: 0.7em
77
- weight: normal
78
-
79
- h2
80
- padding-bottom: 5px
81
- font-size: 1.4em
82
-
83
- h3
84
- font-size: 1.2em
85
-
86
- hr
87
- border: 0
88
- margin-top: 20px
89
-
90
- h1, h2, hr
91
- border-bottom:
92
- style: solid
93
- width: 1px
94
-
95
- ul
96
- margin: 0
97
- padding: 0
98
- li
99
- list-style: none
100
-
101
- table
102
- border-spacing: 0
103
- tr
104
- td
105
- margin: 0
106
- padding: 0
107
- vertical-align: top
108
-
109
- // ***************************************************************************
110
- // Special classes
111
- // ***************************************************************************
112
- #flash .container
113
- .notice, .error
114
- padding: 10px 20px
115
- margin-bottom: 10px
116
- p
117
- margin: 0
118
-
119
- .wrapper
120
- margin: 0 20px
121
-
122
- #sidebar
123
- .sidebar_section
124
- margin-bottom: 10px
125
- h1
126
- font-size: 1em
127
- line-height: 1.2em
128
- margin: 0 -10px
129
- margin-bottom: 5px
130
- padding: 0 10px
131
- padding-bottom: 5px
132
- div
133
- float: right
134
- font-size: 0.9em
135
- .comment, td.label
136
- font-size: 0.8em
137
- td
138
- padding-bottom: 10px
139
- line-height: 1.4em
140
- td.label
141
- font-weight: bold
142
- padding-right: 10px
143
- padding-top: 3px
144
- width: 60px
145
-
146
- // ***************************************************************************
147
- // Forms
148
- // ***************************************************************************
149
- form
150
- .comment
151
- font-size: 0.9em
152
- .form_error
153
- font-size: 0.9em
154
- input[type=password],
155
- input[type=text],
156
- textarea
157
- width: 350px
158
- input[type=password],
159
- input[type=text],
160
- select,
161
- textarea
162
- font-size: 1em
163
- margin: 5px 5px 5px 0
164
- padding: 1px
165
- line-height: 1em
166
-
167
- option
168
- font-size: 1em
169
- line-height: 1em
170
- a
171
- font-size: 0.9em
172
-
173
- // ***************************************************************************
174
- // Head
175
- // ***************************************************************************
176
- #head
177
- height: 140px
178
- width: 100%
179
-
180
- #toolbar
181
- font-size: 0.9em
182
- line-height: 1.4em
183
- height: 25px
184
-
185
- #logo
186
- height: 80px
187
-
188
- #navigation
189
- clear: both
190
- height: 33px
191
- margin: 0
192
- padding: 0
193
- ul .navigation
194
- display: block
195
- float: left
196
- margin: 0 20px
197
-
198
- // ***************************************************************************
199
- // Content
200
- // ***************************************************************************
201
- #content
202
- padding-top: 20px
203
- #page.sidebar
204
- margin-right = !sidebar_content_width
205
- #page
206
- .container
207
- margin: 0
208
- h1
209
- position: relative
210
- div
211
- float: right
212
- font:
213
- size: 0.6em
214
- weight: normal
215
- line-height: 2em
216
-
217
- // ***************************************************************************
218
- // Sidebar
219
- // ***************************************************************************
220
- #sidebar
221
- float: right
222
- width = !sidebar_width
223
- padding: 0
224
- margin: 0
225
- .sidebar_section
226
- padding: 10px
227
-
228
- // ***************************************************************************
229
- // Shadowbox
230
- // ***************************************************************************
231
- .shadow
232
- margin:
233
- left: 3px
234
- top: 3px
235
-
236
- // *****************************************************************************
237
- // *****************************************************************************
238
- @media screen
239
-
240
- // ***************************************************************************
241
- // Tags
242
- // ***************************************************************************
243
- body
244
- background:
245
- color = !body_background_color
246
- image = !body_background_image
247
- repeat: repeat-x
248
- color = !text_color
249
- font-size = !font_size
250
- margin: 0
251
- min-width: 980px
252
-
253
- a
254
- color = !link_color
255
-
256
- hr
257
- border-color: transparent
258
-
259
- h1, h2, hr
260
- border-bottom-color = !default_border_color
261
-
262
- // ***************************************************************************
263
- // Special classes
264
- // ***************************************************************************
265
- #flash .container
266
- background-color = !flash_background_color
267
- .notice p
268
- color = !flash_notice_color
269
- .error p
270
- color = !flash_error_color
271
-
272
- // ***************************************************************************
273
- // Forms (screen)
274
- // ***************************************************************************
275
- form
276
- .comment
277
- color = !comment_color
278
- .required
279
- color = !required_field_symbol_color
280
- .form_error
281
- color = !form_error_color
282
-
283
- // ***************************************************************************
284
- // Head
285
- // ***************************************************************************
286
- #head
287
- #toolbar, #toolbar a
288
- color = !toolbar_color
289
-
290
- // ***************************************************************************
291
- // Content (screen)
292
- // ***************************************************************************
293
- #page
294
- .container
295
- background-color = !page_background_color
296
- margin: -10px 0 10px
297
- padding: 20px
298
- h1
299
- color = !head_color
300
-
301
- // ***************************************************************************
302
- // Sidebar (screen)
303
- // ***************************************************************************
304
- #sidebar
305
- .sidebar_section
306
- background-color = !sidebar_section_background_color
307
- border:
308
- color = !sidebar_section_border_color
309
- style: solid
310
- width = !sidebar_section_border_width
311
-
312
- // ***************************************************************************
313
- // Shadowbox (screen)
314
- // ***************************************************************************
315
- .shadow
316
- .shadow1, .shadow2, .shadow3, .container
317
- left: -1px
318
- position: relative
319
- top: -1px
320
- .shadow1
321
- background-color = !shadow1_background_color
322
- .shadow2
323
- background-color = !shadow2_background_color
324
- .shadow3
325
- background-color = !shadow3_background_color
326
-
327
- // *****************************************************************************
328
- // *****************************************************************************
329
- @media print
330
-
331
- body, html
332
- font-size: 10pt
333
- margin: 0
334
- padding: 0
335
-
336
- #head
337
- display: none
338
-
339
- #page .container
340
- h1 div
341
- display: none
342
- margin: 0
343
- padding: 0
344
-
345
- .wrapper
346
- margin: 0
1
+ // Import constants from current template
2
+ @import template/init.sass
@@ -0,0 +1,360 @@
1
+ // Import constants from current template
2
+ @import template/init.sass
3
+
4
+ body
5
+ font-size = !font_size
6
+ margin: 0
7
+ min-width: !body_min_width
8
+ padding: 0
9
+
10
+ body *
11
+ font-family = !font_family
12
+ margin: 0
13
+ padding: 0
14
+
15
+ li
16
+ list-style: none
17
+
18
+ input,
19
+ select
20
+ font-size = !content_font_size_normal
21
+
22
+ select
23
+ padding-right: 5px
24
+
25
+ table
26
+ border-spacing: 0
27
+ td, th
28
+ padding-right: 10px
29
+ text-align: left
30
+ vertical-align: top
31
+
32
+ .normal
33
+
34
+ .bold
35
+ font-weight: bold
36
+
37
+ .full_wide
38
+ width: 99% !important
39
+
40
+ .wrapper
41
+ margin: 0 20px
42
+
43
+ #head
44
+ height = !head_height
45
+
46
+ .big, .big > *
47
+ font-size = !head_font_size_big
48
+ .medium, .medium > *
49
+ font-size = !head_font_size_medium
50
+ .normal, .normal > *
51
+ font-size = !head_font_size_normal
52
+ .small, .small > *
53
+ font-size = !head_font_size_small
54
+
55
+ #toolbar
56
+ .wrapper
57
+ font-size = !head_font_size_small
58
+ line-height: 25px
59
+ height: 25px
60
+
61
+ #title
62
+ margin: 10px 0
63
+ .wrapper
64
+ img
65
+ height = !title_logo_height
66
+ width = !title_logo_width
67
+ background:
68
+ image = !title_logo_background_image
69
+ repeat: repeat-none
70
+ float: left
71
+ h1
72
+ font-size = !head_font_size_big
73
+ line-height = !title_logo_height
74
+ margin-left = !title_logo_width + 10px
75
+ span.comment
76
+ font-size = !head_font_size_normal
77
+
78
+ #navigation
79
+ .wrapper
80
+ .navigation
81
+ a
82
+ display: block
83
+ font-size = !head_font_size_small
84
+ line-height: 20px
85
+ padding: 5px
86
+ text-decoration: none
87
+
88
+ li.tab
89
+ float: left
90
+ margin-right: 10px
91
+ ul
92
+ left: auto
93
+ min-width: 150px
94
+ position: absolute
95
+ top: auto
96
+ z-index: 1001
97
+ li.menu
98
+ float: none
99
+ a
100
+ background-color = !easy_navigation_tab_background_color
101
+ li.drop
102
+ padding-right: 10px
103
+
104
+ #content.wrapper
105
+ padding-top: 20px
106
+
107
+ .big, .big > *
108
+ font-size = !content_font_size_big
109
+ .medium, .medium > *
110
+ font-size = !content_font_size_medium
111
+ .normal, .normal > *
112
+ font-size = !content_font_size_normal
113
+ .small, .small > *
114
+ font-size = !content_font_size_small
115
+
116
+ h1, h2, h3, hr
117
+ border: none
118
+ border-bottom:
119
+ style: solid
120
+ width: 1px
121
+
122
+ h2, h3
123
+ padding-bottom: 5px
124
+ padding-top: 10px
125
+ margin-bottom: 20px
126
+
127
+ h1
128
+ font-size = !content_font_size_big
129
+ h2
130
+ font-size = !content_font_size_medium
131
+ h3
132
+ font-size = !content_font_size_normal
133
+
134
+ hr
135
+ margin-bottom: 10px
136
+
137
+ span.comment
138
+ font-size = !content_font_size_small
139
+
140
+ .form_error
141
+ color = !form_error_color
142
+
143
+ #page
144
+ #page_content
145
+
146
+ input[type=password],
147
+ input[type=text],
148
+ textarea
149
+ width: 350px
150
+
151
+ label
152
+ padding-bottom: 10px
153
+
154
+ .container
155
+ padding: 20px
156
+ position: relative
157
+
158
+ .title_actions
159
+ font-size = !content_font_size_normal
160
+ line-height: 20px
161
+ position: absolute
162
+ right: 30px
163
+ top: 10px
164
+ z-order: 1000
165
+
166
+ #flash
167
+ .content
168
+ margin: -20px
169
+ font-weight: bold
170
+ margin-bottom: 20px
171
+ p
172
+ padding: 10px
173
+ padding-left: 20px
174
+
175
+ h1
176
+ padding: 0 20px
177
+ padding-top: 10px
178
+ margin: -20px
179
+ margin-bottom: 20px
180
+
181
+ input
182
+ font-size = !content_font_size_big
183
+
184
+ input.wide
185
+ width: 100%
186
+
187
+ table
188
+ width: auto
189
+ td
190
+ padding-right: 10px
191
+
192
+ .comment
193
+ font-size = !content_font_size_small
194
+ font-weight: normal
195
+
196
+ table.report
197
+ thead
198
+ tr
199
+ th
200
+ border-bottom: 1px solid
201
+ font-size = !content_font_size_medium
202
+ padding-bottom: 10px
203
+ text-align: left
204
+ tbody
205
+ tr:first-child
206
+ td
207
+ padding-top: 10px
208
+
209
+ p
210
+ padding-bottom: 10px
211
+
212
+ form
213
+ label
214
+ font-weight: bold
215
+ .comment
216
+ font-size = !content_font_size_small
217
+
218
+ #page.sidebar
219
+ margin-right = !page_sidebar_margin
220
+
221
+ #sidebar
222
+ float: right
223
+ font-size = !sidebar_font_size_normal
224
+ width = !sidebar_width
225
+
226
+ .big, .big > *
227
+ font-size = !sidebar_font_size_big
228
+ .medium, .medium > *
229
+ font-size = !sidebar_font_size_medium
230
+ .normal, .normal > *
231
+ font-size = !sidebar_font_size_normal
232
+ .small, .small > *
233
+ font-size = !sidebar_font_size_small
234
+
235
+ .container
236
+ position: relative
237
+ padding: 10px
238
+ margin-bottom: 20px
239
+
240
+ h1
241
+ font-size = !sidebar_font_size_big
242
+ margin: -10px
243
+ margin-bottom: 10px
244
+ padding: 10px
245
+ padding-bottom: 10px
246
+
247
+ .title_actions
248
+ font-weight: normal
249
+ float: right
250
+ font-size = !sidebar_font_size_small
251
+ line-height: 20px
252
+
253
+ p
254
+ padding-bottom: 5px
255
+
256
+ table
257
+ th.label
258
+ font-size = !sidebar_font_size_small
259
+ width: 70px
260
+
261
+ @media screen
262
+
263
+ body
264
+ background-color = !body_background_color
265
+
266
+ #head
267
+ background:
268
+ color = !head_background_color
269
+ image = !head_background_image
270
+ repeat = !head_background_repeat
271
+
272
+ #toolbar
273
+ background-color = !toolbar_background_color
274
+ .wrapper, .wrapper a
275
+ color = !toolbar_color
276
+
277
+ #title
278
+ .wrapper
279
+ h1
280
+ color = !head_color
281
+
282
+ #navigation
283
+ .wrapper
284
+ .navigation
285
+ a
286
+ color = !easy_navigation_tab_color
287
+ background-color = !easy_navigation_tab_background_color
288
+
289
+ li.tab:hover
290
+ background-color = !easy_navigation_hover_tab_background_color
291
+ li.tab.current
292
+ background-color = !easy_navigation_current_tab_background_color
293
+ a.tab_link
294
+ color = !easy_navigation_current_tab_color
295
+
296
+ li.drop
297
+ background:
298
+ image = !easy_navigation_drop_down_indicator_image
299
+ repeat: no-repeat
300
+ position: 95% 60%
301
+ padding-right: 10px
302
+
303
+ ul
304
+ background-color = !easy_navigation_current_menu_background_color
305
+ li.menu a.menu_link:hover
306
+ background-color = !easy_navigation_hover_menu_background_color
307
+ li.menu.current
308
+ background-color = !easy_navigation_current_menu_background_color
309
+ a.menu_link
310
+ color = !easy_navigation_current_menu_color
311
+
312
+ #content.wrapper
313
+ color = !text_color
314
+
315
+ a
316
+ color = !anchor_color
317
+
318
+ h1, h2, h3, hr
319
+ border-bottom-color = !border_color
320
+
321
+ span.comment
322
+ color = !comment_color
323
+
324
+ #page
325
+ #page_content
326
+ #flash
327
+ .content
328
+ background-color = !flash_background_color
329
+ color = !flash_notice_color
330
+ #flash
331
+ .content.error
332
+ color = !flash_error_color
333
+ .container
334
+ background-color = !page_background_color
335
+ table.report
336
+ thead
337
+ tr
338
+ th
339
+ border-color = !border_color
340
+
341
+ #sidebar
342
+ .container
343
+ background-color = !sidebar_section_background_color
344
+ border:
345
+ color = !sidebar_section_border_color
346
+ style = !sidebar_section_border_style
347
+ width = !sidebar_section_border_width
348
+
349
+ .shadow
350
+ margin:
351
+ left: 2px
352
+ top: 2px
353
+ .shadow1, .shadow2 .container
354
+ left: -1px
355
+ position: relative
356
+ top: -1px
357
+ .shadow1
358
+ background-color = !shadow1_background_color
359
+ .shadow2
360
+ background-color = !shadow2_background_color