yamlcss 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +12 -0
  3. data/Gemfile +10 -0
  4. data/Gemfile.lock +56 -0
  5. data/LICENSE.txt +59 -0
  6. data/Rakefile +23 -0
  7. data/Readme.md +120 -0
  8. data/VERSIONS.md +5 -0
  9. data/bin/yamlcss +6 -0
  10. data/lib/yamlcss.rb +22 -0
  11. data/lib/yamlcss/engine.rb +7 -0
  12. data/lib/yamlcss/generator.rb +84 -0
  13. data/lib/yamlcss/version.rb +4 -0
  14. data/vendor/assets/stylesheets/_iehacks.scss +3 -0
  15. data/vendor/assets/stylesheets/_yaml.scss +3 -0
  16. data/yaml/Gruntfile.js +199 -0
  17. data/yaml/License.txt +36 -0
  18. data/yaml/Readme.md +64 -0
  19. data/yaml/changelog.md +307 -0
  20. data/yaml/config.rb +25 -0
  21. data/yaml/demos/css/custom-grids.css +27 -0
  22. data/yaml/demos/css/flexible-columns.css +26 -0
  23. data/yaml/demos/css/flexible-grids.css +26 -0
  24. data/yaml/demos/css/rtl-support.css +31 -0
  25. data/yaml/demos/css/screen/screen-custom-grids.css +41 -0
  26. data/yaml/demos/css/screen/screen-rtl-support.css +182 -0
  27. data/yaml/demos/custom-grid.html +129 -0
  28. data/yaml/demos/flexible-columns.html +124 -0
  29. data/yaml/demos/flexible-grid.html +142 -0
  30. data/yaml/demos/rtl-support.html +127 -0
  31. data/yaml/docs/assets/css/icons/external_link.png +0 -0
  32. data/yaml/docs/assets/css/icons/hcalendar.png +0 -0
  33. data/yaml/docs/assets/css/icons/hcard.png +0 -0
  34. data/yaml/docs/assets/css/icons/icon-geo.png +0 -0
  35. data/yaml/docs/assets/css/icons/icon-hatom.png +0 -0
  36. data/yaml/docs/assets/css/icons/icon-haudio.png +0 -0
  37. data/yaml/docs/assets/css/icons/icon-hcalendar-add.png +0 -0
  38. data/yaml/docs/assets/css/icons/icon-hcalendar-download.png +0 -0
  39. data/yaml/docs/assets/css/icons/icon-hcalendar.png +0 -0
  40. data/yaml/docs/assets/css/icons/icon-hcard-add.png +0 -0
  41. data/yaml/docs/assets/css/icons/icon-hcard-download.png +0 -0
  42. data/yaml/docs/assets/css/icons/icon-hcard.png +0 -0
  43. data/yaml/docs/assets/css/icons/icon-hresume.png +0 -0
  44. data/yaml/docs/assets/css/icons/icon-rel-tag.png +0 -0
  45. data/yaml/docs/assets/css/icons/icon-xfn.png +0 -0
  46. data/yaml/docs/assets/css/icons/xfn/xfn-child.png +0 -0
  47. data/yaml/docs/assets/css/icons/xfn/xfn-colleague-met.png +0 -0
  48. data/yaml/docs/assets/css/icons/xfn/xfn-colleague.png +0 -0
  49. data/yaml/docs/assets/css/icons/xfn/xfn-friend-met.png +0 -0
  50. data/yaml/docs/assets/css/icons/xfn/xfn-friend.png +0 -0
  51. data/yaml/docs/assets/css/icons/xfn/xfn-me.png +0 -0
  52. data/yaml/docs/assets/css/icons/xfn/xfn-parent.png +0 -0
  53. data/yaml/docs/assets/css/icons/xfn/xfn-small.png +0 -0
  54. data/yaml/docs/assets/css/icons/xfn/xfn-spouse.png +0 -0
  55. data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart-met.png +0 -0
  56. data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart.png +0 -0
  57. data/yaml/docs/assets/css/layout-min.css +3 -0
  58. data/yaml/docs/assets/css/layout.css +3262 -0
  59. data/yaml/docs/assets/images/demo-custom-grid.png +0 -0
  60. data/yaml/docs/assets/images/demo-flex-column.png +0 -0
  61. data/yaml/docs/assets/images/demo-flex-grid.png +0 -0
  62. data/yaml/docs/assets/images/demo-rtl.png +0 -0
  63. data/yaml/docs/assets/images/yaml-solo-transparent-small.png +0 -0
  64. data/yaml/docs/assets/images/yaml-solo-transparent.png +0 -0
  65. data/yaml/docs/assets/js/domscript.js +209 -0
  66. data/yaml/docs/assets/js/jquery.gridbuilder.js +131 -0
  67. data/yaml/docs/assets/js/snippet/ZeroClipboard.swf +0 -0
  68. data/yaml/docs/assets/js/snippet/jquery.snippet.css +116 -0
  69. data/yaml/docs/assets/js/snippet/jquery.snippet.js +782 -0
  70. data/yaml/docs/assets/js/snippet/jquery.snippet.min.css +40 -0
  71. data/yaml/docs/assets/js/snippet/jquery.snippet.min.js +12 -0
  72. data/yaml/docs/assets/js/snippet/snippet.css +296 -0
  73. data/yaml/docs/index.html +3845 -0
  74. data/yaml/lib/html5shiv/html5shiv-printshiv.js +11 -0
  75. data/yaml/lib/html5shiv/html5shiv.js +8 -0
  76. data/yaml/lib/jquery-1.10.1.min.js +6 -0
  77. data/yaml/lib/jquery-migrate-1.2.1.min.js +2 -0
  78. data/yaml/package.json +20 -0
  79. data/yaml/sass/docs/assets/css/_screen.scss +786 -0
  80. data/yaml/sass/docs/assets/css/layout.scss +28 -0
  81. data/yaml/sass/static-build/add-ons/accessible-tabs/tabs.scss +15 -0
  82. data/yaml/sass/static-build/add-ons/microformats/microformats.scss +18 -0
  83. data/yaml/sass/static-build/add-ons/rtl-support/core/base-rtl.scss +20 -0
  84. data/yaml/sass/static-build/add-ons/rtl-support/forms/gray-theme-rtl.scss +16 -0
  85. data/yaml/sass/static-build/add-ons/rtl-support/navigation/hlist-rtl.scss +18 -0
  86. data/yaml/sass/static-build/add-ons/rtl-support/navigation/vlist-rtl.scss +18 -0
  87. data/yaml/sass/static-build/add-ons/rtl-support/screen/typography-rtl.scss +16 -0
  88. data/yaml/sass/static-build/core/base.scss +19 -0
  89. data/yaml/sass/static-build/core/iehacks.scss +19 -0
  90. data/yaml/sass/static-build/forms/gray-theme.scss +14 -0
  91. data/yaml/sass/static-build/navigation/hlist.scss +16 -0
  92. data/yaml/sass/static-build/navigation/vlist.scss +16 -0
  93. data/yaml/sass/static-build/print/print.scss +15 -0
  94. data/yaml/sass/static-build/screen/grid-960gs-12.scss +15 -0
  95. data/yaml/sass/static-build/screen/grid-960gs-16.scss +15 -0
  96. data/yaml/sass/static-build/screen/grid-blueprint.scss +15 -0
  97. data/yaml/sass/static-build/screen/grid-fluid-12col.scss +15 -0
  98. data/yaml/sass/static-build/screen/screen-FULLPAGE-layout.scss +15 -0
  99. data/yaml/sass/static-build/screen/screen-PAGE-layout.scss +15 -0
  100. data/yaml/sass/static-build/screen/typography.scss +16 -0
  101. data/yaml/sass/yaml-sass/_yaml-var-globals.scss +39 -0
  102. data/yaml/sass/yaml-sass/_yaml-var-typography.scss +80 -0
  103. data/yaml/sass/yaml-sass/add-ons/accessible-tabs/_tabs.scss +139 -0
  104. data/yaml/sass/yaml-sass/add-ons/accessible-tabs/jquery.tabs.js +266 -0
  105. data/yaml/sass/yaml-sass/add-ons/microformats/_microformats.scss +179 -0
  106. data/yaml/sass/yaml-sass/add-ons/microformats/icons/external_link.png +0 -0
  107. data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcalendar.png +0 -0
  108. data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcard.png +0 -0
  109. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-geo.png +0 -0
  110. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hatom.png +0 -0
  111. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-haudio.png +0 -0
  112. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
  113. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
  114. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar.png +0 -0
  115. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-add.png +0 -0
  116. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-download.png +0 -0
  117. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard.png +0 -0
  118. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hresume.png +0 -0
  119. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-rel-tag.png +0 -0
  120. data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-xfn.png +0 -0
  121. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
  122. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
  123. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
  124. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
  125. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
  126. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
  127. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
  128. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
  129. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
  130. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
  131. data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
  132. data/yaml/sass/yaml-sass/add-ons/rtl-support/core/_base-rtl.scss +177 -0
  133. data/yaml/sass/yaml-sass/add-ons/rtl-support/forms/_gray-theme-rtl.scss +34 -0
  134. data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_hlist-rtl.scss +42 -0
  135. data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_vlist-rtl.scss +45 -0
  136. data/yaml/sass/yaml-sass/add-ons/rtl-support/screen/_typography-rtl.scss +30 -0
  137. data/yaml/sass/yaml-sass/add-ons/syncheight/jquery.syncheight.js +112 -0
  138. data/yaml/sass/yaml-sass/core/_base.scss +15 -0
  139. data/yaml/sass/yaml-sass/core/_iehacks.scss +426 -0
  140. data/yaml/sass/yaml-sass/core/base-modules/_accessibility.scss +48 -0
  141. data/yaml/sass/yaml-sass/core/base-modules/_columns.scss +27 -0
  142. data/yaml/sass/yaml-sass/core/base-modules/_float-handling.scss +32 -0
  143. data/yaml/sass/yaml-sass/core/base-modules/_forms-core.scss +296 -0
  144. data/yaml/sass/yaml-sass/core/base-modules/_grids-core.scss +55 -0
  145. data/yaml/sass/yaml-sass/core/base-modules/_normalization.scss +165 -0
  146. data/yaml/sass/yaml-sass/core/base-modules/_print-core.scss +36 -0
  147. data/yaml/sass/yaml-sass/core/js/yaml-focusfix.js +70 -0
  148. data/yaml/sass/yaml-sass/forms/_gray-theme.scss +475 -0
  149. data/yaml/sass/yaml-sass/mixins/_yaml-mixins-core.scss +248 -0
  150. data/yaml/sass/yaml-sass/navigation/_hlist.scss +106 -0
  151. data/yaml/sass/yaml-sass/navigation/_vlist.scss +129 -0
  152. data/yaml/sass/yaml-sass/print/_print.scss +61 -0
  153. data/yaml/sass/yaml-sass/screen/_grid-960gs-12.scss +4 -0
  154. data/yaml/sass/yaml-sass/screen/_grid-960gs-16.scss +4 -0
  155. data/yaml/sass/yaml-sass/screen/_grid-blueprint.scss +4 -0
  156. data/yaml/sass/yaml-sass/screen/_grid-fluid-12col.scss +4 -0
  157. data/yaml/sass/yaml-sass/screen/_screen-FULLPAGE-layout.scss +171 -0
  158. data/yaml/sass/yaml-sass/screen/_screen-PAGE-layout.scss +165 -0
  159. data/yaml/sass/yaml-sass/screen/_typography.scss +485 -0
  160. data/yaml/yaml/add-ons/accessible-tabs/jquery.tabs.js +266 -0
  161. data/yaml/yaml/add-ons/accessible-tabs/tabs.css +136 -0
  162. data/yaml/yaml/add-ons/microformats/icons/external_link.png +0 -0
  163. data/yaml/yaml/add-ons/microformats/icons/hcalendar.png +0 -0
  164. data/yaml/yaml/add-ons/microformats/icons/hcard.png +0 -0
  165. data/yaml/yaml/add-ons/microformats/icons/icon-geo.png +0 -0
  166. data/yaml/yaml/add-ons/microformats/icons/icon-hatom.png +0 -0
  167. data/yaml/yaml/add-ons/microformats/icons/icon-haudio.png +0 -0
  168. data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
  169. data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
  170. data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar.png +0 -0
  171. data/yaml/yaml/add-ons/microformats/icons/icon-hcard-add.png +0 -0
  172. data/yaml/yaml/add-ons/microformats/icons/icon-hcard-download.png +0 -0
  173. data/yaml/yaml/add-ons/microformats/icons/icon-hcard.png +0 -0
  174. data/yaml/yaml/add-ons/microformats/icons/icon-hresume.png +0 -0
  175. data/yaml/yaml/add-ons/microformats/icons/icon-rel-tag.png +0 -0
  176. data/yaml/yaml/add-ons/microformats/icons/icon-xfn.png +0 -0
  177. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
  178. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
  179. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
  180. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
  181. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
  182. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
  183. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
  184. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
  185. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
  186. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
  187. data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
  188. data/yaml/yaml/add-ons/microformats/microformats.css +167 -0
  189. data/yaml/yaml/add-ons/rtl-support/core/base-rtl.css +167 -0
  190. data/yaml/yaml/add-ons/rtl-support/core/base-rtl.min.css +3 -0
  191. data/yaml/yaml/add-ons/rtl-support/forms/gray-theme-rtl.css +44 -0
  192. data/yaml/yaml/add-ons/rtl-support/navigation/hlist-rtl.css +48 -0
  193. data/yaml/yaml/add-ons/rtl-support/navigation/vlist-rtl.css +54 -0
  194. data/yaml/yaml/add-ons/rtl-support/screen/typography-rtl.css +38 -0
  195. data/yaml/yaml/add-ons/syncheight/jquery.syncheight.js +112 -0
  196. data/yaml/yaml/core/base.css +705 -0
  197. data/yaml/yaml/core/base.min.css +3 -0
  198. data/yaml/yaml/core/iehacks.css +468 -0
  199. data/yaml/yaml/core/iehacks.min.css +3 -0
  200. data/yaml/yaml/core/js/yaml-focusfix.js +70 -0
  201. data/yaml/yaml/forms/gray-theme.css +676 -0
  202. data/yaml/yaml/navigation/hlist.css +109 -0
  203. data/yaml/yaml/navigation/vlist.css +144 -0
  204. data/yaml/yaml/print/print.css +42 -0
  205. data/yaml/yaml/screen/grid-960gs-12.css +164 -0
  206. data/yaml/yaml/screen/grid-960gs-16.css +212 -0
  207. data/yaml/yaml/screen/grid-blueprint.css +308 -0
  208. data/yaml/yaml/screen/grid-fluid-12col.css +164 -0
  209. data/yaml/yaml/screen/screen-FULLPAGE-layout.css +184 -0
  210. data/yaml/yaml/screen/screen-PAGE-layout.css +196 -0
  211. data/yaml/yaml/screen/typography.css +486 -0
  212. data/yamlcss.gemspec +30 -0
  213. metadata +314 -0
@@ -0,0 +1,177 @@
1
+ @import "../../../_yaml-var-globals";
2
+
3
+ @media all {
4
+
5
+ /**
6
+ * @section browser normalisation
7
+ * Changing direction of text flow, paddings & margins ...
8
+ */
9
+
10
+ option { padding: 0 0.4em 0 0; }
11
+
12
+ body {
13
+ text-align: right;
14
+ direction: rtl;
15
+ }
16
+
17
+ ul,
18
+ ol,
19
+ dl { margin: 0 1em 1em 0; }
20
+
21
+ li {
22
+ margin-left: 0;
23
+ margin-right: 0.8em;
24
+ }
25
+
26
+ dd { margin: 0 0.8em 1em 0; }
27
+ blockquote,
28
+ cite { margin: 0 0.8em 1em 0; }
29
+
30
+
31
+
32
+ /* set text flow */
33
+ .ym-form {
34
+ direction:rtl;
35
+
36
+ * {
37
+ text-align: right;
38
+ }
39
+
40
+ input,
41
+ textarea {
42
+ display: inline-block;
43
+ }
44
+
45
+ select {
46
+ display: inline-block;
47
+ }
48
+
49
+ // overrule width settings for inline form elements ...
50
+ .ym-fbox-check input,
51
+ input[type="radio"],
52
+ input[type="checkbox"] {
53
+ margin-left: 0.5ex;
54
+ margin-right: 0;
55
+ }
56
+
57
+ .ym-inline {
58
+ margin-left: 0; // reset rounding tolerance ...
59
+ }
60
+ }
61
+
62
+ .ym-fbox-wrap {
63
+ input[type="radio"],
64
+ input[type="checkbox"] {
65
+ margin-left: 0.5ex;
66
+ margin-right: 0;
67
+ }
68
+ }
69
+
70
+ /*------------------------------------------------------------------------------------------------------*/
71
+
72
+ /**
73
+ * (en) rtl adjustments for forms module
74
+ * (de) RTL-Anpassungen für das Formular Modul
75
+ *
76
+ */
77
+
78
+ .ym-columnar {
79
+ // Columnar display
80
+ // Spalten-Darstellung
81
+ input,
82
+ textarea,
83
+ select {
84
+ float:right;
85
+ margin-right: 0;
86
+ margin-left: -3px;
87
+ }
88
+
89
+ label,
90
+ .ym-label {
91
+ display:inline;
92
+ float:right;
93
+ }
94
+
95
+ input+label {
96
+ margin-right: 0.5ex;
97
+ }
98
+
99
+ // Indent Checkbox fields to match label-width
100
+ // Checkboxen um den gleichen Wert einrücken, wie die Breite der labels
101
+ .ym-fbox-check input,
102
+ .ym-message {
103
+ margin-left: 0;
104
+ margin-right: 30%;
105
+ }
106
+
107
+ // reset indention for wrapped form elements ...
108
+ .ym-fbox-wrap {
109
+ margin-left: 0;
110
+ margin-right: 30%;
111
+ margin-left: -3px;
112
+
113
+ .ym-message {
114
+ margin-right: 0%;
115
+ }
116
+
117
+ label {
118
+ margin-right: 0;
119
+ }
120
+
121
+ input {
122
+ margin-right: 0;
123
+ }
124
+
125
+ input[type="radio"],
126
+ input[type="checkbox"] {
127
+ margin-left: 0.5ex;
128
+ margin-right: 0;
129
+ }
130
+ }
131
+
132
+ .ym-fbox-button {
133
+ input {
134
+ float:none;
135
+ margin-left: 1em;
136
+ margin-right: 0;
137
+ }
138
+ }
139
+ }
140
+
141
+ /*------------------------------------------------------------------------------------------------------*/
142
+
143
+ /**
144
+ * (en) skip links cause large horizontal scrollbars in RTL mode in several browsers
145
+ * (de) skip links erzeugen große horziontale Scrollbalken in verschiedenen Browserin im RTL-Modus
146
+ *
147
+ * @workaround
148
+ * @affected Firefox, Safari, IE 5.x - IE7
149
+ * @css-for all
150
+ * @valid yes
151
+ */
152
+
153
+ .ym-skiplinks {
154
+ left: 32768px !important;
155
+ .ym-skip {
156
+ &:focus,
157
+ &:active{ left: -32768px !important; }
158
+ }
159
+ }
160
+
161
+ .ym-skip,
162
+ .ym-hideme,
163
+ .ym-print { left: 32768px !important; }
164
+ /*------------------------------------------------------------------------------------------------------*/
165
+
166
+ /**
167
+ * @section miscellaneous
168
+ *
169
+ * (en) CSS-class for ltr-content (left to right) within a rtl website
170
+ * (de) Eine CSS-Klasse für ltr-Inhalte (left to right) innerhalb einer rtl-Seite
171
+ */
172
+
173
+ .ym-text-ltr {
174
+ direction: ltr;
175
+ text-align: left;
176
+ }
177
+ }
@@ -0,0 +1,34 @@
1
+ @import "../../../yaml-var-globals";
2
+
3
+ @media screen {
4
+ .ym-form {
5
+ select {
6
+ padding: 3px 1px 3px 2px;
7
+ }
8
+ }
9
+
10
+ /* adjust buttons */
11
+ .ym-button,
12
+ .ym-form button,
13
+ .ym-form input[type="button"],
14
+ .ym-form input[type="reset"],
15
+ .ym-form input[type="submit"] {
16
+ margin: 0 0 0 0.75em;
17
+ }
18
+ .ym-form button:before,
19
+ .ym-button:before {
20
+ float: right;
21
+ margin: 0 -1em 0 1em;
22
+ border-radius: 0;
23
+ border-top-right-radius: 0.15em;
24
+ border-bottom-right-radius: 0.15em;
25
+ -webkit-box-shadow: -1px 0 0 rgba(0,0,0,.5), -2px 0 0 rgba(255,255,255,.5);
26
+ box-shadow: -1px 0 0 rgba(0,0,0,.5), -2px 0 0 rgba(255,255,255,.5);
27
+ }
28
+
29
+ /* ie6 support styles - redefined buttons, because of missing support for attribute selectors */
30
+ * html .ym-button,
31
+ * html .ym-form button {
32
+ margin: 1.5em 0 0 0.75em;
33
+ }
34
+ }
@@ -0,0 +1,42 @@
1
+ @import "../../../yaml-var-globals";
2
+
3
+ @media all
4
+ {
5
+ /**
6
+ * (en) Workaround disappearing list elements on hover
7
+ * (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern
8
+ *
9
+ * @workaround
10
+ * @affected IE 5.x/Win, IE6, IE7
11
+ * @css-for IE 5.x/Win, IE6, IE7
12
+ * @valid yes
13
+ */
14
+
15
+ .ym-hlist {
16
+ // changee direction for parent element as workaround for IE7
17
+ * { direction:ltr !important; }
18
+
19
+ // change back direction to RTL for child elements
20
+ a,
21
+ strong { direction:rtl !important; }
22
+
23
+ ul {
24
+ position:relative;
25
+ float:right;
26
+ // (en) Left margin of the first button
27
+ // (de) Abstand des ersten Buttons vom linken Rand
28
+ margin-left: 0; // Reset LTR
29
+ }
30
+
31
+ ul li {
32
+ float: right;
33
+ text-align:right !important;
34
+ }
35
+ }
36
+
37
+ /* change back direction to RTL for child elements */
38
+ .ym-searchform {
39
+ direction:rtl !important;
40
+ float:left;
41
+ }
42
+ }
@@ -0,0 +1,45 @@
1
+ @import "../../../yaml-var-globals";
2
+
3
+ @media all {
4
+
5
+ /* menu title */
6
+ .ym-vtitle {
7
+ padding-left: 0px;
8
+ padding-right: 10%;
9
+ }
10
+
11
+ /* 4 navigation levels defined */
12
+ .ym-vlist {
13
+ text-align: right;
14
+
15
+ li { float:right; }
16
+
17
+ li a,
18
+ li strong,
19
+ li span {
20
+ padding-left: 0px;
21
+ padding-right: 10%;
22
+ }
23
+
24
+ li ul li a,
25
+ li ul li strong,
26
+ li ul li span {
27
+ padding-left: 0px;
28
+ padding-right: 20%;
29
+ }
30
+
31
+ li ul li ul li a,
32
+ li ul li ul li strong,
33
+ li ul li ul li span {
34
+ padding-left: 0px;
35
+ padding-right: 30%;
36
+ }
37
+
38
+ li ul li ul li ul li a,
39
+ li ul li ul li ul li strong,
40
+ li ul li ul li ul li span {
41
+ padding-left: 0px;
42
+ padding-right: 40%;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,30 @@
1
+ @import "../../../yaml-var-globals";
2
+
3
+ @media all {
4
+
5
+ /* --- Lists | Listen -------------------------------------------------------------------------------- */
6
+
7
+ ul,
8
+ ol,
9
+ dl {
10
+ margin-left: 0;
11
+ margin-right: 1em;
12
+ }
13
+
14
+ li {
15
+ margin-left: 0;
16
+ margin-right: 0.8em;
17
+ }
18
+
19
+ dd {
20
+ margin-left: 0;
21
+ margin-right: 0.8em;
22
+ }
23
+
24
+ /* --- general text formatting | Allgemeine Textauszeichnung ------------------------------------------ */
25
+
26
+ blockquote {
27
+ margin-left: 0;
28
+ margin-right: 1.5em;
29
+ }
30
+ }
@@ -0,0 +1,112 @@
1
+ /**
2
+ * syncHeight - jQuery plugin to automagically Sync the heights of columns
3
+ * Made to seemlessly work with the CCS-Framework YAML (yaml.de)
4
+ * @requires jQuery v1.0.3 or newer
5
+ *
6
+ * http://blog.ginader.de/dev/syncheight/
7
+ *
8
+ * Copyright (c) 2007-2013
9
+ * Dirk Ginader (ginader.de)
10
+ * Dirk Jesse (yaml.de)
11
+ * Dual licensed under the MIT and GPL licenses:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * http://www.gnu.org/licenses/gpl.html
14
+ *
15
+ * Version: 1.5
16
+ *
17
+ * Changelog
18
+ * * v1.5 fixes issue with box-sizing: border-box
19
+ * * v1.4: new Method unSyncHeight() that removes previously added syncs i.e. for responsive layouts
20
+ * * v1.3: compatibility fix for jQuery 1.9.x (removed $.browser)
21
+ *
22
+ * Usage sync:
23
+ $(window).load(function(){
24
+ $('p').syncHeight();
25
+ });
26
+ * Usage unsync:
27
+ $(window).resize(function(){
28
+ if($(window).width() < 500){
29
+ $('p').unSyncHeight();
30
+ }
31
+ });
32
+ */
33
+
34
+ (function($) {
35
+ var getHeightProperty = function() {
36
+ var browser_id = 0;
37
+ var property = [
38
+ // To avoid content overflow in synchronised boxes on font scaling, we
39
+ // use 'min-height' property for modern browsers ...
40
+ ['min-height','0px'],
41
+ // and 'height' property for Internet Explorer.
42
+ ['height','1%']
43
+ ];
44
+
45
+ var bMatch = /(msie) ([\w.]+)/.exec(navigator.userAgent.toLowerCase()) || [],
46
+ browser = bMatch[1] || "",
47
+ browserVersion = bMatch[2] || "0";
48
+
49
+ // check for IE6 ...
50
+ if(browser === 'msie' && browserVersion < 7){
51
+ browser_id = 1;
52
+ }
53
+
54
+ return {
55
+ 'name': property[browser_id][0],
56
+ 'autoheightVal': property[browser_id][1]
57
+ };
58
+ };
59
+
60
+ $.getSyncedHeight = function(selector) {
61
+ var max = 0;
62
+ var heightProperty = getHeightProperty();
63
+ // get maximum element height ...
64
+ $(selector).each(function() {
65
+ // fallback to auto height before height check ...
66
+ $(this).css(heightProperty.name, heightProperty.autoheightVal);
67
+ var val = parseInt($(this).css('height'),10);
68
+ if(val > max){
69
+ max = val;
70
+ }
71
+ });
72
+ return max;
73
+ };
74
+
75
+ $.fn.syncHeight = function(config) {
76
+ var defaults = {
77
+ updateOnResize: false, // re-sync element heights after a browser resize event (useful in flexible layouts)
78
+ height: false
79
+ };
80
+
81
+ var options = $.extend(defaults, config);
82
+ var e = this;
83
+ var max = 0;
84
+ var heightPropertyName = getHeightProperty().name;
85
+
86
+ if(typeof(options.height) === "number") {
87
+ max = options.height;
88
+ } else {
89
+ max = $.getSyncedHeight(this);
90
+ }
91
+
92
+ // set synchronized element height ...
93
+ $(this).each(function() {
94
+ $(this).css(heightPropertyName, max+'px');
95
+ });
96
+
97
+ // optional sync refresh on resize event ...
98
+ if (options.updateOnResize === true) {
99
+ $(window).resize(function(){
100
+ $(e).syncHeight();
101
+ });
102
+ }
103
+ return this;
104
+ };
105
+
106
+ $.fn.unSyncHeight = function() {
107
+ var heightPropertyName = getHeightProperty().name;
108
+ $(this).each(function() {
109
+ $(this).css(heightPropertyName, '');
110
+ });
111
+ };
112
+ })(jQuery);