cyaml 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/README.mkdn +15 -0
  2. data/lib/cyaml.rb +1 -0
  3. data/stylesheets/_cyaml.scss +5 -0
  4. data/stylesheets/cyaml/core/base.sass +284 -0
  5. data/stylesheets/cyaml/core/iehacks.sass +309 -0
  6. data/stylesheets/cyaml/core/js/yaml-focusfix.js +63 -0
  7. data/stylesheets/cyaml/core/slim_base.sass +0 -0
  8. data/stylesheets/cyaml/core/slim_iehacks.sass +112 -0
  9. data/stylesheets/cyaml/mypart/_fonts.scss +53 -0
  10. data/stylesheets/cyaml/mypart/_handheld.scss +8 -0
  11. data/stylesheets/cyaml/mypart/_helpers.scss +60 -0
  12. data/stylesheets/cyaml/mypart/_media.scss +66 -0
  13. data/stylesheets/cyaml/mypart/_reset.scss +66 -0
  14. data/stylesheets/cyaml/mypart/_styles.scss +110 -0
  15. data/stylesheets/cyaml/navigation/nav_shinybuttons.sass +89 -0
  16. data/stylesheets/cyaml/navigation/nav_slidingdoor.sass +104 -0
  17. data/stylesheets/cyaml/navigation/nav_vlist.sass +121 -0
  18. data/stylesheets/cyaml/patches/patch_layout_draft.sass +27 -0
  19. data/stylesheets/cyaml/patches/patch_nav_vlist.sass +58 -0
  20. data/stylesheets/cyaml/print/print_003.sass +64 -0
  21. data/stylesheets/cyaml/print/print_020_draft.sass +67 -0
  22. data/stylesheets/cyaml/print/print_023_draft.sass +83 -0
  23. data/stylesheets/cyaml/print/print_100_draft.sass +65 -0
  24. data/stylesheets/cyaml/print/print_103_draft.sass +83 -0
  25. data/stylesheets/cyaml/print/print_120_draft.sass +78 -0
  26. data/stylesheets/cyaml/print/print_123_draft.sass +82 -0
  27. data/stylesheets/cyaml/print/print_draft.sass +50 -0
  28. data/stylesheets/cyaml/screen/content.sass +284 -0
  29. data/stylesheets/cyaml/screen/forms.sass +297 -0
  30. data/templates/project/application.html.haml +51 -0
  31. data/templates/project/basemod.scss +103 -0
  32. data/templates/project/citrin.html.haml +51 -0
  33. data/templates/project/images/button_gray.png +0 -0
  34. data/templates/project/images/button_red.png +0 -0
  35. data/templates/project/images/button_yellow.png +0 -0
  36. data/templates/project/images/shiny_buttons/background.png +0 -0
  37. data/templates/project/images/shiny_buttons/background_active.png +0 -0
  38. data/templates/project/images/sliding_door/round/bg.gif +0 -0
  39. data/templates/project/images/sliding_door/round/left.png +0 -0
  40. data/templates/project/images/sliding_door/round/left_on.png +0 -0
  41. data/templates/project/images/sliding_door/round/right.png +0 -0
  42. data/templates/project/images/sliding_door/round/right_on.png +0 -0
  43. data/templates/project/images/vlist/square/node.gif +0 -0
  44. data/templates/project/images/vlist/square/node_minus.gif +0 -0
  45. data/templates/project/images/vlist/square/node_plus.gif +0 -0
  46. data/templates/project/images/vlist/square/subnode.gif +0 -0
  47. data/templates/project/images/vlist/square/subnode_minus.gif +0 -0
  48. data/templates/project/images/vlist/square/subnode_plus.gif +0 -0
  49. data/templates/project/index.html.haml +49 -0
  50. data/templates/project/javascripts/ftod.js +50 -0
  51. data/templates/project/javascripts/lib/jquery-1.3.2.js +4376 -0
  52. data/templates/project/javascripts/lib/jquery-1.3.2.min.js +19 -0
  53. data/templates/project/javascripts/minmax.js +144 -0
  54. data/templates/project/manifest.rb +48 -0
  55. data/templates/project/patch_my_layout.scss +45 -0
  56. data/templates/project/project.scss +0 -0
  57. metadata +130 -0
@@ -0,0 +1,63 @@
1
+ /**
2
+ * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
3
+ *
4
+ * (en) Workaround for Webkit browsers to fix focus problems when using skiplinks
5
+ * (de) Workaround für Webkit browsers, 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
+ *
10
+ * @copyright Copyright 2005-2010, Dirk Jesse
11
+ * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
12
+ * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
13
+ * @link http://www.yaml.de
14
+ * @package yaml
15
+ * @version 3.2.1
16
+ * @revision $Revision: 443 $
17
+ * @lastmodified $Date: 2009-12-31 18:05:05 +0100 (Do, 31. Dez 2009) $
18
+ */
19
+
20
+ var YAML_focusFix = {
21
+ init: function() {
22
+
23
+ var userAgent = navigator.userAgent.toLowerCase();
24
+ var is_webkit = userAgent.indexOf('webkit') > -1;
25
+ var is_ie = userAgent.indexOf('msie') > -1;
26
+ var i = 0;
27
+ var links, skiplinks = [];
28
+
29
+ if (is_webkit || is_ie)
30
+ {
31
+ // find skiplinks in modern browsers ...
32
+ if ( document.getElementsByClassName !== undefined) {
33
+ skiplinks = document.getElementsByClassName('skip');
34
+
35
+ for (i=0; i<skiplinks.length; i++) {
36
+ this.setTabIndex(skiplinks[i]);
37
+ }
38
+ } else {
39
+ // find skiplinks in older browsers ...
40
+ links = document.getElementsByTagName('a');
41
+ for (i=0; i<links.length; i++) {
42
+ var s = links[i].getAttribute('href');
43
+ if (s.length > 1 && s.substr(0, 1) == '#' ) {
44
+ this.setTabIndex(links[i]);
45
+ }
46
+ }
47
+ }
48
+ }
49
+ },
50
+
51
+ setTabIndex: function( skiplink ){
52
+ var target = skiplink.href.substr(skiplink.href.indexOf('#')+1);
53
+ var targetElement = document.getElementById(target);
54
+
55
+ if (targetElement !== null) {
56
+ // make element accessible for .focus() method
57
+ targetElement.setAttribute("tabindex", "-1");
58
+ skiplink.setAttribute("onclick", "document.getElementById('"+target+"').focus();");
59
+ }
60
+ }
61
+ };
62
+
63
+ YAML_focusFix.init();
File without changes
@@ -0,0 +1,112 @@
1
+ @charset "UTF-8"
2
+
3
+ /* "Yet Another Multicolumn Layout" v3.2.1 (c) by Dirk Jesse (http://www.yaml.de)
4
+ ** $Revision: 443 $ $Date: 2009-12-31 18:05:05 +0100 (Do, 31. Dez 2009) $
5
+ @media all
6
+ body
7
+ o\verflow: visible
8
+ * html
9
+ textarea
10
+ overflow: scroll
11
+ overflow-x: hidden
12
+ input
13
+ overflow: hidden
14
+ body, #main
15
+ position: relative
16
+ * html body
17
+ position: static
18
+ .clearfix
19
+ height: 1%
20
+ .floatbox
21
+ width: 100%
22
+ .slidebox
23
+ position: relative
24
+ margin-right: -1000px
25
+ height: 1%
26
+ * html
27
+ #col1, #col2, #col3
28
+ position: relative
29
+ body
30
+ height: 1
31
+ .page_margins, .page, #header, #nav, #main, #footer
32
+ zoom: 1
33
+ * html
34
+ .page_margins, .page
35
+ height: 1%
36
+ hei\ght: auto
37
+ #header, #nav, #main, #footer
38
+ width: 100%
39
+ wid\th: auto
40
+ .subc, .subcl, .subcr
41
+ height: 1%
42
+ * html
43
+ ul, ol, dl
44
+ position: relative
45
+ body ol li
46
+ display: list-item
47
+ fieldset, legend
48
+ position: relative
49
+ html #ie_clearing
50
+ position: static
51
+ display: block
52
+ \clear: both
53
+ width: 100%
54
+ font-size: 0px
55
+ margin: -2px 0 -1em 1px
56
+ * html #ie_clearing
57
+ margin: -2px 0 -1em 0
58
+ #col3_content
59
+ margin-bottom: -2px
60
+ html
61
+ margin-right: 1px
62
+ * html
63
+ margin-right: 0
64
+ #col3
65
+ position: relative
66
+ * html body a
67
+ background-color: transparent
68
+ &:hover
69
+ background-color: transparent
70
+
71
+
72
+ @media screen,projection
73
+ #col1, #col2, .c20l, .c25l, .c33l, .c38l, .c40l, .c50l, .c60l, .c62l, .c66l, .c75l, .c80l, .c20r, .c25r, .c33r, .c38r, .c40r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r
74
+ display: inline
75
+ * html .equalize
76
+ overflow: visible
77
+ display: block
78
+ .subcolumns
79
+ overflow: visible
80
+ display: block
81
+ .equalize
82
+ overflow: hidden
83
+ display: block
84
+ .subcolumns
85
+ overflow: hidden
86
+ display: block
87
+ .c20l, .c40l, .c60l, .c80l, .c25l, .c33l, .c38l, .c50l, .c62l, .c66l, .c75l
88
+ float: left
89
+ display: inline
90
+ padding-bottom: 32767px
91
+ margin-bottom: -32767px
92
+ .c20r, .c40r, .c60r, .c80r, .c25r, .c33r, .c38r, .c50r, .c62r, .c66r, .c75r
93
+ float: right
94
+ margin-left: -5px
95
+ display: inline
96
+ padding-bottom: 32767px
97
+ margin-bottom: -32767px
98
+ .no-ie-padding
99
+ .c20l, .c40l, .c60l, .c80l, .c20r, .c40r, .c60r, .c80r, .c25l, .c33l, .c38l, .c50l, .c62l, .c66l, .c75l, .c25r, .c33r, .c38r, .c50r, .c62r, .c66r, .c75r
100
+ padding-bottom: 0
101
+ margin-bottom: 0
102
+ * html
103
+ #col1_content, #col2_content, #col3_content
104
+ word-wrap: break-word
105
+ .subc, .subcl, .subcr
106
+ word-wrap: break-word
107
+ o\verflow: hidden
108
+
109
+
110
+ @media print
111
+ #col3
112
+ height: 1%
@@ -0,0 +1,53 @@
1
+ $base-font-family: unquote("sans-serif") !default;
2
+ $base-font-size: 13px !default;
3
+ $base-line-height: 1.231 !default;
4
+
5
+ //
6
+ // fonts.css from the YUI Library: developer.yahoo.com/yui/fonts
7
+ //
8
+ // There are two custom edits:
9
+ // * remove arial, helvetica from explicit font stack
10
+ // * we normalize monospace styles ourselves
11
+ //
12
+ // Whatever parts of this port of YUI to Sass that are copyrightable, are Copyright (c) 2008, Christopher Eppstein. All Rights Reserved.
13
+ //
14
+
15
+ @mixin cyaml-fonts($family: $base-font-family, $size: $base-font-size, $line-height: $base-line-height) {
16
+ body {
17
+ font-size: $size;
18
+ font-family: $family;
19
+ line-height: $line-height; // hack retained to preserve specificity
20
+ *font-size: small;
21
+ }
22
+
23
+ table { font-size: inherit; font: 100%; }
24
+
25
+ select, input, textarea, button { font: 99% $family; }
26
+
27
+ // normalize monospace sizing
28
+ // meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
29
+ // en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
30
+ pre, code, kbd, samp { font-family: monospace, sans-serif; }
31
+ }
32
+
33
+ // maxvoltar.com/archive/-webkit-font-smoothing
34
+ @mixin font-smoothing {
35
+ -webkit-font-smoothing: antialiased;
36
+ }
37
+
38
+ // Sets the font size specified in pixels using percents so that the base
39
+ // font size changes and 1em has the correct value. When nesting font size
40
+ // declarations, within the DOM tree, the base_font_size must be the parent's
41
+ // effective font-size in pixels.
42
+ // Usage Examples:
43
+ // .big
44
+ // +font-size(16px)
45
+ // .bigger
46
+ // +font-size(18px)
47
+ // .big .bigger
48
+ // +font-size(18px, 16px)
49
+ //
50
+ // For more information see the table found at http://developer.yahoo.com/yui/3/cssfonts/#fontsize
51
+ @mixin font-size($size, $base-font-size: $base-font-size) {
52
+ font-size: percentage($size / $base-font-size);
53
+ }
@@ -0,0 +1,8 @@
1
+ * {
2
+ float: none; // Screens are not big enough to account for floats
3
+ background: #fff; // As much contrast as possible */
4
+ color: #000;
5
+ }
6
+
7
+ // Slightly reducing font size to reduce need to scroll
8
+ body { font-size: 80%; }
@@ -0,0 +1,60 @@
1
+ @import "compass/utilities/text/replacement";
2
+ @import "compass/utilities/general/clearfix";
3
+
4
+ //
5
+ // Non-semantic helper classes
6
+ // It's better to include these mixins in your own styles
7
+ //
8
+
9
+ @mixin cyaml-helpers {
10
+ .ir { @include image-replacement; }
11
+
12
+ .hidden { @include hidden; }
13
+
14
+ .visuallyhidden { @include visually-hidden; }
15
+
16
+ .clearfix { @include pie-clearfix; }
17
+ }
18
+
19
+ // Almost the same as compass replace-text
20
+ // but adding direction: ltr
21
+ @mixin image-replacement($img: none, $x: 50%, $y: 50%) {
22
+ @include hide-text;
23
+ direction: ltr;
24
+ background-repeat: no-repeat;
25
+ @if $img != none {
26
+ background-image: image-url($img);
27
+ background-position: $x $y;
28
+ }
29
+ }
30
+
31
+ @mixin sized-image-replacement($img, $x: 50%, $y: 50%) {
32
+ @include image-replacement($img, $x, $y);
33
+ width: image-width($img);
34
+ height: image-height($img);
35
+ }
36
+
37
+ // Hide for both screenreaders and browsers
38
+ // css-discuss.incutio.com/wiki/Screenreader_Visibility
39
+ @mixin hidden {
40
+ display:none;
41
+ visibility: hidden;
42
+ }
43
+
44
+ // Hide only visually, but have it available for screenreaders
45
+ // www.webaim.org/techniques/css/invisiblecontent/
46
+ // Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal!
47
+ @mixin visually-hidden {
48
+ position: absolute !important;
49
+ clip: rect(1px 1px 1px 1px); // IE6, IE7
50
+ clip: rect(1px, 1px, 1px, 1px);
51
+ }
52
+
53
+ // Hide visually and from screenreaders, but maintain layout
54
+ @mixin invisible { visibility: hidden; }
55
+
56
+ // The Magnificent CLEARFIX
57
+ @mixin magnificent-clearfix {
58
+ @warn "The 'magnificent-clearfix' mixin has been deprecated. Use 'pie-clearfix' in compass core instead.";
59
+ @include pie-clearfix;
60
+ }
@@ -0,0 +1,66 @@
1
+ @mixin cyaml-media {
2
+ @media print {
3
+ @include media-print;
4
+ }
5
+
6
+ @media all and (orientation:portrait) {
7
+ @include media-orientation-portrait;
8
+ }
9
+
10
+ @media all and (orientation:landscape) {
11
+ @include media-orientation-landscape;
12
+ }
13
+
14
+ @media screen and (max-device-width: 480px) {
15
+ @include media-mobile;
16
+ }
17
+ }
18
+
19
+ //
20
+ // print styles
21
+ // inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
22
+
23
+ @mixin media-print {
24
+ * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
25
+
26
+ a, a:visited { color: #444 !important; text-decoration: underline; }
27
+
28
+ a:after { content: " (" attr(href) ")"; }
29
+
30
+ abbr:after { content: " (" attr(title) ")"; }
31
+
32
+ .ir a:after { content: ""; } // Don't show links for images
33
+
34
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
35
+
36
+ img { page-break-inside: avoid; }
37
+
38
+ @page { margin: 0.5cm; }
39
+
40
+ p, h2, h3 { orphans: 3; widows: 3; }
41
+
42
+ h2, h3{ page-break-after: avoid; }
43
+ }
44
+
45
+
46
+ //
47
+ // Media queries for responsive design
48
+ //
49
+
50
+ @mixin media-orientation-portrait {
51
+ // Style adjustments for portrait mode goes here
52
+ }
53
+
54
+ @mixin media-orientation-landscape {
55
+ // Style adjustments for landscape mode goes here
56
+ }
57
+
58
+ // Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
59
+ // Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/
60
+ @mixin media-mobile($optimize: true) {
61
+ // j.mp/textsizeadjust
62
+ @if not $optimize {
63
+ // don't allow iOS and WinMobile to mobile-optimize text
64
+ html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
65
+ }
66
+ }
@@ -0,0 +1,66 @@
1
+ //
2
+ // style.css contains a reset, font normalization and some base styles.
3
+ //
4
+ // credit is left where credit is due.
5
+ // additionally, much inspiration was taken from these projects:
6
+ // yui.yahooapis.com/2.8.1/build/base/base.css
7
+ // camendesign.com/design/
8
+ // praegnanz.de/weblog/htmlcssjs-kickstart
9
+ //
10
+ // html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
11
+ // v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
12
+ // html5doctor.com/html-5-reset-stylesheet/
13
+ //
14
+
15
+ @mixin cyaml-reset {
16
+ html, body, div, span, object, iframe,
17
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
18
+ abbr, address, cite, code,
19
+ del, dfn, em, img, ins, kbd, q, samp,
20
+ small, strong, sub, sup, var,
21
+ b, i,
22
+ dl, dt, dd, ol, ul, li,
23
+ fieldset, form, label, legend,
24
+ table, caption, tbody, tfoot, thead, tr, th, td,
25
+ article, aside, canvas, details, figcaption, figure,
26
+ footer, header, hgroup, menu, nav, section, summary,
27
+ time, mark, audio, video {
28
+ margin:0;
29
+ padding:0;
30
+ border:0;
31
+ outline:0;
32
+ font-size:100%;
33
+ vertical-align:baseline;
34
+ background:transparent;
35
+ }
36
+
37
+ article, aside, details, figcaption, figure,
38
+ footer, header, hgroup, menu, nav, section {
39
+ display:block;
40
+ }
41
+
42
+ nav ul { list-style:none; }
43
+
44
+ blockquote, q { quotes:none; }
45
+
46
+ blockquote:before, blockquote:after,
47
+ q:before, q:after { content:''; content:none; }
48
+
49
+ a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }
50
+
51
+ ins { background-color: #ff9; color: #000; text-decoration:none; }
52
+
53
+ mark { background-color: #ff9; color: #000; font-style:italic; font-weight:bold; }
54
+
55
+ del { text-decoration: line-through; }
56
+
57
+ abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
58
+
59
+ //
60
+ // tables still need cellspacing="0" in the markup
61
+ table { border-collapse:collapse; border-spacing:0; }
62
+
63
+ hr { display: block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
64
+
65
+ input, select { vertical-align:middle; }
66
+ }
@@ -0,0 +1,110 @@
1
+ $font-color: #444 !default; //looks better than black: twitter.com/H_FJ/statuses/11800719859
2
+ $link-color: #607890 !default;
3
+ $link-hover-color: #036 !default;
4
+ $link-active-color: #607890 !default;
5
+ $link-visited-color: #607890 !default;
6
+ $selected-font-color: #fff !default;
7
+ $selected-background-color: #ff5e99 !default;
8
+ $list-left-margin: 1.8em !default;
9
+
10
+ //
11
+ // Minimal base styles
12
+ //
13
+
14
+ @mixin cyaml-styles {
15
+ body, select, input, textarea { color: $font-color; }
16
+
17
+ html { @include force-scrollbar; }
18
+
19
+ a, a:active, a:visited { color: $link-color; }
20
+ a:hover { color: $link-hover-color; }
21
+
22
+ ul, ol { margin-left: $list-left-margin; }
23
+ ol { list-style-type: decimal; }
24
+
25
+ td, td img { vertical-align: top; }
26
+
27
+ sub { @include sub; }
28
+
29
+ sup { @include sup; }
30
+
31
+ @include accessible-focus;
32
+
33
+ @include quoted-pre;
34
+
35
+ @include align-input-labels;
36
+
37
+ @include hand-cursor-inputs;
38
+
39
+ @include selected-text;
40
+
41
+ @include webkit-tap-highlight;
42
+
43
+ @include ie-hacks;
44
+ }
45
+
46
+ @mixin sub{
47
+ vertical-align: sub; font-size: smaller;
48
+ }
49
+
50
+ @mixin sup{
51
+ vertical-align: super; font-size: smaller;
52
+ }
53
+
54
+ // Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test
55
+ @mixin accessible-focus {
56
+ a:hover, a:active { outline: none; }
57
+ }
58
+
59
+ // www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/
60
+ @mixin quoted-pre {
61
+ pre {
62
+ padding: 15px;
63
+ white-space: pre; // CSS2
64
+ white-space: pre-wrap; // CSS 2.1
65
+ white-space: pre-line; // CSS 3 (and 2.1 as well, actually)
66
+ word-wrap: break-word; // IE
67
+ }
68
+ }
69
+
70
+ // align checkboxes, radios, text inputs with their label
71
+ // by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css
72
+ @mixin align-input-labels {
73
+ input[type="radio"] { vertical-align: text-bottom; }
74
+ input[type="checkbox"] { vertical-align: bottom; }
75
+ .ie7 input[type="checkbox"] { vertical-align: baseline; }
76
+ .ie6 input { vertical-align: text-bottom; }
77
+ }
78
+
79
+ // hand cursor on clickable input elements
80
+ @mixin hand-cursor-inputs {
81
+ label, input[type=button], input[type=submit], button { cursor: pointer; }
82
+ }
83
+
84
+ // These selection declarations have to be separate.
85
+ // No text-shadow: twitter.com/miketaylr/status/12228805301
86
+ // Also: hot pink.
87
+ @mixin selected-text {
88
+ ::-moz-selection{ background:$selected-background-color; color: $selected-font-color; text-shadow: none; }
89
+ ::selection { background: $selected-background-color; color: $selected-font-color; text-shadow: none; }
90
+ }
91
+
92
+ // j.mp/webkit-tap-highlight-color
93
+ @mixin webkit-tap-highlight {
94
+ a:link { -webkit-tap-highlight-color: $selected-background-color; }
95
+ }
96
+
97
+ // always force a scrollbar in non-IE
98
+ @mixin force-scrollbar {
99
+ overflow-y: scroll;
100
+ }
101
+
102
+ @mixin ie-hacks {
103
+ // make buttons play nice in IE:
104
+ // www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
105
+ button { width: auto; overflow: visible; }
106
+
107
+ // bicubic resizing for non-native sized IMG:
108
+ // code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
109
+ .ie7 img { -ms-interpolation-mode: bicubic; }
110
+ }