try_api 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/try_api/application.css.sass +0 -2
- data/app/views/layouts/try_api/application.html.erb +2 -0
- data/app/views/try_api/pages/index.html +1 -1
- data/lib/try_api/version.rb +1 -1
- metadata +2 -121
- data/app/assets/javascripts/try_api/bower_components/bootstrap/CHANGELOG.md +0 -5
- data/app/assets/javascripts/try_api/bower_components/bootstrap/Gruntfile.js +0 -511
- data/app/assets/javascripts/try_api/bower_components/bootstrap/ISSUE_TEMPLATE.md +0 -22
- data/app/assets/javascripts/try_api/bower_components/bootstrap/LICENSE.txt +0 -21
- data/app/assets/javascripts/try_api/bower_components/bootstrap/README.md +0 -142
- data/app/assets/javascripts/try_api/bower_components/bootstrap/bower.json +0 -34
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap-theme.css +0 -587
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap-theme.min.css +0 -6
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap.css +0 -6757
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/css/bootstrap.min.css +0 -6
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -288
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/bootstrap.js +0 -2377
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/bootstrap.min.js +0 -7
- data/app/assets/javascripts/try_api/bower_components/bootstrap/dist/js/npm.js +0 -13
- data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
- data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-commonjs-generator.js +0 -30
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-glyphicons-data-generator.js +0 -42
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-lessdoc-parser.js +0 -237
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/bs-raw-files-generator.js +0 -44
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/change-version.js +0 -109
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/configBridge.json +0 -46
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/npm-shrinkwrap.json +0 -2679
- data/app/assets/javascripts/try_api/bower_components/bootstrap/grunt/sauce_browsers.yml +0 -82
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/affix.js +0 -162
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/alert.js +0 -94
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/button.js +0 -125
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/carousel.js +0 -237
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/collapse.js +0 -212
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/dropdown.js +0 -165
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/modal.js +0 -339
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/popover.js +0 -108
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/scrollspy.js +0 -172
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/tab.js +0 -155
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/tooltip.js +0 -520
- data/app/assets/javascripts/try_api/bower_components/bootstrap/js/transition.js +0 -59
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/alerts.less +0 -73
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/badges.less +0 -66
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/bootstrap.less +0 -56
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/breadcrumbs.less +0 -26
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/button-groups.less +0 -244
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/buttons.less +0 -166
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/carousel.less +0 -270
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/close.less +0 -34
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/code.less +0 -69
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/component-animations.less +0 -33
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/dropdowns.less +0 -216
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/forms.less +0 -613
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/glyphicons.less +0 -305
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/grid.less +0 -84
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/input-groups.less +0 -171
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/jumbotron.less +0 -54
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/labels.less +0 -64
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/list-group.less +0 -130
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/media.less +0 -66
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins.less +0 -40
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/alerts.less +0 -14
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/background-variant.less +0 -9
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/border-radius.less +0 -18
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/buttons.less +0 -65
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/center-block.less +0 -7
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/clearfix.less +0 -22
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/forms.less +0 -85
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/gradients.less +0 -59
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/grid-framework.less +0 -91
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/grid.less +0 -122
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/hide-text.less +0 -21
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/image.less +0 -33
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/labels.less +0 -12
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/list-group.less +0 -30
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/nav-divider.less +0 -10
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/nav-vertical-align.less +0 -9
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/opacity.less +0 -8
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/pagination.less +0 -24
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/panels.less +0 -24
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/progress-bar.less +0 -10
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/reset-filter.less +0 -8
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/reset-text.less +0 -18
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/resize.less +0 -6
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/responsive-visibility.less +0 -15
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/size.less +0 -10
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/tab-focus.less +0 -9
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/table-row.less +0 -28
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/text-emphasis.less +0 -9
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/text-overflow.less +0 -8
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/mixins/vendor-prefixes.less +0 -227
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/modals.less +0 -150
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/navbar.less +0 -660
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/navs.less +0 -242
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/normalize.less +0 -424
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/pager.less +0 -54
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/pagination.less +0 -89
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/panels.less +0 -271
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/popovers.less +0 -131
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/print.less +0 -101
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/progress-bars.less +0 -87
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/responsive-embed.less +0 -35
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/responsive-utilities.less +0 -194
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/scaffolding.less +0 -161
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/tables.less +0 -234
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/theme.less +0 -291
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/thumbnails.less +0 -36
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/tooltip.less +0 -101
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/type.less +0 -302
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/utilities.less +0 -55
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/variables.less +0 -869
- data/app/assets/javascripts/try_api/bower_components/bootstrap/less/wells.less +0 -29
- data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/MyGet.ps1 +0 -8
- data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/bootstrap.less.nuspec +0 -28
- data/app/assets/javascripts/try_api/bower_components/bootstrap/nuget/bootstrap.nuspec +0 -28
- data/app/assets/javascripts/try_api/bower_components/bootstrap/package.js +0 -32
- data/app/assets/javascripts/try_api/bower_components/bootstrap/package.json +0 -89
@@ -1,36 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Thumbnails
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Mixin and adjust the regular image class
|
7
|
-
.thumbnail {
|
8
|
-
display: block;
|
9
|
-
padding: @thumbnail-padding;
|
10
|
-
margin-bottom: @line-height-computed;
|
11
|
-
line-height: @line-height-base;
|
12
|
-
background-color: @thumbnail-bg;
|
13
|
-
border: 1px solid @thumbnail-border;
|
14
|
-
border-radius: @thumbnail-border-radius;
|
15
|
-
.transition(border .2s ease-in-out);
|
16
|
-
|
17
|
-
> img,
|
18
|
-
a > img {
|
19
|
-
&:extend(.img-responsive);
|
20
|
-
margin-left: auto;
|
21
|
-
margin-right: auto;
|
22
|
-
}
|
23
|
-
|
24
|
-
// Add a hover state for linked versions only
|
25
|
-
a&:hover,
|
26
|
-
a&:focus,
|
27
|
-
a&.active {
|
28
|
-
border-color: @link-color;
|
29
|
-
}
|
30
|
-
|
31
|
-
// Image captions
|
32
|
-
.caption {
|
33
|
-
padding: @thumbnail-caption-padding;
|
34
|
-
color: @thumbnail-caption-color;
|
35
|
-
}
|
36
|
-
}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Tooltips
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Base class
|
7
|
-
.tooltip {
|
8
|
-
position: absolute;
|
9
|
-
z-index: @zindex-tooltip;
|
10
|
-
display: block;
|
11
|
-
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
12
|
-
// So reset our font and text properties to avoid inheriting weird values.
|
13
|
-
.reset-text();
|
14
|
-
font-size: @font-size-small;
|
15
|
-
|
16
|
-
.opacity(0);
|
17
|
-
|
18
|
-
&.in { .opacity(@tooltip-opacity); }
|
19
|
-
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
|
20
|
-
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
|
21
|
-
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
|
22
|
-
&.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
|
23
|
-
}
|
24
|
-
|
25
|
-
// Wrapper for the tooltip content
|
26
|
-
.tooltip-inner {
|
27
|
-
max-width: @tooltip-max-width;
|
28
|
-
padding: 3px 8px;
|
29
|
-
color: @tooltip-color;
|
30
|
-
text-align: center;
|
31
|
-
background-color: @tooltip-bg;
|
32
|
-
border-radius: @border-radius-base;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Arrows
|
36
|
-
.tooltip-arrow {
|
37
|
-
position: absolute;
|
38
|
-
width: 0;
|
39
|
-
height: 0;
|
40
|
-
border-color: transparent;
|
41
|
-
border-style: solid;
|
42
|
-
}
|
43
|
-
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
44
|
-
.tooltip {
|
45
|
-
&.top .tooltip-arrow {
|
46
|
-
bottom: 0;
|
47
|
-
left: 50%;
|
48
|
-
margin-left: -@tooltip-arrow-width;
|
49
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
50
|
-
border-top-color: @tooltip-arrow-color;
|
51
|
-
}
|
52
|
-
&.top-left .tooltip-arrow {
|
53
|
-
bottom: 0;
|
54
|
-
right: @tooltip-arrow-width;
|
55
|
-
margin-bottom: -@tooltip-arrow-width;
|
56
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
57
|
-
border-top-color: @tooltip-arrow-color;
|
58
|
-
}
|
59
|
-
&.top-right .tooltip-arrow {
|
60
|
-
bottom: 0;
|
61
|
-
left: @tooltip-arrow-width;
|
62
|
-
margin-bottom: -@tooltip-arrow-width;
|
63
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
64
|
-
border-top-color: @tooltip-arrow-color;
|
65
|
-
}
|
66
|
-
&.right .tooltip-arrow {
|
67
|
-
top: 50%;
|
68
|
-
left: 0;
|
69
|
-
margin-top: -@tooltip-arrow-width;
|
70
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
|
71
|
-
border-right-color: @tooltip-arrow-color;
|
72
|
-
}
|
73
|
-
&.left .tooltip-arrow {
|
74
|
-
top: 50%;
|
75
|
-
right: 0;
|
76
|
-
margin-top: -@tooltip-arrow-width;
|
77
|
-
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
|
78
|
-
border-left-color: @tooltip-arrow-color;
|
79
|
-
}
|
80
|
-
&.bottom .tooltip-arrow {
|
81
|
-
top: 0;
|
82
|
-
left: 50%;
|
83
|
-
margin-left: -@tooltip-arrow-width;
|
84
|
-
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
85
|
-
border-bottom-color: @tooltip-arrow-color;
|
86
|
-
}
|
87
|
-
&.bottom-left .tooltip-arrow {
|
88
|
-
top: 0;
|
89
|
-
right: @tooltip-arrow-width;
|
90
|
-
margin-top: -@tooltip-arrow-width;
|
91
|
-
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
92
|
-
border-bottom-color: @tooltip-arrow-color;
|
93
|
-
}
|
94
|
-
&.bottom-right .tooltip-arrow {
|
95
|
-
top: 0;
|
96
|
-
left: @tooltip-arrow-width;
|
97
|
-
margin-top: -@tooltip-arrow-width;
|
98
|
-
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
99
|
-
border-bottom-color: @tooltip-arrow-color;
|
100
|
-
}
|
101
|
-
}
|
@@ -1,302 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Typography
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Headings
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
h1, h2, h3, h4, h5, h6,
|
10
|
-
.h1, .h2, .h3, .h4, .h5, .h6 {
|
11
|
-
font-family: @headings-font-family;
|
12
|
-
font-weight: @headings-font-weight;
|
13
|
-
line-height: @headings-line-height;
|
14
|
-
color: @headings-color;
|
15
|
-
|
16
|
-
small,
|
17
|
-
.small {
|
18
|
-
font-weight: normal;
|
19
|
-
line-height: 1;
|
20
|
-
color: @headings-small-color;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
h1, .h1,
|
25
|
-
h2, .h2,
|
26
|
-
h3, .h3 {
|
27
|
-
margin-top: @line-height-computed;
|
28
|
-
margin-bottom: (@line-height-computed / 2);
|
29
|
-
|
30
|
-
small,
|
31
|
-
.small {
|
32
|
-
font-size: 65%;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
h4, .h4,
|
36
|
-
h5, .h5,
|
37
|
-
h6, .h6 {
|
38
|
-
margin-top: (@line-height-computed / 2);
|
39
|
-
margin-bottom: (@line-height-computed / 2);
|
40
|
-
|
41
|
-
small,
|
42
|
-
.small {
|
43
|
-
font-size: 75%;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
h1, .h1 { font-size: @font-size-h1; }
|
48
|
-
h2, .h2 { font-size: @font-size-h2; }
|
49
|
-
h3, .h3 { font-size: @font-size-h3; }
|
50
|
-
h4, .h4 { font-size: @font-size-h4; }
|
51
|
-
h5, .h5 { font-size: @font-size-h5; }
|
52
|
-
h6, .h6 { font-size: @font-size-h6; }
|
53
|
-
|
54
|
-
|
55
|
-
// Body text
|
56
|
-
// -------------------------
|
57
|
-
|
58
|
-
p {
|
59
|
-
margin: 0 0 (@line-height-computed / 2);
|
60
|
-
}
|
61
|
-
|
62
|
-
.lead {
|
63
|
-
margin-bottom: @line-height-computed;
|
64
|
-
font-size: floor((@font-size-base * 1.15));
|
65
|
-
font-weight: 300;
|
66
|
-
line-height: 1.4;
|
67
|
-
|
68
|
-
@media (min-width: @screen-sm-min) {
|
69
|
-
font-size: (@font-size-base * 1.5);
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
|
74
|
-
// Emphasis & misc
|
75
|
-
// -------------------------
|
76
|
-
|
77
|
-
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
78
|
-
small,
|
79
|
-
.small {
|
80
|
-
font-size: floor((100% * @font-size-small / @font-size-base));
|
81
|
-
}
|
82
|
-
|
83
|
-
mark,
|
84
|
-
.mark {
|
85
|
-
background-color: @state-warning-bg;
|
86
|
-
padding: .2em;
|
87
|
-
}
|
88
|
-
|
89
|
-
// Alignment
|
90
|
-
.text-left { text-align: left; }
|
91
|
-
.text-right { text-align: right; }
|
92
|
-
.text-center { text-align: center; }
|
93
|
-
.text-justify { text-align: justify; }
|
94
|
-
.text-nowrap { white-space: nowrap; }
|
95
|
-
|
96
|
-
// Transformation
|
97
|
-
.text-lowercase { text-transform: lowercase; }
|
98
|
-
.text-uppercase { text-transform: uppercase; }
|
99
|
-
.text-capitalize { text-transform: capitalize; }
|
100
|
-
|
101
|
-
// Contextual colors
|
102
|
-
.text-muted {
|
103
|
-
color: @text-muted;
|
104
|
-
}
|
105
|
-
.text-primary {
|
106
|
-
.text-emphasis-variant(@brand-primary);
|
107
|
-
}
|
108
|
-
.text-success {
|
109
|
-
.text-emphasis-variant(@state-success-text);
|
110
|
-
}
|
111
|
-
.text-info {
|
112
|
-
.text-emphasis-variant(@state-info-text);
|
113
|
-
}
|
114
|
-
.text-warning {
|
115
|
-
.text-emphasis-variant(@state-warning-text);
|
116
|
-
}
|
117
|
-
.text-danger {
|
118
|
-
.text-emphasis-variant(@state-danger-text);
|
119
|
-
}
|
120
|
-
|
121
|
-
// Contextual backgrounds
|
122
|
-
// For now we'll leave these alongside the text classes until v4 when we can
|
123
|
-
// safely shift things around (per SemVer rules).
|
124
|
-
.bg-primary {
|
125
|
-
// Given the contrast here, this is the only class to have its color inverted
|
126
|
-
// automatically.
|
127
|
-
color: #fff;
|
128
|
-
.bg-variant(@brand-primary);
|
129
|
-
}
|
130
|
-
.bg-success {
|
131
|
-
.bg-variant(@state-success-bg);
|
132
|
-
}
|
133
|
-
.bg-info {
|
134
|
-
.bg-variant(@state-info-bg);
|
135
|
-
}
|
136
|
-
.bg-warning {
|
137
|
-
.bg-variant(@state-warning-bg);
|
138
|
-
}
|
139
|
-
.bg-danger {
|
140
|
-
.bg-variant(@state-danger-bg);
|
141
|
-
}
|
142
|
-
|
143
|
-
|
144
|
-
// Page header
|
145
|
-
// -------------------------
|
146
|
-
|
147
|
-
.page-header {
|
148
|
-
padding-bottom: ((@line-height-computed / 2) - 1);
|
149
|
-
margin: (@line-height-computed * 2) 0 @line-height-computed;
|
150
|
-
border-bottom: 1px solid @page-header-border-color;
|
151
|
-
}
|
152
|
-
|
153
|
-
|
154
|
-
// Lists
|
155
|
-
// -------------------------
|
156
|
-
|
157
|
-
// Unordered and Ordered lists
|
158
|
-
ul,
|
159
|
-
ol {
|
160
|
-
margin-top: 0;
|
161
|
-
margin-bottom: (@line-height-computed / 2);
|
162
|
-
ul,
|
163
|
-
ol {
|
164
|
-
margin-bottom: 0;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
// List options
|
169
|
-
|
170
|
-
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
171
|
-
.list-unstyled {
|
172
|
-
padding-left: 0;
|
173
|
-
list-style: none;
|
174
|
-
}
|
175
|
-
|
176
|
-
// Inline turns list items into inline-block
|
177
|
-
.list-inline {
|
178
|
-
.list-unstyled();
|
179
|
-
margin-left: -5px;
|
180
|
-
|
181
|
-
> li {
|
182
|
-
display: inline-block;
|
183
|
-
padding-left: 5px;
|
184
|
-
padding-right: 5px;
|
185
|
-
}
|
186
|
-
}
|
187
|
-
|
188
|
-
// Description Lists
|
189
|
-
dl {
|
190
|
-
margin-top: 0; // Remove browser default
|
191
|
-
margin-bottom: @line-height-computed;
|
192
|
-
}
|
193
|
-
dt,
|
194
|
-
dd {
|
195
|
-
line-height: @line-height-base;
|
196
|
-
}
|
197
|
-
dt {
|
198
|
-
font-weight: bold;
|
199
|
-
}
|
200
|
-
dd {
|
201
|
-
margin-left: 0; // Undo browser default
|
202
|
-
}
|
203
|
-
|
204
|
-
// Horizontal description lists
|
205
|
-
//
|
206
|
-
// Defaults to being stacked without any of the below styles applied, until the
|
207
|
-
// grid breakpoint is reached (default of ~768px).
|
208
|
-
|
209
|
-
.dl-horizontal {
|
210
|
-
dd {
|
211
|
-
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
212
|
-
}
|
213
|
-
|
214
|
-
@media (min-width: @dl-horizontal-breakpoint) {
|
215
|
-
dt {
|
216
|
-
float: left;
|
217
|
-
width: (@dl-horizontal-offset - 20);
|
218
|
-
clear: left;
|
219
|
-
text-align: right;
|
220
|
-
.text-overflow();
|
221
|
-
}
|
222
|
-
dd {
|
223
|
-
margin-left: @dl-horizontal-offset;
|
224
|
-
}
|
225
|
-
}
|
226
|
-
}
|
227
|
-
|
228
|
-
|
229
|
-
// Misc
|
230
|
-
// -------------------------
|
231
|
-
|
232
|
-
// Abbreviations and acronyms
|
233
|
-
abbr[title],
|
234
|
-
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
235
|
-
abbr[data-original-title] {
|
236
|
-
cursor: help;
|
237
|
-
border-bottom: 1px dotted @abbr-border-color;
|
238
|
-
}
|
239
|
-
.initialism {
|
240
|
-
font-size: 90%;
|
241
|
-
.text-uppercase();
|
242
|
-
}
|
243
|
-
|
244
|
-
// Blockquotes
|
245
|
-
blockquote {
|
246
|
-
padding: (@line-height-computed / 2) @line-height-computed;
|
247
|
-
margin: 0 0 @line-height-computed;
|
248
|
-
font-size: @blockquote-font-size;
|
249
|
-
border-left: 5px solid @blockquote-border-color;
|
250
|
-
|
251
|
-
p,
|
252
|
-
ul,
|
253
|
-
ol {
|
254
|
-
&:last-child {
|
255
|
-
margin-bottom: 0;
|
256
|
-
}
|
257
|
-
}
|
258
|
-
|
259
|
-
// Note: Deprecated small and .small as of v3.1.0
|
260
|
-
// Context: https://github.com/twbs/bootstrap/issues/11660
|
261
|
-
footer,
|
262
|
-
small,
|
263
|
-
.small {
|
264
|
-
display: block;
|
265
|
-
font-size: 80%; // back to default font-size
|
266
|
-
line-height: @line-height-base;
|
267
|
-
color: @blockquote-small-color;
|
268
|
-
|
269
|
-
&:before {
|
270
|
-
content: '\2014 \00A0'; // em dash, nbsp
|
271
|
-
}
|
272
|
-
}
|
273
|
-
}
|
274
|
-
|
275
|
-
// Opposite alignment of blockquote
|
276
|
-
//
|
277
|
-
// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
|
278
|
-
.blockquote-reverse,
|
279
|
-
blockquote.pull-right {
|
280
|
-
padding-right: 15px;
|
281
|
-
padding-left: 0;
|
282
|
-
border-right: 5px solid @blockquote-border-color;
|
283
|
-
border-left: 0;
|
284
|
-
text-align: right;
|
285
|
-
|
286
|
-
// Account for citation
|
287
|
-
footer,
|
288
|
-
small,
|
289
|
-
.small {
|
290
|
-
&:before { content: ''; }
|
291
|
-
&:after {
|
292
|
-
content: '\00A0 \2014'; // nbsp, em dash
|
293
|
-
}
|
294
|
-
}
|
295
|
-
}
|
296
|
-
|
297
|
-
// Addresses
|
298
|
-
address {
|
299
|
-
margin-bottom: @line-height-computed;
|
300
|
-
font-style: normal;
|
301
|
-
line-height: @line-height-base;
|
302
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Utility classes
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Floats
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
.clearfix {
|
10
|
-
.clearfix();
|
11
|
-
}
|
12
|
-
.center-block {
|
13
|
-
.center-block();
|
14
|
-
}
|
15
|
-
.pull-right {
|
16
|
-
float: right !important;
|
17
|
-
}
|
18
|
-
.pull-left {
|
19
|
-
float: left !important;
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
// Toggling content
|
24
|
-
// -------------------------
|
25
|
-
|
26
|
-
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
27
|
-
.hide {
|
28
|
-
display: none !important;
|
29
|
-
}
|
30
|
-
.show {
|
31
|
-
display: block !important;
|
32
|
-
}
|
33
|
-
.invisible {
|
34
|
-
visibility: hidden;
|
35
|
-
}
|
36
|
-
.text-hide {
|
37
|
-
.text-hide();
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
// Hide from screenreaders and browsers
|
42
|
-
//
|
43
|
-
// Credit: HTML5 Boilerplate
|
44
|
-
|
45
|
-
.hidden {
|
46
|
-
display: none !important;
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
// For Affix plugin
|
51
|
-
// -------------------------
|
52
|
-
|
53
|
-
.affix {
|
54
|
-
position: fixed;
|
55
|
-
}
|