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,3 @@
|
|
1
|
+
/*! yamlcss v4.1.2 (2013-07-28) */
|
2
|
+
|
3
|
+
@media all{body{o\verflow:visible}article,aside,details,figcaption,figure,footer,header,main,nav,section{zoom:1}audio,canvas,video{*display:inline;*zoom:1}img{-ms-interpolation-mode:bicubic;zoom:1}* html iframe,* html frame{overflow:auto}* html input,* html frameset{overflow:hidden}* html textarea{overflow:scroll;overflow-x:hidden}body,#main{position:relative}* html body{position:static}.ym-clearfix{zoom:1}* html .ym-col1,* html .ym-col2,* html .ym-col3{position:relative}body{height:1%}.ym-wrapper,.ym-wbox,#header,#nav,#main,#footer{zoom:1}* html .ym-wrapper,* html .ym-wbox{height:1%;hei\ght:auto}* html #header,* html #nav,* html #main,* html #footer{width:100%;wid\th:auto}.ym-gbox,.ym-gbox-left,.ym-gbox-right{height:1%}* html ul,* html ol,* html dl{position:relative}body ol li{display:list-item}* html .flexible{zoom:1}button,input{*overflow:visible!important}table button,table input{*overflow:auto}fieldset,legend{position:relative}.ym-form,.ym-form div,.ym-form div *{zoom:1}.ym-form input,.ym-form textarea{width:68%;padding-left:1%!important;padding-right:1%!important}.ym-form select{width:70%;padding-left:1%!important;padding-right:1%!important}.ym-form .ym-fbox-wrap{display:block;overflow:hidden;margin-right:-5px}.ym-fbox-wrap input,.ym-fbox-wrap textarea,.ym-full input,.ym-full textarea{width:98%;margin-right:-3px}.ym-fbox-wrap select,.ym-full select{width:100%;margin-right:-3px}* html .ym-form .ym-fbox-check input{display:inline!important;width:auto!important;background:transparent!important;border:0 none!important;padding:0!important}* html .ym-form .ym-fbox-wrap .ym-fbox-check input{margin-left:0}html .ym-ie-clearing{position:static;display:block;\clear:both;width:100%;line-height:0;font-size:0;margin:-2px 0 -1em 1px}* html .ym-ie-clearing{margin:-2px 0 -1em 0}.ym-cbox{margin-bottom:-2px}html{margin-right:1px}* html{margin-right:0}.ym-col3{position:relative}}@media screen,projection{.ym-col1,.ym-col2{display:inline}.ym-grid{overflow:hidden;display:block}* html .ym-grid{overflow:visible}.ym-gl,.ym-gr{display:inline}.ym-equalize .ym-gl{float:left;display:inline;padding-bottom:32767px;margin-bottom:-32767px}.ym-equalize .ym-gr{float:right;margin-left:-5px;display:inline;padding-bottom:32767px;margin-bottom:-32767px}.no-ie-padding .ym-gl,.no-ie-padding .ym-gr{padding-bottom:0;margin-bottom:0}* html .ym-cbox-left,* html .ym-cbox-right,* html .ym-cbox{word-wrap:break-word}* html .ym-gbox,* html .ym-gbox-left,* html .ym-gbox-right{word-wrap:break-word;o\verflow:hidden}}@media print{.ym-gbox,.ym-gbox-left,.ym-gbox-right,.ym-col3{height:1%}}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/**
|
2
|
+
* "Yet Another Multicolumn Layout" - YAML CSS Framework
|
3
|
+
*
|
4
|
+
* (en) Workaround for IE8 und Webkit browsers to fix focus problems when using skiplinks
|
5
|
+
* (de) Workaround für IE8 und Webkit browser, um den Focus zu korrigieren, bei Verwendung von Skiplinks
|
6
|
+
*
|
7
|
+
* @note inspired by Paul Ratcliffe's article
|
8
|
+
* http://www.communis.co.uk/blog/2009-06-02-skip-links-chrome-safari-and-added-wai-aria
|
9
|
+
* Many thanks to Mathias Schäfer (http://molily.de/) for his code improvements
|
10
|
+
*
|
11
|
+
* @copyright © 2005-2013, Dirk Jesse
|
12
|
+
* @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
13
|
+
* YAML-CDL (http://www.yaml.de/license.html)
|
14
|
+
* @link http://www.yaml.de
|
15
|
+
* @package yaml
|
16
|
+
* @version 4.0+
|
17
|
+
*/
|
18
|
+
|
19
|
+
(function () {
|
20
|
+
var YAML_focusFix = {
|
21
|
+
skipClass : 'ym-skip',
|
22
|
+
|
23
|
+
init : function () {
|
24
|
+
var userAgent = navigator.userAgent.toLowerCase();
|
25
|
+
var is_webkit = userAgent.indexOf('webkit') > -1;
|
26
|
+
var is_ie = userAgent.indexOf('msie') > -1;
|
27
|
+
|
28
|
+
if (is_webkit || is_ie) {
|
29
|
+
var body = document.body,
|
30
|
+
handler = YAML_focusFix.click;
|
31
|
+
if (body.addEventListener) {
|
32
|
+
body.addEventListener('click', handler, false);
|
33
|
+
} else if (body.attachEvent) {
|
34
|
+
body.attachEvent('onclick', handler);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
},
|
38
|
+
|
39
|
+
trim : function (str) {
|
40
|
+
return str.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
|
41
|
+
},
|
42
|
+
|
43
|
+
click : function (e) {
|
44
|
+
e = e || window.event;
|
45
|
+
var target = e.target || e.srcElement;
|
46
|
+
var a = target.className.split(' ');
|
47
|
+
|
48
|
+
for (var i=0; i < a.length; i++) {
|
49
|
+
var cls = YAML_focusFix.trim(a[i]);
|
50
|
+
if ( cls === YAML_focusFix.skipClass) {
|
51
|
+
YAML_focusFix.focus(target);
|
52
|
+
break;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
|
57
|
+
focus : function (link) {
|
58
|
+
if (link.href) {
|
59
|
+
var href = link.href,
|
60
|
+
id = href.substr(href.indexOf('#') + 1),
|
61
|
+
target = document.getElementById(id);
|
62
|
+
if (target) {
|
63
|
+
target.setAttribute("tabindex", "-1");
|
64
|
+
target.focus();
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
};
|
69
|
+
YAML_focusFix.init();
|
70
|
+
})();
|
@@ -0,0 +1,676 @@
|
|
1
|
+
/**
|
2
|
+
* "Yet Another Multicolumn Layout" - YAML CSS Framework
|
3
|
+
* YAML form theme: "gray-theme"
|
4
|
+
*
|
5
|
+
* @copyright © 2005-2013, Dirk Jesse
|
6
|
+
* @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
7
|
+
* YAML-CDL (http://www.yaml.de/license.html)
|
8
|
+
* @link http://www.yaml.de
|
9
|
+
* @package yaml
|
10
|
+
* @version 4.1.2
|
11
|
+
*/
|
12
|
+
@media screen {
|
13
|
+
.ym-form {
|
14
|
+
background: #f4f4f4;
|
15
|
+
border: 2px #fff solid;
|
16
|
+
margin: 0 0 1.5em 0;
|
17
|
+
-webkit-box-shadow: 0 0 4px #dddddd;
|
18
|
+
box-shadow: 0 0 4px #dddddd;
|
19
|
+
}
|
20
|
+
.ym-form fieldset {
|
21
|
+
position: static;
|
22
|
+
background: transparent;
|
23
|
+
margin: 0.75em 0 0.75em 0;
|
24
|
+
padding: 0 0.5em;
|
25
|
+
}
|
26
|
+
.ym-form legend {
|
27
|
+
background: transparent;
|
28
|
+
color: #000;
|
29
|
+
font-size: 1.2em;
|
30
|
+
line-height: 1.25em;
|
31
|
+
font-weight: bold;
|
32
|
+
padding: 0 0.5em;
|
33
|
+
}
|
34
|
+
.ym-form label,
|
35
|
+
.ym-form .ym-label {
|
36
|
+
color: #666;
|
37
|
+
line-height: 1.5;
|
38
|
+
padding-top: 0.25em;
|
39
|
+
}
|
40
|
+
.ym-form .ym-fbox {
|
41
|
+
padding: 0 1em;
|
42
|
+
margin: 1em 0 0.5em 0;
|
43
|
+
}
|
44
|
+
.ym-form .ym-fbox-footer {
|
45
|
+
background: #ececec;
|
46
|
+
border-top: 1px #e0e0e0 solid;
|
47
|
+
padding: 1.5em 1em;
|
48
|
+
margin: 0;
|
49
|
+
}
|
50
|
+
.ym-form .ym-fbox + .ym-fbox {
|
51
|
+
margin: 0.5em 0;
|
52
|
+
}
|
53
|
+
.ym-form .ym-fbox:last-child {
|
54
|
+
margin-bottom: 1em;
|
55
|
+
}
|
56
|
+
.ym-form .ym-fbox + .ym-fbox-footer {
|
57
|
+
margin: 1em 0 0 0;
|
58
|
+
}
|
59
|
+
.ym-form .ym-fbox :last-child,
|
60
|
+
.ym-form .ym-fbox-footer :last-child {
|
61
|
+
margin-bottom: 0;
|
62
|
+
}
|
63
|
+
.ym-form .ym-fbox-heading {
|
64
|
+
font-size: 1em;
|
65
|
+
font-size: 100%;
|
66
|
+
color: #000;
|
67
|
+
margin: 1em;
|
68
|
+
}
|
69
|
+
.ym-form .ym-fbox-check:focus + label {
|
70
|
+
color: #000;
|
71
|
+
}
|
72
|
+
.ym-form .ym-gbox-left {
|
73
|
+
padding: 0 4px 0 0;
|
74
|
+
}
|
75
|
+
.ym-form .ym-gbox-right {
|
76
|
+
padding: 0 0 0 4px;
|
77
|
+
}
|
78
|
+
.ym-form .ym-gbox {
|
79
|
+
padding: 0 2px 0 2px;
|
80
|
+
}
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @section styling form elements
|
84
|
+
*
|
85
|
+
*/
|
86
|
+
.ym-form input,
|
87
|
+
.ym-form textarea,
|
88
|
+
.ym-form select {
|
89
|
+
border: 1px solid #ddd;
|
90
|
+
line-height: 1em;
|
91
|
+
font-family: Arial, Helvetica, sans-serif;
|
92
|
+
-webkit-box-shadow: inset 0 0 4px #eeeeee;
|
93
|
+
box-shadow: inset 0 0 4px #eeeeee;
|
94
|
+
}
|
95
|
+
.ym-form input,
|
96
|
+
.ym-form textarea {
|
97
|
+
padding: 4px 0.3em;
|
98
|
+
}
|
99
|
+
.ym-form select {
|
100
|
+
padding: 3px 2px 3px 1px;
|
101
|
+
}
|
102
|
+
.ym-form input:focus,
|
103
|
+
.ym-form select:focus,
|
104
|
+
.ym-form textarea:focus,
|
105
|
+
.ym-form input:hover,
|
106
|
+
.ym-form select:hover,
|
107
|
+
.ym-form textarea:hover,
|
108
|
+
.ym-form input:active,
|
109
|
+
.ym-form select:active,
|
110
|
+
.ym-form textarea:active {
|
111
|
+
border: 1px #888 solid;
|
112
|
+
background: #fff;
|
113
|
+
}
|
114
|
+
.ym-form optgroup {
|
115
|
+
font-family: Arial, Helvetica, sans-serif;
|
116
|
+
font-style: normal;
|
117
|
+
font-weight: bold;
|
118
|
+
}
|
119
|
+
.ym-form .ym-fbox-check input,
|
120
|
+
.ym-form input[type="image"],
|
121
|
+
.ym-form input[type="radio"],
|
122
|
+
.ym-form input[type="checkbox"] {
|
123
|
+
border: 0 none !important;
|
124
|
+
background: transparent !important;
|
125
|
+
}
|
126
|
+
.ym-form .ym-message {
|
127
|
+
color: #666;
|
128
|
+
margin-bottom: 0.5em;
|
129
|
+
}
|
130
|
+
.ym-form .ym-required {
|
131
|
+
color: #800;
|
132
|
+
font-weight: bold;
|
133
|
+
}
|
134
|
+
.ym-form input:valid,
|
135
|
+
.ym-form textarea:valid {
|
136
|
+
background-color: #fff;
|
137
|
+
}
|
138
|
+
.ym-form input:invalid,
|
139
|
+
.ym-form textarea:invalid {
|
140
|
+
background-color: #fdd;
|
141
|
+
}
|
142
|
+
.ym-form .ym-error label {
|
143
|
+
color: #800;
|
144
|
+
font-weight: normal;
|
145
|
+
}
|
146
|
+
.ym-form .ym-error input,
|
147
|
+
.ym-form .ym-error select,
|
148
|
+
.ym-form .ym-error textarea {
|
149
|
+
border: 1px #800 solid;
|
150
|
+
}
|
151
|
+
.ym-form .ym-error input:hover,
|
152
|
+
.ym-form .ym-error input:focus,
|
153
|
+
.ym-form .ym-error select:hover,
|
154
|
+
.ym-form .ym-error select:focus,
|
155
|
+
.ym-form .ym-error textarea:hover,
|
156
|
+
.ym-form .ym-error textarea:focus {
|
157
|
+
border: 1px #800 solid !important;
|
158
|
+
}
|
159
|
+
.ym-form .ym-error .ym-message {
|
160
|
+
color: #800;
|
161
|
+
font-weight: bold;
|
162
|
+
margin-top: 0;
|
163
|
+
}
|
164
|
+
|
165
|
+
/**
|
166
|
+
* @section Buttons
|
167
|
+
* inspired from: Catalin Rosu (http://www.red-team-design.com/just-another-awesome-css3-buttons)
|
168
|
+
*/
|
169
|
+
.ym-button,
|
170
|
+
.ym-form button,
|
171
|
+
.ym-form input[type="button"],
|
172
|
+
.ym-form input[type="reset"],
|
173
|
+
.ym-form input[type="submit"] {
|
174
|
+
display: inline-block;
|
175
|
+
white-space: nowrap;
|
176
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
|
177
|
+
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
178
|
+
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
179
|
+
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
180
|
+
background-image: linear-gradient(to bottom, #eeeeee,#cccccc);
|
181
|
+
background-color: #eeeeee;
|
182
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC');
|
183
|
+
zoom: 1;
|
184
|
+
border: 1px solid #777;
|
185
|
+
border-radius: .2em;
|
186
|
+
-webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
187
|
+
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
188
|
+
color: #333 !important;
|
189
|
+
cursor: pointer;
|
190
|
+
font: normal 1em/2em Arial, Helvetica;
|
191
|
+
margin: 0 0.75em 0 0;
|
192
|
+
padding: 0 1.5em;
|
193
|
+
overflow: visible;
|
194
|
+
/* removes extra side spacing in IE */
|
195
|
+
text-decoration: none !important;
|
196
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
197
|
+
}
|
198
|
+
.ym-button:hover,
|
199
|
+
.ym-form button:hover,
|
200
|
+
.ym-form input[type="button"]:hover,
|
201
|
+
.ym-form input[type="reset"]:hover,
|
202
|
+
.ym-form input[type="submit"]:hover {
|
203
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #dddddd));
|
204
|
+
background-image: -webkit-linear-gradient(top, #fafafa, #dddddd);
|
205
|
+
background-image: -moz-linear-gradient(top, #fafafa, #dddddd);
|
206
|
+
background-image: -ms-linear-gradient(top, #fafafa, #dddddd);
|
207
|
+
background-image: linear-gradient(to bottom, #fafafa,#dddddd);
|
208
|
+
background-color: #fafafa;
|
209
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFFAFAFA', endColorstr='#FFDDDDDD');
|
210
|
+
zoom: 1;
|
211
|
+
}
|
212
|
+
.ym-button:active,
|
213
|
+
.ym-form button:active,
|
214
|
+
.ym-form input[type="button"]:active,
|
215
|
+
.ym-form input[type="reset"]:active,
|
216
|
+
.ym-form input[type="submit"]:active {
|
217
|
+
-webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
218
|
+
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
219
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cccccc), color-stop(100%, #bbbbbb));
|
220
|
+
background-image: -webkit-linear-gradient(top, #cccccc, #bbbbbb);
|
221
|
+
background-image: -moz-linear-gradient(top, #cccccc, #bbbbbb);
|
222
|
+
background-image: -ms-linear-gradient(top, #cccccc, #bbbbbb);
|
223
|
+
background-image: linear-gradient(to bottom, #cccccc,#bbbbbb);
|
224
|
+
background-color: #cccccc;
|
225
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFCCCCCC', endColorstr='#FFBBBBBB');
|
226
|
+
zoom: 1;
|
227
|
+
position: relative;
|
228
|
+
top: 1px;
|
229
|
+
}
|
230
|
+
.ym-button:focus,
|
231
|
+
.ym-form button:focus,
|
232
|
+
.ym-form input[type="button"]:focus,
|
233
|
+
.ym-form input[type="reset"]:focus,
|
234
|
+
.ym-form input[type="submit"]:focus {
|
235
|
+
outline: 0;
|
236
|
+
background: #fafafa;
|
237
|
+
}
|
238
|
+
|
239
|
+
/* Button size-scaling classes */
|
240
|
+
.ym-button {
|
241
|
+
/* 21px */
|
242
|
+
/* 18px */
|
243
|
+
/* 12px */
|
244
|
+
/* 10px */
|
245
|
+
}
|
246
|
+
.ym-button.ym-xlarge {
|
247
|
+
font-size: 1.5em;
|
248
|
+
}
|
249
|
+
.ym-button.ym-large {
|
250
|
+
font-size: 1.2857em;
|
251
|
+
}
|
252
|
+
.ym-button.ym-small {
|
253
|
+
font-size: 0.8571em;
|
254
|
+
}
|
255
|
+
.ym-button.ym-xsmall {
|
256
|
+
font-size: 0.7143em;
|
257
|
+
}
|
258
|
+
|
259
|
+
/* Button color scheme: primary */
|
260
|
+
.ym-button.ym-primary,
|
261
|
+
.ym-form button.ym-primary,
|
262
|
+
.ym-form input[type="button"].ym-primary,
|
263
|
+
.ym-form input[type="reset"].ym-primary,
|
264
|
+
.ym-form input[type="submit"].ym-primary {
|
265
|
+
-webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
266
|
+
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
267
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8888ee), color-stop(100%, #6666cc));
|
268
|
+
background-image: -webkit-linear-gradient(top, #8888ee, #6666cc);
|
269
|
+
background-image: -moz-linear-gradient(top, #8888ee, #6666cc);
|
270
|
+
background-image: -ms-linear-gradient(top, #8888ee, #6666cc);
|
271
|
+
background-image: linear-gradient(to bottom, #8888ee,#6666cc);
|
272
|
+
background-color: #8888ee;
|
273
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF8888EE', endColorstr='#FF6666CC');
|
274
|
+
zoom: 1;
|
275
|
+
border: 1px solid #007;
|
276
|
+
color: #fff !important;
|
277
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
|
278
|
+
}
|
279
|
+
.ym-button.ym-primary:hover,
|
280
|
+
.ym-form button.ym-primary:hover,
|
281
|
+
.ym-form input[type="button"].ym-primary:hover,
|
282
|
+
.ym-form input[type="reset"].ym-primary:hover,
|
283
|
+
.ym-form input[type="submit"].ym-primary:hover {
|
284
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8888ff), color-stop(100%, #6666dd));
|
285
|
+
background-image: -webkit-linear-gradient(top, #8888ff, #6666dd);
|
286
|
+
background-image: -moz-linear-gradient(top, #8888ff, #6666dd);
|
287
|
+
background-image: -ms-linear-gradient(top, #8888ff, #6666dd);
|
288
|
+
background-image: linear-gradient(to bottom, #8888ff,#6666dd);
|
289
|
+
background-color: #8888ff;
|
290
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF8888FF', endColorstr='#FF6666DD');
|
291
|
+
zoom: 1;
|
292
|
+
}
|
293
|
+
.ym-button.ym-primary:active,
|
294
|
+
.ym-form button.ym-primary:active,
|
295
|
+
.ym-form input[type="button"].ym-primary:active,
|
296
|
+
.ym-form input[type="reset"].ym-primary:active,
|
297
|
+
.ym-form input[type="submit"].ym-primary:active {
|
298
|
+
-webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
299
|
+
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
300
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8888cc), color-stop(100%, #6666aa));
|
301
|
+
background-image: -webkit-linear-gradient(top, #8888cc, #6666aa);
|
302
|
+
background-image: -moz-linear-gradient(top, #8888cc, #6666aa);
|
303
|
+
background-image: -ms-linear-gradient(top, #8888cc, #6666aa);
|
304
|
+
background-image: linear-gradient(to bottom, #8888cc,#6666aa);
|
305
|
+
background-color: #8888cc;
|
306
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF8888CC', endColorstr='#FF6666AA');
|
307
|
+
zoom: 1;
|
308
|
+
}
|
309
|
+
.ym-button.ym-primary:focus,
|
310
|
+
.ym-form button.ym-primary:focus,
|
311
|
+
.ym-form input[type="button"].ym-primary:focus,
|
312
|
+
.ym-form input[type="reset"].ym-primary:focus,
|
313
|
+
.ym-form input[type="submit"].ym-primary:focus {
|
314
|
+
outline: 0;
|
315
|
+
background: #88f;
|
316
|
+
}
|
317
|
+
|
318
|
+
/* Button color scheme: success */
|
319
|
+
.ym-button.ym-success,
|
320
|
+
.ym-form button.ym-success,
|
321
|
+
.ym-form input[type="button"].ym-success,
|
322
|
+
.ym-form input[type="reset"].ym-success,
|
323
|
+
.ym-form input[type="submit"].ym-success {
|
324
|
+
-webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
325
|
+
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
326
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #66bb66), color-stop(100%, #449944));
|
327
|
+
background-image: -webkit-linear-gradient(top, #66bb66, #449944);
|
328
|
+
background-image: -moz-linear-gradient(top, #66bb66, #449944);
|
329
|
+
background-image: -ms-linear-gradient(top, #66bb66, #449944);
|
330
|
+
background-image: linear-gradient(to bottom, #66bb66,#449944);
|
331
|
+
background-color: #66bb66;
|
332
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF66BB66', endColorstr='#FF449944');
|
333
|
+
zoom: 1;
|
334
|
+
border: 1px solid #070;
|
335
|
+
color: #fff !important;
|
336
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
|
337
|
+
}
|
338
|
+
.ym-button.ym-success:hover,
|
339
|
+
.ym-form button.ym-success:hover,
|
340
|
+
.ym-form input[type="button"].ym-success:hover,
|
341
|
+
.ym-form input[type="reset"].ym-success:hover,
|
342
|
+
.ym-form input[type="submit"].ym-success:hover {
|
343
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #66cc66), color-stop(100%, #55aa55));
|
344
|
+
background-image: -webkit-linear-gradient(top, #66cc66, #55aa55);
|
345
|
+
background-image: -moz-linear-gradient(top, #66cc66, #55aa55);
|
346
|
+
background-image: -ms-linear-gradient(top, #66cc66, #55aa55);
|
347
|
+
background-image: linear-gradient(to bottom, #66cc66,#55aa55);
|
348
|
+
background-color: #66cc66;
|
349
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF66CC66', endColorstr='#FF55AA55');
|
350
|
+
zoom: 1;
|
351
|
+
}
|
352
|
+
.ym-button.ym-success:active,
|
353
|
+
.ym-form button.ym-success:active,
|
354
|
+
.ym-form input[type="button"].ym-success:active,
|
355
|
+
.ym-form input[type="reset"].ym-success:active,
|
356
|
+
.ym-form input[type="submit"].ym-success:active {
|
357
|
+
-webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
358
|
+
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
359
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #66aa66), color-stop(100%, #448844));
|
360
|
+
background-image: -webkit-linear-gradient(top, #66aa66, #448844);
|
361
|
+
background-image: -moz-linear-gradient(top, #66aa66, #448844);
|
362
|
+
background-image: -ms-linear-gradient(top, #66aa66, #448844);
|
363
|
+
background-image: linear-gradient(to bottom, #66aa66,#448844);
|
364
|
+
background-color: #66aa66;
|
365
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FF66AA66', endColorstr='#FF448844');
|
366
|
+
zoom: 1;
|
367
|
+
}
|
368
|
+
.ym-button.ym-success:focus,
|
369
|
+
.ym-form button.ym-success:focus,
|
370
|
+
.ym-form input[type="button"].ym-success:focus,
|
371
|
+
.ym-form input[type="reset"].ym-success:focus,
|
372
|
+
.ym-form input[type="submit"].ym-success:focus {
|
373
|
+
outline: 0;
|
374
|
+
background: #6c6;
|
375
|
+
}
|
376
|
+
|
377
|
+
/* Button color scheme: warning */
|
378
|
+
.ym-button.ym-warning,
|
379
|
+
.ym-form button.ym-warning,
|
380
|
+
.ym-form input[type="button"].ym-warning,
|
381
|
+
.ym-form input[type="reset"].ym-warning,
|
382
|
+
.ym-form input[type="submit"].ym-warning {
|
383
|
+
-webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
384
|
+
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
385
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ddaa44), color-stop(100%, #bb7722));
|
386
|
+
background-image: -webkit-linear-gradient(top, #ddaa44, #bb7722);
|
387
|
+
background-image: -moz-linear-gradient(top, #ddaa44, #bb7722);
|
388
|
+
background-image: -ms-linear-gradient(top, #ddaa44, #bb7722);
|
389
|
+
background-image: linear-gradient(to bottom, #ddaa44,#bb7722);
|
390
|
+
background-color: #ddaa44;
|
391
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFDDAA44', endColorstr='#FFBB7722');
|
392
|
+
zoom: 1;
|
393
|
+
border: 1px solid #970;
|
394
|
+
color: #fff !important;
|
395
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
|
396
|
+
}
|
397
|
+
.ym-button.ym-warning:hover,
|
398
|
+
.ym-form button.ym-warning:hover,
|
399
|
+
.ym-form input[type="button"].ym-warning:hover,
|
400
|
+
.ym-form input[type="reset"].ym-warning:hover,
|
401
|
+
.ym-form input[type="submit"].ym-warning:hover {
|
402
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eebb55), color-stop(100%, #cc8833));
|
403
|
+
background-image: -webkit-linear-gradient(top, #eebb55, #cc8833);
|
404
|
+
background-image: -moz-linear-gradient(top, #eebb55, #cc8833);
|
405
|
+
background-image: -ms-linear-gradient(top, #eebb55, #cc8833);
|
406
|
+
background-image: linear-gradient(to bottom, #eebb55,#cc8833);
|
407
|
+
background-color: #eebb55;
|
408
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFEEBB55', endColorstr='#FFCC8833');
|
409
|
+
zoom: 1;
|
410
|
+
}
|
411
|
+
.ym-button.ym-warning:active,
|
412
|
+
.ym-form button.ym-warning:active,
|
413
|
+
.ym-form input[type="button"].ym-warning:active,
|
414
|
+
.ym-form input[type="reset"].ym-warning:active,
|
415
|
+
.ym-form input[type="submit"].ym-warning:active {
|
416
|
+
-webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
417
|
+
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
418
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cc9944), color-stop(100%, #aa6622));
|
419
|
+
background-image: -webkit-linear-gradient(top, #cc9944, #aa6622);
|
420
|
+
background-image: -moz-linear-gradient(top, #cc9944, #aa6622);
|
421
|
+
background-image: -ms-linear-gradient(top, #cc9944, #aa6622);
|
422
|
+
background-image: linear-gradient(to bottom, #cc9944,#aa6622);
|
423
|
+
background-color: #cc9944;
|
424
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFCC9944', endColorstr='#FFAA6622');
|
425
|
+
zoom: 1;
|
426
|
+
}
|
427
|
+
.ym-button.ym-warning:focus,
|
428
|
+
.ym-form button.ym-warning:focus,
|
429
|
+
.ym-form input[type="button"].ym-warning:focus,
|
430
|
+
.ym-form input[type="reset"].ym-warning:focus,
|
431
|
+
.ym-form input[type="submit"].ym-warning:focus {
|
432
|
+
outline: 0;
|
433
|
+
background: #da4;
|
434
|
+
}
|
435
|
+
|
436
|
+
/* Button color scheme: danger */
|
437
|
+
.ym-button.ym-danger,
|
438
|
+
.ym-form button.ym-danger,
|
439
|
+
.ym-form input[type="button"].ym-danger,
|
440
|
+
.ym-form input[type="reset"].ym-danger,
|
441
|
+
.ym-form input[type="submit"].ym-danger {
|
442
|
+
-webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
443
|
+
box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
|
444
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bb6666), color-stop(100%, #994444));
|
445
|
+
background-image: -webkit-linear-gradient(top, #bb6666, #994444);
|
446
|
+
background-image: -moz-linear-gradient(top, #bb6666, #994444);
|
447
|
+
background-image: -ms-linear-gradient(top, #bb6666, #994444);
|
448
|
+
background-image: linear-gradient(to bottom, #bb6666,#994444);
|
449
|
+
background-color: #bb6666;
|
450
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFBB6666', endColorstr='#FF994444');
|
451
|
+
zoom: 1;
|
452
|
+
border: 1px solid #700;
|
453
|
+
color: #fff !important;
|
454
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
|
455
|
+
}
|
456
|
+
.ym-button.ym-danger:hover,
|
457
|
+
.ym-form button.ym-danger:hover,
|
458
|
+
.ym-form input[type="button"].ym-danger:hover,
|
459
|
+
.ym-form input[type="reset"].ym-danger:hover,
|
460
|
+
.ym-form input[type="submit"].ym-danger:hover {
|
461
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cc6666), color-stop(100%, #aa5555));
|
462
|
+
background-image: -webkit-linear-gradient(top, #cc6666, #aa5555);
|
463
|
+
background-image: -moz-linear-gradient(top, #cc6666, #aa5555);
|
464
|
+
background-image: -ms-linear-gradient(top, #cc6666, #aa5555);
|
465
|
+
background-image: linear-gradient(to bottom, #cc6666,#aa5555);
|
466
|
+
background-color: #cc6666;
|
467
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFCC6666', endColorstr='#FFAA5555');
|
468
|
+
zoom: 1;
|
469
|
+
}
|
470
|
+
.ym-button.ym-danger:active,
|
471
|
+
.ym-form button.ym-danger:active,
|
472
|
+
.ym-form input[type="button"].ym-danger:active,
|
473
|
+
.ym-form input[type="reset"].ym-danger:active,
|
474
|
+
.ym-form input[type="submit"].ym-danger:active {
|
475
|
+
-webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
476
|
+
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.2);
|
477
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #aa5555), color-stop(100%, #884444));
|
478
|
+
background-image: -webkit-linear-gradient(top, #aa5555, #884444);
|
479
|
+
background-image: -moz-linear-gradient(top, #aa5555, #884444);
|
480
|
+
background-image: -ms-linear-gradient(top, #aa5555, #884444);
|
481
|
+
background-image: linear-gradient(to bottom, #aa5555,#884444);
|
482
|
+
background-color: #aa5555;
|
483
|
+
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#FFAA5555', endColorstr='#FF884444');
|
484
|
+
zoom: 1;
|
485
|
+
}
|
486
|
+
.ym-button.ym-danger:focus,
|
487
|
+
.ym-form button.ym-danger:focus,
|
488
|
+
.ym-form input[type="button"].ym-danger:focus,
|
489
|
+
.ym-form input[type="reset"].ym-danger:focus,
|
490
|
+
.ym-form input[type="submit"].ym-danger:focus {
|
491
|
+
outline: 0;
|
492
|
+
background: #c66;
|
493
|
+
}
|
494
|
+
|
495
|
+
/* pseudo elements don't work on input */
|
496
|
+
.ym-form button:before,
|
497
|
+
.ym-button:before {
|
498
|
+
background: #ccc;
|
499
|
+
background: rgba(0, 0, 0, 0.1);
|
500
|
+
float: left;
|
501
|
+
width: 1em;
|
502
|
+
text-align: center;
|
503
|
+
font-size: 1.5em;
|
504
|
+
margin: 0 1em 0 -1em;
|
505
|
+
padding: 0 .2em;
|
506
|
+
-webkit-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(255, 255, 255, 0.5);
|
507
|
+
box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(255, 255, 255, 0.5);
|
508
|
+
border-radius: .15em 0 0 .15em;
|
509
|
+
pointer-events: none;
|
510
|
+
}
|
511
|
+
|
512
|
+
.ym-add:before {
|
513
|
+
content: "\271A";
|
514
|
+
}
|
515
|
+
|
516
|
+
.ym-delete:before {
|
517
|
+
content: "\2718";
|
518
|
+
}
|
519
|
+
|
520
|
+
.ym-close:before {
|
521
|
+
content: "\2715";
|
522
|
+
}
|
523
|
+
|
524
|
+
.ym-edit:before {
|
525
|
+
content: "\270E";
|
526
|
+
}
|
527
|
+
|
528
|
+
.ym-email:before {
|
529
|
+
content: "\2709";
|
530
|
+
}
|
531
|
+
|
532
|
+
.ym-like:before {
|
533
|
+
content: "\2764";
|
534
|
+
}
|
535
|
+
|
536
|
+
.ym-next:before {
|
537
|
+
content: "\279C";
|
538
|
+
}
|
539
|
+
|
540
|
+
.ym-play:before {
|
541
|
+
content: "\25B6";
|
542
|
+
}
|
543
|
+
|
544
|
+
.ym-reply:before {
|
545
|
+
content: "\27A5";
|
546
|
+
}
|
547
|
+
|
548
|
+
.ym-save:before {
|
549
|
+
content: "\2714";
|
550
|
+
}
|
551
|
+
|
552
|
+
.ym-sign:before {
|
553
|
+
content: "\270D";
|
554
|
+
}
|
555
|
+
|
556
|
+
.ym-spark:before {
|
557
|
+
content: "\2737";
|
558
|
+
}
|
559
|
+
|
560
|
+
.ym-support:before {
|
561
|
+
content: "\2706";
|
562
|
+
}
|
563
|
+
|
564
|
+
.ym-star:before {
|
565
|
+
content: "\2605";
|
566
|
+
}
|
567
|
+
|
568
|
+
/* removes extra inner spacing in Firefox */
|
569
|
+
.ym-form button::-moz-focus-inner {
|
570
|
+
border: 0;
|
571
|
+
padding: 0;
|
572
|
+
}
|
573
|
+
|
574
|
+
/* If line-height can't be modified, then fix Firefox spacing with padding */
|
575
|
+
.ym-form input[type=button]::-moz-focus-inner,
|
576
|
+
.ym-form input[type=reset]::-moz-focus-inner,
|
577
|
+
.ym-form input[type=submit]::-moz-focus-inner {
|
578
|
+
padding: .4em;
|
579
|
+
}
|
580
|
+
|
581
|
+
/* The disabled styles */
|
582
|
+
.ym-form button[disabled],
|
583
|
+
.ym-form button[disabled]:hover,
|
584
|
+
.ym-form input[type=button][disabled],
|
585
|
+
.ym-form input[type=button][disabled]:hover,
|
586
|
+
.ym-form input[type=reset][disabled],
|
587
|
+
.ym-form input[type=reset][disabled]:hover,
|
588
|
+
.ym-form input[type=submit][disabled],
|
589
|
+
.ym-form input[type=submit][disabled]:hover,
|
590
|
+
.ym-button.ym-disabled,
|
591
|
+
.ym-button.ym-disabled:hover {
|
592
|
+
background: #eee;
|
593
|
+
color: #aaa !important;
|
594
|
+
border-color: #aaa;
|
595
|
+
cursor: default;
|
596
|
+
text-shadow: none;
|
597
|
+
position: static;
|
598
|
+
-webkit-box-shadow: none;
|
599
|
+
box-shadow: none;
|
600
|
+
}
|
601
|
+
|
602
|
+
/* ie6 support styles - redefined buttons, because of missing support for attribute selectors */
|
603
|
+
* html .ym-button,
|
604
|
+
* html .ym-form button {
|
605
|
+
display: inline-block;
|
606
|
+
white-space: nowrap;
|
607
|
+
background-color: #ccc;
|
608
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
|
609
|
+
border: 1px solid #777;
|
610
|
+
color: #333 !important;
|
611
|
+
cursor: pointer;
|
612
|
+
font: normal 1em/2em Arial, Helvetica;
|
613
|
+
margin: 1.5em 0.75em 0 0;
|
614
|
+
padding: 0 1.5em;
|
615
|
+
overflow: visible;
|
616
|
+
/* removes extra side spacing in IE */
|
617
|
+
text-decoration: none !important;
|
618
|
+
}
|
619
|
+
* html .ym-form button:focus,
|
620
|
+
* html .ym-button:focus {
|
621
|
+
outline: 0;
|
622
|
+
background: #fafafa;
|
623
|
+
}
|
624
|
+
* html .ym-form button:hover,
|
625
|
+
* html .ym-button:hover {
|
626
|
+
background-color: #ddd;
|
627
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');
|
628
|
+
}
|
629
|
+
* html .ym-form button:active,
|
630
|
+
* html .ym-button:active {
|
631
|
+
background-color: #bbb;
|
632
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#bbbbbb');
|
633
|
+
position: relative;
|
634
|
+
top: 1px;
|
635
|
+
}
|
636
|
+
* html .ym-button.ym-disabled,
|
637
|
+
* html .ym-button.ym-disabled:hover {
|
638
|
+
background: #eee;
|
639
|
+
color: #aaa !important;
|
640
|
+
border-color: #aaa;
|
641
|
+
cursor: default;
|
642
|
+
text-shadow: none;
|
643
|
+
position: static;
|
644
|
+
}
|
645
|
+
* html .ym-button {
|
646
|
+
/* Button size-scaling classes */
|
647
|
+
/* 21px */
|
648
|
+
/* 18px */
|
649
|
+
/* 12px */
|
650
|
+
/* 10px */
|
651
|
+
}
|
652
|
+
* html .ym-button.ym-primary {
|
653
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#8888ee', EndColorStr='#6666cc');
|
654
|
+
}
|
655
|
+
* html .ym-button.ym-success {
|
656
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#66bb66', EndColorStr='#449944');
|
657
|
+
}
|
658
|
+
* html .ym-button.ym-warning {
|
659
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ddaa44', EndColorStr='#BB7722');
|
660
|
+
}
|
661
|
+
* html .ym-button.ym-danger {
|
662
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#bb6666', EndColorStr='#994444');
|
663
|
+
}
|
664
|
+
* html .ym-button.ym-xlarge {
|
665
|
+
font-size: 1.5em;
|
666
|
+
}
|
667
|
+
* html .ym-button.ym-large {
|
668
|
+
font-size: 1.2857em;
|
669
|
+
}
|
670
|
+
* html .ym-button.ym-small {
|
671
|
+
font-size: 0.8571em;
|
672
|
+
}
|
673
|
+
* html .ym-button.ym-xsmall {
|
674
|
+
font-size: 0.7143em;
|
675
|
+
}
|
676
|
+
}
|