yamlcss 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +12 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +56 -0
- data/LICENSE.txt +59 -0
- data/Rakefile +23 -0
- data/Readme.md +120 -0
- data/VERSIONS.md +5 -0
- data/bin/yamlcss +6 -0
- data/lib/yamlcss.rb +22 -0
- data/lib/yamlcss/engine.rb +7 -0
- data/lib/yamlcss/generator.rb +84 -0
- data/lib/yamlcss/version.rb +4 -0
- data/vendor/assets/stylesheets/_iehacks.scss +3 -0
- data/vendor/assets/stylesheets/_yaml.scss +3 -0
- data/yaml/Gruntfile.js +199 -0
- data/yaml/License.txt +36 -0
- data/yaml/Readme.md +64 -0
- data/yaml/changelog.md +307 -0
- data/yaml/config.rb +25 -0
- data/yaml/demos/css/custom-grids.css +27 -0
- data/yaml/demos/css/flexible-columns.css +26 -0
- data/yaml/demos/css/flexible-grids.css +26 -0
- data/yaml/demos/css/rtl-support.css +31 -0
- data/yaml/demos/css/screen/screen-custom-grids.css +41 -0
- data/yaml/demos/css/screen/screen-rtl-support.css +182 -0
- data/yaml/demos/custom-grid.html +129 -0
- data/yaml/demos/flexible-columns.html +124 -0
- data/yaml/demos/flexible-grid.html +142 -0
- data/yaml/demos/rtl-support.html +127 -0
- data/yaml/docs/assets/css/icons/external_link.png +0 -0
- data/yaml/docs/assets/css/icons/hcalendar.png +0 -0
- data/yaml/docs/assets/css/icons/hcard.png +0 -0
- data/yaml/docs/assets/css/icons/icon-geo.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hatom.png +0 -0
- data/yaml/docs/assets/css/icons/icon-haudio.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar-add.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar-download.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard-add.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard-download.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hresume.png +0 -0
- data/yaml/docs/assets/css/icons/icon-rel-tag.png +0 -0
- data/yaml/docs/assets/css/icons/icon-xfn.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-child.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-friend.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-me.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-parent.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-small.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/docs/assets/css/layout-min.css +3 -0
- data/yaml/docs/assets/css/layout.css +3262 -0
- data/yaml/docs/assets/images/demo-custom-grid.png +0 -0
- data/yaml/docs/assets/images/demo-flex-column.png +0 -0
- data/yaml/docs/assets/images/demo-flex-grid.png +0 -0
- data/yaml/docs/assets/images/demo-rtl.png +0 -0
- data/yaml/docs/assets/images/yaml-solo-transparent-small.png +0 -0
- data/yaml/docs/assets/images/yaml-solo-transparent.png +0 -0
- data/yaml/docs/assets/js/domscript.js +209 -0
- data/yaml/docs/assets/js/jquery.gridbuilder.js +131 -0
- data/yaml/docs/assets/js/snippet/ZeroClipboard.swf +0 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.css +116 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.js +782 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.min.css +40 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.min.js +12 -0
- data/yaml/docs/assets/js/snippet/snippet.css +296 -0
- data/yaml/docs/index.html +3845 -0
- data/yaml/lib/html5shiv/html5shiv-printshiv.js +11 -0
- data/yaml/lib/html5shiv/html5shiv.js +8 -0
- data/yaml/lib/jquery-1.10.1.min.js +6 -0
- data/yaml/lib/jquery-migrate-1.2.1.min.js +2 -0
- data/yaml/package.json +20 -0
- data/yaml/sass/docs/assets/css/_screen.scss +786 -0
- data/yaml/sass/docs/assets/css/layout.scss +28 -0
- data/yaml/sass/static-build/add-ons/accessible-tabs/tabs.scss +15 -0
- data/yaml/sass/static-build/add-ons/microformats/microformats.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/core/base-rtl.scss +20 -0
- data/yaml/sass/static-build/add-ons/rtl-support/forms/gray-theme-rtl.scss +16 -0
- data/yaml/sass/static-build/add-ons/rtl-support/navigation/hlist-rtl.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/navigation/vlist-rtl.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/screen/typography-rtl.scss +16 -0
- data/yaml/sass/static-build/core/base.scss +19 -0
- data/yaml/sass/static-build/core/iehacks.scss +19 -0
- data/yaml/sass/static-build/forms/gray-theme.scss +14 -0
- data/yaml/sass/static-build/navigation/hlist.scss +16 -0
- data/yaml/sass/static-build/navigation/vlist.scss +16 -0
- data/yaml/sass/static-build/print/print.scss +15 -0
- data/yaml/sass/static-build/screen/grid-960gs-12.scss +15 -0
- data/yaml/sass/static-build/screen/grid-960gs-16.scss +15 -0
- data/yaml/sass/static-build/screen/grid-blueprint.scss +15 -0
- data/yaml/sass/static-build/screen/grid-fluid-12col.scss +15 -0
- data/yaml/sass/static-build/screen/screen-FULLPAGE-layout.scss +15 -0
- data/yaml/sass/static-build/screen/screen-PAGE-layout.scss +15 -0
- data/yaml/sass/static-build/screen/typography.scss +16 -0
- data/yaml/sass/yaml-sass/_yaml-var-globals.scss +39 -0
- data/yaml/sass/yaml-sass/_yaml-var-typography.scss +80 -0
- data/yaml/sass/yaml-sass/add-ons/accessible-tabs/_tabs.scss +139 -0
- data/yaml/sass/yaml-sass/add-ons/accessible-tabs/jquery.tabs.js +266 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/_microformats.scss +179 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/external_link.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcalendar.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcard.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-geo.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hatom.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-haudio.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-add.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-download.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hresume.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-rel-tag.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-xfn.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/core/_base-rtl.scss +177 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/forms/_gray-theme-rtl.scss +34 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_hlist-rtl.scss +42 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_vlist-rtl.scss +45 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/screen/_typography-rtl.scss +30 -0
- data/yaml/sass/yaml-sass/add-ons/syncheight/jquery.syncheight.js +112 -0
- data/yaml/sass/yaml-sass/core/_base.scss +15 -0
- data/yaml/sass/yaml-sass/core/_iehacks.scss +426 -0
- data/yaml/sass/yaml-sass/core/base-modules/_accessibility.scss +48 -0
- data/yaml/sass/yaml-sass/core/base-modules/_columns.scss +27 -0
- data/yaml/sass/yaml-sass/core/base-modules/_float-handling.scss +32 -0
- data/yaml/sass/yaml-sass/core/base-modules/_forms-core.scss +296 -0
- data/yaml/sass/yaml-sass/core/base-modules/_grids-core.scss +55 -0
- data/yaml/sass/yaml-sass/core/base-modules/_normalization.scss +165 -0
- data/yaml/sass/yaml-sass/core/base-modules/_print-core.scss +36 -0
- data/yaml/sass/yaml-sass/core/js/yaml-focusfix.js +70 -0
- data/yaml/sass/yaml-sass/forms/_gray-theme.scss +475 -0
- data/yaml/sass/yaml-sass/mixins/_yaml-mixins-core.scss +248 -0
- data/yaml/sass/yaml-sass/navigation/_hlist.scss +106 -0
- data/yaml/sass/yaml-sass/navigation/_vlist.scss +129 -0
- data/yaml/sass/yaml-sass/print/_print.scss +61 -0
- data/yaml/sass/yaml-sass/screen/_grid-960gs-12.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-960gs-16.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-blueprint.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-fluid-12col.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_screen-FULLPAGE-layout.scss +171 -0
- data/yaml/sass/yaml-sass/screen/_screen-PAGE-layout.scss +165 -0
- data/yaml/sass/yaml-sass/screen/_typography.scss +485 -0
- data/yaml/yaml/add-ons/accessible-tabs/jquery.tabs.js +266 -0
- data/yaml/yaml/add-ons/accessible-tabs/tabs.css +136 -0
- data/yaml/yaml/add-ons/microformats/icons/external_link.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/hcalendar.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/hcard.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-geo.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hatom.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-haudio.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard-add.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard-download.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hresume.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-rel-tag.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-xfn.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/yaml/add-ons/microformats/microformats.css +167 -0
- data/yaml/yaml/add-ons/rtl-support/core/base-rtl.css +167 -0
- data/yaml/yaml/add-ons/rtl-support/core/base-rtl.min.css +3 -0
- data/yaml/yaml/add-ons/rtl-support/forms/gray-theme-rtl.css +44 -0
- data/yaml/yaml/add-ons/rtl-support/navigation/hlist-rtl.css +48 -0
- data/yaml/yaml/add-ons/rtl-support/navigation/vlist-rtl.css +54 -0
- data/yaml/yaml/add-ons/rtl-support/screen/typography-rtl.css +38 -0
- data/yaml/yaml/add-ons/syncheight/jquery.syncheight.js +112 -0
- data/yaml/yaml/core/base.css +705 -0
- data/yaml/yaml/core/base.min.css +3 -0
- data/yaml/yaml/core/iehacks.css +468 -0
- data/yaml/yaml/core/iehacks.min.css +3 -0
- data/yaml/yaml/core/js/yaml-focusfix.js +70 -0
- data/yaml/yaml/forms/gray-theme.css +676 -0
- data/yaml/yaml/navigation/hlist.css +109 -0
- data/yaml/yaml/navigation/vlist.css +144 -0
- data/yaml/yaml/print/print.css +42 -0
- data/yaml/yaml/screen/grid-960gs-12.css +164 -0
- data/yaml/yaml/screen/grid-960gs-16.css +212 -0
- data/yaml/yaml/screen/grid-blueprint.css +308 -0
- data/yaml/yaml/screen/grid-fluid-12col.css +164 -0
- data/yaml/yaml/screen/screen-FULLPAGE-layout.css +184 -0
- data/yaml/yaml/screen/screen-PAGE-layout.css +196 -0
- data/yaml/yaml/screen/typography.css +486 -0
- data/yamlcss.gemspec +30 -0
- 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
|
+
}
|