bootstrap-sass-rails 3.0.3.0 → 3.1.0.0
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.
- data/LICENSE +1 -1
- data/README.md +24 -133
- data/app/assets/javascripts/twitter/bootstrap.js +1 -12
- data/app/assets/javascripts/twitter/bootstrap/affix.js +1 -126
- data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -98
- data/app/assets/javascripts/twitter/bootstrap/button.js +1 -115
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +1 -217
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +1 -179
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +1 -154
- data/app/assets/javascripts/twitter/bootstrap/modal.js +1 -246
- data/app/assets/javascripts/twitter/bootstrap/popover.js +1 -117
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -158
- data/app/assets/javascripts/twitter/bootstrap/tab.js +1 -135
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +1 -386
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -56
- data/app/assets/stylesheets/twitter/bootstrap.css.scss +1 -49
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +1 -67
- data/app/assets/stylesheets/twitter/bootstrap/_badges.scss +1 -51
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +1 -23
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +1 -227
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +1 -155
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +1 -232
- data/app/assets/stylesheets/twitter/bootstrap/_close.scss +1 -34
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +1 -53
- data/app/assets/stylesheets/twitter/bootstrap/_component-animations.scss +1 -29
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +1 -187
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +1 -373
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +1 -237
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +1 -78
- data/app/assets/stylesheets/twitter/bootstrap/_input-groups.scss +1 -136
- data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -46
- data/app/assets/stylesheets/twitter/bootstrap/_labels.scss +1 -64
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +1 -88
- data/app/assets/stylesheets/twitter/bootstrap/_media.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +1 -847
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +1 -129
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +1 -616
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +1 -242
- data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +1 -406
- data/app/assets/stylesheets/twitter/bootstrap/_pager.scss +1 -55
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +1 -85
- data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +1 -182
- data/app/assets/stylesheets/twitter/bootstrap/_popovers.scss +1 -133
- data/app/assets/stylesheets/twitter/bootstrap/_print.scss +1 -105
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +1 -80
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +1 -198
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +1 -119
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +1 -231
- data/app/assets/stylesheets/twitter/bootstrap/_theme.scss +1 -247
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +1 -38
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +1 -95
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +1 -281
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -642
- data/app/assets/stylesheets/twitter/bootstrap/_wells.scss +1 -29
- data/lib/bootstrap-sass-rails.rb +1 -1
- data/lib/bootstrap/sass/rails/engine.rb +3 -8
- data/lib/bootstrap/sass/rails/version.rb +2 -1
- data/lib/generators/bootstrap/templates/USAGE +1 -1
- metadata +37 -17
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +0 -229
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/bootstrap/sass/extensions.rb +0 -5
- data/lib/bootstrap/sass/extensions/functions.rb +0 -15
@@ -1,105 +1 @@
|
|
1
|
-
|
2
|
-
// Basic print styles
|
3
|
-
// --------------------------------------------------
|
4
|
-
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
5
|
-
|
6
|
-
@media print {
|
7
|
-
|
8
|
-
* {
|
9
|
-
text-shadow: none !important;
|
10
|
-
color: #000 !important; // Black prints faster: h5bp.com/s
|
11
|
-
background: transparent !important;
|
12
|
-
box-shadow: none !important;
|
13
|
-
}
|
14
|
-
|
15
|
-
a,
|
16
|
-
a:visited {
|
17
|
-
text-decoration: underline;
|
18
|
-
}
|
19
|
-
|
20
|
-
a[href]:after {
|
21
|
-
content: " (" attr(href) ")";
|
22
|
-
}
|
23
|
-
|
24
|
-
abbr[title]:after {
|
25
|
-
content: " (" attr(title) ")";
|
26
|
-
}
|
27
|
-
|
28
|
-
// Don't show links for images, or javascript/internal links
|
29
|
-
a[href^="javascript:"]:after,
|
30
|
-
a[href^="#"]:after {
|
31
|
-
content: "";
|
32
|
-
}
|
33
|
-
|
34
|
-
pre,
|
35
|
-
blockquote {
|
36
|
-
border: 1px solid #999;
|
37
|
-
page-break-inside: avoid;
|
38
|
-
}
|
39
|
-
|
40
|
-
thead {
|
41
|
-
display: table-header-group; // h5bp.com/t
|
42
|
-
}
|
43
|
-
|
44
|
-
tr,
|
45
|
-
img {
|
46
|
-
page-break-inside: avoid;
|
47
|
-
}
|
48
|
-
|
49
|
-
img {
|
50
|
-
max-width: 100% !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
@page {
|
54
|
-
margin: 2cm .5cm;
|
55
|
-
}
|
56
|
-
|
57
|
-
p,
|
58
|
-
h2,
|
59
|
-
h3 {
|
60
|
-
orphans: 3;
|
61
|
-
widows: 3;
|
62
|
-
}
|
63
|
-
|
64
|
-
h2,
|
65
|
-
h3 {
|
66
|
-
page-break-after: avoid;
|
67
|
-
}
|
68
|
-
|
69
|
-
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
70
|
-
// Once fixed, we can just straight up remove this.
|
71
|
-
select {
|
72
|
-
background: #fff !important;
|
73
|
-
}
|
74
|
-
|
75
|
-
// Bootstrap components
|
76
|
-
.navbar {
|
77
|
-
display: none;
|
78
|
-
}
|
79
|
-
.table {
|
80
|
-
td,
|
81
|
-
th {
|
82
|
-
background-color: #fff !important;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
.btn,
|
86
|
-
.dropup > .btn {
|
87
|
-
> .caret {
|
88
|
-
border-top-color: #000 !important;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
.label {
|
92
|
-
border: 1px solid #000;
|
93
|
-
}
|
94
|
-
|
95
|
-
.table {
|
96
|
-
border-collapse: collapse !important;
|
97
|
-
}
|
98
|
-
.table-bordered {
|
99
|
-
th,
|
100
|
-
td {
|
101
|
-
border: 1px solid #ddd !important;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
}
|
1
|
+
@import "bootstrap/print";
|
@@ -1,80 +1 @@
|
|
1
|
-
|
2
|
-
// Progress bars
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Bar animations
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
// WebKit
|
10
|
-
@-webkit-keyframes progress-bar-stripes {
|
11
|
-
from { background-position: 40px 0; }
|
12
|
-
to { background-position: 0 0; }
|
13
|
-
}
|
14
|
-
|
15
|
-
// Spec and IE10+
|
16
|
-
@keyframes progress-bar-stripes {
|
17
|
-
from { background-position: 40px 0; }
|
18
|
-
to { background-position: 0 0; }
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
// Bar itself
|
24
|
-
// -------------------------
|
25
|
-
|
26
|
-
// Outer container
|
27
|
-
.progress {
|
28
|
-
overflow: hidden;
|
29
|
-
height: $line-height-computed;
|
30
|
-
margin-bottom: $line-height-computed;
|
31
|
-
background-color: $progress-bg;
|
32
|
-
border-radius: $border-radius-base;
|
33
|
-
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
34
|
-
}
|
35
|
-
|
36
|
-
// Bar of progress
|
37
|
-
.progress-bar {
|
38
|
-
float: left;
|
39
|
-
width: 0%;
|
40
|
-
height: 100%;
|
41
|
-
font-size: $font-size-small;
|
42
|
-
line-height: $line-height-computed;
|
43
|
-
color: $progress-bar-color;
|
44
|
-
text-align: center;
|
45
|
-
background-color: $progress-bar-bg;
|
46
|
-
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
47
|
-
@include transition(width .6s ease);
|
48
|
-
}
|
49
|
-
|
50
|
-
// Striped bars
|
51
|
-
.progress-striped .progress-bar {
|
52
|
-
@include gradient-striped();
|
53
|
-
background-size: 40px 40px;
|
54
|
-
}
|
55
|
-
|
56
|
-
// Call animation for the active one
|
57
|
-
.progress.active .progress-bar {
|
58
|
-
@include animation(progress-bar-stripes 2s linear infinite);
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
// Variations
|
64
|
-
// -------------------------
|
65
|
-
|
66
|
-
.progress-bar-success {
|
67
|
-
@include progress-bar-variant($progress-bar-success-bg);
|
68
|
-
}
|
69
|
-
|
70
|
-
.progress-bar-info {
|
71
|
-
@include progress-bar-variant($progress-bar-info-bg);
|
72
|
-
}
|
73
|
-
|
74
|
-
.progress-bar-warning {
|
75
|
-
@include progress-bar-variant($progress-bar-warning-bg);
|
76
|
-
}
|
77
|
-
|
78
|
-
.progress-bar-danger {
|
79
|
-
@include progress-bar-variant($progress-bar-danger-bg);
|
80
|
-
}
|
1
|
+
@import "bootstrap/progress-bars";
|
@@ -1,198 +1 @@
|
|
1
|
-
|
2
|
-
// Responsive: Utility classes
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// IE10 in Windows (Phone) 8
|
7
|
-
//
|
8
|
-
// Support for responsive views via media queries is kind of borked in IE10, for
|
9
|
-
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
10
|
-
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
11
|
-
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
12
|
-
// our Getting Started page for more information on this bug.
|
13
|
-
//
|
14
|
-
// For more information, see the following:
|
15
|
-
//
|
16
|
-
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
17
|
-
// Docs: http://getbootstrap.com/getting-started/#browsers
|
18
|
-
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
19
|
-
|
20
|
-
@-ms-viewport {
|
21
|
-
width: device-width;
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
// Visibility utilities
|
26
|
-
|
27
|
-
@include responsive-invisibility('.visible-xs');
|
28
|
-
@media (max-width: $screen-xs-max) {
|
29
|
-
@include responsive-visibility('.visible-xs');
|
30
|
-
}
|
31
|
-
|
32
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
33
|
-
@include responsive-visibility('.visible-xs.visible-sm');
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
38
|
-
@include responsive-visibility('.visible-xs.visible-md');
|
39
|
-
}
|
40
|
-
|
41
|
-
|
42
|
-
@media (min-width: $screen-lg-min) {
|
43
|
-
@include responsive-visibility('.visible-xs.visible-lg');
|
44
|
-
}
|
45
|
-
|
46
|
-
|
47
|
-
@include responsive-invisibility('.visible-sm');
|
48
|
-
|
49
|
-
@media (max-width: $screen-xs-max) {
|
50
|
-
@include responsive-visibility('.visible-sm.visible-xs');
|
51
|
-
}
|
52
|
-
|
53
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
54
|
-
@include responsive-visibility('.visible-sm');
|
55
|
-
}
|
56
|
-
|
57
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
58
|
-
@include responsive-visibility('.visible-sm.visible-md');
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
@media (min-width: $screen-lg-min) {
|
63
|
-
@include responsive-visibility('.visible-sm.visible-lg');
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
@include responsive-invisibility('.visible-md');
|
68
|
-
|
69
|
-
@media (max-width: $screen-xs-max) {
|
70
|
-
@include responsive-visibility('.visible-md.visible-xs');
|
71
|
-
}
|
72
|
-
|
73
|
-
|
74
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
75
|
-
@include responsive-visibility('.visible-md.visible-sm');
|
76
|
-
}
|
77
|
-
|
78
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
79
|
-
@include responsive-visibility('.visible-md');
|
80
|
-
}
|
81
|
-
|
82
|
-
@media (min-width: $screen-lg-min) {
|
83
|
-
@include responsive-visibility('.visible-md.visible-lg');
|
84
|
-
}
|
85
|
-
|
86
|
-
|
87
|
-
@include responsive-invisibility('.visible-lg');
|
88
|
-
|
89
|
-
@media (max-width: $screen-xs-max) {
|
90
|
-
@include responsive-visibility('.visible-lg.visible-xs');
|
91
|
-
}
|
92
|
-
|
93
|
-
|
94
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
95
|
-
@include responsive-visibility('.visible-lg.visible-sm');
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
100
|
-
@include responsive-visibility('.visible-lg.visible-md');
|
101
|
-
}
|
102
|
-
|
103
|
-
@media (min-width: $screen-lg-min) {
|
104
|
-
@include responsive-visibility('.visible-lg');
|
105
|
-
}
|
106
|
-
|
107
|
-
@include responsive-visibility('.hidden-xs');
|
108
|
-
@media (max-width: $screen-xs-max) {
|
109
|
-
@include responsive-invisibility('.hidden-xs');
|
110
|
-
}
|
111
|
-
|
112
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
113
|
-
@include responsive-invisibility('.hidden-xs.hidden-sm');
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
118
|
-
@include responsive-invisibility('.hidden-xs.hidden-md');
|
119
|
-
}
|
120
|
-
|
121
|
-
|
122
|
-
@media (min-width: $screen-lg-min) {
|
123
|
-
@include responsive-invisibility('.hidden-xs.hidden-lg');
|
124
|
-
}
|
125
|
-
|
126
|
-
|
127
|
-
@include responsive-visibility('.hidden-sm');
|
128
|
-
|
129
|
-
@media (max-width: $screen-xs-max) {
|
130
|
-
@include responsive-invisibility('.hidden-sm.hidden-xs');
|
131
|
-
}
|
132
|
-
|
133
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
134
|
-
@include responsive-invisibility('.hidden-sm');
|
135
|
-
}
|
136
|
-
|
137
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
138
|
-
@include responsive-invisibility('.hidden-sm.hidden-md');
|
139
|
-
}
|
140
|
-
|
141
|
-
|
142
|
-
@media (min-width: $screen-lg-min) {
|
143
|
-
@include responsive-invisibility('.hidden-sm.hidden-lg');
|
144
|
-
}
|
145
|
-
|
146
|
-
|
147
|
-
@include responsive-visibility('.hidden-md');
|
148
|
-
|
149
|
-
@media (max-width: $screen-xs-max) {
|
150
|
-
@include responsive-invisibility('.hidden-md.hidden-xs');
|
151
|
-
}
|
152
|
-
|
153
|
-
|
154
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
155
|
-
@include responsive-invisibility('.hidden-md.hidden-sm');
|
156
|
-
}
|
157
|
-
|
158
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
159
|
-
@include responsive-invisibility('.hidden-md');
|
160
|
-
}
|
161
|
-
|
162
|
-
@media (min-width: $screen-lg-min) {
|
163
|
-
@include responsive-invisibility('.hidden-md.hidden-lg');
|
164
|
-
}
|
165
|
-
|
166
|
-
|
167
|
-
@include responsive-visibility('.hidden-lg');
|
168
|
-
|
169
|
-
@media (max-width: $screen-xs-max) {
|
170
|
-
@include responsive-invisibility('.hidden-lg.hidden-xs');
|
171
|
-
}
|
172
|
-
|
173
|
-
|
174
|
-
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
175
|
-
@include responsive-invisibility('.hidden-lg.hidden-sm');
|
176
|
-
}
|
177
|
-
|
178
|
-
|
179
|
-
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
180
|
-
@include responsive-invisibility('.hidden-lg.hidden-md');
|
181
|
-
}
|
182
|
-
|
183
|
-
@media (min-width: $screen-lg-min) {
|
184
|
-
@include responsive-invisibility('.hidden-lg');
|
185
|
-
}
|
186
|
-
|
187
|
-
// Print utilities
|
188
|
-
|
189
|
-
@include responsive-invisibility('.visible-print');
|
190
|
-
|
191
|
-
@media print {
|
192
|
-
|
193
|
-
@include responsive-visibility('.visible-print');
|
194
|
-
|
195
|
-
|
196
|
-
@include responsive-invisibility('.hidden-print');
|
197
|
-
|
198
|
-
}
|
1
|
+
@import "bootstrap/responsive-utilities";
|
@@ -1,119 +1 @@
|
|
1
|
-
|
2
|
-
// Scaffolding
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Reset the box-sizing
|
7
|
-
|
8
|
-
*,
|
9
|
-
*:before,
|
10
|
-
*:after {
|
11
|
-
@include box-sizing(border-box);
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
// Body reset
|
16
|
-
|
17
|
-
html {
|
18
|
-
font-size: 62.5%;
|
19
|
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
20
|
-
}
|
21
|
-
|
22
|
-
body {
|
23
|
-
font-family: $font-family-base;
|
24
|
-
font-size: $font-size-base;
|
25
|
-
line-height: $line-height-base;
|
26
|
-
color: $text-color;
|
27
|
-
background-color: $body-bg;
|
28
|
-
}
|
29
|
-
|
30
|
-
// Reset fonts for relevant elements
|
31
|
-
input,
|
32
|
-
button,
|
33
|
-
select,
|
34
|
-
textarea {
|
35
|
-
font-family: inherit;
|
36
|
-
font-size: inherit;
|
37
|
-
line-height: inherit;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
// Links
|
42
|
-
|
43
|
-
a {
|
44
|
-
color: $link-color;
|
45
|
-
text-decoration: none;
|
46
|
-
|
47
|
-
&:hover,
|
48
|
-
&:focus {
|
49
|
-
color: $link-hover-color;
|
50
|
-
text-decoration: underline;
|
51
|
-
}
|
52
|
-
|
53
|
-
&:focus {
|
54
|
-
@include tab-focus();
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
// Images
|
60
|
-
|
61
|
-
img {
|
62
|
-
vertical-align: middle;
|
63
|
-
}
|
64
|
-
|
65
|
-
// Responsive images (ensure images don't scale beyond their parents)
|
66
|
-
.img-responsive {
|
67
|
-
@include img-responsive();
|
68
|
-
}
|
69
|
-
|
70
|
-
// Rounded corners
|
71
|
-
.img-rounded {
|
72
|
-
border-radius: $border-radius-large;
|
73
|
-
}
|
74
|
-
|
75
|
-
// Image thumbnails
|
76
|
-
//
|
77
|
-
// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
|
78
|
-
.img-thumbnail {
|
79
|
-
padding: $thumbnail-padding;
|
80
|
-
line-height: $line-height-base;
|
81
|
-
background-color: $thumbnail-bg;
|
82
|
-
border: 1px solid $thumbnail-border;
|
83
|
-
border-radius: $thumbnail-border-radius;
|
84
|
-
@include transition(all .2s ease-in-out);
|
85
|
-
|
86
|
-
// Keep them at most 100% wide
|
87
|
-
@include img-responsive(inline-block);
|
88
|
-
}
|
89
|
-
|
90
|
-
// Perfect circle
|
91
|
-
.img-circle {
|
92
|
-
border-radius: 50%; // set radius in percents
|
93
|
-
}
|
94
|
-
|
95
|
-
|
96
|
-
// Horizontal rules
|
97
|
-
|
98
|
-
hr {
|
99
|
-
margin-top: $line-height-computed;
|
100
|
-
margin-bottom: $line-height-computed;
|
101
|
-
border: 0;
|
102
|
-
border-top: 1px solid $hr-border;
|
103
|
-
}
|
104
|
-
|
105
|
-
|
106
|
-
// Only display content to screen readers
|
107
|
-
//
|
108
|
-
// See: http://a11yproject.com/posts/how-to-hide-content/
|
109
|
-
|
110
|
-
.sr-only {
|
111
|
-
position: absolute;
|
112
|
-
width: 1px;
|
113
|
-
height: 1px;
|
114
|
-
margin: -1px;
|
115
|
-
padding: 0;
|
116
|
-
overflow: hidden;
|
117
|
-
clip: rect(0,0,0,0);
|
118
|
-
border: 0;
|
119
|
-
}
|
1
|
+
@import "bootstrap/scaffolding";
|