on-standards-rails 2.0.0.pre.alpha.1 → 2.0.0.pre.alpha.2
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.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/on/standards/rails/version.rb +1 -1
- data/on-standards-rails.gemspec +3 -2
- data/vendor/assets/javascripts/on-standards.js +2911 -14544
- data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +14 -5
- data/vendor/assets/stylesheets/on-standards/_card.scss +15 -6
- data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +33 -22
- data/vendor/assets/stylesheets/on-standards/_forms.scss +25 -12
- data/vendor/assets/stylesheets/on-standards/_input-group.scss +14 -14
- data/vendor/assets/stylesheets/on-standards/_mixins.scss +1 -0
- data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +4 -2
- data/vendor/assets/stylesheets/on-standards/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +10 -7
- data/vendor/assets/stylesheets/on-standards/_variables.scss +16 -15
- data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +1 -1
- data/vendor/assets/stylesheets/on-standards/mixins/_font-base.scss +33 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +1 -4
- data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +1 -1
- data/vendor/assets/stylesheets/on-standards/modules/_type.scss +1 -1
- metadata +22 -7
@@ -1,17 +1,20 @@
|
|
1
1
|
.breadcrumb {
|
2
|
-
padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
|
3
2
|
margin-bottom: $spacer-y;
|
3
|
+
padding: 0;
|
4
4
|
list-style: none;
|
5
|
-
background-color: $breadcrumb-bg;
|
6
5
|
@include border-radius($border-radius);
|
7
6
|
@include clearfix;
|
8
7
|
|
9
8
|
> li {
|
10
|
-
|
9
|
+
display: inline-block;
|
10
|
+
font-size: $font-size-1;
|
11
|
+
a {
|
12
|
+
color: $breadcrumb-divider-color;
|
13
|
+
}
|
11
14
|
|
12
15
|
+ li::before {
|
13
|
-
padding-right:
|
14
|
-
padding-left:
|
16
|
+
padding-right: 6px;
|
17
|
+
padding-left: 2px;
|
15
18
|
color: $breadcrumb-divider-color;
|
16
19
|
content: "#{$breadcrumb-divider}";
|
17
20
|
}
|
@@ -19,5 +22,11 @@
|
|
19
22
|
|
20
23
|
> .active {
|
21
24
|
color: $breadcrumb-active-color;
|
25
|
+
display: block;
|
26
|
+
margin-top: 1px;
|
27
|
+
@extend h1;
|
28
|
+
&::before {
|
29
|
+
display: none;
|
30
|
+
}
|
22
31
|
}
|
23
32
|
}
|
@@ -7,8 +7,11 @@
|
|
7
7
|
display: block;
|
8
8
|
margin-bottom: $card-spacer-y;
|
9
9
|
background-color: $card-bg;
|
10
|
-
|
10
|
+
box-shadow: $box-shadow-1;
|
11
11
|
@include border-radius($card-border-radius);
|
12
|
+
&.card-border {
|
13
|
+
border: $card-border-width solid $card-border-color;
|
14
|
+
}
|
12
15
|
}
|
13
16
|
|
14
17
|
.card-block {
|
@@ -70,7 +73,7 @@
|
|
70
73
|
.card-header {
|
71
74
|
padding: $card-spacer-y $card-spacer-x;
|
72
75
|
background-color: $card-cap-bg;
|
73
|
-
border-bottom: $card-border-width solid $
|
76
|
+
border-bottom: $card-border-width solid $gray-10;
|
74
77
|
|
75
78
|
&:first-child {
|
76
79
|
@include border-radius($card-border-radius-inner $card-border-radius-inner 0 0);
|
@@ -80,7 +83,7 @@
|
|
80
83
|
.card-footer {
|
81
84
|
padding: $card-spacer-y $card-spacer-x;
|
82
85
|
background-color: $card-cap-bg;
|
83
|
-
border-top: $card-border-width solid $
|
86
|
+
border-top: $card-border-width solid $gray-10;
|
84
87
|
|
85
88
|
&:last-child {
|
86
89
|
@include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
|
@@ -98,9 +101,6 @@
|
|
98
101
|
.card-success {
|
99
102
|
@include card-variant($brand-success, $brand-success);
|
100
103
|
}
|
101
|
-
.card-info {
|
102
|
-
@include card-variant($brand-info, $brand-info);
|
103
|
-
}
|
104
104
|
.card-warning {
|
105
105
|
@include card-variant($brand-warning, $brand-warning);
|
106
106
|
}
|
@@ -152,12 +152,15 @@
|
|
152
152
|
@include border-radius(.25rem);
|
153
153
|
}
|
154
154
|
.card-img-overlay {
|
155
|
+
@include card-inverse;
|
155
156
|
position: absolute;
|
156
157
|
top: 0;
|
157
158
|
right: 0;
|
158
159
|
bottom: 0;
|
159
160
|
left: 0;
|
160
161
|
padding: 1.25rem;
|
162
|
+
background: $overlay;
|
163
|
+
border-radius: $card-border-radius;
|
161
164
|
}
|
162
165
|
|
163
166
|
|
@@ -165,9 +168,11 @@
|
|
165
168
|
// Card image caps
|
166
169
|
.card-img-top {
|
167
170
|
@include border-radius($card-border-radius-inner $card-border-radius-inner 0 0);
|
171
|
+
width: 100%;
|
168
172
|
}
|
169
173
|
.card-img-bottom {
|
170
174
|
@include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
|
175
|
+
width: 100%;
|
171
176
|
}
|
172
177
|
|
173
178
|
|
@@ -216,6 +221,7 @@
|
|
216
221
|
|
217
222
|
@include media-breakpoint-up(sm) {
|
218
223
|
.card-group {
|
224
|
+
box-shadow: $box-shadow-1;
|
219
225
|
@if $enable-flex {
|
220
226
|
display: flex;
|
221
227
|
flex-flow: row wrap;
|
@@ -226,6 +232,8 @@
|
|
226
232
|
}
|
227
233
|
|
228
234
|
.card {
|
235
|
+
box-shadow: none;
|
236
|
+
border-right: 1px solid $gray-10;
|
229
237
|
@if $enable-flex {
|
230
238
|
flex: 1 0 0;
|
231
239
|
} @else {
|
@@ -251,6 +259,7 @@
|
|
251
259
|
}
|
252
260
|
}
|
253
261
|
&:last-child {
|
262
|
+
border-right: 0;
|
254
263
|
@include border-left-radius(0);
|
255
264
|
|
256
265
|
.card-img-top {
|
@@ -42,27 +42,36 @@
|
|
42
42
|
}
|
43
43
|
}
|
44
44
|
|
45
|
+
// Resets labels to match body copy on radios and checkboxes.
|
46
|
+
label {
|
47
|
+
&.c-checkbox,
|
48
|
+
&.c-radio {
|
49
|
+
font-size: $font-size-2;
|
50
|
+
font-weight: $font-weight-normal;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
45
54
|
// Custom indicator
|
46
55
|
//
|
47
56
|
// Generates a shadow element to create our makeshift checkbox/radio background.
|
48
57
|
|
49
58
|
.c-indicator {
|
50
59
|
position: absolute;
|
51
|
-
top:
|
60
|
+
top: 1px;
|
52
61
|
left: 0;
|
53
62
|
display: block;
|
54
63
|
width: 1rem;
|
55
64
|
height: 1rem;
|
56
65
|
font-size: 65%;
|
57
66
|
line-height: 1rem;
|
58
|
-
color:
|
67
|
+
color: $white;
|
59
68
|
text-align: center;
|
60
69
|
user-select: none;
|
61
|
-
background-color:
|
70
|
+
background-color: $white;
|
62
71
|
background-repeat: no-repeat;
|
63
72
|
background-position: center center;
|
64
73
|
background-size: 50% 50%;
|
65
|
-
|
74
|
+
border: 1px solid $line-color;
|
66
75
|
}
|
67
76
|
|
68
77
|
// Checkboxes
|
@@ -71,17 +80,18 @@
|
|
71
80
|
|
72
81
|
.c-checkbox {
|
73
82
|
.c-indicator {
|
74
|
-
border-radius:
|
83
|
+
border-radius: $border-radius;
|
75
84
|
}
|
76
85
|
|
77
86
|
input:checked ~ .c-indicator {
|
78
87
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOCA4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4IDgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTYuNCwxTDUuNywxLjdMMi45LDQuNUwyLjEsMy43TDEuNCwzTDAsNC40bDAuNywwLjdsMS41LDEuNWwwLjcsMC43bDAuNy0wLjdsMy41LTMuNWwwLjctMC43TDYuNCwxTDYuNCwxeiINCgkvPg0KPC9zdmc+DQo=);
|
88
|
+
border: 1px solid $brand-action;
|
79
89
|
}
|
80
90
|
|
81
91
|
input:indeterminate ~ .c-indicator {
|
82
|
-
background-color:
|
92
|
+
background-color: $brand-action;
|
83
93
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iOHB4IiBoZWlnaHQ9IjhweCIgdmlld0JveD0iMCAwIDggOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgOCA4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0wLDN2Mmg4VjNIMHoiLz4NCjwvc3ZnPg0K);
|
84
|
-
|
94
|
+
border: 1px solid $brand-action;
|
85
95
|
}
|
86
96
|
}
|
87
97
|
|
@@ -175,8 +185,10 @@
|
|
175
185
|
.file {
|
176
186
|
position: relative;
|
177
187
|
display: inline-block;
|
178
|
-
height: 2.
|
188
|
+
height: 2.25rem;
|
179
189
|
cursor: pointer;
|
190
|
+
font-size: $font-size-2;
|
191
|
+
font-weight: $font-weight-normal;
|
180
192
|
}
|
181
193
|
.file input {
|
182
194
|
min-width: 14rem;
|
@@ -190,15 +202,14 @@
|
|
190
202
|
right: 0;
|
191
203
|
left: 0;
|
192
204
|
z-index: 5;
|
193
|
-
height: 2.
|
194
|
-
padding: .5rem
|
195
|
-
line-height:
|
196
|
-
color:
|
205
|
+
height: 2.25rem;
|
206
|
+
padding: 0.5rem 0.75rem;
|
207
|
+
line-height: $line-height;
|
208
|
+
color: $body-color;
|
197
209
|
user-select: none;
|
198
210
|
background-color: #fff;
|
199
|
-
border: $input-button-border-width solid
|
200
|
-
border-radius:
|
201
|
-
@include box-shadow(inset 0 .2rem .4rem rgba(0,0,0,.05));
|
211
|
+
border: $input-button-border-width solid $line-color;
|
212
|
+
border-radius: $border-radius;
|
202
213
|
}
|
203
214
|
.file-custom::after {
|
204
215
|
content: "Choose file...";
|
@@ -210,14 +221,14 @@
|
|
210
221
|
bottom: -.075rem;
|
211
222
|
z-index: 6;
|
212
223
|
display: block;
|
213
|
-
height: 2.
|
214
|
-
padding: .5rem
|
215
|
-
line-height:
|
216
|
-
color:
|
224
|
+
height: 2.25rem;
|
225
|
+
padding: 0.5rem 0.75rem;
|
226
|
+
line-height: $line-height;
|
227
|
+
color: $body-color;
|
217
228
|
content: "Browse";
|
218
|
-
background-color:
|
219
|
-
border: $input-button-border-width solid
|
220
|
-
border-radius: 0
|
229
|
+
background-color: $gray-20;
|
230
|
+
border: $input-button-border-width solid $line-color;
|
231
|
+
border-radius: 0 $border-radius $border-radius 0;
|
221
232
|
}
|
222
233
|
|
223
234
|
// Focus state
|
@@ -102,18 +102,18 @@
|
|
102
102
|
line-height: $input-height;
|
103
103
|
}
|
104
104
|
|
105
|
-
&.input-
|
106
|
-
.input-group-
|
105
|
+
&.input-xsmall,
|
106
|
+
.input-group-xsmall &.form-control {
|
107
107
|
line-height: $input-height-xsm;
|
108
108
|
}
|
109
109
|
|
110
|
-
&.input-
|
111
|
-
.input-group-
|
110
|
+
&.input-small,
|
111
|
+
.input-group-small &.form-control {
|
112
112
|
line-height: $input-height-sm;
|
113
113
|
}
|
114
114
|
|
115
|
-
&.input-
|
116
|
-
.input-group-
|
115
|
+
&.input-large,
|
116
|
+
.input-group-large &.form-control {
|
117
117
|
line-height: $input-height-lg;
|
118
118
|
}
|
119
119
|
}
|
@@ -132,9 +132,9 @@
|
|
132
132
|
// Remove default margin from `p`
|
133
133
|
margin-bottom: 0;
|
134
134
|
|
135
|
-
&.form-control-
|
136
|
-
&.form-control-
|
137
|
-
&.form-control-
|
135
|
+
&.form-control-xsmall,
|
136
|
+
&.form-control-small,
|
137
|
+
&.form-control-large {
|
138
138
|
padding-right: 0;
|
139
139
|
padding-left: 0;
|
140
140
|
}
|
@@ -149,27 +149,40 @@
|
|
149
149
|
// The `.form-group-* form-control` variations are sadly duplicated to avoid the
|
150
150
|
// issue documented in https://github.com/twbs/bootstrap/issues/15074.
|
151
151
|
|
152
|
-
.form-control-
|
152
|
+
.form-control-xsmall {
|
153
153
|
padding: ($input-padding-y-xsm + .0625rem) $input-padding-x-xsm $input-padding-y-xsm $input-padding-x-xsm;
|
154
154
|
font-size: $font-size-sm;
|
155
155
|
line-height: $line-height-sm;
|
156
156
|
@include border-radius($input-border-radius-sm);
|
157
157
|
}
|
158
158
|
|
159
|
-
.form-control-
|
159
|
+
.form-control-small {
|
160
160
|
padding: ($input-padding-y-sm + .0625rem) $input-padding-x-sm $input-padding-y-sm $input-padding-x-sm;
|
161
161
|
font-size: $font-size-sm;
|
162
162
|
line-height: $line-height-sm;
|
163
163
|
@include border-radius($input-border-radius-sm);
|
164
164
|
}
|
165
165
|
|
166
|
-
.form-control-
|
166
|
+
.form-control-large {
|
167
167
|
padding: $input-padding-y-lg $input-padding-x-lg;
|
168
168
|
font-size: $font-size-lg;
|
169
169
|
line-height: $line-height-lg;
|
170
170
|
@include border-radius($input-border-radius-lg);
|
171
171
|
}
|
172
172
|
|
173
|
+
select {
|
174
|
+
height: 2.25rem;
|
175
|
+
&.form-control-large {
|
176
|
+
height: 3rem;
|
177
|
+
}
|
178
|
+
&.form-control-small {
|
179
|
+
height: 1.75rem;
|
180
|
+
}
|
181
|
+
&.form-control-xsmall {
|
182
|
+
height: 1.25rem;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
173
186
|
|
174
187
|
// Form groups
|
175
188
|
//
|
@@ -67,20 +67,20 @@
|
|
67
67
|
// Remix the default form control sizing classes into new ones for easier
|
68
68
|
// manipulation.
|
69
69
|
|
70
|
-
.input-group-
|
71
|
-
.input-group-
|
72
|
-
.input-group-
|
73
|
-
@extend .form-control-
|
70
|
+
.input-group-large > .form-control,
|
71
|
+
.input-group-large > .input-group-addon,
|
72
|
+
.input-group-large > .input-group-button > .button {
|
73
|
+
@extend .form-control-large;
|
74
74
|
}
|
75
|
-
.input-group-
|
76
|
-
.input-group-
|
77
|
-
.input-group-
|
78
|
-
@extend .form-control-
|
75
|
+
.input-group-small > .form-control,
|
76
|
+
.input-group-small > .input-group-addon,
|
77
|
+
.input-group-small > .input-group-button > .button {
|
78
|
+
@extend .form-control-small;
|
79
79
|
}
|
80
|
-
.input-group-
|
81
|
-
.input-group-
|
82
|
-
.input-group-
|
83
|
-
@extend .form-control-
|
80
|
+
.input-group-xsmall > .form-control,
|
81
|
+
.input-group-xsmall > .input-group-addon,
|
82
|
+
.input-group-xsmall > .input-group-button > .button {
|
83
|
+
@extend .form-control-xsmall;
|
84
84
|
}
|
85
85
|
|
86
86
|
|
@@ -100,12 +100,12 @@
|
|
100
100
|
@include border-radius($border-radius);
|
101
101
|
|
102
102
|
// Sizing
|
103
|
-
&.form-control-
|
103
|
+
&.form-control-small {
|
104
104
|
padding: $input-padding-y-sm $input-padding-x-sm;
|
105
105
|
font-size: $font-size-sm;
|
106
106
|
@include border-radius($border-radius-sm);
|
107
107
|
}
|
108
|
-
&.form-control-
|
108
|
+
&.form-control-large {
|
109
109
|
padding: $input-padding-y-lg $input-padding-x-lg;
|
110
110
|
font-size: $font-size-lg;
|
111
111
|
@include border-radius($border-radius-lg);
|
@@ -86,6 +86,8 @@
|
|
86
86
|
background-color: $off-canvas-bg;
|
87
87
|
width: 100%;
|
88
88
|
height: 100%;
|
89
|
+
box-shadow: $box-shadow-2;
|
90
|
+
|
89
91
|
.off-canvas-right & {
|
90
92
|
float: right;
|
91
93
|
@include clearfix;
|
@@ -192,10 +194,10 @@
|
|
192
194
|
|
193
195
|
.off-canvas-left {
|
194
196
|
padding-right: 48px;
|
195
|
-
left:
|
197
|
+
left: -100%;
|
196
198
|
}
|
197
199
|
|
198
200
|
.off-canvas-right {
|
199
201
|
padding-left: 48px;
|
200
|
-
right:
|
202
|
+
right: -100%;
|
201
203
|
}
|
@@ -1,19 +1,22 @@
|
|
1
1
|
//
|
2
2
|
// Contextual backgrounds
|
3
|
+
// Default text color is: #fff.
|
3
4
|
//
|
4
5
|
|
5
|
-
.bg-faded {
|
6
|
-
background-color: $gray-10;
|
7
|
-
}
|
8
|
-
|
9
6
|
@include bg-variant('.bg-primary', $brand-primary);
|
10
7
|
|
11
8
|
@include bg-variant('.bg-success', $brand-success);
|
12
9
|
|
13
|
-
@include bg-variant('.bg-info', $brand-info, $body-color);
|
14
|
-
|
15
10
|
@include bg-variant('.bg-warning', $brand-warning, $body-color);
|
16
11
|
|
17
12
|
@include bg-variant('.bg-danger', $brand-danger);
|
18
13
|
|
19
|
-
@include bg-variant('.bg-gray', $
|
14
|
+
@include bg-variant('.bg-gray-dark', $gray-dark);
|
15
|
+
|
16
|
+
@include bg-variant('.bg-gray', $gray);
|
17
|
+
|
18
|
+
@include bg-variant('.bg-gray-20', $gray-20, $body-color);
|
19
|
+
|
20
|
+
@include bg-variant('.bg-gray-10', $gray-10, $body-color);
|
21
|
+
|
22
|
+
@include bg-variant('.bg-gray-5', $gray-5, $body-color);
|
@@ -113,6 +113,11 @@ $link-decoration: none !default;
|
|
113
113
|
$link-hover-color: lighten($link-color, 10%) !default;
|
114
114
|
$link-hover-decoration: underline !default;
|
115
115
|
|
116
|
+
// Line color
|
117
|
+
//
|
118
|
+
// Color for typical lines and rules
|
119
|
+
|
120
|
+
$line-color: $gray-20 !default;
|
116
121
|
|
117
122
|
// Grid breakpoints
|
118
123
|
//
|
@@ -150,7 +155,7 @@ $container-max-widths: (
|
|
150
155
|
// Set the number of columns and specify the width of the gutters.
|
151
156
|
|
152
157
|
$grid-columns: 12 !default;
|
153
|
-
$grid-gutter-width:
|
158
|
+
$grid-gutter-width: 2rem !default;
|
154
159
|
|
155
160
|
|
156
161
|
// Typography
|
@@ -220,7 +225,7 @@ $abbr-border-color: $gray-50 !default;
|
|
220
225
|
|
221
226
|
$blockquote-small-color: $gray-50 !default;
|
222
227
|
$blockquote-font-size: $font-size-3 !default;
|
223
|
-
$blockquote-border-color: $
|
228
|
+
$blockquote-border-color: $brand-primary !default;
|
224
229
|
|
225
230
|
$hr-border-color: $gray-20 !default;
|
226
231
|
$hr-border-width: $border-width !default;
|
@@ -528,13 +533,13 @@ $state-danger-border: darken($state-danger-bg, 5%) !default;
|
|
528
533
|
|
529
534
|
|
530
535
|
// Cards
|
531
|
-
$card-spacer-x:
|
532
|
-
$card-spacer-y:
|
536
|
+
$card-spacer-x: 1rem !default;
|
537
|
+
$card-spacer-y: 1rem !default;
|
533
538
|
$card-border-width: 1px !default;
|
534
|
-
$card-border-radius: $border-radius !default;
|
535
|
-
$card-border-color:
|
539
|
+
$card-border-radius: $border-radius-lg !default;
|
540
|
+
$card-border-color: $gray-20 !default; // TODO: Change $gray-20 to $line-color
|
536
541
|
$card-border-radius-inner: $card-border-radius !default;
|
537
|
-
$card-cap-bg:
|
542
|
+
$card-cap-bg: $gray-5 !default;
|
538
543
|
$card-bg: #fff !default;
|
539
544
|
|
540
545
|
$card-link-hover-color: #fff !default;
|
@@ -544,10 +549,10 @@ $card-link-hover-color: #fff !default;
|
|
544
549
|
|
545
550
|
$tooltip-max-width: 200px !default;
|
546
551
|
$tooltip-color: #fff !default;
|
547
|
-
$tooltip-bg:
|
548
|
-
$tooltip-opacity:
|
552
|
+
$tooltip-bg: $overlay-dark !default;
|
553
|
+
$tooltip-opacity: 1 !default;
|
549
554
|
|
550
|
-
$tooltip-arrow-width:
|
555
|
+
$tooltip-arrow-width: 4px !default;
|
551
556
|
$tooltip-arrow-color: $tooltip-bg !default;
|
552
557
|
|
553
558
|
|
@@ -682,12 +687,8 @@ $thumbnail-border-radius: $border-radius !default;
|
|
682
687
|
|
683
688
|
// Breadcrumbs
|
684
689
|
|
685
|
-
$breadcrumb-padding-vertical: .75rem !default;
|
686
|
-
$breadcrumb-padding-horizontal: 1rem !default;
|
687
|
-
|
688
|
-
$breadcrumb-bg: $gray-50 !default;
|
689
690
|
$breadcrumb-divider-color: $gray-50 !default;
|
690
|
-
$breadcrumb-active-color: $
|
691
|
+
$breadcrumb-active-color: $body-color !default;
|
691
692
|
$breadcrumb-divider: "/" !default;
|
692
693
|
|
693
694
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// Font Base
|
2
|
+
//
|
3
|
+
// Use these mixins when needing to reference a different font family.
|
4
|
+
// Use this mixin in a ':before' or ':after' to add Font Awesome characters.
|
5
|
+
// You must add the appropriate icon in the 'content' decleration. (e.g. content: "\f00c")
|
6
|
+
|
7
|
+
// Icomoon Awesome
|
8
|
+
@mixin icomoon-base {
|
9
|
+
display: inline-block;
|
10
|
+
// use !important to prevent issues with browser extensions that change fonts.
|
11
|
+
font: normal normal normal 16px/1'icomoon' !important;
|
12
|
+
speak: none;
|
13
|
+
font-size: inherit;
|
14
|
+
text-transform: none;
|
15
|
+
text-rendering: auto;
|
16
|
+
// Better Font Rendering
|
17
|
+
-webkit-font-smoothing: antialiased;
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Font Awesome
|
22
|
+
@mixin font-awesome-base {
|
23
|
+
display: inline-block;
|
24
|
+
// use !important to prevent issues with browser extensions that change fonts.
|
25
|
+
font: normal normal normal 16px/1 FontAwesome !important;
|
26
|
+
speak: none;
|
27
|
+
font-size: inherit;
|
28
|
+
text-transform: none;
|
29
|
+
text-rendering: auto;
|
30
|
+
// Better Font Rendering
|
31
|
+
-webkit-font-smoothing: antialiased;
|
32
|
+
-moz-osx-font-smoothing: grayscale;
|
33
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: on-standards-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.alpha.
|
4
|
+
version: 2.0.0.pre.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,20 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sass
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.4'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: sass-rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 5.0.3
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 5.0.3
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,7 +59,7 @@ dependencies:
|
|
45
59
|
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
|
-
type: :
|
62
|
+
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
@@ -119,6 +133,7 @@ files:
|
|
119
133
|
- vendor/assets/stylesheets/on-standards/mixins/_cards.scss
|
120
134
|
- vendor/assets/stylesheets/on-standards/mixins/_center-block.scss
|
121
135
|
- vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss
|
136
|
+
- vendor/assets/stylesheets/on-standards/mixins/_font-base.scss
|
122
137
|
- vendor/assets/stylesheets/on-standards/mixins/_forms.scss
|
123
138
|
- vendor/assets/stylesheets/on-standards/mixins/_gradients.scss
|
124
139
|
- vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss
|