on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/on-standards-rails.rb +0 -3
- data/lib/on/standards/rails/version.rb +1 -1
- data/on-standards-rails.gemspec +1 -4
- data/vendor/assets/javascripts/on-standards.js +17552 -18
- data/vendor/assets/stylesheets/on-standards.scss +67 -0
- data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
- data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
- data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
- data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
- data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
- data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
- data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
- data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
- data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
- data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
- data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
- data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
- data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
- data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
- data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
- data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
- data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
- data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
- data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
- data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
- data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
- data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
- data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
- data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
- data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
- data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
- data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
- data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
- data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
- metadata +83 -58
- data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
- data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
- data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
- data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
- data/vendor/assets/stylesheets/on-overrides.sass +0 -0
- data/vendor/assets/stylesheets/on-standards.sass +0 -7
- data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
- data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
- data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
- data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
@@ -0,0 +1,67 @@
|
|
1
|
+
/*!
|
2
|
+
* on Standards v2.0.alpha (http://on-standards.herokuapp.com)
|
3
|
+
* Copyright 2016 Life Church
|
4
|
+
* Maifest file for on-standards library
|
5
|
+
*/
|
6
|
+
|
7
|
+
// Additional functions to supplement the build-ins.
|
8
|
+
@import "on-standards/functions";
|
9
|
+
|
10
|
+
// Core variables and mixins
|
11
|
+
@import "on-standards/colors";
|
12
|
+
@import "on-standards/variables";
|
13
|
+
@import "on-standards/mixins";
|
14
|
+
|
15
|
+
// Reset and dependencies
|
16
|
+
@import "on-standards/normalize";
|
17
|
+
@import "on-standards/print";
|
18
|
+
|
19
|
+
// Icons
|
20
|
+
@import "https://s3.amazonaws.com/icomoon.io/47870/OpenNetwork/style.css";
|
21
|
+
|
22
|
+
// Core CSS
|
23
|
+
@import "on-standards/baseline";
|
24
|
+
@import "on-standards/images";
|
25
|
+
@import "on-standards/code";
|
26
|
+
@import "on-standards/grid";
|
27
|
+
@import "on-standards/block-grid";
|
28
|
+
@import "on-standards/tables";
|
29
|
+
@import "on-standards/forms";
|
30
|
+
@import "on-standards/buttons";
|
31
|
+
|
32
|
+
// Modules
|
33
|
+
@import "on-standards/modules/type";
|
34
|
+
|
35
|
+
// Components
|
36
|
+
@import "on-standards/animation";
|
37
|
+
@import "on-standards/dropdown";
|
38
|
+
@import "on-standards/button-group";
|
39
|
+
@import "on-standards/input-group";
|
40
|
+
@import "on-standards/custom-forms";
|
41
|
+
@import "on-standards/nav";
|
42
|
+
@import "on-standards/navbar";
|
43
|
+
@import "on-standards/card";
|
44
|
+
@import "on-standards/breadcrumb";
|
45
|
+
@import "on-standards/pagination";
|
46
|
+
@import "on-standards/pager";
|
47
|
+
@import "on-standards/tags";
|
48
|
+
@import "on-standards/jumbotron";
|
49
|
+
@import "on-standards/alert";
|
50
|
+
@import "on-standards/progress";
|
51
|
+
@import "on-standards/media";
|
52
|
+
@import "on-standards/list-group";
|
53
|
+
@import "on-standards/responsive-embed";
|
54
|
+
@import "on-standards/close";
|
55
|
+
|
56
|
+
// Components w/ JavaScript
|
57
|
+
@import "on-standards/modal";
|
58
|
+
@import "on-standards/off-canvas";
|
59
|
+
@import "on-standards/tooltip";
|
60
|
+
@import "on-standards/popover";
|
61
|
+
@import "on-standards/carousel";
|
62
|
+
|
63
|
+
// Utility classes
|
64
|
+
@import "on-standards/utilities";
|
65
|
+
@import "on-standards/utilities-background";
|
66
|
+
@import "on-standards/utilities-spacing";
|
67
|
+
@import "on-standards/utilities-responsive";
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.alert {
|
6
|
+
padding: $alert-padding;
|
7
|
+
margin-bottom: $spacer-y;
|
8
|
+
@include border-radius($alert-border-radius);
|
9
|
+
background-color: $alert-default-bg;
|
10
|
+
color: $alert-default-text;
|
11
|
+
|
12
|
+
// Improve alignment and spacing of inner content
|
13
|
+
> p,
|
14
|
+
> ul {
|
15
|
+
margin-bottom: 0;
|
16
|
+
}
|
17
|
+
> p + p {
|
18
|
+
margin-top: 5px;
|
19
|
+
}
|
20
|
+
a {
|
21
|
+
text-decoration: underline;
|
22
|
+
color: $alert-default-text;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// Headings for larger alerts
|
27
|
+
.alert-heading {
|
28
|
+
// Specified to prevent conflicts of changing $headings-color
|
29
|
+
color: inherit;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
// Dismissible alerts
|
34
|
+
//
|
35
|
+
// Expand the right padding and account for the close button's positioning.
|
36
|
+
|
37
|
+
.alert-dismissible {
|
38
|
+
|
39
|
+
// Adjust close link position
|
40
|
+
.close {
|
41
|
+
position: relative;
|
42
|
+
top: -16px;
|
43
|
+
right: -16px;
|
44
|
+
color: inherit;
|
45
|
+
padding: 17px 16px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
// Alternate styles
|
51
|
+
//
|
52
|
+
// Generate contextual modifier classes for colorizing the alert.
|
53
|
+
|
54
|
+
.alert-primary {
|
55
|
+
@include alert-variant($alert-primary-bg, $alert-primary-text);
|
56
|
+
}
|
57
|
+
.alert-success {
|
58
|
+
@include alert-variant($alert-success-bg, $alert-success-text);
|
59
|
+
}
|
60
|
+
.alert-warning {
|
61
|
+
@include alert-variant($alert-warning-bg, $alert-warning-text);
|
62
|
+
}
|
63
|
+
.alert-danger {
|
64
|
+
@include alert-variant($alert-danger-bg, $alert-danger-text);
|
65
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.fade {
|
2
|
+
opacity: 0;
|
3
|
+
transition: opacity .15s linear;
|
4
|
+
|
5
|
+
&.in {
|
6
|
+
opacity: 1;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.collapse {
|
11
|
+
display: none;
|
12
|
+
|
13
|
+
&.in {
|
14
|
+
display: block;
|
15
|
+
}
|
16
|
+
// tr&.in { display: table-row; }
|
17
|
+
// tbody&.in { display: table-row-group; }
|
18
|
+
}
|
19
|
+
|
20
|
+
.collapsing {
|
21
|
+
position: relative;
|
22
|
+
height: 0;
|
23
|
+
overflow: hidden;
|
24
|
+
transition-timing-function: ease;
|
25
|
+
transition-duration: .35s;
|
26
|
+
transition-property: height;
|
27
|
+
}
|
@@ -0,0 +1,351 @@
|
|
1
|
+
// Baseline
|
2
|
+
//
|
3
|
+
// Global resets to common HTML elements and more for easier usage by Bootstrap.
|
4
|
+
// Adds additional rules on top of Normalize.css, including several overrides.
|
5
|
+
|
6
|
+
|
7
|
+
// Reset the box-sizing
|
8
|
+
//
|
9
|
+
// Change from `box-sizing: content-box` to `border-box` so that when you add
|
10
|
+
// `padding` or `border`s to an element, the overall declared `width` does not
|
11
|
+
// change. For example, `width: 100px;` will always be `100px` despite the
|
12
|
+
// `border: 10px solid red;` and `padding: 20px;`.
|
13
|
+
//
|
14
|
+
// Heads up! This reset may cause conflicts with some third-party widgets. For
|
15
|
+
// recommendations on resolving such conflicts, see
|
16
|
+
// http://getbootstrap.com/getting-started/#third-box-sizing.
|
17
|
+
//
|
18
|
+
// Credit: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
|
19
|
+
|
20
|
+
html {
|
21
|
+
box-sizing: border-box;
|
22
|
+
}
|
23
|
+
|
24
|
+
*,
|
25
|
+
*::before,
|
26
|
+
*::after {
|
27
|
+
box-sizing: inherit;
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
// Make viewport responsive
|
32
|
+
//
|
33
|
+
// @viewport is needed because IE 10+ doesn't honor <meta name="viewport"> in
|
34
|
+
// some cases. See http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/.
|
35
|
+
// Eventually @viewport will replace <meta name="viewport">. It's been manually
|
36
|
+
// prefixed for forward-compatibility.
|
37
|
+
//
|
38
|
+
// However, `device-width` is broken on IE 10 on Windows (Phone) 8,
|
39
|
+
// (see http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ and https://github.com/twbs/bootstrap/issues/10497)
|
40
|
+
// and the fix for that involves a snippet of JavaScript to sniff the user agent
|
41
|
+
// and apply some conditional CSS.
|
42
|
+
//
|
43
|
+
// See http://getbootstrap.com/getting-started/#support-ie10-width for the relevant hack.
|
44
|
+
//
|
45
|
+
// Wrap `@viewport` with `@at-root` for when folks do a nested import (e.g.,
|
46
|
+
// `.class-name { @import "bootstrap"; }`).
|
47
|
+
//
|
48
|
+
// Includes future-proofed vendor prefixes as well.
|
49
|
+
@at-root {
|
50
|
+
@-moz-viewport { width: device-width; }
|
51
|
+
@-ms-viewport { width: device-width; }
|
52
|
+
@-o-viewport { width: device-width; }
|
53
|
+
@-webkit-viewport { width: device-width; }
|
54
|
+
@viewport { width: device-width; }
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
//
|
59
|
+
// Reset HTML, body, and more
|
60
|
+
//
|
61
|
+
|
62
|
+
html {
|
63
|
+
// Sets a specific default `font-size` for user with `rem` type scales.
|
64
|
+
font-size: $font-size-root;
|
65
|
+
// Changes the default tap highlight to be completely transparent in iOS.
|
66
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
67
|
+
}
|
68
|
+
|
69
|
+
body {
|
70
|
+
// Make the `body` use the `font-size-root`
|
71
|
+
font-family: $font-family-base;
|
72
|
+
font-size: $font-size-base;
|
73
|
+
line-height: $line-height;
|
74
|
+
// Go easy on the eyes and use something other than `#000` for text
|
75
|
+
color: $body-color;
|
76
|
+
// By default, `<body>` has no `background-color` so we set one as a best practice.
|
77
|
+
background-color: $body-bg;
|
78
|
+
}
|
79
|
+
|
80
|
+
// Suppress the focus outline on elements that cannot be accessed via keyboard.
|
81
|
+
// This prevents an unwanted focus outline from appearing around elements that
|
82
|
+
// might still respond to pointer events.
|
83
|
+
//
|
84
|
+
// Credit: https://github.com/suitcss/base
|
85
|
+
[tabindex="-1"]:focus {
|
86
|
+
outline: none !important;
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
//
|
91
|
+
// Typography
|
92
|
+
//
|
93
|
+
|
94
|
+
// Remove top margins from headings
|
95
|
+
//
|
96
|
+
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
|
97
|
+
// margin for easier control within type scales as it avoids margin collapsing.
|
98
|
+
h1, h2, h3, h4, h5, h6 {
|
99
|
+
margin-top: 0;
|
100
|
+
margin-bottom: .5rem;
|
101
|
+
}
|
102
|
+
|
103
|
+
// Reset margins on paragraphs
|
104
|
+
//
|
105
|
+
// Similarly, the top margin on `<p>`s get reset. However, we also reset the
|
106
|
+
// bottom margin to use `rem` units instead of `em`.
|
107
|
+
p {
|
108
|
+
margin-top: 0;
|
109
|
+
margin-bottom: 1rem;
|
110
|
+
}
|
111
|
+
|
112
|
+
// Abbreviations and acronyms
|
113
|
+
abbr[title],
|
114
|
+
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
115
|
+
abbr[data-original-title] {
|
116
|
+
cursor: help;
|
117
|
+
border-bottom: 1px dotted $abbr-border-color;
|
118
|
+
}
|
119
|
+
|
120
|
+
address {
|
121
|
+
margin-bottom: 1rem;
|
122
|
+
font-style: normal;
|
123
|
+
line-height: inherit;
|
124
|
+
}
|
125
|
+
|
126
|
+
ol,
|
127
|
+
ul,
|
128
|
+
dl {
|
129
|
+
margin-top: 0;
|
130
|
+
margin-bottom: 1rem;
|
131
|
+
}
|
132
|
+
|
133
|
+
ol ol,
|
134
|
+
ul ul,
|
135
|
+
ol ul,
|
136
|
+
ul ol {
|
137
|
+
margin-bottom: 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
dt {
|
141
|
+
font-weight: $dt-font-weight;
|
142
|
+
}
|
143
|
+
|
144
|
+
dd {
|
145
|
+
margin-bottom: .5rem;
|
146
|
+
margin-left: 0; // Undo browser default
|
147
|
+
}
|
148
|
+
|
149
|
+
blockquote {
|
150
|
+
margin: 0 0 1rem;
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
//
|
155
|
+
// Links
|
156
|
+
//
|
157
|
+
|
158
|
+
a {
|
159
|
+
color: $link-color;
|
160
|
+
text-decoration: $link-decoration;
|
161
|
+
|
162
|
+
@include hover-focus {
|
163
|
+
color: $link-hover-color;
|
164
|
+
text-decoration: $link-hover-decoration;
|
165
|
+
}
|
166
|
+
|
167
|
+
&:focus {
|
168
|
+
@include tab-focus();
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
//
|
174
|
+
// Code
|
175
|
+
//
|
176
|
+
|
177
|
+
pre {
|
178
|
+
// Remove browser default top margin
|
179
|
+
margin-top: 0;
|
180
|
+
// Reset browser default of `1em` to use `rem`s
|
181
|
+
margin-bottom: 1rem;
|
182
|
+
}
|
183
|
+
|
184
|
+
|
185
|
+
//
|
186
|
+
// Figures
|
187
|
+
//
|
188
|
+
|
189
|
+
figure {
|
190
|
+
// Normalize adds `margin` to `figure`s as browsers apply it inconsistently.
|
191
|
+
// We reset that to create a better flow in-page.
|
192
|
+
margin: 0 0 1rem;
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
//
|
197
|
+
// Images
|
198
|
+
//
|
199
|
+
|
200
|
+
img {
|
201
|
+
// By default, `<img>`s are `inline-block`. This assumes that, and vertically
|
202
|
+
// centers them. This won't apply should you reset them to `block` level.
|
203
|
+
vertical-align: middle;
|
204
|
+
// Note: `<img>`s are deliberately not made responsive by default.
|
205
|
+
// For the rationale behind this, see the comments on the `.img-fluid` class.
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
// iOS "clickable elements" fix for role="button"
|
210
|
+
//
|
211
|
+
// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
|
212
|
+
// for traditionally non-focusable elements with role="button"
|
213
|
+
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
214
|
+
|
215
|
+
[role="button"] {
|
216
|
+
cursor: pointer;
|
217
|
+
}
|
218
|
+
|
219
|
+
|
220
|
+
// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
|
221
|
+
//
|
222
|
+
// In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
|
223
|
+
// DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
|
224
|
+
// However, they DO support removing the click delay via `touch-action: manipulation`.
|
225
|
+
// See:
|
226
|
+
// * http://v4-alpha.getbootstrap.com/content/reboot/#click-delay-optimization-for-touch
|
227
|
+
// * http://caniuse.com/#feat=css-touch-action
|
228
|
+
// * http://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
|
229
|
+
|
230
|
+
a,
|
231
|
+
area,
|
232
|
+
button,
|
233
|
+
[role="button"],
|
234
|
+
input,
|
235
|
+
label,
|
236
|
+
select,
|
237
|
+
summary,
|
238
|
+
textarea {
|
239
|
+
touch-action: manipulation;
|
240
|
+
}
|
241
|
+
|
242
|
+
|
243
|
+
//
|
244
|
+
// Tables
|
245
|
+
//
|
246
|
+
|
247
|
+
table {
|
248
|
+
// Reset for nesting within parents with `background-color`.
|
249
|
+
background-color: $table-bg;
|
250
|
+
}
|
251
|
+
|
252
|
+
caption {
|
253
|
+
padding-top: $table-cell-padding;
|
254
|
+
padding-bottom: $table-cell-padding;
|
255
|
+
color: $text-muted;
|
256
|
+
text-align: left;
|
257
|
+
caption-side: bottom;
|
258
|
+
}
|
259
|
+
|
260
|
+
th {
|
261
|
+
// Centered by default, but left-align-ed to match the `td`s below.
|
262
|
+
text-align: left;
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
//
|
267
|
+
// Forms
|
268
|
+
//
|
269
|
+
|
270
|
+
label {
|
271
|
+
// Allow labels to use `margin` for spacing.
|
272
|
+
display: inline-block;
|
273
|
+
margin-bottom: .25rem;
|
274
|
+
font-size: $label-font-size;
|
275
|
+
font-weight: $label-font-weight;
|
276
|
+
|
277
|
+
}
|
278
|
+
|
279
|
+
// Work around a Firefox/IE bug where the transparent `button` background
|
280
|
+
// results in a loss of the default `button` focus styles.
|
281
|
+
//
|
282
|
+
// Credit: https://github.com/suitcss/base/
|
283
|
+
button:focus {
|
284
|
+
outline: 1px dotted;
|
285
|
+
outline: 5px auto -webkit-focus-ring-color;
|
286
|
+
}
|
287
|
+
|
288
|
+
input,
|
289
|
+
button,
|
290
|
+
select,
|
291
|
+
textarea {
|
292
|
+
// Remove all `margin`s so our classes don't have to do it themselves.
|
293
|
+
margin: 0;
|
294
|
+
// Normalize includes `font: inherit;`, so `font-family`. `font-size`, etc are
|
295
|
+
// properly inherited. However, `line-height` isn't addressed there. Using this
|
296
|
+
// ensures we don't need to unnecessarily redeclare the global font stack.
|
297
|
+
line-height: inherit;
|
298
|
+
// iOS adds rounded borders by default
|
299
|
+
border-radius: 0;
|
300
|
+
}
|
301
|
+
|
302
|
+
textarea {
|
303
|
+
// Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
304
|
+
resize: vertical;
|
305
|
+
}
|
306
|
+
|
307
|
+
fieldset {
|
308
|
+
// Chrome and Firefox set a `min-width: min-content;` on fieldsets,
|
309
|
+
// so we reset that to ensure it behaves more like a standard block element.
|
310
|
+
// See https://github.com/twbs/bootstrap/issues/12359.
|
311
|
+
min-width: 0;
|
312
|
+
// Reset the default outline behavior of fieldsets so they don't affect page layout.
|
313
|
+
padding: 0;
|
314
|
+
margin: 0;
|
315
|
+
border: 0;
|
316
|
+
}
|
317
|
+
|
318
|
+
legend {
|
319
|
+
// Reset the entire legend element to match the `fieldset`
|
320
|
+
display: block;
|
321
|
+
width: 100%;
|
322
|
+
padding: 0;
|
323
|
+
margin-bottom: $headings-margin-bottom;
|
324
|
+
font-size: $font-size-3;
|
325
|
+
line-height: inherit;
|
326
|
+
font-weight: $font-weight-bold;
|
327
|
+
// border: 0;
|
328
|
+
}
|
329
|
+
|
330
|
+
input[type="search"] {
|
331
|
+
// Undo Normalize's default here to match our global overrides.
|
332
|
+
box-sizing: inherit;
|
333
|
+
// This overrides the extra rounded corners on search inputs in iOS so that our
|
334
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
335
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
336
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
337
|
+
-webkit-appearance: none;
|
338
|
+
}
|
339
|
+
|
340
|
+
// todo: needed?
|
341
|
+
output {
|
342
|
+
display: inline-block;
|
343
|
+
// font-size: $font-size-base;
|
344
|
+
// line-height: $line-height;
|
345
|
+
// color: $input-color;
|
346
|
+
}
|
347
|
+
|
348
|
+
// Always hide an element with the `hidden` HTML attribute (from PureCSS).
|
349
|
+
[hidden] {
|
350
|
+
display: none !important;
|
351
|
+
}
|