cyaml 0.0.21

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 (57) hide show
  1. data/README.mkdn +15 -0
  2. data/lib/cyaml.rb +1 -0
  3. data/stylesheets/_cyaml.scss +5 -0
  4. data/stylesheets/cyaml/core/base.sass +284 -0
  5. data/stylesheets/cyaml/core/iehacks.sass +309 -0
  6. data/stylesheets/cyaml/core/js/yaml-focusfix.js +63 -0
  7. data/stylesheets/cyaml/core/slim_base.sass +0 -0
  8. data/stylesheets/cyaml/core/slim_iehacks.sass +112 -0
  9. data/stylesheets/cyaml/mypart/_fonts.scss +53 -0
  10. data/stylesheets/cyaml/mypart/_handheld.scss +8 -0
  11. data/stylesheets/cyaml/mypart/_helpers.scss +60 -0
  12. data/stylesheets/cyaml/mypart/_media.scss +66 -0
  13. data/stylesheets/cyaml/mypart/_reset.scss +66 -0
  14. data/stylesheets/cyaml/mypart/_styles.scss +110 -0
  15. data/stylesheets/cyaml/navigation/nav_shinybuttons.sass +89 -0
  16. data/stylesheets/cyaml/navigation/nav_slidingdoor.sass +104 -0
  17. data/stylesheets/cyaml/navigation/nav_vlist.sass +121 -0
  18. data/stylesheets/cyaml/patches/patch_layout_draft.sass +27 -0
  19. data/stylesheets/cyaml/patches/patch_nav_vlist.sass +58 -0
  20. data/stylesheets/cyaml/print/print_003.sass +64 -0
  21. data/stylesheets/cyaml/print/print_020_draft.sass +67 -0
  22. data/stylesheets/cyaml/print/print_023_draft.sass +83 -0
  23. data/stylesheets/cyaml/print/print_100_draft.sass +65 -0
  24. data/stylesheets/cyaml/print/print_103_draft.sass +83 -0
  25. data/stylesheets/cyaml/print/print_120_draft.sass +78 -0
  26. data/stylesheets/cyaml/print/print_123_draft.sass +82 -0
  27. data/stylesheets/cyaml/print/print_draft.sass +50 -0
  28. data/stylesheets/cyaml/screen/content.sass +284 -0
  29. data/stylesheets/cyaml/screen/forms.sass +297 -0
  30. data/templates/project/application.html.haml +51 -0
  31. data/templates/project/basemod.scss +103 -0
  32. data/templates/project/citrin.html.haml +51 -0
  33. data/templates/project/images/button_gray.png +0 -0
  34. data/templates/project/images/button_red.png +0 -0
  35. data/templates/project/images/button_yellow.png +0 -0
  36. data/templates/project/images/shiny_buttons/background.png +0 -0
  37. data/templates/project/images/shiny_buttons/background_active.png +0 -0
  38. data/templates/project/images/sliding_door/round/bg.gif +0 -0
  39. data/templates/project/images/sliding_door/round/left.png +0 -0
  40. data/templates/project/images/sliding_door/round/left_on.png +0 -0
  41. data/templates/project/images/sliding_door/round/right.png +0 -0
  42. data/templates/project/images/sliding_door/round/right_on.png +0 -0
  43. data/templates/project/images/vlist/square/node.gif +0 -0
  44. data/templates/project/images/vlist/square/node_minus.gif +0 -0
  45. data/templates/project/images/vlist/square/node_plus.gif +0 -0
  46. data/templates/project/images/vlist/square/subnode.gif +0 -0
  47. data/templates/project/images/vlist/square/subnode_minus.gif +0 -0
  48. data/templates/project/images/vlist/square/subnode_plus.gif +0 -0
  49. data/templates/project/index.html.haml +49 -0
  50. data/templates/project/javascripts/ftod.js +50 -0
  51. data/templates/project/javascripts/lib/jquery-1.3.2.js +4376 -0
  52. data/templates/project/javascripts/lib/jquery-1.3.2.min.js +19 -0
  53. data/templates/project/javascripts/minmax.js +144 -0
  54. data/templates/project/manifest.rb +48 -0
  55. data/templates/project/patch_my_layout.scss +45 -0
  56. data/templates/project/project.scss +0 -0
  57. metadata +130 -0
@@ -0,0 +1,89 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) Horizontal list navigation "Shiny Buttons"
7
+ * (de) Horizontale Navigationsliste "Shiny Buttons"
8
+ *
9
+ * @copyright Copyright 2005-2010, Dirk Jesse
10
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
11
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
12
+ * @link http://www.yaml.de
13
+ * @package yaml
14
+ * @version 3.2.1
15
+ * @revision $Revision:392 $
16
+ * @lastmodified $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
17
+
18
+ @media all
19
+ .hlist
20
+ /* (en) containing floats in IE
21
+ /* (de) Einfassen der Floats im IE
22
+ width: 100%
23
+ overflow: hidden
24
+ /* (en) containing floats in all other browsers
25
+ /* (de) Einfassen der Floats in allen anderen Browsern
26
+ float: left
27
+ display: inline
28
+ /* (en|de) Bugfix:IE - collapsing horizontal margins
29
+ position: relative
30
+ /* (en) Repeat the main color from the image
31
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
32
+ background: silver url("/images/shiny_buttons/background.png") repeat-x center right
33
+ border-top: 1px #333 solid
34
+ border-bottom: 1px #333 solid
35
+ line-height: 0
36
+ ul
37
+ margin: 0
38
+ padding: 0
39
+ /* (en|de) Bugfix:IE - Doubled Float Margin Bug
40
+ display: inline
41
+ float: left
42
+ /* LTR
43
+ /* (en) Left margin of the first button
44
+ /* (de) Abstand des ersten Buttons vom linken Rand
45
+ border-left: 1px #aaa solid
46
+ border-right: 1px #fff solid
47
+ li
48
+ border-left: 1px #fff solid
49
+ border-right: 1px #aaa solid
50
+ /* (en|de) Bugfix:IE - Doubled Float Margin Bug
51
+ display: inline
52
+ float: left
53
+ /* LTR
54
+ font-size: 1.0em
55
+ line-height: 1em
56
+ list-style-type: none
57
+ margin: 0
58
+ padding: 0
59
+ a, strong
60
+ background: transparent
61
+ color: #000
62
+ display: block
63
+ font-size: 1em
64
+ font-weight: bold
65
+ margin: 0
66
+ padding: 0.5em 0.8em 0.5em 0.8em
67
+ text-decoration: none
68
+ width: auto
69
+ a
70
+ &:focus, &:hover, &:active
71
+ background: #eee
72
+ color: #333
73
+ text-decoration: none
74
+ outline: 0 none
75
+ &.active
76
+ /* (en) Repeat the main color from the image
77
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
78
+ background: #272727 url("/images/shiny_buttons/background_active.png") repeat-x center right
79
+ border-left: 1px #444 solid
80
+ border-right: 1px #888 solid
81
+ strong
82
+ background: transparent
83
+ color: #fff
84
+ text-decoration: none
85
+ a
86
+ &:focus, &:hover, &:active
87
+ background: transparent
88
+ color: #fff
89
+ text-decoration: none
@@ -0,0 +1,104 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) Horizontal list navigation based on "Sliding Door II" from von "A List Apart"
7
+ * (de) Horizontale Navigationsliste basierend auf "Sliding Door II" von "A List Apart"
8
+ *
9
+ * @copyright Copyright 2005-2010, Dirk Jesse
10
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
11
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
12
+ * @link http://www.yaml.de
13
+ * @package yaml
14
+ * @version 3.2.1
15
+ * @revision $Revision:392 $
16
+ * @lastmodified $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
17
+
18
+ @media all
19
+ .hlist
20
+ /* (en) This image is mainly transparent
21
+ /* (de) Dieses Bild ist größtenteils transparent
22
+ background: transparent url("/images/sliding_door/round/bg.gif") repeat-x bottom
23
+ float: left
24
+ width: 100%
25
+ ul
26
+ margin: 0
27
+ padding: 0
28
+ line-height: 1em
29
+ list-style: none
30
+ white-space: nowrap
31
+ li
32
+ /* (en) Repeat the main color from the image
33
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
34
+ list-style-type: none !important
35
+ background: #e0ecf8 url("/images/sliding_door/round/left.png") no-repeat top left
36
+ border-bottom: 1px solid #000
37
+ float: left
38
+ /* LTR
39
+ margin: 0
40
+ padding: 0 0 0 3px
41
+ a, strong
42
+ /* (en) This image is mainly transparent
43
+ /* (de) Dieses Bild ist größtenteils transparent
44
+ background: transparent url("/images/sliding_door/round/right.png") no-repeat top right
45
+ color: #667
46
+ display: block
47
+ font-weight: normal
48
+ padding: 5px 11px 3px 8px
49
+ text-decoration: none
50
+ text-transform: none
51
+ /**
52
+ * @bugfix
53
+ * @affected IE5.x, IE6
54
+ * @css-for all browsers
55
+ * @valid yes
56
+ width: auto
57
+ /* only IE 5.x
58
+ width/**/: .1em
59
+ /* only IE 6.0
60
+ a
61
+ &:link, &:visited
62
+ background-color: transparent
63
+ color: #667
64
+ > ul
65
+ a, strong
66
+ width: auto
67
+ ul li
68
+ &:focus, &:hover, &:active
69
+ /* (en) Repeat the main color from the image
70
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
71
+ background-color: #c4d0dc
72
+ background-position: 0 -150px
73
+ &:focus a, &:hover a, &:active a
74
+ background-position: 100% -150px
75
+ a
76
+ &:focus, &:hover, &:active
77
+ background: transparent url("/images/sliding_door/round/right.png") no-repeat top right
78
+ color: #223
79
+ outline: 0 none
80
+ text-decoration: none
81
+ ul li.active
82
+ /* (en) Repeat the main color from the image
83
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
84
+ background: white url("/images/sliding_door/round/left_on.png") no-repeat top left
85
+ border: 0 none
86
+ &:focus, &:hover, &:active
87
+ /* (en) Repeat the main color from the image
88
+ /* (de) Wiederholung der Hauptfarbe aus der Bilddatei
89
+ background: white url("/images/sliding_door/round/left_on.png") no-repeat top left
90
+ border: 0 none
91
+ li.active strong
92
+ /* (en) This image is mainly transparent
93
+ /* (de) Dieses Bild ist größtenteils transparent
94
+ background: transparent url("/images/sliding_door/round/right_on.png") no-repeat top right
95
+ color: #334
96
+ font-weight: bold
97
+ padding-bottom: 4px
98
+ padding-top: 5px
99
+ /**
100
+ * @bugfix
101
+ * @affected IE5.x, IE6
102
+ * @css-for all browsers
103
+ * @valid yes
104
+ /* for other browsers
@@ -0,0 +1,121 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) Vertical list navigation "vlist"
7
+ * (de) Vertikale Navigationsliste "vlist"
8
+ *
9
+ * @copyright Copyright 2005-2010, Dirk Jesse
10
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
11
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
12
+ * @link http://www.yaml.de
13
+ * @package yaml
14
+ * @version 3.2.1
15
+ * @revision $Revision:392 $
16
+ * @lastmodified $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
17
+
18
+ @media all
19
+ /* title
20
+ h6.vlist
21
+ font-family: Arial, Helvetica, sans-serif
22
+ font-weight: bold
23
+ font-size: 100%
24
+ width: 90%
25
+ padding: 3px 0px 3px 10%
26
+ /* LTR
27
+ margin: 0
28
+ color: #444
29
+ background-color: #fff
30
+ border-top: 2px #ddd solid
31
+ border-bottom: 4px #888 solid
32
+ .vlist
33
+ width: 100%
34
+ overflow: hidden
35
+ margin: 0 0 1.5em 0
36
+ list-style-type: none
37
+ border-bottom: 2px #ddd solid
38
+ ul
39
+ list-style-type: none
40
+ margin: 0
41
+ padding: 0
42
+ li
43
+ float: left
44
+ /* LTR
45
+ width: 100%
46
+ margin: 0
47
+ padding: 0
48
+ a, strong, span
49
+ display: block
50
+ padding: 3px 0px 3px 10%
51
+ text-decoration: none
52
+ border-bottom: 1px #ddd solid
53
+ a
54
+ color: #444
55
+ &:visited
56
+ color: #444
57
+ li
58
+ span
59
+ display: block
60
+ font-weight: bold
61
+ border-bottom: 1px #ddd solid
62
+ &.active
63
+ color: #fff
64
+ background-color: #800
65
+ font-weight: bold
66
+ a, strong, span
67
+ width: 90%
68
+ padding-left: 10%
69
+ a
70
+ &:focus, &:hover, &:active
71
+ background-color: #a88
72
+ color: #fff
73
+ outline: 0 none
74
+ ul li
75
+ a, strong, span
76
+ width: 80%
77
+ padding-left: 20%
78
+ a
79
+ background-color: #f8f8f8
80
+ color: #333
81
+ &:visited
82
+ background-color: #f8f8f8
83
+ color: #333
84
+ &:focus, &:hover, &:active
85
+ background-color: #a88
86
+ color: #fff
87
+ ul li
88
+ a, strong, span
89
+ width: 70%
90
+ padding-left: 30%
91
+ a
92
+ background-color: #f0f0f0
93
+ color: #222
94
+ &:visited
95
+ background-color: #f0f0f0
96
+ color: #222
97
+ &:focus, &:hover, &:active
98
+ background-color: #a88
99
+ color: #fff
100
+ ul li
101
+ a, strong, span
102
+ width: 60%
103
+ padding-left: 40%
104
+ a
105
+ background-color: #e8e8e8
106
+ color: #111
107
+ &:visited
108
+ background-color: #e8e8e8
109
+ color: #111
110
+ &:focus, &:hover, &:active
111
+ background-color: #a88
112
+ color: #fff
113
+ /* active list element
114
+ /* Level 1
115
+ /* LTR
116
+ /* Level 2
117
+ /* LTR
118
+ /* Level 3
119
+ /* LTR
120
+ /* Level 4
121
+ /* LTR
@@ -0,0 +1,27 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) Example of a patch stylesheet for the Internet Explorer
7
+ * (de) Beispiel für ein Anpassungs-Stylesheet für den Internet Explorer
8
+ *
9
+ * @copyright Copyright 2005-2010, Dirk Jesse
10
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
11
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
12
+ * @link http://www.yaml.de
13
+ * @package yaml
14
+ * @version 3.2.1
15
+ * @revision $Revision: 443 $
16
+ * @lastmodified $Date: 2009-12-31 18:05:05 +0100 (Do, 31. Dez 2009) $
17
+
18
+ /* Layout independent adjustments | Layout-unabhängige Anpassungen -----------------------------------
19
+ @import url(/yaml/core/iehacks.css)
20
+
21
+ /* Box model adjustments for vlist navigation | Box-Modell-Anpassungen für vlist-Navigation
22
+ /* @import url(/yaml/patches/patch_nav_vlist.css);
23
+
24
+ /* Layout-dependent adjustments | Layout-abhängige Anpassungen ---------------------------------------
25
+
26
+ @media screen, projection
27
+ /* add your adjustments here | Fügen Sie Ihre Anpassungen hier ein
@@ -0,0 +1,58 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) IE adjustment stylesheet for YAML vlist navigation
7
+ * Import this file within the IE-patch-file if needed in your layout
8
+ *
9
+ * (de) IE Anpassungs-Stylesheet für YAML vlist-Navigation
10
+ * Einbindung ins Layout erfolgt über den Import innerhalb des IE-Anspassungs-Stylesheet
11
+ *
12
+ * @copyright Copyright 2005-2010, Dirk Jesse
13
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
14
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
15
+ * @link http://www.yaml.de
16
+ * @package yaml
17
+ * @version 3.2.1
18
+ * @revision $Revision:392 $
19
+ * @lastmodified $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
20
+
21
+ @media screen, projection
22
+ /**
23
+ * Box Model Bug
24
+ * (en) Adjustment of width values for list elements of the menu in IE 5.x/Win.
25
+ * Note:If IE6 is running in quirks mode, it also needs 100% values!
26
+ *
27
+ * (de) Korrektur der Breitenangaben der Listenelemente des Submenüs im IE 5.x/Win.
28
+ * Hinweis:Befindet sich der IE6 im Quirks Mode, so benötigt er ebenfalls 100%-Werte !
29
+ *
30
+ * @bugfix
31
+ * @affected IE 5.x/Win (IE6 in Quirks-Mode)
32
+ * @css-for IE 5.x/Win, IE6
33
+ * @valid no
34
+ /* title
35
+ * html
36
+ h6.vlist
37
+ width: 100%
38
+ w\idth: 90%
39
+ .vlist li
40
+ a, strong, span
41
+ width: 100%
42
+ w\idth: 90%
43
+ ul li
44
+ a, strong, span
45
+ width: 100%
46
+ w\idth: 80%
47
+ ul li
48
+ a, strong, span
49
+ width: 100%
50
+ w\idth: 70%
51
+ ul li
52
+ a, strong, span
53
+ width: 100%
54
+ w\idth: 60%
55
+ /* level 1
56
+ /* level 2
57
+ /* level 3
58
+ /* level 4
@@ -0,0 +1,64 @@
1
+ @charset "UTF-8"
2
+
3
+ /**
4
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
5
+ *
6
+ * (en) print stylesheet
7
+ * (de) Druck-Stylesheet
8
+ *
9
+ * @copyright Copyright 2005-2010, Dirk Jesse
10
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
11
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
12
+ * @link http://www.yaml.de
13
+ * @package yaml
14
+ * @version 3.2.1
15
+ * @revision $Revision:392 $
16
+ * @lastmodified $Date:2009-07-05 12:18:40 +0200 (So, 05. Jul 2009) $
17
+
18
+ @media print
19
+ /**
20
+ * @section basic layout preparation
21
+ * @see http://www.yaml.de/en/documentation/css-components/layout-for-print-media.html
22
+ /* (en) change font size unit to [pt] - avoiding problems with [px] unit in Gecko based browsers
23
+ /* (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit Maßeinheit [px] in Gecko-basierten Browsern vermeiden
24
+ body
25
+ font-size: 10pt
26
+ /* (en) Hide unneeded container of the screenlayout in print layout
27
+ /* (de) Für den Druck nicht benötigte Container des Layouts abschalten
28
+ #topnav, #nav, #search
29
+ display: none
30
+ /*------------------------------------------------------------------------------------------------------
31
+ /* (en) Avoid page breaks right after headings
32
+ /* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift
33
+ h1, h2, h3, h4, h5, h6
34
+ page-break-after: avoid
35
+ /*------------------------------------------------------------------------------------------------------
36
+ /**
37
+ * @section column selection
38
+ * (en) individually switch on/off any content column for printing
39
+ * (de) (De)aktivierung der Contentspalten für den Ausdruck
40
+ *
41
+ * @see http://www.yaml.de/en/documentation/css-components/layout-for-print-media.html
42
+ #col1, #col2
43
+ display: none
44
+ #col3, #col3_content
45
+ width: 100%
46
+ margin: 0
47
+ padding: 0
48
+ border: 0
49
+ /*------------------------------------------------------------------------------------------------------
50
+ /* (en) optional output of acronyms and abbreviations
51
+ /* (de) optionale Ausgabe von Auszeichnung von Abkürzungen
52
+ /*
53
+ *abbr[title]:after,
54
+ *acronym[title]:after { content:'(' attr(title) ')'; }
55
+ /*------------------------------------------------------------------------------------------------------
56
+ /* (en) optional URL output of hyperlinks in print layout
57
+ /* (de) optionale Ausgabe der URLs von Hyperlinks
58
+ /*
59
+ *a[href]:after {
60
+ * content:" <URL:"attr(href)">";
61
+ * color:#444;
62
+ * background:inherit;
63
+ * font-style:italic;
64
+ *}