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,27 @@
1
+ @if $ym-base-columns == true {
2
+ /**
3
+ * @section Column Module
4
+ *
5
+ * default column config:
6
+ * |-------------------------------|
7
+ * | col1 | col3 | col2 |
8
+ * | 20% | flexible | 20% |
9
+ * |-------------------------------|
10
+ */
11
+
12
+ .ym-column {
13
+ @include ym-contain(dt);
14
+ }
15
+
16
+ .ym-col1 { float:left; width:$ym-column-width; }
17
+ .ym-col2 { float:right; width:$ym-column-width; }
18
+ .ym-col3 { width:auto; margin:0 $ym-column-width; }
19
+
20
+ .ym-cbox { padding: 0 $ym-cbox-padding }
21
+ .ym-cbox-left { padding: 0 $ym-cbox-padding 0 0 }
22
+ .ym-cbox-right { padding: 0 0 0 $ym-cbox-padding }
23
+
24
+ /* (en) IE-Clearing: Only used in Internet Explorer, switched on in iehacks.css */
25
+ /* (de) IE-Clearing: Benötigt nur der Internet Explorer und über iehacks.css zugeschaltet */
26
+ .ym-ie-clearing { display:none; }
27
+ }
@@ -0,0 +1,32 @@
1
+ @if $ym-base-floathandling == true {
2
+ /**
3
+ * @section Float Handling Module
4
+ */
5
+
6
+ /* (en) clearfix method for clearing floats */
7
+ /* (de) Clearfix-Methode zum Clearen der Float-Umgebungen */
8
+ .ym-clearfix:before {
9
+ content:"";
10
+ display:table;
11
+ }
12
+ .ym-clearfix:after {
13
+ clear:both;
14
+ content:".";
15
+ display:block;
16
+ font-size:0;
17
+ height:0;
18
+ visibility:hidden;
19
+ }
20
+
21
+ /* (en) alternative solutions to contain floats */
22
+ /* (de) Alternative Methoden zum Einschließen von Float-Umgebungen */
23
+ .ym-contain-dt {
24
+ @include ym-contain(dt);
25
+ }
26
+ .ym-contain-oh {
27
+ @include ym-contain(oh);
28
+ }
29
+ .ym-contain-fl {
30
+ @include ym-contain(fl);
31
+ }
32
+ }
@@ -0,0 +1,296 @@
1
+ @if $ym-base-forms == true {
2
+ /**
3
+ * @section Form Module
4
+ */
5
+
6
+ /** Vertical-Forms - technical base (standard)
7
+ *
8
+ * |-------------------------------|
9
+ * | form |
10
+ * |-------------------------------|
11
+ * | label |
12
+ * | input / select / textarea |
13
+ * |-------------------------------|
14
+ * | /form |
15
+ * |-------------------------------|
16
+ *
17
+ * (en) Styling of forms where both label and input/select/textarea are styled with display:block;
18
+ * (de) Formulargestaltung, bei der sowohl label als auch input/select/textarea mit display:block; gestaltet werden
19
+ */
20
+
21
+ .ym-form,
22
+ .ym-form fieldset { overflow:hidden; }
23
+
24
+ .ym-form {
25
+ div { position:relative; }
26
+
27
+ label,
28
+ .ym-label,
29
+ .ym-message {
30
+ position:relative;
31
+ line-height: 1.5;
32
+ display:block; //important for Safari
33
+ }
34
+
35
+ .ym-message {
36
+ clear: both;
37
+ }
38
+
39
+ .ym-fbox-check label {
40
+ display:inline;
41
+ }
42
+
43
+ input,
44
+ textarea { cursor:text; }
45
+
46
+ .ym-fbox-check input,
47
+ input[type="image"],
48
+ input[type="radio"],
49
+ input[type="checkbox"],
50
+ select,
51
+ label {
52
+ cursor:pointer;
53
+ }
54
+
55
+ // small adjustments for Internet Explorer - all versions
56
+ textarea {
57
+ overflow: auto;
58
+ }
59
+
60
+ // Hiding of hidden fields (otherwise ugly spaces in Firefox)
61
+ // Versteckte Felder wirklich verstecken (sonst ggf. häßliche Lücken im Firefox)
62
+ input.hidden,
63
+ input[type=hidden] {
64
+ display:none !important;
65
+ }
66
+
67
+ // styling containing DIV elements
68
+ // Gestaltung der kapselnden DIV-Elemente
69
+ .ym-fbox:before,
70
+ .ym-fbox-text:before,
71
+ .ym-fbox-select:before,
72
+ .ym-fbox-check:before,
73
+ .ym-fbox-button:before {
74
+ content:"";
75
+ display:table;
76
+ }
77
+
78
+ .ym-fbox:after,
79
+ .ym-fbox-text:after,
80
+ .ym-fbox-select:after,
81
+ .ym-fbox-check:after,
82
+ .ym-fbox-button:after {
83
+ clear:both;
84
+ content:".";
85
+ display:block;
86
+ font-size:0;
87
+ height:0;
88
+ visibility:hidden;
89
+ }
90
+
91
+ // avoid jumping checkboxes & radiobuttons in IE8
92
+ .ym-fbox-check input:focus,
93
+ .ym-fbox-check input:hover,
94
+ .ym-fbox-check input:active,
95
+ input[type="radio"]:focus,
96
+ input[type="radio"]:hover,
97
+ input[type="radio"]:active,
98
+ input[type="checkbox"]:focus,
99
+ input[type="checkbox"]:hover,
100
+ input[type="checkbox"]:active {
101
+ border:0 none;
102
+ }
103
+
104
+ // styling standard form elements with 'almost' equal flexible width
105
+ // Gestaltung der einzelnen Formularelemente mit annähend gleicher Breite
106
+
107
+ // default form element width
108
+ input,
109
+ textarea,
110
+ select {
111
+ display:block;
112
+ position:relative;
113
+ @include ym-box-sizing(border-box);
114
+ width:70%;
115
+ }
116
+
117
+ // overrule width settings for inline form elements ...
118
+ .ym-fbox-check input,
119
+ input[type="radio"],
120
+ input[type="checkbox"] {
121
+ display: inline;
122
+ margin-left: 0;
123
+ margin-right: 0.5ex;
124
+ width: auto;
125
+ height: auto;
126
+ }
127
+
128
+ input[type="image"] {
129
+ border: 0;
130
+ display: inline;
131
+ height: auto;
132
+ margin: 0;
133
+ padding: 0;
134
+ width: auto;
135
+ }
136
+
137
+ label,
138
+ .ym-label {
139
+ @include ym-box-sizing(border-box);
140
+ }
141
+
142
+ // styling buttons
143
+ .ym-fbox-button {
144
+ input {
145
+ display: inline;
146
+ overflow:visible; // Fixes IE7 auto-padding bug
147
+ width:auto;
148
+ }
149
+ }
150
+
151
+ .ym-inline {
152
+ display: inline-block;
153
+ float: none; // reset columnar floating ...
154
+ margin-right: 0; // reset rounding tolerance ...
155
+ width: auto;
156
+ vertical-align: baseline;
157
+ }
158
+ }
159
+
160
+ /* default form wrapper width */
161
+ .ym-fbox-wrap {
162
+ display: table;
163
+ table-layout: fixed;
164
+ width: 70%;
165
+
166
+ input,
167
+ textarea,
168
+ select {
169
+ width: 100%;
170
+ }
171
+
172
+ input[type="image"] {
173
+ width: auto;
174
+ }
175
+
176
+ input[type="radio"],
177
+ input[type="checkbox"] {
178
+ display: inline;
179
+ width: auto;
180
+ margin-left: 0;
181
+ margin-right: 0.5ex;
182
+ }
183
+
184
+ label,
185
+ .ym-label {
186
+ display: inline;
187
+ }
188
+ }
189
+
190
+ .ym-full {
191
+ input,
192
+ textarea,
193
+ select {
194
+ width:100%;
195
+ }
196
+ .ym-fbox-wrap {
197
+ width: 100%;
198
+ }
199
+ }
200
+
201
+ /**
202
+ * Columnar forms display - technical base (optional)
203
+ *
204
+ * |-------------------------------------------|
205
+ * | form |
206
+ * |-------------------------------------------|
207
+ * | |
208
+ * | label | input / select / textarea |
209
+ * | |
210
+ * |-------------------------------------------|
211
+ * | /form |
212
+ * |-------------------------------------------|
213
+ *
214
+ * (en) Styling of forms where label floats left of form-elements
215
+ * (de) Formulargestaltung, bei der die label-Elemente nach links fließen
216
+ */
217
+
218
+ .ym-columnar {
219
+ // Columnar display
220
+ // Spalten-Darstellung
221
+
222
+ input,
223
+ textarea,
224
+ select {
225
+ float:left;
226
+ margin-right: -3px;
227
+ }
228
+
229
+ label,
230
+ .ym-label {
231
+ display:inline;
232
+ float:left;
233
+ width:30%; // Can be fixed width too | Kann auch eine fixe Angabe sein
234
+ z-index: 1;
235
+ }
236
+
237
+ // Indent Checkbox fields to match label-width
238
+ // Checkboxen um den gleichen Wert einrücken, wie die Breite der labels
239
+ .ym-fbox-check input,
240
+ .ym-message {
241
+ margin-left:30%;
242
+ }
243
+
244
+ // reset indention for wrapped form elements ...
245
+ .ym-fbox-wrap {
246
+ margin-left: 30%;
247
+ margin-right: -3px;
248
+
249
+ .ym-message {
250
+ margin-left: 0%;
251
+ }
252
+
253
+ label {
254
+ float:none;
255
+ width:auto;
256
+ z-index: 1;
257
+ margin-left: 0;
258
+ }
259
+
260
+ input {
261
+ margin-left: 0;
262
+ position:relative;
263
+ }
264
+ }
265
+
266
+ .ym-fbox-check {
267
+ position:relative;
268
+
269
+ label,
270
+ .ym-label {
271
+ padding-top: 0;
272
+ }
273
+
274
+ input {
275
+ top: 3px;
276
+ }
277
+ }
278
+
279
+ .ym-fbox-button {
280
+ input {
281
+ float:none;
282
+ margin-right: 1em;
283
+ }
284
+ }
285
+ }
286
+
287
+ .ym-fbox-wrap + .ym-fbox-wrap {
288
+ margin-top: 0.5em;
289
+ }
290
+
291
+ /* global and local columnar settings for button alignment */
292
+ .ym-columnar fieldset .ym-fbox-button,
293
+ fieldset.ym-columnar .ym-fbox-button {
294
+ padding-left:30%;
295
+ }
296
+ }
@@ -0,0 +1,55 @@
1
+ @if $ym-base-grids == true {
2
+
3
+ /**
4
+ * @section Grid Module
5
+ */
6
+
7
+ .ym-grid {
8
+ @include ym-contain(dt);
9
+ list-style-type: none;
10
+ padding-left:0;
11
+ padding-right:0;
12
+ margin-left:0;
13
+ margin-right:0;
14
+ }
15
+
16
+ .ym-gl {
17
+ float:left;
18
+ margin: 0;
19
+ }
20
+
21
+ .ym-gr {
22
+ float:right;
23
+ margin: 0 0 0 $ym-rounding-tolerance;
24
+ }
25
+
26
+ .ym-g20 { width:20%; }
27
+ .ym-g40 { width:40%; }
28
+ .ym-g60 { width:60%; }
29
+ .ym-g80 { width:80%; }
30
+ .ym-g25 { width:25%; }
31
+ .ym-g33 { width:33.333%; }
32
+ .ym-g50 { width:50%; }
33
+ .ym-g66 { width:66.666%; }
34
+ .ym-g75 { width:75%; }
35
+ .ym-g38 { width:38.2%; }
36
+ .ym-g62 { width:61.8%; }
37
+
38
+ .ym-gbox { padding: 0 $ym-gbox-padding }
39
+ .ym-gbox-left { padding: 0 $ym-gbox-padding 0 0 }
40
+ .ym-gbox-right { padding: 0 0 0 $ym-gbox-padding }
41
+
42
+ .ym-equalize { overflow:hidden; }
43
+
44
+ .ym-equalize > [class*="ym-g"] {
45
+ display:table-cell;
46
+ float:none;
47
+ margin:0;
48
+ vertical-align:top;
49
+ }
50
+
51
+ .ym-equalize > [class*="ym-g"] > [class*="ym-gbox"] {
52
+ padding-bottom: 10000px;
53
+ margin-bottom: -10000px
54
+ }
55
+ }
@@ -0,0 +1,165 @@
1
+ @if $ym-base-normalization == true {
2
+ /**
3
+ * @section Normalisation Module
4
+ */
5
+
6
+ /* (en) Global reset of paddings and margins for all HTML elements */
7
+ /* (de) Globales Zurücksetzen der Innen- und Außenabstände für alle HTML-Elemente */
8
+ * { margin:0; padding:0; }
9
+
10
+ /* (en) Correction: margin/padding reset caused too small select boxes. */
11
+ /* (de) Korrektur: Das Zurücksetzen der Abstände verursacht zu kleine Selectboxen. */
12
+ option { padding-left:0.4em; } // LTR
13
+ select { padding:1px; }
14
+
15
+ /*
16
+ * (en) Global fix of the Italics bugs in IE 5.x and IE 6
17
+ * (de) Globale Korrektur des Italics Bugs des IE 5.x und IE 6
18
+ *
19
+ * @bugfix
20
+ * @affected IE 5.x/Win, IE6
21
+ * @css-for IE 5.x/Win, IE6
22
+ * @valid yes
23
+ */
24
+
25
+ * html body * { overflow:visible; }
26
+
27
+ /*
28
+ * (en) Fix for rounding errors when scaling font sizes in older versions of Opera browser
29
+ * Standard values for colors and text alignment
30
+ *
31
+ * (de) Beseitigung von Rundungsfehler beim Skalieren von Schriftgrößen in älteren Opera Versionen
32
+ * Vorgabe der Standardfarben und Textausrichtung
33
+ */
34
+ body {
35
+ font-size:100%;
36
+
37
+ background:#fff;
38
+ color:#000;
39
+ text-align:left; // LTR
40
+ }
41
+
42
+ /* (en) avoid visible outlines on DIV and h[x] elements in Webkit browsers */
43
+ /* (de) Vermeidung sichtbarer Outline-Rahmen in Webkit-Browsern */
44
+ div:target,
45
+ h1:target,
46
+ h2:target,
47
+ h3:target,
48
+ h4:target,
49
+ h5:target,
50
+ h6:target {
51
+ outline: 0 none;
52
+ }
53
+
54
+ /* (en) HTML5 - adjusting visual formatting model to block level */
55
+ /* (de) HTML5 - Elements werden als Blockelemente definiert */
56
+ article,
57
+ aside,
58
+ details,
59
+ figcaption,
60
+ figure,
61
+ footer,
62
+ header,
63
+ main,
64
+ nav,
65
+ section,
66
+ summary {
67
+ display: block;
68
+ }
69
+
70
+ /* (en) HTML5 - default media element styles */
71
+ /* (de) HTML5 - Standard Eigenschaften für Media-Elemente */
72
+ audio,
73
+ canvas,
74
+ video {
75
+ display: inline-block;
76
+ }
77
+
78
+ /* (en) HTML5 - don't show <audio> element if there aren't controls */
79
+ /* (de) HTML5 - <audio> ohne Kontrollelemente sollten nicht angezeigt werden */
80
+ audio:not([controls]) {
81
+ display: none;
82
+ }
83
+
84
+ /* (en) HTML5 - add missing styling in IE & old FF for hidden attribute */
85
+ /* (de) HTML5 - Eigenschaften für das hidden-Attribut in älteren IEs und FF nachrüsten */
86
+ [hidden] {
87
+ display: none;
88
+ }
89
+
90
+ /* (en) Prevent iOS text size adjust after orientation change, without disabling user zoom. */
91
+ /* (de) Verdindert die automatische Textanpassung bei Orientierungswechsel, ohne Zoom zu blockieren */
92
+ html {
93
+ -ms-text-size-adjust: 100%;
94
+ -webkit-text-size-adjust: 100%;
95
+ }
96
+
97
+ /* (en) set correct box-modell in IE8/9 plus remove padding */
98
+ /* (de) Setze das richtige Box-Modell im IE8/9 und entferne unnötiges Padding */
99
+ input[type="checkbox"],
100
+ input[type="radio"] {
101
+ box-sizing: border-box;
102
+ padding: 0;
103
+ }
104
+
105
+ /* (en) force consistant appearance of input[type="search"] elements in all browser */
106
+ /* (de) Einheitliches Erscheinungsbild für input[type="search"] Elemente erzwingen */
107
+ input[type="search"] {
108
+ -webkit-appearance: textfield;
109
+ -webkit-box-sizing: content-box;
110
+ -moz-box-sizing: content-box;
111
+ box-sizing: content-box;
112
+ }
113
+
114
+ input[type="search"]::-webkit-search-cancel-button,
115
+ input[type="search"]::-webkit-search-decoration {
116
+ -webkit-appearance: none;
117
+ }
118
+
119
+ /* (en) Correct overflow displayed oddly in IE 9 */
120
+ /* (de) Korrigiert fehlerhafte overflow Voreinstellung des IE 9 */
121
+ svg:not(:root) {
122
+ overflow: hidden;
123
+ }
124
+
125
+ /* (en) Address margin not present in IE 8/9 and Safari 5 */
126
+ /* (en) Ergänzt fehlenden Margin in IE 8/9 und Safari 5 */
127
+ figure {
128
+ margin: 0;
129
+ }
130
+
131
+ /* (en) Clear borders for <fieldset> and <img> elements */
132
+ /* (de) Rahmen für <fieldset> und <img> Elemente löschen */
133
+ fieldset,
134
+ img { border:0 solid; }
135
+
136
+ /* (en) new standard values for lists, blockquote, cite and tables */
137
+ /* (de) Neue Standardwerte für Listen, Zitate und Tabellen */
138
+ ul,
139
+ ol,
140
+ dl { margin:0 0 1em 1em; } // LTR
141
+
142
+ li {
143
+ line-height:1.5em;
144
+ margin-left:0.8em; // LTR
145
+ }
146
+
147
+ dt { font-weight:bold; }
148
+ dd { margin:0 0 1em 0.8em; } // LTR
149
+
150
+ blockquote { margin:0 0 1em 0.8em; } // LTR
151
+ q { quotes: none; }
152
+
153
+ blockquote:before,
154
+ blockquote:after,
155
+ q:before,
156
+ q:after {
157
+ content: '';
158
+ content:none;
159
+ }
160
+
161
+ table {
162
+ border-collapse: collapse;
163
+ border-spacing: 0;
164
+ }
165
+ }