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,61 @@
1
+ @import "yaml-sass/yaml-var-typography";
2
+
3
+ @media print {
4
+
5
+ /**
6
+ * @section basic layout preparation
7
+ */
8
+
9
+ /* (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers */
10
+ /* (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit [px] in Gecko-Browsern vermeiden */
11
+ body {
12
+ font-size: $ym-print-fontsize;
13
+ padding: 0 5px;
14
+ }
15
+
16
+ /* (en) Hide unneeded container of the screenlayout in print layout */
17
+ /* (de) Für den Druck nicht benötigte Container des Layouts abschalten */
18
+ nav,
19
+ .ym-searchform {
20
+ display:none;
21
+ }
22
+
23
+ /*------------------------------------------------------------------------------------------------------*/
24
+
25
+ /* (en) Avoid page breaks right after headings */
26
+ /* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift */
27
+ h1,
28
+ h2,
29
+ h3,
30
+ h4,
31
+ h5,
32
+ h6 {
33
+ page-break-after:avoid;
34
+ }
35
+
36
+ @if $ym-print-abbreviation == true {
37
+ /*------------------------------------------------------------------------------------------------------*/
38
+
39
+ /* (en) optional output of acronyms and abbreviations*/
40
+ /* (de) optionale Ausgabe von Auszeichnung von Abkürzungen */
41
+
42
+ abbr[title]:after,
43
+ acronym[title]:after {
44
+ content:'(' attr(title) ')';
45
+ }
46
+ }
47
+
48
+ @if $ym-print-href == true {
49
+ /*------------------------------------------------------------------------------------------------------*/
50
+
51
+ /* (en) optional URL output of hyperlinks in print layout */
52
+ /* (de) optionale Ausgabe der URLs von Hyperlinks */
53
+
54
+ a[href]:after {
55
+ content:" <URL:"attr(href)">";
56
+ color:#444;
57
+ background:inherit;
58
+ font-style:italic;
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,4 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @include ym-custom-grid("g960",12, 960px, 10px, 10px);
@@ -0,0 +1,4 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @include ym-custom-grid("g960",16, 960px, 10px, 10px);
@@ -0,0 +1,4 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @include ym-custom-grid("span", 24, 960px, 0, 10px);
@@ -0,0 +1,4 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @include ym-custom-grid("span", 12, 100%, 0, 10px);
@@ -0,0 +1,171 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @media screen {
5
+
6
+ /* force vertical scrollbar */
7
+ body {
8
+ overflow-y: scroll;
9
+ }
10
+
11
+ /* Layout Module Configuration */
12
+ .ym-wrapper {
13
+ max-width: 80em;
14
+ margin: 0 auto;
15
+ }
16
+
17
+ .ym-wbox {
18
+ padding: 1.5em;
19
+ }
20
+
21
+ /* fallback for missing media queries support*/
22
+ body {
23
+ & > header,
24
+ & > nav,
25
+ & > main,
26
+ & > footer {
27
+ min-width: 760px;
28
+ }
29
+ }
30
+
31
+ /* Basic Element Styling */
32
+ header {
33
+ background: #444;
34
+ color: #ccc;
35
+
36
+ h1 {
37
+ background: transparent;
38
+ color: #fff;
39
+ }
40
+
41
+ .ym-wbox {
42
+ padding: 1.5em;
43
+ }
44
+ }
45
+
46
+ nav {
47
+ background: #222222;
48
+ }
49
+
50
+ main {
51
+ .info {
52
+ margin-bottom: 1.5em;
53
+ }
54
+ aside .ym-gbox-right {
55
+ border-left: 1px #ddd solid;
56
+ }
57
+ }
58
+
59
+ footer {
60
+ background: #eee;
61
+ color: #444;
62
+
63
+ p {
64
+ margin: 0;
65
+ }
66
+
67
+ .ym-wbox {
68
+ padding: 1.5em;
69
+ }
70
+ }
71
+
72
+ .ym-gbox { padding: 0 1.5em; }
73
+ .ym-gbox-left { padding: 0 1.5em 0 0; }
74
+ .ym-gbox-right { padding: 0 0 0 1.5em; }
75
+
76
+ /* skip links styling */
77
+ .ym-skiplinks {
78
+ a.ym-skip:focus,
79
+ a.ym-skip:active {
80
+ color:#fff;
81
+ background:#333;
82
+ border-bottom:1px #000 solid;
83
+ padding:10px 0;
84
+ text-align: center;
85
+ text-decoration:none;
86
+ }
87
+ }
88
+ }
89
+
90
+ /* reset fallback values in modern browsers */
91
+ @media screen and ( min-width: 0px ) {
92
+
93
+ body {
94
+ & > header,
95
+ & > nav,
96
+ & > main,
97
+ & > footer {
98
+ min-width: 0;
99
+ }
100
+ }
101
+ }
102
+
103
+ @media screen and ( max-width: 760px ) {
104
+
105
+ /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
106
+ .linearize-level-1 {
107
+ @include ym-linearize-grids-and-columns();
108
+ }
109
+
110
+ .secondary {
111
+ border-top: 1px #888 solid;
112
+ margin-top: 1.5em !important;
113
+ padding-top: 1.5em !important;
114
+ }
115
+
116
+ main aside .ym-gbox-right {
117
+ border: 0 none;
118
+ }
119
+
120
+ .ym-searchform {
121
+ display:block;
122
+ float: none;
123
+ width: auto;
124
+ text-align: right;
125
+ }
126
+
127
+ .ym-searchform input[type="search"] {
128
+ width: 14%;
129
+ }
130
+ }
131
+
132
+ @media screen and ( max-width: 480px) {
133
+
134
+ /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
135
+ .linearize-level-2 {
136
+ @include ym-linearize-grids-and-columns();
137
+ }
138
+
139
+ header {
140
+ .ym-wbox {
141
+ padding: 0.75em 10px;
142
+ }
143
+
144
+ h1 {
145
+ font-size: 1.5em;
146
+ line-height: 1em;
147
+ margin: 0;
148
+ }
149
+ }
150
+
151
+ footer .ym-wbox,
152
+ .ym-wbox,
153
+ .ym-searchform,
154
+ nav .ym-hlist ul {
155
+ padding-left: 10px;
156
+ padding-right: 10px;
157
+ }
158
+
159
+ .ym-searchform,
160
+ nav .ym-hlist ul,
161
+ nav .ym-hlist li {
162
+ display:block;
163
+ float: none;
164
+ width: auto;
165
+ text-align: left;
166
+ }
167
+
168
+ .ym-searchform input[type="search"] {
169
+ width: 75%;
170
+ }
171
+ }
@@ -0,0 +1,165 @@
1
+ @import "../_yaml-var-globals",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @media screen {
5
+
6
+ /* force vertical scrollbar */
7
+ body {
8
+ overflow-y: scroll;
9
+ }
10
+
11
+ /* Layout Module Configuration & fallback for unsupported media queries */
12
+ .ym-wrapper {
13
+ min-width: 760px;
14
+ max-width: 80em;
15
+ margin: 0 auto;
16
+ }
17
+
18
+ .ym-wbox { padding: 10px; }
19
+
20
+ /* Basic Element Styling */
21
+ header {
22
+ background: #444;
23
+ color: #ccc;
24
+ padding: 1.5em;
25
+
26
+ h1 {
27
+ background: transparent;
28
+ color: #fff;
29
+ }
30
+ }
31
+
32
+ nav {
33
+ background: #222222;
34
+ }
35
+
36
+ main {
37
+ padding: 1.5em 0 0 0;
38
+ }
39
+
40
+ footer {
41
+ margin: 0;
42
+ background: #eee;
43
+ color: #444;
44
+ padding: 1.5em;
45
+
46
+ p {
47
+ margin: 0;
48
+ }
49
+ }
50
+
51
+ /* Column-Set Configuration: 1-3 (sidebar right) */
52
+ .ym-column {
53
+ display:block;
54
+ overflow:hidden;
55
+ padding-right: 340px;
56
+ width:auto;
57
+ }
58
+
59
+ /* content - column */
60
+ .ym-col1 {
61
+ float:left;
62
+ width: 100%;
63
+ }
64
+
65
+ /* sidebar - column */
66
+ .ym-col3 {
67
+ position:relative;
68
+ float:left;
69
+ width: 340px;
70
+ margin-left:0;
71
+ margin-right:-340px;
72
+ }
73
+
74
+ .ym-col1 .ym-cbox { padding: 0 0.75em 0 1.5em; }
75
+ .ym-col3 .ym-cbox { padding: 0 20px 0 12px; }
76
+
77
+ .ym-gbox { padding: 0 1.5em 0 0; }
78
+
79
+ /* skip links styling */
80
+ .ym-skiplinks {
81
+ a.ym-skip:focus,
82
+ a.ym-skip:active {
83
+ color:#fff;
84
+ background:#333;
85
+ border-bottom:1px #000 solid;
86
+ padding:10px 0;
87
+ text-align: center;
88
+ text-decoration:none;
89
+ }
90
+ }
91
+ }
92
+
93
+ /* reset fallback values in modern browsers */
94
+ @media screen and ( min-width: 0px ) {
95
+ .ym-wrapper {
96
+ min-width: 0px;
97
+ }
98
+ }
99
+
100
+ @media screen and ( max-width: 760px ) {
101
+
102
+ /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
103
+ .linearize-level-1 {
104
+ @include ym-linearize-grids-and-columns();
105
+ }
106
+
107
+ nav .ym-hlist ul {
108
+ padding-right: 10px;
109
+ }
110
+
111
+ .ym-searchform {
112
+ display:block;
113
+ float: none;
114
+ width: auto;
115
+ padding-right: 10px;
116
+ text-align: right;
117
+ }
118
+
119
+ .ym-searchform input[type="search"] {
120
+ width: 14%;
121
+ }
122
+ }
123
+
124
+ @media screen and ( max-width: 480px) {
125
+
126
+ .ym-wbox {
127
+ padding: 0;
128
+ }
129
+
130
+ header {
131
+ padding: 0.75em 10px;
132
+
133
+ h1 {
134
+ font-size: 1.5em;
135
+ line-height: 1em;
136
+ margin: 0;
137
+ }
138
+ }
139
+
140
+ footer,
141
+ main,
142
+ .ym-searchform,
143
+ nav .ym-hlist ul {
144
+ padding-left: 10px;
145
+ padding-right: 10px;
146
+ }
147
+
148
+ /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
149
+ .linearize-level-2 {
150
+ @include ym-linearize-grids-and-columns();
151
+ }
152
+
153
+ .ym-searchform,
154
+ nav .ym-hlist ul,
155
+ nav .ym-hlist li {
156
+ display:block;
157
+ float: none;
158
+ width: auto;
159
+ text-align: left;
160
+ }
161
+
162
+ .ym-searchform input[type="search"] {
163
+ width: 75%;
164
+ }
165
+ }
@@ -0,0 +1,485 @@
1
+ @import "../yaml-var-typography",
2
+ "../mixins/yaml-mixins-core";
3
+
4
+ @media all {
5
+
6
+ /*!
7
+ * @section global typography settings
8
+ *
9
+ * vertical rhythm settings (based on em-unit)
10
+ * -------------------------------------------
11
+ * basefont-size: #{$ym-base-font-size}px (#{$ym-base-font-size/$ym-default-font-size*100}%)
12
+ * line-height : #{$ym-base-line-height}px (factor: #{$ym-base-line-height / $ym-base-font-size}) */
13
+
14
+ /* (en) reset font size for all elements to standard (16 Pixel) */
15
+ /* (de) Alle Schriftgrößen auf Standardgröße (16 Pixel) zurücksetzen */
16
+
17
+ html * { font-size:100%; }
18
+
19
+ /**
20
+ * (en) reset monospaced elements to font size 16px in all browsers
21
+ * (de) Schriftgröße von monospaced Elemente in allen Browsern auf 16 Pixel setzen
22
+ *
23
+ * @see: http://webkit.org/blog/67/strange-medium/
24
+ */
25
+
26
+ textarea,
27
+ pre,
28
+ code,
29
+ kbd,
30
+ samp,
31
+ var,
32
+ tt {
33
+ font-family: $ym-font-monospace;
34
+ }
35
+
36
+ /*! font-size: #{$ym-base-font-size}px; */
37
+ body {
38
+ font-family: $ym-font-serif;
39
+ font-size: $ym-base-font-size / $ym-default-font-size * 100%;
40
+ color: $ym-text-color;
41
+ }
42
+
43
+ /*--- Headings | Überschriften ------------------------------------------------------------------------*/
44
+
45
+ h1,
46
+ h2,
47
+ h3,
48
+ h4,
49
+ h5,
50
+ h6 {
51
+ font-family: $ym-font-sans;
52
+ font-weight: 400;
53
+ color: $ym-headings-color;
54
+ margin: 0;
55
+ }
56
+
57
+ h1 {
58
+ /*! font-size: #{$ym-base-font-size * $ym-h1-font-scale}px; */
59
+ font-size: $ym-h1-font-scale * 100%;
60
+ line-height: 2 * $line-height / $ym-h1-font-scale;
61
+ margin: 0 0 $line-height / $ym-h1-font-scale*1em 0;
62
+ }
63
+
64
+ h2 {
65
+ /*! font-size: #{$ym-base-font-size * $ym-h2-font-scale}px; */
66
+ font-size: $ym-h2-font-scale * 100%;
67
+ line-height: 2 * $line-height / $ym-h2-font-scale;
68
+ margin: 0 0 $line-height / $ym-h2-font-scale*1em 0;
69
+ }
70
+
71
+ h3 {
72
+ /*! font-size: #{$ym-base-font-size * $ym-h3-font-scale}px; */
73
+ font-size: $ym-h3-font-scale * 100%;
74
+ line-height: 1 * $line-height / $ym-h3-font-scale;
75
+ margin: 0 0 $line-height / $ym-h3-font-scale*1em 0;
76
+ }
77
+
78
+ h4 {
79
+ /*! font-size: #{$ym-base-font-size * $ym-h4-font-scale}px; */
80
+ font-size: $ym-h4-font-scale * 100%;
81
+ line-height: 1 * $line-height / $ym-h4-font-scale;
82
+ margin: 0 0 $line-height / $ym-h4-font-scale*1em 0;
83
+ }
84
+
85
+ h5 {
86
+ /*! font-size: #{$ym-base-font-size * $ym-h5-font-scale}px; */
87
+ font-size: $ym-h5-font-scale * 100%;
88
+ line-height: 1 * $line-height / $ym-h5-font-scale;
89
+ margin: 0 0 $line-height / $ym-h5-font-scale*1em 0;
90
+ }
91
+
92
+ h6 {
93
+ /*! font-size: #{$ym-base-font-size * $ym-h6-font-scale}px; */
94
+ font-size: $ym-h6-font-scale * 100%;
95
+ font-weight: bold;
96
+ line-height: 1 * $line-height / $ym-h6-font-scale;
97
+ margin: 0 0 $line-height / $ym-h6-font-scale*1em 0;
98
+ }
99
+
100
+ /* --- Lists | Listen -------------------------------------------------------------------------------- */
101
+
102
+ ul,
103
+ ol,
104
+ dl {
105
+ font-size: $ym-text-font-scale * 100%;
106
+ line-height: 1 * $line-height / $ym-text-font-scale;
107
+ margin: 0 0 $line-height / $ym-text-font-scale*1em 0;
108
+ }
109
+
110
+ ul {
111
+ list-style-type:disc;
112
+ }
113
+
114
+ ol {
115
+ list-style-type:decimal;
116
+ }
117
+
118
+ ul ul {
119
+ list-style-type:circle;
120
+ margin-top:0;
121
+ }
122
+
123
+ ol ol {
124
+ list-style-type:lower-latin;
125
+ margin-top:0;
126
+ }
127
+
128
+ ol ul {
129
+ list-style-type:circle;
130
+ margin-top:0;
131
+ }
132
+
133
+ li {
134
+ font-size: $ym-text-font-scale * 100%;
135
+ line-height: 1 * $line-height / $ym-text-font-scale;
136
+ margin-left: 1.2em;
137
+ }
138
+
139
+ dt {
140
+ font-weight:bold;
141
+ }
142
+
143
+ dd {
144
+ margin: 0 0 $line-height*1em 0.8em;
145
+ }
146
+
147
+ /* --- general text formatting | Allgemeine Textauszeichnung ------------------------------------------ */
148
+
149
+ p {
150
+ font-size: $ym-text-font-scale * 100%;
151
+ line-height: 1 * $line-height / $ym-text-font-scale;
152
+ margin: 0 0 $line-height / $ym-text-font-scale*1em 0;
153
+ }
154
+
155
+ blockquote,
156
+ cite,
157
+ q {
158
+ font-family: $ym-font-serif;
159
+ font-style: italic;
160
+ }
161
+
162
+ blockquote {
163
+ background: $ym-blockquote-bg-color;
164
+ color: $ym-blockquote-text-color;
165
+ margin: $line-height * 1em 0 0 1.5em;
166
+ }
167
+
168
+ strong,
169
+ b {
170
+ font-weight: bold;
171
+ }
172
+
173
+ em,
174
+ i {
175
+ font-style: italic;
176
+ }
177
+
178
+ big {
179
+ /*! font-size: #{$ym-base-font-size * $ym-text-big-font-scale}px; */
180
+ font-size: $ym-text-big-font-scale * 100%;
181
+ line-height: 1 * $line-height / $ym-text-big-font-scale;
182
+ }
183
+
184
+ small {
185
+ /*! font-size: #{$ym-base-font-size * $ym-text-small-font-scale}px; */
186
+ font-size: $ym-text-small-font-scale * 100%;
187
+ line-height: 1 * $line-height / $ym-text-small-font-scale;
188
+ }
189
+
190
+ pre,
191
+ code,
192
+ kbd,
193
+ tt,
194
+ samp,
195
+ var {
196
+ font-size: $ym-text-font-scale * 100%;
197
+ }
198
+
199
+ pre {
200
+ font-size: $ym-text-font-scale * 100%;
201
+ line-height: 1 * $line-height / $ym-text-font-scale;
202
+ margin: 0 0 $line-height / $ym-text-font-scale*1em 0;
203
+ white-space: pre;
204
+ white-space: pre-wrap;
205
+ word-wrap: break-word;
206
+ }
207
+ pre,
208
+ code {
209
+ color: $ym-pre-text-color;
210
+ }
211
+
212
+ kbd,
213
+ samp,
214
+ var,
215
+ tt {
216
+ color: $ym-kbd-text-color;
217
+ font-weight: bold;
218
+ }
219
+
220
+ var,
221
+ dfn {
222
+ font-style: italic;
223
+ }
224
+
225
+ acronym,
226
+ abbr {
227
+ border-bottom: 1px #aaa dotted;
228
+ font-variant: small-caps;
229
+ letter-spacing: .07em;
230
+ cursor: help;
231
+ }
232
+
233
+ sub,
234
+ sup {
235
+ font-size: 75%;
236
+ line-height: 0;
237
+ position: relative;
238
+ vertical-align: baseline;
239
+ }
240
+
241
+ sup { top: -0.5em; }
242
+ sub { bottom: -0.25em; }
243
+
244
+ mark {
245
+ background: $ym-mark-bg-color;
246
+ color: $ym-mark-text-color;
247
+ }
248
+
249
+ hr {
250
+ color: #fff;
251
+ background: transparent;
252
+ margin: 0 0 $line-height / 2 * 1em 0;
253
+ padding: 0 0 (($ym-base-line-height / 2 - 1 ) / ($ym-base-line-height / 2 )) / 2 * $line-height * 1em 0;
254
+ border: 0;
255
+ border-bottom: 1px $ym-hr-color solid;
256
+ }
257
+
258
+ /*--- Links ----------------------------------------------------------------------------------------- */
259
+
260
+ a {
261
+ color: $ym-link-text-color;
262
+ background: $ym-link-bg-color;
263
+ text-decoration: none;
264
+ }
265
+
266
+ a:active { outline: none; }
267
+
268
+ /* (en) maximum constrast for tab focus - change with great care */
269
+ /* (en) Maximaler Kontrast für Tab Focus - Ändern Sie diese Regel mit Bedacht */
270
+ a:hover,
271
+ a:focus {
272
+ background-color: $ym-link-focus-bg-color;
273
+ color: $ym-link-focus-text-color;
274
+ text-decoration: none;
275
+ }
276
+
277
+ /* --- images ------------------ */
278
+
279
+ img,
280
+ figure {
281
+ margin: 0;
282
+ }
283
+
284
+ .flexible {
285
+ margin-bottom: $line-height*1em;
286
+ max-width: 100%;
287
+ height: auto;
288
+ }
289
+
290
+ /* IE6 workaround - 2% space for possible borders */
291
+ * html .flexible {
292
+ width: 98%;
293
+ }
294
+
295
+ .bordered {
296
+ margin-bottom: $line-height*1em;
297
+ border: 2px #eee solid;
298
+ border: 2px rgba(255,255,255,1) solid;
299
+ @include ym-box-shadow(0,0,3px,rgba(0,0,0,.25));
300
+ }
301
+
302
+ /**
303
+ * ----------------------------------------------------------------------- #
304
+ *
305
+ * Generic Content Classes
306
+ *
307
+ * (en) standard classes for positioning and highlighting
308
+ * (de) Standardklassen zur Positionierung und Hervorhebung
309
+ *
310
+ * @section content-generic-classes
311
+ */
312
+ .highlight {
313
+ color: $ym-highlight-text-color;
314
+ }
315
+
316
+ .dimmed {
317
+ color: $ym-dimmed-text-color;
318
+ }
319
+
320
+ .box {
321
+ border-radius: 0.3em;
322
+ border-width: 1px;
323
+ border-style: solid;
324
+ border-color: #888;
325
+ border-color: rgba(0,0,0,.3);
326
+ @include ym-box-shadow(1px,1px,3px,rgba(0,0,0,.2),inset);
327
+ color: #444;
328
+ color: rgba(0,0,0,.8);
329
+ padding: ($ym-base-line-height - 1) / $ym-base-line-height * $line-height * 1em;
330
+ margin: 0 0 $line-height*1em 0;
331
+
332
+ & > *:last-child {
333
+ margin-bottom: 0;
334
+ }
335
+ }
336
+
337
+ .label {
338
+ font-family: Verdana, Geneva, sans-serif;
339
+ padding: 1px 6px 2px;
340
+ display: inline-block;
341
+ vertical-align: middle;
342
+ letter-spacing: normal;
343
+ white-space: nowrap;
344
+ border-radius: 3px;
345
+ background: #06C;
346
+ color: #fff;
347
+ font-size: 10px;
348
+ line-height: 12px;
349
+ }
350
+
351
+ .info {
352
+ background: $ym-highlight-info-color;
353
+ }
354
+
355
+ .success {
356
+ background: $ym-highlight-success-color;
357
+ }
358
+
359
+ .warning {
360
+ background: $ym-highlight-warning-color;
361
+ }
362
+
363
+ .error {
364
+ background: $ym-highlight-error-color;
365
+ }
366
+
367
+ .float-left {
368
+ float: left;
369
+ display: inline;
370
+ margin: 0 1em $line-height*1em 0;
371
+ }
372
+
373
+ .float-right {
374
+ float: right;
375
+ display: inline;
376
+ margin: 0 0 $line-height*1em 1em;
377
+ }
378
+
379
+ .center {
380
+ display: block;
381
+ text-align: center;
382
+ margin: 0 auto $line-height*1em auto;
383
+ }
384
+
385
+ /**
386
+ * ------------------------------------------------------------------------------------------------- #
387
+ *
388
+ * Tables | Tabellen
389
+ *
390
+ * (en) Generic classes for table-width and design definition
391
+ * (de) Generische Klassen für die Tabellenbreite und Gestaltungsvorschriften für Tabellen
392
+ *
393
+ * @section content-tables
394
+ */
395
+
396
+ table {
397
+ width: 100%;
398
+ border-collapse: collapse;
399
+ color: $ym-text-color;
400
+ border-top: 1px #ccc solid;
401
+ border-bottom: 1px #ccc solid;
402
+ margin: 0 0 ($ym-base-line-height - 2 ) / $ym-base-line-height * $line-height * 1em 0;
403
+
404
+ &.narrow {
405
+ margin: 0 0 ($ym-base-line-height - 1 ) / $ym-base-line-height * $line-height * 1em 0;
406
+
407
+ th,
408
+ td {
409
+ padding: 0 0.5em;
410
+ line-height: ($ym-base-line-height - 1 ) / $ym-base-line-height * $line-height;
411
+ }
412
+ }
413
+
414
+ &.fixed {
415
+ table-layout: fixed;
416
+ }
417
+
418
+ &.bordertable {
419
+ border: 1px #ccc solid;
420
+
421
+ thead th {
422
+ background: #e0e0e0;
423
+ border-right: 1px #ccc solid;
424
+ border-bottom: 1px #ccc solid;
425
+ }
426
+
427
+ tbody {
428
+ th[scope="row"] {
429
+ background: #f0f0f0;
430
+ }
431
+ th {
432
+ border-right: 1px solid #ccc;
433
+ }
434
+ td {
435
+ border-right: 1px solid #ccc;
436
+ }
437
+ }
438
+ }
439
+ }
440
+
441
+ caption {
442
+ font-variant:small-caps;
443
+ }
444
+
445
+ th,
446
+ td {
447
+ line-height: $line-height * 1em;
448
+ vertical-align: top;
449
+ padding: ($ym-base-line-height - 1 ) / $ym-base-line-height * $line-height / 2 * 1em 0.5em;
450
+ }
451
+
452
+ th *:first-child,
453
+ td *:first-child {
454
+ margin-top: 0;
455
+ }
456
+
457
+ th.nowrap,
458
+ td.nowrap {
459
+ white-space: nowrap;
460
+ }
461
+
462
+ thead th {
463
+ text-align: left;
464
+ color: #000;
465
+ border-bottom: 2px #000 solid;
466
+ }
467
+
468
+ tbody {
469
+ th {
470
+ text-align: left;
471
+ border-top: 1px solid #ccc;
472
+ }
473
+
474
+ td {
475
+ text-align: left;
476
+ border-top: 1px solid #ccc;
477
+ }
478
+
479
+ /* highlight row on mouse over */
480
+ tr:hover th,
481
+ tr:hover td {
482
+ background:#f8f8f8;
483
+ }
484
+ }
485
+ }