ellipsis-compass 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +15 -0
  2. data/lib/ellipsis-compass.rb +4 -0
  3. data/stylesheets/animation/_animate.scss +1206 -0
  4. data/stylesheets/animation/_animation.scss +121 -0
  5. data/stylesheets/animation/_animations.scss +771 -0
  6. data/stylesheets/animation/_transit.scss +425 -0
  7. data/stylesheets/animation/_transitions.scss +320 -0
  8. data/stylesheets/base/_breakpoints.scss +64 -0
  9. data/stylesheets/base/_document.scss +219 -0
  10. data/stylesheets/base/_global.scss +88 -0
  11. data/stylesheets/base/_normalize.scss +406 -0
  12. data/stylesheets/component/_component.scss +939 -0
  13. data/stylesheets/component/_ui.scss +955 -0
  14. data/stylesheets/flexbox/_flexbox.scss +305 -0
  15. data/stylesheets/font/_icons.scss +1492 -0
  16. data/stylesheets/font/_ubuntu.scss +38 -0
  17. data/stylesheets/form/_form.scss +836 -0
  18. data/stylesheets/grid/_grid.scss +312 -0
  19. data/stylesheets/helpers/_all.scss +8 -0
  20. data/stylesheets/helpers/_component.scss +177 -0
  21. data/stylesheets/helpers/_convenience.scss +277 -0
  22. data/stylesheets/helpers/_functions.scss +427 -0
  23. data/stylesheets/helpers/_grid.scss +39 -0
  24. data/stylesheets/helpers/_hardware-acceleration.scss +22 -0
  25. data/stylesheets/helpers/_mixins.scss +207 -0
  26. data/stylesheets/helpers/_touch.scss +107 -0
  27. data/stylesheets/helpers/_visibility.scss +138 -0
  28. data/stylesheets/image/_images.scss +19 -0
  29. data/stylesheets/imports/elements/_autosearch.scss +11 -0
  30. data/stylesheets/imports/elements/_badge.scss +23 -0
  31. data/stylesheets/imports/elements/_barchart.scss +254 -0
  32. data/stylesheets/imports/elements/_form.scss +8 -0
  33. data/stylesheets/imports/elements/_loginform.scss +6 -0
  34. data/stylesheets/imports/elements/_modellist.scss +14 -0
  35. data/stylesheets/imports/elements/_pluralize.scss +8 -0
  36. data/stylesheets/imports/elements/_signupform.scss +6 -0
  37. data/stylesheets/imports/elements/_slidenotification.scss +65 -0
  38. data/stylesheets/imports/elements/_stickyreveal.scss +44 -0
  39. data/stylesheets/imports/elements/_template.scss +7 -0
  40. data/stylesheets/imports/elements/_veneer.scss +36 -0
  41. data/stylesheets/shared/_shared.scss +282 -0
  42. data/stylesheets/touch/ui/_drawer.scss +41 -0
  43. data/stylesheets/touch/ui/_dropdown.scss +58 -0
  44. data/stylesheets/touch/ui/_menu.scss +131 -0
  45. data/stylesheets/touch/ui/_navbar.scss +44 -0
  46. data/stylesheets/touch/ui/_toggle.scss +127 -0
  47. data/stylesheets/touch/ui/_topbar.scss +48 -0
  48. data/stylesheets/typography/_typography.scss +746 -0
  49. data/stylesheets/ui/_autocomplete.scss +117 -0
  50. data/stylesheets/ui/_badge.scss +73 -0
  51. data/stylesheets/ui/_box.scss +78 -0
  52. data/stylesheets/ui/_breadcrumb.scss +64 -0
  53. data/stylesheets/ui/_button.scss +395 -0
  54. data/stylesheets/ui/_carousel.scss +284 -0
  55. data/stylesheets/ui/_collapsible.scss +61 -0
  56. data/stylesheets/ui/_container.scss +297 -0
  57. data/stylesheets/ui/_datepicker.scss +218 -0
  58. data/stylesheets/ui/_drawer.scss +96 -0
  59. data/stylesheets/ui/_dropdown.scss +394 -0
  60. data/stylesheets/ui/_file.scss +147 -0
  61. data/stylesheets/ui/_gallery.scss +219 -0
  62. data/stylesheets/ui/_label.scss +167 -0
  63. data/stylesheets/ui/_loading.scss +70 -0
  64. data/stylesheets/ui/_mediaobject.scss +108 -0
  65. data/stylesheets/ui/_menu.scss +287 -0
  66. data/stylesheets/ui/_menutab.scss +175 -0
  67. data/stylesheets/ui/_modal.scss +47 -0
  68. data/stylesheets/ui/_navbar.scss +315 -0
  69. data/stylesheets/ui/_notification.scss +154 -0
  70. data/stylesheets/ui/_pagination.scss +137 -0
  71. data/stylesheets/ui/_parallax.scss +233 -0
  72. data/stylesheets/ui/_popover.scss +3 -0
  73. data/stylesheets/ui/_rating.scss +106 -0
  74. data/stylesheets/ui/_sidebar.scss +110 -0
  75. data/stylesheets/ui/_slidingpanel.scss +57 -0
  76. data/stylesheets/ui/_social.scss +213 -0
  77. data/stylesheets/ui/_sticky.scss +9 -0
  78. data/stylesheets/ui/_table.scss +423 -0
  79. data/stylesheets/ui/_tabs.scss +242 -0
  80. data/stylesheets/ui/_toggle.scss +49 -0
  81. data/stylesheets/ui/_tooltip.scss +57 -0
  82. data/stylesheets/ui/_topbar.scss +210 -0
  83. data/stylesheets/ui/_tree.scss +3 -0
  84. data/stylesheets/ui/_window.scss +205 -0
  85. metadata +140 -0
@@ -0,0 +1,64 @@
1
+ /* Screen Breakpoints -----------------------------------------------------------------------------------------------*/
2
+
3
+ $screen-tablet: 1024px !default;
4
+ $screen-tablet-portrait: 768px !default;
5
+ $screen-tablet-small: 660px !default;
6
+ $screen-smartphone: 480px !default;
7
+ $screen-smartphone-portrait: 320px !default;
8
+ $screen-desktop:$screen-tablet + 1;
9
+
10
+
11
+
12
+ /* Media Queries ----------------------------------------------------------------------------------------------------*/
13
+
14
+ //screen
15
+ $breakpoint-screen: "only screen" !default;
16
+
17
+ //smartphone
18
+ $breakpoint-phone: "only screen and (max-width: #{$screen-smartphone})" !default;
19
+
20
+ //smartphone-landscape
21
+ $breakpoint-phone-landscape: "only screen and (max-width: #{$screen-smartphone}) and (orientation:landscape)" !default;
22
+
23
+ //smartphone-portrait
24
+ $breakpoint-phone-portrait: "only screen and (max-width: #{$screen-smartphone-portrait}) and (orientation:portrait)" !default;
25
+
26
+ //tablet
27
+ $breakpoint-tablet: "only screen and (max-width: #{$screen-tablet}) and (min-width: #{$screen-smartphone})" !default;
28
+
29
+ //tablet-landscape
30
+ $breakpoint-tablet-landscape: "only screen and (max-width: #{$screen-tablet}) and (min-width: #{$screen-smartphone}) " !default;
31
+
32
+ //tablet-portrait
33
+ $breakpoint-tablet-portrait: "only screen and (max-width: #{$screen-tablet-portrait}) and (min-width: #{$screen-smartphone}) " !default;
34
+
35
+ //small tablet
36
+ $breakpoint-small-tablet: "only screen and (max-width: #{$screen-tablet-small}) and (min-width: #{$screen-smartphone})" !default;
37
+
38
+
39
+ //landscape
40
+ $breakpoint-landscape: "only screen and (orientation: landscape)" !default;
41
+
42
+ //portrait
43
+ $breakpoint-portrait: "only screen and (orientation: portrait)" !default;
44
+
45
+ //touch
46
+ $breakpoint-touch: "only screen and (max-width: #{$screen-tablet}) and (min-width: #{$screen-smartphone-portrait})" !default;
47
+
48
+ //touch landscape
49
+ $breakpoint-touch-landscape: "only screen and (max-width: #{$screen-tablet}) and (min-width: #{$screen-smartphone}) and (orientation:landscape)" !default;
50
+
51
+ //touch portrait
52
+ $breakpoint-touch-portrait: "only screen and (max-width: #{$screen-tablet}) and (min-width: #{$screen-smartphone-portrait}) and (orientation:portrait)" !default;
53
+
54
+ // desktop
55
+ $breakpoint-desktop: "only screen and (min-width: #{$screen-desktop})" !default;
56
+
57
+ // grid contain
58
+ $_grid-width:$grid-width;
59
+ $breakpoint-grid-contain: "only screen and (max-width:#{$_grid-width})" !default;
60
+
61
+ //grid breakpoints
62
+ $breakpoint-grid-tablet: "only screen and (min-width: #{$screen-tablet-small})" !default;
63
+ $breakpoint-grid-desktop: "only screen and (min-width: #{$screen-tablet})" !default;
64
+
@@ -0,0 +1,219 @@
1
+ /*-----Variables --------------------------------------------------------------------*/
2
+
3
+ $document-background: #fff !default;
4
+ $document-font-weight: normal !default;
5
+ $document-margin: 0 !default;
6
+ $document-padding: 0 !default;
7
+ $document-font-smoothing: antialiased !default;
8
+ $document-link-font-size: $global-font-size !default;
9
+ $document-link-text-decoration: none !default;
10
+ $document-link-line-height: inherit !default;
11
+ $document-link-text-decoration: none !default;
12
+ $document-link-text-transform:none !default;
13
+ $document-link-font-weight: normal !default;
14
+ $document-link-font-weight-hover: normal !default;
15
+ $document-link-text-decoration-hover: none !default;
16
+ $document-link-text-transform-hover: none !default;
17
+ $document-list-margin-text-direction: 1em !default;
18
+ $document-highlight-color:#c7254e !default;
19
+ $document-highlight-background:#eee !default;
20
+ $document-code-font-weight:normal !default;
21
+
22
+ /* Document Reset & Standards -------------------------------------------------------- */
23
+ @mixin document-reset() {
24
+
25
+ *, *:before, *:after {
26
+ @include box-sizing(border-box);
27
+ }
28
+
29
+ html {
30
+ font-size: $global-font-size;
31
+ }
32
+
33
+ body {
34
+ background-color: $document-background;
35
+ font-family: $global-font-family;
36
+ font-weight: $document-font-weight;
37
+ font-size: $global-font-size;
38
+ line-height: $global-line-height;
39
+ color: $global-font-color;
40
+ position: relative;
41
+ -webkit-font-smoothing: $document-font-smoothing;
42
+ margin: $document-margin;
43
+ padding: $document-padding;
44
+ }
45
+
46
+ /* Links ---------------------- */
47
+
48
+ a img {
49
+ border: none;
50
+ }
51
+
52
+ a {
53
+ color: $global-link-color;
54
+ text-decoration: $document-link-text-decoration;
55
+ line-height: $document-link-line-height;
56
+ font-size: $document-link-font-size;
57
+ font-weight: $document-link-font-weight;
58
+ text-transform:$document-link-text-transform;
59
+
60
+ &:hover, &:focus {
61
+ color: $global-link-color-hover;
62
+ text-decoration: $document-link-text-decoration-hover;
63
+ text-transform: $document-link-text-transform-hover;
64
+ font-weight: $document-link-font-weight-hover;
65
+ cursor: pointer;
66
+ }
67
+ &:focus{
68
+ @include tab-focus();
69
+ }
70
+ &.disabled,&[disabled]{
71
+ @extend %ui-disabled-component;
72
+ background:none !important;
73
+ }
74
+
75
+ }
76
+
77
+ p a, p a:visited {
78
+ line-height: inherit;
79
+ }
80
+
81
+ span{
82
+ &:focus,&.focus{
83
+ @include tab-focus();
84
+ }
85
+ }
86
+
87
+ /* lists */
88
+ ul, ol, dl {
89
+ line-height: $global-list-line-height;
90
+ list-style-position: $global-list-style-position;
91
+ &:focus{
92
+ @include tab-focus();
93
+ }
94
+ }
95
+
96
+ ul {
97
+ li {
98
+ ul, ol {
99
+ margin-left: $document-list-margin-text-direction;
100
+ margin-bottom: 0;
101
+ }
102
+ }
103
+ &.square, &.circle, &.disc {
104
+ margin-left: $document-list-margin-text-direction;
105
+ }
106
+ &.square {
107
+ list-style-type: square;
108
+ li ul {
109
+ list-style: inherit;
110
+ }
111
+ }
112
+ &.circle {
113
+ list-style-type: circle;
114
+ li ul {
115
+ list-style: inherit;
116
+ }
117
+ }
118
+ &.disc {
119
+ list-style-type: disc;
120
+ li ul {
121
+ list-style: inherit;
122
+ }
123
+ }
124
+ &.no-bullet {
125
+ list-style: none;
126
+ }
127
+ }
128
+
129
+ ol {
130
+ margin-left: $document-list-margin-text-direction;
131
+ li {
132
+ ul, ol {
133
+ margin-left: $document-list-margin-text-direction;
134
+ margin-bottom: 0;
135
+ }
136
+ }
137
+ }
138
+
139
+ /* images, objects */
140
+ img,
141
+ object,
142
+ embed {
143
+ max-width: 100%;
144
+ height: auto;
145
+ }
146
+
147
+ object,
148
+ embed {
149
+ height: 100%;
150
+ }
151
+
152
+ img {
153
+ -ms-interpolation-mode: bicubic;
154
+ }
155
+
156
+ #map_canvas,
157
+ .map_canvas {
158
+ img,
159
+ embed,
160
+ object {
161
+ max-width: none !important;
162
+ }
163
+ }
164
+
165
+ img {
166
+ display: inline-block;
167
+ vertical-align: middle;
168
+ }
169
+ code {
170
+ font-weight:$document-code-font-weight;
171
+ background: $document-highlight-background;
172
+ color:$document-highlight-color !important;
173
+ white-space: nowrap;
174
+ border-radius:3px;
175
+ &.white{
176
+ opacity:.8;
177
+ background:#fff;
178
+ }
179
+ &.transparent{
180
+ opacity:.8;
181
+ background:#fff;
182
+ color:inherit !important;
183
+ }
184
+ &.black{
185
+ opacity:.8;
186
+ background:#fff;
187
+ color:$black !important;
188
+ }
189
+ }
190
+
191
+ /* Forms ---------------------------------------- */
192
+ textarea {
193
+ height: auto;
194
+ min-height: 50px;
195
+ }
196
+
197
+ /* Misc -------------------------------------------- */
198
+
199
+
200
+ button {
201
+ line-height: $global-button-line-height;
202
+ &:focus {
203
+ @include tab-focus();
204
+ }
205
+ }
206
+
207
+ /* Reset for strange margins by default on <figure> elements */
208
+ figure {
209
+ margin: 0;
210
+ }
211
+
212
+ @media #{$breakpoint-touch}{
213
+ /* stop long touch from triggering dialog */
214
+ a {
215
+ -webkit-touch-callout: none !important;
216
+ }
217
+ }
218
+
219
+ }
@@ -0,0 +1,88 @@
1
+ $white:#fff !default;
2
+ $gray: #ccc !default;
3
+ $black:#000 !default;
4
+ $off-black: #222 !default;
5
+ $dark-gray: #333 !default;
6
+ $light-gray:#ddd !default;
7
+ $zero: 0 !important !default;
8
+
9
+ //core component colors
10
+ $default-color:null !default;
11
+ $primary-color:null !default;
12
+ $secondary-color:null !default;
13
+ $inverse-color:null !default;
14
+
15
+ //semantic colors
16
+ $error-color:null !default;
17
+ $info-color:null !default;
18
+ $warning-color:null !default;
19
+ $success-color:null !default;
20
+
21
+ $global-background:$white;
22
+ $global-font-family: 'ubunturegular' !default;
23
+ $global-font-size: 16px !default;
24
+ $global-font-size-small: 10px !default;
25
+ $global-font-size-large: 24px !default;
26
+ $global-font-color: #777 !default;
27
+ $global-header-font-color:$dark-gray !default;
28
+ $global-link-color:#888 !default;
29
+ $global-link-color-hover:darken($global-link-color, 15%) !default;
30
+
31
+ $global-radius:5px !default;
32
+ $global-z-index: 999 !default;
33
+ $global-outline:thin dotted $gray !default;
34
+ $global-touch-outline:thin solid transparent !default;
35
+ $global-line-height: 150% !default;
36
+ $global-button-line-height:1 !default;
37
+ $global-list-line-height: 1.25 !default;
38
+ $global-list-style-position: inside !default;
39
+ $global-inset: 0 1px 0 $white !default;
40
+ $global-outline:thin dotted $gray !default;
41
+ $global-touch-search-radius:2px !default;
42
+
43
+
44
+ $grid-width: 1160px !default;
45
+ $grid-column-gutter:30px !default;
46
+ $grid-columns: 12 !default;
47
+
48
+
49
+
50
+ //icons
51
+ $global-icon-font-family:ellipsis !default;
52
+ $global-icon-search:\e01a !default;
53
+ $global-icon-check:\e035 !default;
54
+ $global-icon-radio:\e158 !default;
55
+ $global-icon-dropdown:\e1a9 !default;
56
+ $global-icon-hide:\e1aa !default;
57
+ $global-icon-toggle:\e137 !default;
58
+ $global-icon-down-arrow:\e1b3 !default;
59
+ $global-icon-up-arrow:\e1b4 !default;
60
+ $global-icon-down-arrow-2:\e00e !default;
61
+ $global-icon-up-arrow-2:\e00c !default;
62
+ $global-icon-next:\e0f9 !default;
63
+ $global-icon-prev:\e0fa !default;
64
+ $global-icon-down:\e1a9 !default;
65
+ $global-icon-up:\e1aa !default;
66
+ $global-icon-dashboard:\e065 !default;
67
+ $global-icon-expand:\e08b !default;
68
+ $global-icon-contract:\e1b0 !default;
69
+ $global-icon-back:\e0f6 !default;
70
+ $global-icon-forward:\e037 !default;
71
+ $global-icon-facebook:\e14a !default;
72
+ $global-icon-facebook-2:\e14b !default;
73
+ $global-icon-pinterest:\e197 !default;
74
+ $global-icon-pinterest-2:\e193 !default;
75
+ $global-icon-twitter:\e14e !default;
76
+ $global-icon-twitter-2:\e047 !default;
77
+ $global-icon-flickr:\e15c !default;
78
+ $global-icon-flickr-2:\e16d !default;
79
+ $global-icon-google:\e145 !default;
80
+ $global-icon-google-2:\e147 !default;
81
+ $global-icon-github:\e160 !default;
82
+ $global-icon-github:\e16f !default;
83
+ $global-icon-remove:\e0db !default;
84
+ $global-icon-plus:\e095 !default;
85
+ $global-icon-minus:\e093 !default;
86
+
87
+
88
+
@@ -0,0 +1,406 @@
1
+ /*! normalize.css v2.1.2 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address `[hidden]` styling not present in IE 8/9.
48
+ * Hide the `template` element in IE, Safari, and Firefox < 22.
49
+ */
50
+
51
+ [hidden],
52
+ template {
53
+ display: none;
54
+ }
55
+
56
+ /* ==========================================================================
57
+ Base
58
+ ========================================================================== */
59
+
60
+ /**
61
+ * 1. Set default font family to sans-serif.
62
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
63
+ * user zoom.
64
+ */
65
+
66
+ html {
67
+ font-family: sans-serif; /* 1 */
68
+ -ms-text-size-adjust: 100%; /* 2 */
69
+ -webkit-text-size-adjust: 100%; /* 2 */
70
+ }
71
+
72
+ /**
73
+ * Remove default margin.
74
+ */
75
+
76
+ body {
77
+ margin: 0;
78
+ }
79
+
80
+ /* ==========================================================================
81
+ Links
82
+ ========================================================================== */
83
+
84
+ /**
85
+ * Remove the gray background color from active links in IE 10.
86
+ */
87
+
88
+ a {
89
+ background: transparent;
90
+ }
91
+
92
+ /**
93
+ * Address `outline` inconsistency between Chrome and other browsers.
94
+ */
95
+
96
+ a:focus {
97
+ outline: thin dotted;
98
+ }
99
+
100
+ /**
101
+ * Improve readability when focused and also mouse hovered in all browsers.
102
+ */
103
+
104
+ a:active,
105
+ a:hover {
106
+ outline: 0;
107
+ }
108
+
109
+ /* ==========================================================================
110
+ Typography
111
+ ========================================================================== */
112
+
113
+ /**
114
+ * Address variable `h1` font-size and margin within `section` and `article`
115
+ * contexts in Firefox 4+, Safari 5, and Chrome.
116
+ */
117
+
118
+ h1 {
119
+ font-size: 2em;
120
+ margin: 0.67em 0;
121
+ }
122
+
123
+ /**
124
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
125
+ */
126
+
127
+ abbr[title] {
128
+ border-bottom: 1px dotted;
129
+ }
130
+
131
+ /**
132
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
133
+ */
134
+
135
+ b,
136
+ strong {
137
+ font-weight: bold;
138
+ }
139
+
140
+ /**
141
+ * Address styling not present in Safari 5 and Chrome.
142
+ */
143
+
144
+ dfn {
145
+ font-style: italic;
146
+ }
147
+
148
+ /**
149
+ * Address differences between Firefox and other browsers.
150
+ */
151
+
152
+ hr {
153
+ -moz-box-sizing: content-box;
154
+ box-sizing: content-box;
155
+ height: 0;
156
+ }
157
+
158
+ /**
159
+ * Address styling not present in IE 8/9.
160
+ */
161
+
162
+ mark {
163
+ background: #ff0;
164
+ color: #000;
165
+ }
166
+
167
+ /**
168
+ * Correct font family set oddly in Safari 5 and Chrome.
169
+ */
170
+
171
+ code,
172
+ kbd,
173
+ pre,
174
+ samp {
175
+ font-family: monospace, serif;
176
+ font-size: 1em;
177
+ }
178
+
179
+ /**
180
+ * Improve readability of pre-formatted text in all browsers.
181
+ */
182
+
183
+ pre {
184
+ white-space: pre-wrap;
185
+ }
186
+
187
+ /**
188
+ * Set consistent quote types.
189
+ */
190
+
191
+ q {
192
+ quotes: "\201C" "\201D" "\2018" "\2019";
193
+ }
194
+
195
+ /**
196
+ * Address inconsistent and variable font size in all browsers.
197
+ */
198
+
199
+ small {
200
+ font-size: 80%;
201
+ }
202
+
203
+ /**
204
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
205
+ */
206
+
207
+ sub,
208
+ sup {
209
+ font-size: 75%;
210
+ line-height: 0;
211
+ position: relative;
212
+ vertical-align: baseline;
213
+ }
214
+
215
+ sup {
216
+ top: -0.5em;
217
+ }
218
+
219
+ sub {
220
+ bottom: -0.25em;
221
+ }
222
+
223
+ /* ==========================================================================
224
+ Embedded content
225
+ ========================================================================== */
226
+
227
+ /**
228
+ * Remove border when inside `a` element in IE 8/9.
229
+ */
230
+
231
+ img {
232
+ border: 0;
233
+ }
234
+
235
+ /**
236
+ * Correct overflow displayed oddly in IE 9.
237
+ */
238
+
239
+ svg:not(:root) {
240
+ overflow: hidden;
241
+ }
242
+
243
+ /* ==========================================================================
244
+ Figures
245
+ ========================================================================== */
246
+
247
+ /**
248
+ * Address margin not present in IE 8/9 and Safari 5.
249
+ */
250
+
251
+ figure {
252
+ margin: 0;
253
+ }
254
+
255
+ /* ==========================================================================
256
+ Forms
257
+ ========================================================================== */
258
+
259
+ /**
260
+ * Define consistent border, margin, and padding.
261
+ */
262
+
263
+ fieldset {
264
+ border: 1px solid #c0c0c0;
265
+ margin: 0 2px;
266
+ padding: 0.35em 0.625em 0.75em;
267
+ }
268
+
269
+ /**
270
+ * 1. Correct `color` not being inherited in IE 8/9.
271
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
272
+ */
273
+
274
+ legend {
275
+ border: 0; /* 1 */
276
+ padding: 0; /* 2 */
277
+ }
278
+
279
+ /**
280
+ * 1. Correct font family not being inherited in all browsers.
281
+ * 2. Correct font size not being inherited in all browsers.
282
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
283
+ */
284
+
285
+ button,
286
+ input,
287
+ select,
288
+ textarea {
289
+ font-family: inherit; /* 1 */
290
+ font-size: 100%; /* 2 */
291
+ margin: 0; /* 3 */
292
+ }
293
+
294
+ /**
295
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
296
+ * the UA stylesheet.
297
+ */
298
+
299
+ button,
300
+ input {
301
+ line-height: normal;
302
+ }
303
+
304
+ /**
305
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
306
+ * All other form control elements do not inherit `text-transform` values.
307
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
308
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
309
+ */
310
+
311
+ button,
312
+ select {
313
+ text-transform: none;
314
+ }
315
+
316
+ /**
317
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
318
+ * and `video` controls.
319
+ * 2. Correct inability to style clickable `input` types in iOS.
320
+ * 3. Improve usability and consistency of cursor style between image-type
321
+ * `input` and others.
322
+ */
323
+
324
+ button,
325
+ html input[type="button"], /* 1 */
326
+ input[type="reset"],
327
+ input[type="submit"] {
328
+ -webkit-appearance: button; /* 2 */
329
+ cursor: pointer; /* 3 */
330
+ }
331
+
332
+ /**
333
+ * Re-set default cursor for disabled elements.
334
+ */
335
+
336
+ button[disabled],
337
+ html input[disabled] {
338
+ cursor: default;
339
+ }
340
+
341
+ /**
342
+ * 1. Address box sizing set to `content-box` in IE 8/9.
343
+ * 2. Remove excess padding in IE 8/9.
344
+ */
345
+
346
+ input[type="checkbox"],
347
+ input[type="radio"] {
348
+ box-sizing: border-box; /* 1 */
349
+ padding: 0; /* 2 */
350
+ }
351
+
352
+ /**
353
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
354
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
355
+ * (include `-moz` to future-proof).
356
+ */
357
+
358
+ input[type="search"] {
359
+ -webkit-appearance: textfield; /* 1 */
360
+ -moz-box-sizing: content-box;
361
+ -webkit-box-sizing: content-box; /* 2 */
362
+ box-sizing: content-box;
363
+ }
364
+
365
+ /**
366
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
367
+ * on OS X.
368
+ */
369
+
370
+ input[type="search"]::-webkit-search-cancel-button,
371
+ input[type="search"]::-webkit-search-decoration {
372
+ -webkit-appearance: none;
373
+ }
374
+
375
+ /**
376
+ * Remove inner padding and border in Firefox 4+.
377
+ */
378
+
379
+ button::-moz-focus-inner,
380
+ input::-moz-focus-inner {
381
+ border: 0;
382
+ padding: 0;
383
+ }
384
+
385
+ /**
386
+ * 1. Remove default vertical scrollbar in IE 8/9.
387
+ * 2. Improve readability and alignment in all browsers.
388
+ */
389
+
390
+ textarea {
391
+ overflow: auto; /* 1 */
392
+ vertical-align: top; /* 2 */
393
+ }
394
+
395
+ /* ==========================================================================
396
+ Tables
397
+ ========================================================================== */
398
+
399
+ /**
400
+ * Remove most spacing between table cells.
401
+ */
402
+
403
+ table {
404
+ border-collapse: collapse;
405
+ border-spacing: 0;
406
+ }