material-sass 4.0.0.alpha6 → 4.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +36 -8
- data/Rakefile +16 -3
- data/app/assets/javascripts/material-sprockets.js +6 -1
- data/app/assets/javascripts/material.js +654 -417
- data/app/assets/javascripts/material.min.js +1 -0
- data/app/assets/javascripts/material/addons/picker.date.js +234 -0
- data/app/assets/javascripts/material/addons/picker.js +172 -0
- data/app/assets/javascripts/material/addons/textarea-autosize.js +20 -2
- data/app/assets/javascripts/material/addons/waves.js +127 -0
- data/app/assets/javascripts/material/components/floating-label.js +92 -0
- data/app/assets/javascripts/material/components/navdrawer.js +353 -0
- data/app/assets/javascripts/material/components/selection-control-focus.js +47 -0
- data/app/assets/javascripts/material/components/tab-switch.js +148 -0
- data/app/assets/javascripts/material/components/util.js +133 -0
- data/app/assets/javascripts/material/initializers/picker.js +171 -0
- data/app/assets/javascripts/material/initializers/textarea-autosize.js +10 -0
- data/app/assets/javascripts/material/initializers/waves.js +13 -0
- data/app/assets/stylesheets/material/_colours.scss +324 -0
- data/app/assets/stylesheets/material/_functions.scss +65 -0
- data/app/assets/stylesheets/material/_mixins.scss +23 -23
- data/app/assets/stylesheets/material/_print.scss +102 -0
- data/app/assets/stylesheets/material/_utilities.scss +21 -17
- data/app/assets/stylesheets/material/_variables.scss +13 -42
- data/app/assets/stylesheets/material/base/_base.scss +420 -5
- data/app/assets/stylesheets/material/base/_grid.scss +34 -33
- data/app/assets/stylesheets/material/base/_typography.scss +165 -174
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +32 -39
- data/app/assets/stylesheets/material/bootstrap/_badge.scss +34 -0
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +18 -18
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +127 -142
- data/app/assets/stylesheets/material/bootstrap/_close.scss +18 -19
- data/app/assets/stylesheets/material/bootstrap/_code.scss +10 -7
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +50 -56
- data/app/assets/stylesheets/material/bootstrap/_form.scss +159 -129
- data/app/assets/stylesheets/material/bootstrap/_image.scss +19 -16
- data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +10 -7
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +71 -69
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +34 -26
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +26 -59
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +4 -4
- data/app/assets/stylesheets/material/bootstrap/_transition.scss +10 -8
- data/app/assets/stylesheets/material/material.scss +75 -62
- data/app/assets/stylesheets/material/material/_button-flat.scss +26 -39
- data/app/assets/stylesheets/material/material/_button-float.scss +10 -14
- data/app/assets/stylesheets/material/material/_button-group.scss +268 -0
- data/app/assets/stylesheets/material/material/_button.scss +133 -189
- data/app/assets/stylesheets/material/material/_card.scss +300 -248
- data/app/assets/stylesheets/material/material/_chip.scss +65 -64
- data/app/assets/stylesheets/material/material/_data-table.scss +135 -45
- data/app/assets/stylesheets/material/material/_dialog.scss +141 -110
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +86 -119
- data/app/assets/stylesheets/material/material/_menu.scss +308 -228
- data/app/assets/stylesheets/material/material/_navdrawer.scss +239 -234
- data/app/assets/stylesheets/material/material/_picker.scss +157 -155
- data/app/assets/stylesheets/material/material/_progress-circular.scss +80 -80
- data/app/assets/stylesheets/material/material/_progress.scss +180 -115
- data/app/assets/stylesheets/material/material/_selection-control.scss +132 -139
- data/app/assets/stylesheets/material/material/_stepper.scss +94 -93
- data/app/assets/stylesheets/material/material/_tab.scss +74 -93
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +29 -20
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +94 -24
- data/app/assets/stylesheets/material/material/_text-field-textarea.scss +13 -26
- data/app/assets/stylesheets/material/material/_text-field.scss +127 -118
- data/app/assets/stylesheets/material/material/_toolbar.scss +308 -313
- data/app/assets/stylesheets/material/material/_tooltip.scss +23 -62
- data/app/assets/stylesheets/material/mixins/_background-variant.scss +6 -6
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +17 -17
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +32 -2
- data/app/assets/stylesheets/material/mixins/_clearfix.scss +1 -1
- data/app/assets/stylesheets/material/mixins/_form.scss +62 -25
- data/app/assets/stylesheets/material/mixins/_grid-framework.scss +8 -16
- data/app/assets/stylesheets/material/mixins/_grid.scss +40 -64
- data/app/assets/stylesheets/material/mixins/_material-icons.scss +36 -0
- data/app/assets/stylesheets/material/mixins/_nav-divider.scss +1 -1
- data/app/assets/stylesheets/material/mixins/_reset-text.scss +2 -21
- data/app/assets/stylesheets/material/mixins/_screenreader.scss +14 -12
- data/app/assets/stylesheets/material/mixins/_text-alignment.scss +23 -0
- data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +6 -6
- data/app/assets/stylesheets/material/mixins/_transition.scss +42 -10
- data/app/assets/stylesheets/material/utilities/_background.scss +18 -18
- data/app/assets/stylesheets/material/utilities/_border.scss +88 -41
- data/app/assets/stylesheets/material/utilities/_display.scss +63 -30
- data/app/assets/stylesheets/material/utilities/_flex.scss +139 -134
- data/app/assets/stylesheets/material/utilities/_material-icons.scss +3 -5
- data/app/assets/stylesheets/material/utilities/_position.scss +19 -22
- data/app/assets/stylesheets/material/utilities/_sizing.scss +11 -12
- data/app/assets/stylesheets/material/utilities/_spacing.scss +51 -56
- data/app/assets/stylesheets/material/utilities/_text.scss +80 -75
- data/app/assets/stylesheets/material/utilities/_visibility.scss +5 -46
- data/app/assets/stylesheets/material/utilities/_waves.scss +11 -18
- data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +89 -82
- data/app/assets/stylesheets/material/variables/_grid.scss +29 -26
- data/app/assets/stylesheets/material/variables/_palette.scss +45 -0
- data/app/assets/stylesheets/material/variables/_spacer.scss +34 -88
- data/app/assets/stylesheets/material/variables/_transition.scss +29 -0
- data/app/assets/stylesheets/material/variables/_typography.scss +88 -74
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +196 -133
- data/app/assets/stylesheets/material/variables/_variable-material.scss +481 -429
- data/lib/material-sass/version.rb +1 -1
- data/material-sass.gemspec +3 -3
- metadata +26 -21
- data/app/assets/javascripts/material/addons-materialise/pickadate.js +0 -139
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +0 -11
- data/app/assets/javascripts/material/addons-materialise/wave.js +0 -15
- data/app/assets/javascripts/material/addons/pickadate.js +0 -7
- data/app/assets/javascripts/material/addons/wave.js +0 -5
- data/app/assets/javascripts/material/src/floating-label.js +0 -91
- data/app/assets/javascripts/material/src/navdrawer.js +0 -352
- data/app/assets/javascripts/material/src/tab-switch.js +0 -133
- data/app/assets/javascripts/material/src/util.js +0 -138
- data/app/assets/stylesheets/material/base/_normalize.scss +0 -253
- data/app/assets/stylesheets/material/base/_reboot.scss +0 -239
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +0 -134
- data/app/assets/stylesheets/material/mixins/_tab-focus.scss +0 -5
- data/app/assets/stylesheets/material/mixins/_transform.scss +0 -9
- data/app/assets/stylesheets/material/variables/_animation.scss +0 -22
- data/app/assets/stylesheets/material/variables/_colour.scss +0 -389
@@ -1,42 +1,43 @@
|
|
1
|
-
//
|
2
|
-
// column
|
3
|
-
//
|
4
|
-
@if $enable-grid-classes {
|
5
|
-
@include make-grid-columns;
|
6
|
-
}
|
1
|
+
// Column
|
7
2
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
@if $enable-grid-classes {
|
4
|
+
@include make-grid-columns;
|
5
|
+
}
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
// Container
|
10
|
+
|
11
|
+
@if $enable-grid-classes {
|
12
|
+
.container {
|
13
|
+
@include make-container;
|
14
|
+
@include make-container-max-widths;
|
16
15
|
}
|
16
|
+
}
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
18
|
+
@if $enable-grid-classes {
|
19
|
+
.container-fluid {
|
20
|
+
@include make-container;
|
22
21
|
}
|
22
|
+
}
|
23
23
|
|
24
|
-
//
|
25
|
-
// row
|
26
|
-
//
|
27
|
-
@if $enable-grid-classes {
|
28
|
-
.row {
|
29
|
-
@include make-row;
|
30
|
-
}
|
31
24
|
|
32
|
-
.no-gutters {
|
33
|
-
margin-right: 0;
|
34
|
-
margin-left: 0;
|
35
25
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
26
|
+
// Row
|
27
|
+
|
28
|
+
@if $enable-grid-classes {
|
29
|
+
.row {
|
30
|
+
@include make-row;
|
31
|
+
}
|
32
|
+
|
33
|
+
.no-gutters {
|
34
|
+
margin-right: 0;
|
35
|
+
margin-left: 0;
|
36
|
+
|
37
|
+
> .col,
|
38
|
+
> [class*="col-"] {
|
39
|
+
padding-right: 0;
|
40
|
+
padding-left: 0;
|
41
41
|
}
|
42
42
|
}
|
43
|
+
}
|
@@ -1,198 +1,189 @@
|
|
1
|
-
//
|
2
|
-
// blockquote
|
3
|
-
//
|
4
|
-
.blockquote {
|
5
|
-
border-left: $blockquote-border-width solid $blockquote-border-color;
|
6
|
-
margin-bottom: $spacer-md-y;
|
7
|
-
padding: 0 $spacer-md-x;
|
8
|
-
@include typography-title;
|
9
|
-
}
|
1
|
+
// Blockquote
|
10
2
|
|
11
|
-
|
12
|
-
|
13
|
-
display: block;
|
14
|
-
margin-top: $spacer-xs-y;
|
15
|
-
@include typography-caption;
|
3
|
+
.blockquote {
|
4
|
+
@include typography-title;
|
16
5
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
6
|
+
border-left: $blockquote-border-width solid $blockquote-border-color;
|
7
|
+
margin-bottom: $paragraph-margin-y;
|
8
|
+
padding: 0 $spacer;
|
9
|
+
}
|
21
10
|
|
22
|
-
|
23
|
-
|
24
|
-
border-right: $blockquote-border-width solid $blockquote-border-color;
|
25
|
-
text-align: right;
|
26
|
-
}
|
11
|
+
.blockquote-footer {
|
12
|
+
@include typography-caption;
|
27
13
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
}
|
32
|
-
&::before {
|
33
|
-
content: "";
|
34
|
-
}
|
35
|
-
}
|
14
|
+
color: $blockquote-small-color;
|
15
|
+
display: block;
|
16
|
+
margin-top: $spacer-xs;
|
36
17
|
|
37
|
-
|
38
|
-
|
39
|
-
//
|
40
|
-
mark,
|
41
|
-
.mark {
|
42
|
-
background-color: $mark-bg;
|
43
|
-
padding: $mark-padding;
|
18
|
+
&::before {
|
19
|
+
content: '\2014 \00A0';
|
44
20
|
}
|
21
|
+
}
|
45
22
|
|
46
|
-
small,
|
47
|
-
.small {
|
48
|
-
font-size: $small-font-size;
|
49
|
-
font-weight: normal;
|
50
|
-
}
|
51
23
|
|
52
|
-
//
|
53
|
-
// headings
|
54
|
-
//
|
55
|
-
.typography-display-4 {
|
56
|
-
@include typography-display-4;
|
57
|
-
}
|
58
24
|
|
59
|
-
|
60
|
-
@include typography-display-3;
|
61
|
-
}
|
25
|
+
// Emphasis
|
62
26
|
|
63
|
-
|
64
|
-
|
65
|
-
|
27
|
+
mark,
|
28
|
+
.mark {
|
29
|
+
background-color: $mark-bg;
|
30
|
+
color: $mark-color;
|
31
|
+
padding: $mark-padding;
|
32
|
+
}
|
66
33
|
|
67
|
-
|
68
|
-
|
69
|
-
|
34
|
+
small,
|
35
|
+
.small {
|
36
|
+
font-size: $small-font-size;
|
37
|
+
font-weight: normal;
|
38
|
+
}
|
70
39
|
|
71
|
-
|
72
|
-
|
73
|
-
|
40
|
+
.initialism {
|
41
|
+
font-size: 90%;
|
42
|
+
text-transform: uppercase;
|
43
|
+
}
|
74
44
|
|
75
|
-
.typography-title {
|
76
|
-
@include typography-title;
|
77
|
-
}
|
78
45
|
|
79
|
-
.typography-subheading {
|
80
|
-
@include typography-subheading;
|
81
|
-
}
|
82
46
|
|
83
|
-
|
84
|
-
@include typography-body-2;
|
85
|
-
}
|
47
|
+
// Headings
|
86
48
|
|
87
|
-
|
88
|
-
|
89
|
-
|
49
|
+
.typography-display-4 {
|
50
|
+
@include typography-display-4;
|
51
|
+
}
|
90
52
|
|
91
|
-
|
92
|
-
|
93
|
-
|
53
|
+
.typography-display-3 {
|
54
|
+
@include typography-display-3;
|
55
|
+
}
|
94
56
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
h3,
|
99
|
-
h4,
|
100
|
-
h5,
|
101
|
-
h6,
|
102
|
-
.h1,
|
103
|
-
.h2,
|
104
|
-
.h3,
|
105
|
-
.h4,
|
106
|
-
.h5,
|
107
|
-
.h6 {
|
108
|
-
color: $headings-color;
|
109
|
-
font-family: $headings-font-family;
|
110
|
-
margin-bottom: $headings-margin-bottom;
|
111
|
-
}
|
112
|
-
|
113
|
-
h1,
|
114
|
-
.h1 {
|
115
|
-
@extend .typography-display-2;
|
116
|
-
}
|
117
|
-
|
118
|
-
h2,
|
119
|
-
.h2 {
|
120
|
-
@extend .typography-display-1;
|
121
|
-
}
|
122
|
-
|
123
|
-
h3,
|
124
|
-
.h3 {
|
125
|
-
@extend .typography-headline;
|
126
|
-
}
|
127
|
-
|
128
|
-
h4,
|
129
|
-
.h4 {
|
130
|
-
@extend .typography-title;
|
131
|
-
}
|
132
|
-
|
133
|
-
h5,
|
134
|
-
.h5 {
|
135
|
-
@extend .typography-subheading;
|
136
|
-
}
|
137
|
-
|
138
|
-
h6,
|
139
|
-
.h6 {
|
140
|
-
@extend .typography-body-2;
|
141
|
-
}
|
142
|
-
|
143
|
-
.display-1 {
|
144
|
-
@extend .typography-display-4;
|
145
|
-
}
|
146
|
-
|
147
|
-
.display-2 {
|
148
|
-
@extend .typography-display-3;
|
149
|
-
}
|
150
|
-
|
151
|
-
.display-3 {
|
152
|
-
@extend .typography-display-2;
|
153
|
-
}
|
154
|
-
|
155
|
-
.display-4 {
|
156
|
-
@extend .typography-display-1;
|
157
|
-
}
|
158
|
-
|
159
|
-
.lead {
|
160
|
-
@extend .typography-title;
|
161
|
-
}
|
162
|
-
|
163
|
-
//
|
164
|
-
// hr
|
165
|
-
//
|
166
|
-
hr {
|
167
|
-
border: 0;
|
168
|
-
border-top: $hr-border-width solid $hr-border-color;
|
169
|
-
margin-top: $spacer-md-y;
|
170
|
-
margin-bottom: $spacer-md-y;
|
171
|
-
}
|
57
|
+
.typography-display-2 {
|
58
|
+
@include typography-display-2;
|
59
|
+
}
|
172
60
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
.list-inline {
|
177
|
-
@include list-unstyled;
|
178
|
-
}
|
61
|
+
.typography-display-1 {
|
62
|
+
@include typography-display-1;
|
63
|
+
}
|
179
64
|
|
180
|
-
|
181
|
-
|
65
|
+
.typography-headline {
|
66
|
+
@include typography-headline;
|
67
|
+
}
|
68
|
+
|
69
|
+
.typography-title {
|
70
|
+
@include typography-title;
|
71
|
+
}
|
72
|
+
|
73
|
+
.typography-subheading {
|
74
|
+
@include typography-subheading;
|
75
|
+
}
|
76
|
+
|
77
|
+
.typography-body-2 {
|
78
|
+
@include typography-body-2;
|
79
|
+
}
|
80
|
+
|
81
|
+
.typography-body-1 {
|
82
|
+
@include typography-body-1;
|
83
|
+
}
|
84
|
+
|
85
|
+
.typography-caption {
|
86
|
+
@include typography-caption;
|
87
|
+
}
|
182
88
|
|
183
|
-
&:not(:last-child) {
|
184
|
-
margin-right: $list-inline-item-spacer;
|
185
|
-
}
|
186
|
-
}
|
187
89
|
|
188
|
-
.list-unstyled {
|
189
|
-
@include list-unstyled;
|
190
|
-
}
|
191
90
|
|
192
|
-
//
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
91
|
+
// Headings - bootstrap classes
|
92
|
+
|
93
|
+
h1,
|
94
|
+
h2,
|
95
|
+
h3,
|
96
|
+
h4,
|
97
|
+
h5,
|
98
|
+
h6,
|
99
|
+
.h1,
|
100
|
+
.h2,
|
101
|
+
.h3,
|
102
|
+
.h4,
|
103
|
+
.h5,
|
104
|
+
.h6 {
|
105
|
+
color: $headings-color;
|
106
|
+
font-family: $headings-font-family;
|
107
|
+
margin-bottom: $headings-margin-y;
|
108
|
+
}
|
109
|
+
|
110
|
+
h1,
|
111
|
+
.h1 {
|
112
|
+
@include typography-display-2;
|
113
|
+
}
|
114
|
+
|
115
|
+
h2,
|
116
|
+
.h2 {
|
117
|
+
@include typography-display-1;
|
118
|
+
}
|
119
|
+
|
120
|
+
h3,
|
121
|
+
.h3 {
|
122
|
+
@include typography-headline;
|
123
|
+
}
|
124
|
+
|
125
|
+
h4,
|
126
|
+
.h4 {
|
127
|
+
@include typography-title;
|
128
|
+
}
|
129
|
+
|
130
|
+
h5,
|
131
|
+
.h5 {
|
132
|
+
@include typography-subheading;
|
133
|
+
}
|
134
|
+
|
135
|
+
h6,
|
136
|
+
.h6 {
|
137
|
+
@include typography-body-2;
|
138
|
+
}
|
139
|
+
|
140
|
+
.display-1 {
|
141
|
+
@include typography-display-4;
|
142
|
+
}
|
143
|
+
|
144
|
+
.display-2 {
|
145
|
+
@include typography-display-3;
|
146
|
+
}
|
147
|
+
|
148
|
+
.display-3 {
|
149
|
+
@include typography-display-2;
|
150
|
+
}
|
151
|
+
|
152
|
+
.display-4 {
|
153
|
+
@include typography-display-1;
|
154
|
+
}
|
155
|
+
|
156
|
+
.lead {
|
157
|
+
@include typography-title;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
// Hr
|
163
|
+
|
164
|
+
hr {
|
165
|
+
border: 0;
|
166
|
+
border-top: $hr-border-width solid $hr-border-color;
|
167
|
+
margin-top: $paragraph-margin-y;
|
168
|
+
margin-bottom: $paragraph-margin-y;
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
// List
|
174
|
+
|
175
|
+
.list-inline {
|
176
|
+
@include list-unstyled;
|
177
|
+
}
|
178
|
+
|
179
|
+
.list-inline-item {
|
180
|
+
display: inline-block;
|
181
|
+
|
182
|
+
&:not(:last-child) {
|
183
|
+
margin-right: $list-inline-inner-spacer-x;
|
198
184
|
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.list-unstyled {
|
188
|
+
@include list-unstyled;
|
189
|
+
}
|
@@ -1,54 +1,47 @@
|
|
1
1
|
.alert {
|
2
|
-
|
2
|
+
@include border-radius($alert-border-radius);
|
3
|
+
|
3
4
|
border: 0;
|
4
|
-
box-shadow: map-get($
|
5
|
+
box-shadow: map-get($alert-elevation-shadow, shadow);
|
5
6
|
display: block;
|
6
|
-
margin-bottom: $
|
7
|
-
padding: $
|
8
|
-
position: relative;
|
9
|
-
z-index: map-get($card-elevation-shadow, elevation);
|
10
|
-
@include border-radius($border-radius);
|
7
|
+
margin-bottom: $alert-margin-y;
|
8
|
+
padding: $alert-padding-y $alert-padding-x;
|
11
9
|
}
|
12
10
|
|
13
|
-
//
|
14
|
-
|
15
|
-
|
16
|
-
color
|
17
|
-
}
|
11
|
+
// Colour
|
12
|
+
@each $color, $values in $theme-colors {
|
13
|
+
.alert-#{$color} {
|
14
|
+
@include color-yiq(map-get(theme-color($color), lighter));
|
18
15
|
|
19
|
-
|
20
|
-
$i: index($palettes, $color);
|
16
|
+
background-color: map-get(theme-color($color), lighter);
|
21
17
|
|
22
|
-
.alert
|
23
|
-
|
24
|
-
color: nth($palettes-text-color, $i);
|
18
|
+
.alert-link {
|
19
|
+
color: map-get(theme-color($color), darker);
|
25
20
|
}
|
26
21
|
}
|
22
|
+
}
|
27
23
|
|
28
|
-
//
|
29
|
-
// dismissible
|
30
|
-
//
|
31
|
-
.alert-dismissible {
|
32
|
-
padding-right: ($card-spacer-inner-x * 2);
|
33
24
|
|
34
|
-
.close {
|
35
|
-
position: relative;
|
36
|
-
top: -0.125rem;
|
37
|
-
right: ($card-spacer-inner-x * -1);
|
38
|
-
}
|
39
|
-
}
|
40
25
|
|
41
|
-
//
|
42
|
-
|
43
|
-
|
44
|
-
.
|
45
|
-
|
26
|
+
// Dismissible
|
27
|
+
|
28
|
+
.alert-dismissible {
|
29
|
+
.close {
|
30
|
+
padding: $btn-padding-y $btn-padding-x;
|
31
|
+
position: relative;
|
32
|
+
top: (($close-font-size - $font-size-base * $line-height-base) / -2 - $btn-padding-y);
|
33
|
+
right: ($btn-padding-x * -1);
|
46
34
|
}
|
35
|
+
}
|
47
36
|
|
48
|
-
.alert-link {
|
49
|
-
font-weight: $alert-link-font-weight;
|
50
37
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
38
|
+
|
39
|
+
// Misc
|
40
|
+
|
41
|
+
.alert-heading {
|
42
|
+
color: inherit;
|
43
|
+
}
|
44
|
+
|
45
|
+
.alert-link {
|
46
|
+
font-weight: $alert-link-font-weight;
|
47
|
+
}
|