Révision 3761

TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/components/tag-require.js (revision 3761)
1
window.addEventListener('DOMContentLoaded', function(e) {
2
  const nodes = document.querySelectorAll('[data-require-bs-version]');
3
  if (!nodes) {
4
    return;
5
  }
6
  const VERSION = window.bootstrap ? parseInt(window.bootstrap.Tab.VERSION) : 3;
7
  for (let i = 0; i < nodes.length; i++) {
8
    const version = nodes[i].getAttribute('data-require-bs-version');
9
    const caller = nodes[i].getAttribute('data-require-bs-caller');
10
    if (version > VERSION) {
11
      console.error(`${caller} requires Bootstrap version ${version} but this page is using version ${VERSION}`);
12
    }
13
  }
14
});
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/components/card-full-screen.js (revision 3761)
1
$(document).on('click', '.bslib-full-screen-enter', function(e) {
2
  const $card = $(e.target).parents('.card').last();
3
  // Re-size/position the card (and add an overlay behind it)
4
  $card.addClass("bslib-full-screen");
5
  const overlay = $("<div id='bslib-full-screen-overlay'><a class='bslib-full-screen-exit'>Close <svg width:'20' height='20' fill='currentColor' class='bi bi-x-lg' viewBox='0 0 16 16'><path d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z'/></svg></a></div>");
6
  $card[0].insertAdjacentElement("beforebegin", overlay[0]);
7
});
8

  
9
$(document).on('click', '.bslib-full-screen-exit', function(e) {
10
  exitFullScreen();
11
});
12

  
13
document.addEventListener('keyup', function(e) {
14
  if (e.key === 'Escape') exitFullScreen();
15
}, false);
16

  
17
function exitFullScreen() {
18
  const $card = $('.bslib-full-screen');
19
  if ($card) {
20
    $('#bslib-full-screen-overlay').remove();
21
    $card.removeClass('bslib-full-screen');
22
  }
23
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/components/card.scss (revision 3761)
1
.bslib-card {
2
  margin-bottom: $spacer;
3

  
4
  // Avoid "double padding" when two card_body()s are immediate siblings
5
  .card-body + .card-body {
6
    padding-top: 0;
7
  }
8

  
9
  .card-body {
10
    overflow: auto;
11
    p, h1, h2, h3, h4, h5, h6 {
12
      margin-top: 0;
13

  
14
      &:last-child {
15
        margin-bottom: 0;
16
      }
17
    }
18
  }
19

  
20
  .card-body {
21
    max-height: var(--bslib-card-body-max-height, none);
22
  }
23

  
24
  &.bslib-full-screen > .card-body {
25
    max-height: var(--bslib-card-body-max-height-full-screen, none);
26
  }
27

  
28
  .card-header {
29
    .form-group {
30
      margin-bottom: 0;
31
    }
32
    .selectize-control {
33
      margin-bottom: 0;
34
      // TODO: we should probably add this to selectize's SCSS since this actually makes selectInput()
35
      // usable with width="fit-content"
36
      .item {
37
        margin-right: 1.15rem;
38
      }
39
    }
40
  }
41

  
42
  .card-footer {
43
    margin-top: auto;
44
  }
45

  
46
  // For card_title()
47
  .bslib-card-title {
48
    padding-left: var(--bs-card-spacer-x, 1rem);
49
    padding-right: var(--bs-card-spacer-x, 1rem);
50
  }
51

  
52
  // For navs_tab_card(title = ...)
53
  .bslib-navs-card-title {
54
    display: flex;
55
    flex-wrap: wrap;
56
    justify-content: space-between;
57
    align-items: center;
58
    .nav {
59
      margin-left: auto;
60
    }
61
  }
62

  
63
  .tab-content {
64
    // Workaround for pkgdown's CSS to make tab-pane all a consistent height
65
    // https://github.com/r-lib/pkgdown/blob/956f07/inst/BS5/assets/pkgdown.scss#L342-L355
66
    > .tab-pane.html-fill-container {
67
      display: none;
68
    }
69

  
70
    // Take precedence over Bootstrap's `display:block` rule
71
    > .active.html-fill-container {
72
      display: flex;
73
    }
74

  
75
    // Another workaround for pkgdown adding extra padding we didn't ask for
76
    // https://github.com/r-lib/pkgdown/blob/956f07/inst/BS5/assets/pkgdown.scss#L335-L337
77
    &.html-fill-container {
78
      padding: 0;
79
    }
80
  }
81
}
82

  
83

  
84

  
85
/*************************************************
86
* Full screen card logic
87
*************************************************/
88

  
89
.bslib-full-screen {
90
  position: fixed;
91
  inset: 3.5rem 1rem 1rem;
92
  height: auto !important;
93
  width: auto !important;
94
  z-index: $zindex-popover;
95
}
96

  
97
.bslib-full-screen-enter {
98
  display: none;
99
  position: absolute;
100
  bottom: 1px;
101
  right: 3px;
102
  margin: 0.5rem;
103
  padding: 0.55rem !important;
104
  font-size: .8rem;
105
  cursor: pointer;
106
  opacity: .6;
107
  color: rgba(var(--bs-body-bg-rgb), 1);
108
  &:hover {
109
    opacity: 1;
110
  }
111
  z-index: $zindex-popover;
112
}
113

  
114
.card:hover:not(.bslib-full-screen) .bslib-full-screen-enter {
115
  display: block;
116
}
117

  
118
// Only allow full_screen on desktop screens
119
@include media-breakpoint-down(sm) {
120
  .bslib-full-screen-enter { display: none !important; }
121
}
122

  
123
.bslib-full-screen-exit {
124
  position: relative;
125
  top: 1.35rem;
126
  font-size: 0.9rem;
127
  cursor: pointer;
128
  text-decoration: none;
129
  display: flex;
130
  float: right;
131
  margin-right: 2.15rem;
132
  align-items: center;
133
  color: rgba(var(--bs-body-bg-rgb), 0.8);
134
  &:hover {
135
    color: rgba(var(--bs-body-bg-rgb), 1);
136
  }
137
  svg {
138
    margin-left: 0.5rem;
139
    font-size: 1.5rem;
140
  }
141
}
142

  
143
#bslib-full-screen-overlay {
144
  position: fixed;
145
  inset: 0;
146
  background-color: rgba(var(--bs-body-color-rgb), 0.6);
147
  z-index: $zindex-popover - 1;
148
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/components/layout_column_wrap.scss (revision 3761)
1
.bslib-column-wrap {
2
  display: grid !important;
3
  gap: $spacer;
4
  height: var(--bslib-column-wrap-height);
5
  // Vanilla Bootstrap doesn't have a margin-bottom, but bslib's
6
  // does (as long as it appears outside of a grid)
7
  .card {
8
    margin-bottom: 0;
9
  }
10
}
11

  
12
@include media-breakpoint-down(sm) {
13
  .bslib-column-wrap {
14
    grid-template-columns: 1fr !important;
15
    height: var(--bslib-column-wrap-height-mobile);
16
  }
17
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/components/value_box.scss (revision 3761)
1
.bslib-value-box {
2

  
3
  .value-box-grid {
4
    grid-template-columns: var(--bslib-value-box-widths);
5
  }
6

  
7
  // Should also be .vfill-container/.vfill-item
8
  .value-box-showcase {
9
    align-items: center;
10
    justify-content: center;
11
    margin-top: auto;
12
    margin-bottom: auto;
13
    padding: 1rem;
14

  
15
    .bi, .fa { opacity: .85; }
16
    .bi { font-size: 5rem; }
17
    .fa { font-size: 4rem; }
18

  
19
    max-height: var(--bslib-value-box-max-height);
20

  
21
    &.showcase-top-right {
22
      align-items: end;
23
      padding-left: 0;
24
      padding-bottom: 0;
25
    }
26
  }
27

  
28
  // Should also be .vfill-container/.vfill-item
29
  .value-box-area {
30
    justify-content: center;
31
    padding: 1.5rem 1rem;
32
    font-size: .9rem;
33
    font-weight: 500;
34
    * {
35
      color: inherit;
36
      margin-bottom: 0;
37
      margin-top: 0;
38
    }
39
    &.border-start {
40
      border-color: rgba($border-color, 0.3) !important;
41
    }
42
  }
43

  
44
  &.bslib-full-screen {
45
    .value-box-grid {
46
      grid-template-columns: var(--bslib-value-box-widths-full-screen);
47
    }
48
    .value-box-showcase {
49
      max-height: var(--bslib-value-box-max-height-full-screen);
50
    }
51
  }
52

  
53
  &:not(.bslib-full-screen) {
54
    .value-box-showcase.showcase-top-right {
55
      margin-top: 0;
56
    }
57
  }
58
}
59

  
60
// Override layout_inline_grid()'s preference to collapse to full-width on mobile (inside the value box)
61
@include media-breakpoint-down(sm) {
62
  .bslib-value-box .value-box-grid {
63
    grid-template-columns: var(--bslib-value-box-widths) !important;
64
  }
65
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bsw4/dist/cyborg/_variables.scss (revision 3761)
1
// Cyborg 4.6.0
2
// Bootswatch
3

  
4
//
5
// Color system
6
//
7

  
8
$white:    #fff !default;
9
$gray-100: #f8f9fa !default;
10
$gray-200: #e9ecef !default;
11
$gray-300: #dee2e6 !default;
12
$gray-400: #adafae !default;
13
$gray-500: #888 !default;
14
$gray-600: #555 !default;
15
$gray-700: #282828 !default;
16
$gray-800: #222 !default;
17
$gray-900: #212529 !default;
18
$black:    #000 !default;
19

  
20
$blue:    #2a9fd6 !default;
21
$indigo:  #6610f2 !default;
22
$purple:  #6f42c1 !default;
23
$pink:    #e83e8c !default;
24
$red:     #c00 !default;
25
$orange:  #fd7e14 !default;
26
$yellow:  #f80 !default;
27
$green:   #77b300 !default;
28
$teal:    #20c997 !default;
29
$cyan:    #93c !default;
30

  
31
// Body
32

  
33
@function body-mix($weight) {
34
    @return mix(#060606, $gray-400, $weight);
35
}
36
$body-bg:                   body-mix(100%) !default;
37
$body-color:                body-mix(0%) !default;
38

  
39
// Most defaults to cascade from body bg/color, but some
40
// colors really want to a full contrast from the bg color
41
$contrast-bg: color-contrast($body-bg) !default;
42

  
43
$primary:       $blue !default;
44
$secondary:     body-mix(67%) !default;
45
$success:       $green !default;
46
$info:          $cyan !default;
47
$warning:       $yellow !default;
48
$danger:        $red !default;
49
$light:         body-mix(33%) !default;
50
$dark:          $body-color !default;
51

  
52
// Fonts
53

  
54
// stylelint-disable-next-line value-keyword-case
55
$font-family-sans-serif:  Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
56
$font-size-base:          .875rem !default;
57
$h1-font-size:            4rem !default;
58
$h2-font-size:            3rem !default;
59
$h3-font-size:            2.5rem !default;
60
$h4-font-size:            2rem !default;
61
$h5-font-size:            1.5rem !default;
62
$headings-color:          $contrast-bg !default;
63

  
64
// Tables
65

  
66
$table-color:                   $contrast-bg !default;
67
$table-accent-bg:               rgba($contrast-bg, .05) !default;
68
$table-hover-bg:                rgba($contrast-bg, .075) !default;
69
$table-border-color:            body-mix(50%) !default;
70
$table-dark-bg:                 body-mix(16%) !default;
71
$table-dark-border-color:       body-mix(23%) !default;
72

  
73
// Buttons
74

  
75
$input-btn-padding-x:       1rem !default;
76

  
77
// Forms
78

  
79
$input-disabled-bg:                 $body-color !default;
80
$input-border-color:                $contrast-bg !default;
81
$input-group-addon-color:           $contrast-bg !default;
82
$input-group-addon-bg:              body-mix(50%) !default;
83
$input-group-addon-border-color:    transparent !default;
84
$custom-file-color:                 $contrast-bg !default;
85
$custom-file-border-color:          body-mix(50%) !default;
86

  
87
// Dropdowns
88

  
89
$dropdown-bg:                    body-mix(50%) !default;
90
$dropdown-divider-bg:            body-mix(67%) !default;
91
$dropdown-link-color:            $contrast-bg !default;
92
$dropdown-link-hover-color:      $contrast-bg !default;
93
$dropdown-link-hover-bg:         $primary !default;
94

  
95
// Navs
96

  
97
$nav-tabs-border-color:                       $table-border-color !default;
98
$nav-tabs-link-hover-border-color:            $nav-tabs-border-color !default;
99
$nav-tabs-link-active-color:                  $contrast-bg !default;
100
$nav-tabs-link-active-bg:                     $nav-tabs-border-color !default;
101
$nav-tabs-link-active-border-color:           $nav-tabs-border-color !default;
102

  
103
// Navbar
104

  
105
$navbar-dark-hover-color:           $contrast-bg !default;
106

  
107
// Pagination
108

  
109
$pagination-color:                     $contrast-bg !default;
110
$pagination-bg:                        body-mix(50%) !default;
111
$pagination-border-color:              transparent !default;
112
$pagination-hover-color:               $contrast-bg !default;
113
$pagination-hover-bg:                  $primary !default;
114
$pagination-hover-border-color:        $pagination-border-color !default;
115
$pagination-disabled-bg:               $pagination-bg !default;
116
$pagination-disabled-border-color:     $pagination-border-color !default;
117

  
118

  
119
// Jumbotron
120

  
121
$jumbotron-bg:                      body-mix(50%) !default;
122

  
123
// Cards
124

  
125
$card-bg:                           body-mix(50%) !default;
126

  
127
// Tooltips
128

  
129
$tooltip-bg:                        body-mix(50%) !default;
130
$tooltip-opacity:                   1 !default;
131

  
132
// Popovers
133

  
134
$popover-bg:                        body-mix(50%) !default;
135

  
136
// Toasts
137

  
138
$toast-color:                       $contrast-bg !default;
139
$toast-background-color:            body-mix(67%) !default;
140
$toast-border-color:                body-mix(50%) !default;
141
$toast-header-color:                $body-color !default;
142
$toast-header-background-color:     $toast-background-color !default;
143
$toast-header-border-color:         $toast-border-color !default;
144

  
145
// Modals
146

  
147
$modal-content-bg:                  body-mix(67%) !default;
148
$modal-header-border-color:         body-mix(50%) !default;
149

  
150
// Progress bars
151

  
152
$progress-bg:                       body-mix(50%) !default;
153

  
154
// List group
155

  
156
$list-group-bg:                     body-mix(67%) !default;
157
$list-group-border-color:           body-mix(50%) !default;
158
$list-group-hover-bg:               $primary !default;
159
$list-group-disabled-bg:            body-mix(50%) !default;
160
$list-group-action-active-bg:       $primary !default;
161

  
162
// Breadcrumbs
163

  
164
$breadcrumb-bg:                     body-mix(50%) !default;
165

  
166
// Close
167

  
168
$close-color:                       $contrast-bg !default;
169
$close-text-shadow:                 none !default;
170

  
171
// Code
172

  
173
$pre-color:                         inherit !default;
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bsw4/dist/cyborg/_bootswatch.scss (revision 3761)
1
// Cyborg 4.6.0
2
// Bootswatch
3

  
4

  
5
// Variables ===================================================================
6

  
7
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default;
8
@import url($web-font-path);
9

  
10
// Functions ===================================================================
11

  
12
@function darken($color, $percent) {
13
  @return mix($body-bg, $color, $percent);
14
}
15
@function lighten($color, $percent) {
16
  @return mix($body-color, $color, $percent);
17
}
18

  
19
// Navbar ======================================================================
20

  
21
.navbar {
22
  &.bg-primary {
23
    border: 1px solid body-mix(50%);
24
  }
25

  
26
  &.bg-dark {
27
    background-color: $body-bg !important;
28
    border: 1px solid body-mix(50%);
29
  }
30

  
31
  &.bg-light {
32
    background-color: body-mix(16%) !important;
33
  }
34

  
35
  &.fixed-top {
36
    border-width: 0 0 1px;
37
  }
38

  
39
  &.fixed-bottom {
40
    border-width: 1px 0 0;
41
  }
42
}
43

  
44
// Buttons =====================================================================
45

  
46
.btn {
47
  @each $color, $value in $theme-colors {
48
    &-#{$color} {
49
      @if $enable-gradients {
50
        background: $value linear-gradient(180deg, mix($contrast-bg, $value, 15%), $value) repeat-x;
51
      } @else {
52
        background-color: $value;
53
      }
54
    }
55
  }
56
}
57

  
58
// Tables ======================================================================
59

  
60
table {
61
  color: $contrast-bg;
62
}
63

  
64
.table {
65
  &-primary {
66
    &,
67
    > th,
68
    > td {
69
      background-color: $primary;
70
    }
71
  }
72

  
73
  &-secondary {
74
    &,
75
    > th,
76
    > td {
77
      background-color: $secondary;
78
    }
79
  }
80

  
81
  &-light {
82
    &,
83
    > th,
84
    > td {
85
      background-color: $light;
86
    }
87
  }
88

  
89
  &-dark {
90
    &,
91
    > th,
92
    > td {
93
      background-color: $dark;
94
    }
95
  }
96

  
97
  &-success {
98
    &,
99
    > th,
100
    > td {
101
      background-color: $success;
102
    }
103
  }
104

  
105
  &-info {
106
    &,
107
    > th,
108
    > td {
109
      background-color: $info;
110
    }
111
  }
112

  
113
  &-danger {
114
    &,
115
    > th,
116
    > td {
117
      background-color: $danger;
118
    }
119
  }
120

  
121
  &-warning {
122
    &,
123
    > th,
124
    > td {
125
      background-color: $warning;
126
    }
127
  }
128

  
129
  &-active {
130
    &,
131
    > th,
132
    > td {
133
      background-color: $table-active-bg;
134
    }
135
  }
136

  
137
  &-hover {
138
    .table-primary:hover {
139
      &,
140
      > th,
141
      > td {
142
        background-color: darken($primary, 5%);
143
      }
144
    }
145

  
146
    .table-secondary:hover {
147
      &,
148
      > th,
149
      > td {
150
        background-color: darken($secondary, 5%);
151
      }
152
    }
153

  
154
    .table-light:hover {
155
      &,
156
      > th,
157
      > td {
158
        background-color: darken($light, 5%);
159
      }
160
    }
161

  
162
    .table-dark:hover {
163
      &,
164
      > th,
165
      > td {
166
        background-color: darken($dark, 5%);
167
      }
168
    }
169

  
170
    .table-success:hover {
171
      &,
172
      > th,
173
      > td {
174
        background-color: darken($success, 5%);
175
      }
176
    }
177

  
178
    .table-info:hover {
179
      &,
180
      > th,
181
      > td {
182
        background-color: darken($info, 5%);
183
      }
184
    }
185

  
186
    .table-danger:hover {
187
      &,
188
      > th,
189
      > td {
190
        background-color: darken($danger, 5%);
191
      }
192
    }
193

  
194
    .table-warning:hover {
195
      &,
196
      > th,
197
      > td {
198
        background-color: darken($warning, 5%);
199
      }
200
    }
201

  
202
    .table-active:hover {
203
      &,
204
      > th,
205
      > td {
206
        background-color: $table-active-bg;
207
      }
208
    }
209

  
210
  }
211
}
212

  
213
// Forms =======================================================================
214

  
215
legend {
216
  color: $contrast-bg;
217
}
218

  
219
.form-control {
220
  background-clip: border-box;
221

  
222
  &:disabled,
223
  &[readonly] {
224
    border-color: transparent;
225
  }
226
}
227

  
228
// Navs ========================================================================
229

  
230
.nav-tabs,
231
.nav-pills {
232
  .nav-link {
233
    color: $contrast-bg;
234

  
235
    &:hover {
236
      background-color: body-mix(50%);
237
    }
238

  
239
    &.disabled,
240
    &.disabled:hover {
241
      background-color: transparent;
242
      color: $nav-link-disabled-color;
243
    }
244

  
245
    &.active {
246
      background-color: $primary;
247
    }
248
  }
249
}
250

  
251
.breadcrumb {
252
  a {
253
    color: $contrast-bg;
254
  }
255
}
256

  
257
.pagination {
258
  a:hover {
259
    text-decoration: none;
260
  }
261
}
262

  
263
// Indicators ==================================================================
264

  
265
.alert {
266
  border: none;
267
  color: $contrast-bg;
268

  
269
  a,
270
  .alert-link {
271
    color: $contrast-bg;
272
    text-decoration: underline;
273
  }
274

  
275
  @each $color, $value in $theme-colors {
276
    &-#{$color} {
277
      @if $enable-gradients {
278
        background: $value linear-gradient(180deg, mix($contrast-bg, $value, 15%), $value) repeat-x;
279
      } @else {
280
        background-color: $value;
281
      }
282
    }
283
  }
284
}
285

  
286
.badge {
287
  &-warning {
288
    color: $contrast-bg;
289
  }
290
}
291

  
292
.close {
293
  opacity: .6;
294

  
295
  &:hover {
296
    opacity: 1;
297
  }
298
}
299

  
300
// Containers ==================================================================
301

  
302
.list-group-item {
303
  &:hover {
304
    background-color: body-mix(50%);
305
    color: $contrast-bg;
306
  }
307

  
308
  &-action {
309
    color: body-mix(16%);
310

  
311
    .list-group-item-heading {
312
      color: body-mix(16%);
313
    }
314
  }
315

  
316
  &:hover .list-group-item-heading {
317
    color: $contrast-bg;
318
  }
319
}
320

  
321
.card,
322
.list-group-item {
323
  h1,
324
  h2,
325
  h3,
326
  h4,
327
  h5,
328
  h6 {
329
    color: inherit;
330
  }
331
}
332

  
333
.popover {
334
  &-title {
335
    border-bottom: none;
336
  }
337
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bsw4/dist/cyborg/font.css (revision 3761)
1
@font-face {
2
  font-family: 'Roboto';
3
  font-style: normal;
4
  font-weight: 400;
5
  font-display: swap;
6
  src: url(fonts/KFOmCnqEu92Fr1Me5g.woff) format('woff');
7
}
8
@font-face {
9
  font-family: 'Roboto';
10
  font-style: normal;
11
  font-weight: 700;
12
  font-display: swap;
13
  src: url(fonts/KFOlCnqEu92Fr1MmWUlvAA.woff) format('woff');
14
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/LICENSE (revision 3761)
1
The MIT License (MIT)
2

  
3
Copyright (c) 2011-2016 Twitter, Inc
4
Copyright (c) 2011-2016 The Bootstrap Authors
5

  
6
Permission is hereby granted, free of charge, to any person obtaining a copy
7
of this software and associated documentation files (the "Software"), to deal
8
in the Software without restriction, including without limitation the rights
9
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
copies of the Software, and to permit persons to whom the Software is
11
furnished to do so, subject to the following conditions:
12

  
13
The above copyright notice and this permission notice shall be included in
14
all copies or substantial portions of the Software.
15

  
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
THE SOFTWARE.
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/assets/stylesheets/_bootstrap-mincer.scss (revision 3761)
1
// Mincer asset helper functions
2
//
3
// This must be imported into a .css.ejs.scss file.
4
// Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.
5

  
6

  
7
@function twbs-font-path($path) {
8
  // do something like following
9
  // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
10
  // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
11
  // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
12
  @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
13
}
14

  
15
@function twbs-image-path($file) {
16
  @return "<%- asset_path("#{$file}") %>";
17
}
18

  
19
$bootstrap-sass-asset-helper: true;
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/assets/stylesheets/_bootstrap-sprockets.scss (revision 3761)
1
@function twbs-font-path($path) {
2
  @return font-path($path);
3
}
4

  
5
@function twbs-image-path($path) {
6
  @return image-path($path);
7
}
8

  
9
$bootstrap-sass-asset-helper: true;
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/assets/stylesheets/_bootstrap.scss (revision 3761)
1
/*!
2
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
3
 * Copyright 2011-2019 Twitter, Inc.
4
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
 */
6

  
7
// Core variables and mixins
8
@import "bootstrap/variables";
9
@import "bootstrap/mixins";
10

  
11
// Reset and dependencies
12
@import "bootstrap/normalize";
13
@import "bootstrap/print";
14
@import "bootstrap/glyphicons";
15

  
16
// Core CSS
17
@import "bootstrap/scaffolding";
18
@import "bootstrap/type";
19
@import "bootstrap/code";
20
@import "bootstrap/grid";
21
@import "bootstrap/tables";
22
@import "bootstrap/forms";
23
@import "bootstrap/buttons";
24

  
25
// Components
26
@import "bootstrap/component-animations";
27
@import "bootstrap/dropdowns";
28
@import "bootstrap/button-groups";
29
@import "bootstrap/input-groups";
30
@import "bootstrap/navs";
31
@import "bootstrap/navbar";
32
@import "bootstrap/breadcrumbs";
33
@import "bootstrap/pagination";
34
@import "bootstrap/pager";
35
@import "bootstrap/labels";
36
@import "bootstrap/badges";
37
@import "bootstrap/jumbotron";
38
@import "bootstrap/thumbnails";
39
@import "bootstrap/alerts";
40
@import "bootstrap/progress-bars";
41
@import "bootstrap/media";
42
@import "bootstrap/list-group";
43
@import "bootstrap/panels";
44
@import "bootstrap/responsive-embed";
45
@import "bootstrap/wells";
46
@import "bootstrap/close";
47

  
48
// Components w/ JavaScript
49
@import "bootstrap/modals";
50
@import "bootstrap/tooltip";
51
@import "bootstrap/popovers";
52
@import "bootstrap/carousel";
53

  
54
// Utility classes
55
@import "bootstrap/utilities";
56
@import "bootstrap/responsive-utilities";
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/assets/stylesheets/_bootstrap-compass.scss (revision 3761)
1
@function twbs-font-path($path) {
2
  @return font-url($path, true);
3
}
4

  
5
@function twbs-image-path($path) {
6
  @return image-url($path, true);
7
}
8

  
9
$bootstrap-sass-asset-helper: true;
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/package.json (revision 3761)
1
{
2
  "name": "bootstrap-sass",
3
  "version": "3.4.1",
4
  "description": "bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.",
5
  "main": "assets/javascripts/bootstrap.js",
6
  "style": "assets/stylesheets/_bootstrap.scss",
7
  "sass": "assets/stylesheets/_bootstrap.scss",
8
  "files": ["assets", "eyeglass-exports.js", "CHANGELOG.md", "LICENSE", "README.md"],
9
  "repository": {
10
    "type": "git",
11
    "url": "git://github.com/twbs/bootstrap-sass"
12
  },
13
  "keywords": ["bootstrap", "sass", "css", "eyeglass-module"],
14
  "contributors": ["Thomas McDonald", "Tristan Harward", "Peter Gumeson", "Gleb Mazovetskiy"],
15
  "license": "MIT",
16
  "bugs": {
17
    "url": "https://github.com/twbs/bootstrap-sass/issues"
18
  },
19
  "eyeglass": {
20
    "exports": "eyeglass-exports.js",
21
    "needs": "^0.7.1"
22
  }
23
}
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/CHANGELOG.md (revision 3761)
1
# Changelog
2

  
3
## 3.4.0
4

  
5
* Bootstrap rubygem now depends on SassC instead of Sass.
6
* Compass no longer supported.
7

  
8
## 3.3.7
9

  
10
* Allows jQuery 3.x in bower.json. [#1048](https://github.com/twbs/bootstrap-sass/issues/1048)
11
* Adds the `style` and `sass` fields to package.json. [#1045](https://github.com/twbs/bootstrap-sass/issues/1045)
12
* Adds Eyeglass support. [#1007](https://github.com/twbs/bootstrap-sass/pull/1007)
13

  
14
## 3.3.6
15

  
16
* Bumps Sass dependency to 3.3.4+ to avoid compatibility issues with @at-root.
17
* Bumps node-sass dependency to ~3.4.2 for Node.js v5 compatibility. [#986](https://github.com/twbs/bootstrap-sass/issues/986)
18
* Fixes breadcrumb content issues on libsass. [#919](https://github.com/twbs/bootstrap-sass/issues/919)
19
* Fixes a Rails 5 compatibility issue. [#965](https://github.com/twbs/bootstrap-sass/pull/965)
20

  
21
Framework version: Bootstrap **v3.3.6**
22

  
23
## 3.3.5
24

  
25
Fix for standalone Compass extension compatibility. [#914](https://github.com/twbs/bootstrap-sass/issues/914)
26

  
27
Framework version: Bootstrap **v3.3.5**
28

  
29
## 3.3.4
30

  
31
No Sass-specific changes.
32

  
33
Framework version: Bootstrap **v3.3.4**
34

  
35
## 3.3.3
36

  
37
This is a re-packaged release of 3.3.2.1 (v3.3.2+1).
38

  
39
Versions are now strictly semver.
40
The PATCH version may be ahead of the upstream.
41

  
42
Framework version: Bootstrap **v3.3.2**.
43

  
44
## 3.3.2.1
45

  
46
* Fix glyphicons regression (revert 443d5b49eac84aec1cb2f8ea173554327bfc8c14)
47

  
48
## 3.3.2.0
49

  
50
* Autoprefixer is now required, and `autoprefixer-rails` is now a dependency for the ruby gem. [#824](https://github.com/twbs/bootstrap-sass/issues/824)
51
* Minimum precision reduced from 10 to 8 [#821](https://github.com/twbs/bootstrap-sass/issues/821)
52
* Requiring bootstrap JS from npm now works [#812](https://github.com/twbs/bootstrap-sass/issues/812)
53
* Fix Sass 3.4.x + IE10 compatibility issue [#803](https://github.com/twbs/bootstrap-sass/issues/803)
54
* Provide minified JS bundle [#777](https://github.com/twbs/bootstrap-sass/issues/777)
55
* Bower package is now at bootstrap-sass [#813](https://github.com/twbs/bootstrap-sass/issues/813)
56

  
57

  
58
## 3.3.1.0
59

  
60
* Variables override template at templates/project/_bootstrap-variables.sass
61
* Readme: Bower + Rails configuration
62

  
63
## 3.3.0.1
64

  
65
* Fix loading issue with the ruby gem version
66

  
67
## 3.3.0
68

  
69
* Improve libsass compatibility
70
* Support using Bower package with Rails
71

  
72
## 3.2.0.2
73

  
74
Main bootstrap file is now a partial (_bootstrap.scss), for compatibility with Compass 1+.
75

  
76
Fixed a number of bugs. [Issues closed in v3.2.0.2](https://github.com/twbs/bootstrap-sass/issues?q=is%3Aissue+is%3Aclosed+milestone%3Av3.2.0.2).
77

  
78
## 3.2.0.1
79

  
80
Fixed a number of bugs: [Issues closed in v3.2.0.1](https://github.com/twbs/bootstrap-sass/issues?q=is%3Aissue+is%3Aclosed+milestone%3Av3.2.0.1).
81

  
82
## 3.2.0.0
83

  
84
- Assets (Sass, JS, fonts) moved from `vendor/assets` to `assets`. `bootstrap.js` now contains concatenated JS.
85
- Compass generator now copies JS and fonts, and provides a better default `styles.sass`.
86
- Compass, Sprockets, and Mincer asset path helpers are now provided in pure Sass: `bootstrap-compass`, `bootstrap-sprockets`, and `bootstrap-mincer`.
87
Asset path helpers must be imported before `bootstrap`, more in Readme.
88
- Sprockets / Mincer JS manifest has been moved to `bootstrap-sprockets.js`.
89
It can be required without adding Bootstrap JS directory to load path, as it now uses relative paths.
90
- Sprockets: `depend_on_asset` (`glyphicons.scss`) has been changed to `depend_on` to work around an issue with `depend_on_asset`.
91
[More information](https://github.com/twbs/bootstrap-sass/issues/592#issuecomment-46570286).
92

  
93
## 3.1.1.0
94

  
95
- Updated Bower docs
96

  
97
## 3.1.0.2
98

  
99
- #523: Rails 3.2 compatibility
100
- Bugfixes from upstream up to 7eb532262fbd1112215b5a547b9285794b5360ab.
101

  
102
## 3.1.0.1
103

  
104
- #518: `scale` mixin Sass compatibility issue
105

  
106
## 3.1.0.0
107

  
108
* compiles with libsass master
109

  
110
## 3.0.2.1
111

  
112
* fix vendor paths for compass
113

  
114
## 3.0.0.0
115

  
116
* Fully automated (lots of string juggling) LESS -> Sass conversion. - *Gleb Mazovetskiy*
117
* Ported rake task from vwall/compass-twitter-bootstrap to convert Bootstrap upstream - *Peter Gumeson*
118
* Moved javascripts to us `bootstrap-component.js` to `bootstrap/component.js` - *Peter Gumeson*
119

  
120
## 2.3.2.2
121

  
122
* Allow sass-rails `>= 3.2` - *Thomas McDonald*
123

  
124
## 2.3.2.1
125

  
126
## 2.3.2.0
127

  
128
* Update to Bootstrap 2.3.2 - *Dan Allen*
129

  
130
## 2.3.1.3
131

  
132
* Find the correct Sprockets context for the `image_path` function - *Tristan Harward, Gleb Mazovetskiy*
133

  
134
## 2.3.1.2
135

  
136
* Fix changes to image url - *Gleb Mazovetskiy*
137
* Copy _variables into project on Compass install - *Phil Thompson*
138
* Add `bootstrap-affix` to the Compass template file - *brief*
139

  
140
## 2.3.1.1 (yanked)
141

  
142
* Change how image_url is handled internally - *Tristan Harward*
143
* Fix some font variables not having `!default` - *Thomas McDonald*
144

  
145
## 2.3.0.0
146
* [#290] Update to Bootstrap 2.3.0 - *Tristan Harward*
147
* Fix `rake:debug` with new file locations - *Thomas McDonald*
148
* Add draft contributing document - *Thomas McDonald*
149
* [#260] Add our load path to the global Sass load path - *Tristan Harward*
150
* [#275] Use GitHub notation in Sass head testing gemfile - *Timo Schilling*
151
* [#279, #283] Readme improvements - *theverything, Philip Arndt*
152

  
153
## 2.2.2.0
154
* [#270] Update to Bootstrap 2.2.2 - *Tristan Harward*
155
* [#266] Add license to gemspec - *Peter Marsh*
156

  
157
## 2.2.1.1
158
* [#258] Use `bootstrap` prefix for `@import`ing files in `bootstrap/bootstrap.scss` - *Umair Siddique*
159

  
160
## 2.2.1.0
161
* [#246] Update to Bootstrap 2.2.1 - *Tristan Harward*
162
* [#246] Pull Bootstrap updates from jlong/sass-twitter-bootstrap - *Tristan Harward*
163

  
164
## 2.1.1.0
165
* Update to Bootstrap 2.1.1
166
* [#222] Remove 100% multiplier in vertical-three-colours
167
* [#227] Fix IE component animation collapse
168
* [#228] Fix variables documentation link
169
* [#231] Made .input-block-level a class as well as mixin
170

  
171
## 2.1.0.1
172
* [#219] Fix expected a color. Got: transparent.
173
* [#207] Add missing warning style for table row highlighting
174
* [#208] Use grid-input-span for input spans
175

  
176
## 2.1.0.0
177
* Updated to Bootstrap 2.1
178
* Changed some mixin names to be more consistent. Nested mixins in Less are separated by a `-` when they are flattened in Sass.
179

  
180
## 2.0.4.1
181
* Fix `.row-fluid > spanX` nesting
182
* Small Javascript fixes for those staying on the 2.0.4 release
183
* Add `!default` to z-index variables.
184

  
185
## 2.0.4.0
186
* Updated to Bootstrap 2.0.4
187
* Switched to Bootstrap 2.0.3+'s method of separating responsive files
188
* [#149, #150] Fix off by one error introduced with manual revert of media query breakpoints
189
* `rake debug` and `rake test` both compile bootstrap & bootstrap-responsive
190

  
191
## 2.0.3.1
192
* [#145, #146] Fix button alignment in collapsing navbar as a result of an incorrect variable
193

  
194
## 2.0.3
195
* Updated to Bootstrap 2.0.3
196
* [#106] Support for Rails < 3.1 through Compass
197
* [#132] Add CI testing
198
* [#106] Support Rails w/Compass
199
* [#134] Fix support for Rails w/Compass
200

  
201
## 2.0.2
202
* [#86] Updated to Bootstrap 2.0.2
203
Things of note: static navbars now have full width. (to be fixed in 2.0.3) `.navbar-inner > .container { width:940px; }` seems to work in the meanwhile
204
* [#62] Fixed asset compilation taking a *very* long time.
205
* [#69, #79, #80] \(Hopefully) clarified README. Now with less cat humour.
206
* [#91] Removed doubled up Sass extensions for Rails.
207
* [#63, #73] Allow for overriding of image-path
208
* [[SO](http://stackoverflow.com/a/9909626/241212)] Added makeFluidColumn mixin for defining fluid columns. Fluid rows must use `@extend .row-fluid`, and any column inside it can use `@include makeFluidColumn(num)`, where `num` is the number of columns. Unfortunately, there is a rather major limitation to this: margins on first-child elements must be overriden. See the attached Stack Overflow answer for more information.
209

  
210
## 2.0.1
211
* Updated to Bootstrap 2.0.1
212
* Modified `@mixin opacity()` to take an argument `0...1` rather than `0...100` to be consistent with Compass.
213

  
214
## 2.0.0
215
* Updated to Bootstrap 2.0.0
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/eyeglass-exports.js (revision 3761)
1
var path = require('path');
2

  
3
module.exports = function(eyeglass, sass) {
4
  return {
5
    sassDir: path.join(__dirname, 'assets/stylesheets')
6
  }
7
};
TXM/trunk/bundles/org.txm.statsengine.r.core.macosx/res/macosx/library/bslib/lib/bs3/README.md (revision 3761)
1
# Bootstrap 3 for Sass
2
[![Gem Version](https://badge.fury.io/rb/bootstrap-sass.svg)](http://badge.fury.io/rb/bootstrap-sass)
3
[![npm version](https://img.shields.io/npm/v/bootstrap-sass.svg?style=flat)](https://www.npmjs.com/package/bootstrap-sass)
4
[![Bower Version](https://badge.fury.io/bo/bootstrap-sass.svg)](http://badge.fury.io/bo/bootstrap-sass)
5
[![Build Status](https://img.shields.io/travis/twbs/bootstrap-sass.svg)](https://travis-ci.org/twbs/bootstrap-sass)
6

  
7
`bootstrap-sass` is a Sass-powered version of [Bootstrap](https://github.com/twbs/bootstrap) 3, ready to drop right into your Sass powered applications.
8

  
9
This is Bootstrap **3**. For Bootstrap **4** use the [Bootstrap rubygem](https://github.com/twbs/bootstrap-rubygem) if you use Ruby, and the [main repo](https://github.com/twbs/bootstrap) otherwise.
10

  
11
## Installation
12

  
13
Please see the appropriate guide for your environment of choice:
14

  
15
* [Ruby on Rails](#a-ruby-on-rails).
16
* [Bower](#b-bower).
17
* [npm / Node.js](#c-npm--nodejs).
18

  
19
### a. Ruby on Rails
20

  
21
`bootstrap-sass` is easy to drop into Rails with the asset pipeline.
22

  
23
In your Gemfile you need to add the `bootstrap-sass` gem, and ensure that the `sass-rails` gem is present - it is added to new Rails applications by default.
24

  
25
```ruby
26
gem 'bootstrap-sass', '~> 3.4.1'
27
gem 'sassc-rails', '>= 2.1.0'
28
```
29

  
30
`bundle install` and restart your server to make the files available through the pipeline.
31

  
32
Import Bootstrap styles in `app/assets/stylesheets/application.scss`:
33

  
34
```scss
35
// "bootstrap-sprockets" must be imported before "bootstrap" and "bootstrap/variables"
36
@import "bootstrap-sprockets";
37
@import "bootstrap";
38
```
39

  
40
`bootstrap-sprockets` must be imported before `bootstrap` for the icon fonts to work.
41

  
42
Make sure the file has `.scss` extension (or `.sass` for Sass syntax). If you have just generated a new Rails app,
43
it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so rename it:
44

  
45
```console
46
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
47
```
48

  
49
Then, remove all the `*= require_self` and `*= require_tree .` statements from the sass file. Instead, use `@import` to import Sass files.
50

  
51
Do not use `*= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
52

  
53
Bootstrap JavaScript depends on jQuery.
54
If you're using Rails 5.1+, add the `jquery-rails` gem to your Gemfile:
55

  
56
```ruby
57
gem 'jquery-rails'
58
```
59

  
60
```console
61
$ bundle install
62
```
63

  
64
Require Bootstrap Javascripts in `app/assets/javascripts/application.js`:
65

  
66
```js
67
//= require jquery
68
//= require bootstrap-sprockets
69
```
70

  
71
`bootstrap-sprockets` and `bootstrap` [should not both be included](https://github.com/twbs/bootstrap-sass/issues/829#issuecomment-75153827) in `application.js`.
72

  
73
`bootstrap-sprockets` provides individual Bootstrap Javascript files (`alert.js` or `dropdown.js`, for example), while
74
`bootstrap` provides a concatenated file containing all Bootstrap Javascripts.
75

  
76
#### Bower with Rails
77

  
78
When using [bootstrap-sass Bower package](#c-bower) instead of the gem in Rails, configure assets in `config/application.rb`:
79

  
80
```ruby
81
# Bower asset paths
82
root.join('vendor', 'assets', 'bower_components').to_s.tap do |bower_path|
83
  config.sass.load_paths << bower_path
84
  config.assets.paths << bower_path
85
end
86
# Precompile Bootstrap fonts
87
config.assets.precompile << %r(bootstrap-sass/assets/fonts/bootstrap/[\w-]+\.(?:eot|svg|ttf|woff2?)$)
88
# Minimum Sass number precision required by bootstrap-sass
89
::Sass::Script::Value::Number.precision = [8, ::Sass::Script::Value::Number.precision].max
90
```
91

  
92
Replace Bootstrap `@import` statements in `application.scss` with:
93

  
94
```scss
95
$icon-font-path: "bootstrap-sass/assets/fonts/bootstrap/";
96
@import "bootstrap-sass/assets/stylesheets/bootstrap-sprockets";
97
@import "bootstrap-sass/assets/stylesheets/bootstrap";
98
```
99

  
100
Replace Bootstrap `require` directive in `application.js` with:
101

  
102
```js
103
//= require bootstrap-sass/assets/javascripts/bootstrap-sprockets
104
```
105

  
106
#### Rails 4.x
107

  
108
Please make sure `sprockets-rails` is at least v2.1.4.
109

  
110
#### Rails 3.2.x
111

  
112
bootstrap-sass is no longer compatible with Rails 3. The latest version of bootstrap-sass compatible with Rails 3.2 is v3.1.1.0.
113

  
114
### b. Bower
115

  
116
bootstrap-sass Bower package is compatible with node-sass 3.2.0+. You can install it with:
117

  
118
```console
119
$ bower install bootstrap-sass
120
```
121

  
122
Sass, JS, and all other assets are located at [assets](/assets).
123

  
124
By default, `bower.json` main field list only the main `_bootstrap.scss` and all the static assets (fonts and JS).
125
This is compatible by default with asset managers such as [wiredep](https://github.com/taptapship/wiredep).
126

  
127
#### Node.js Mincer
128

  
129
If you use [mincer][mincer] with node-sass, import Bootstrap like so:
130

  
131
In `application.css.ejs.scss` (NB **.css.ejs.scss**):
132

  
133
```scss
134
// Import mincer asset paths helper integration
135
@import "bootstrap-mincer";
136
@import "bootstrap";
137
```
138

  
139
In `application.js`:
140

  
141
```js
142
//= require bootstrap-sprockets
143
```
144

  
145
See also this [example manifest.js](/test/dummy_node_mincer/manifest.js) for mincer.
146

  
147
### c. npm / Node.js
148
```console
149
$ npm install bootstrap-sass
150
```
151

  
152

  
153
## Configuration
154

  
155
### Sass
156

  
157
By default all of Bootstrap is imported.
158

  
159
You can also import components explicitly. To start with a full list of modules copy
160
[`_bootstrap.scss`](assets/stylesheets/_bootstrap.scss) file into your assets as `_bootstrap-custom.scss`.
161
Then comment out components you do not want from `_bootstrap-custom`.
162
In the application Sass file, replace `@import 'bootstrap'` with:
163

  
164
```scss
165
@import 'bootstrap-custom';
166
```
167

  
168
### Sass: Number Precision
169

  
170
bootstrap-sass [requires](https://github.com/twbs/bootstrap-sass/issues/409) minimum [Sass number precision][sass-precision] of 8 (default is 5).
171

  
172
Precision is set for Ruby automatically when using the `sassc-rails` gem.
173
When using the npm or Bower version with Ruby, you can set it with:
174

  
175
```ruby
176
::Sass::Script::Value::Number.precision = [8, ::Sass::Script::Value::Number.precision].max
177
```
178

  
179
### Sass: Autoprefixer
180

  
181
Bootstrap requires the use of [Autoprefixer][autoprefixer].
182
[Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](https://caniuse.com/).
183

  
184
To match [upstream Bootstrap's level of browser compatibility](https://getbootstrap.com/getting-started/#support), set Autoprefixer's `browsers` option to:
185
```json
186
[
187
  "Android 2.3",
188
  "Android >= 4",
189
  "Chrome >= 20",
190
  "Firefox >= 24",
191
  "Explorer >= 8",
192
  "iOS >= 6",
193
  "Opera >= 12",
194
  "Safari >= 6"
195
]
196
```
197

  
198
### JavaScript
199

  
200
[`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap's JavaScript,
201
concatenated in the [correct order](/assets/javascripts/bootstrap-sprockets.js).
202

  
203

  
204
#### JavaScript with Sprockets or Mincer
205

  
206
If you use Sprockets or Mincer, you can require `bootstrap-sprockets` instead to load the individual modules:
207

  
208
```js
209
// Load all Bootstrap JavaScript
210
//= require bootstrap-sprockets
211
```
212

  
213
You can also load individual modules, provided you also require any dependencies.
214
You can check dependencies in the [Bootstrap JS documentation][jsdocs].
215

  
216
```js
217
//= require bootstrap/scrollspy
218
//= require bootstrap/modal
219
//= require bootstrap/dropdown
220
```
221

  
222
### Fonts
223

  
224
The fonts are referenced as:
225

  
226
```scss
227
"#{$icon-font-path}#{$icon-font-name}.eot"
228
```
229

  
230
`$icon-font-path` defaults to `bootstrap/` if asset path helpers are used, and `../fonts/bootstrap/` otherwise.
231

  
232
When using bootstrap-sass with Compass, Sprockets, or Mincer, you **must** import the relevant path helpers before Bootstrap itself, for example:
233

  
234
```scss
235
@import "bootstrap-compass";
236
@import "bootstrap";
237
```
238

  
239
## Usage
240

  
241
### Sass
242

  
243
Import Bootstrap into a Sass file (for example, `application.scss`) to get all of Bootstrap's styles, mixins and variables!
244

  
245
```scss
246
@import "bootstrap";
247
```
248

  
249
You can also include optional Bootstrap theme:
250

  
251
```scss
252
@import "bootstrap/theme";
253
```
254

  
255
The full list of Bootstrap variables can be found [here](https://getbootstrap.com/customize/#less-variables). You can override these by simply redefining the variable before the `@import` directive, e.g.:
256

  
257
```scss
258
$navbar-default-bg: #312312;
259
$light-orange: #ff8c00;
260
$navbar-default-color: $light-orange;
261

  
262
@import "bootstrap";
263
```
264

  
265
### Eyeglass
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff