twitter-bootstrap-rails 5.3.0 → 5.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +81 -0
- data/README.md +128 -628
- data/app/assets/javascripts/twitter/bootstrap/bootstrap.min.js +3 -3
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css +3 -3
- data/lib/generators/bootstrap/badge/badge_generator.rb +13 -0
- data/lib/generators/bootstrap/breadcrumb/breadcrumb_generator.rb +13 -0
- data/lib/generators/bootstrap/button/button_generator.rb +13 -0
- data/lib/generators/bootstrap/cdn/cdn_generator.rb +39 -0
- data/lib/generators/bootstrap/cdn_tags.rb +43 -0
- data/lib/generators/bootstrap/dropdown/dropdown_generator.rb +13 -0
- data/lib/generators/bootstrap/features/features_generator.rb +13 -0
- data/lib/generators/bootstrap/footer/footer_generator.rb +13 -0
- data/lib/generators/bootstrap/header/header_generator.rb +13 -0
- data/lib/generators/bootstrap/hero/hero_generator.rb +13 -0
- data/lib/generators/bootstrap/install/install_generator.rb +120 -61
- data/lib/generators/bootstrap/install/templates/application.js +1 -1
- data/lib/generators/bootstrap/install/templates/bootstrap.js +10 -3
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.css +2 -2
- data/lib/generators/bootstrap/jumbotron/jumbotron_generator.rb +13 -0
- data/lib/generators/bootstrap/layout/layout_generator.rb +65 -1
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +14 -9
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +28 -43
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +25 -40
- data/lib/generators/bootstrap/list_group/list_group_generator.rb +13 -0
- data/lib/generators/bootstrap/modal/modal_generator.rb +13 -0
- data/lib/generators/bootstrap/sidebar/sidebar_generator.rb +13 -0
- data/lib/generators/bootstrap/snippets/snippet_base.rb +126 -0
- data/lib/generators/bootstrap/snippets/snippet_catalog.rb +134 -0
- data/lib/generators/bootstrap/snippets/templates/badges/pills.html.erb +10 -0
- data/lib/generators/bootstrap/snippets/templates/badges/subtle.html.erb +10 -0
- data/lib/generators/bootstrap/snippets/templates/badges/subtle_bordered.html.erb +20 -0
- data/lib/generators/bootstrap/snippets/templates/badges/with_avatar.html.erb +34 -0
- data/lib/generators/bootstrap/snippets/templates/badges/with_avatar_divider.html.erb +66 -0
- data/lib/generators/bootstrap/snippets/templates/badges/with_icons.html.erb +26 -0
- data/lib/generators/bootstrap/snippets/templates/breadcrumbs/basic.html.erb +9 -0
- data/lib/generators/bootstrap/snippets/templates/breadcrumbs/chevron.html.erb +18 -0
- data/lib/generators/bootstrap/snippets/templates/breadcrumbs/custom.html.erb +18 -0
- data/lib/generators/bootstrap/snippets/templates/breadcrumbs/with_icons.html.erb +18 -0
- data/lib/generators/bootstrap/snippets/templates/buttons/circle.html.erb +20 -0
- data/lib/generators/bootstrap/snippets/templates/buttons/grid.html.erb +6 -0
- data/lib/generators/bootstrap/snippets/templates/buttons/loading.html.erb +10 -0
- data/lib/generators/bootstrap/snippets/templates/buttons/pills.html.erb +11 -0
- data/lib/generators/bootstrap/snippets/templates/buttons/with_icons.html.erb +14 -0
- data/lib/generators/bootstrap/snippets/templates/dropdowns/calendar.html.erb +156 -0
- data/lib/generators/bootstrap/snippets/templates/dropdowns/mega_menu.html.erb +140 -0
- data/lib/generators/bootstrap/snippets/templates/dropdowns/simple.html.erb +20 -0
- data/lib/generators/bootstrap/snippets/templates/dropdowns/with_icons.html.erb +88 -0
- data/lib/generators/bootstrap/snippets/templates/dropdowns/with_search.html.erb +64 -0
- data/lib/generators/bootstrap/snippets/templates/features/columns_with_icons.html.erb +46 -0
- data/lib/generators/bootstrap/snippets/templates/features/custom_cards.html.erb +79 -0
- data/lib/generators/bootstrap/snippets/templates/features/hanging_icons.html.erb +41 -0
- data/lib/generators/bootstrap/snippets/templates/features/icon_grid.html.erb +77 -0
- data/lib/generators/bootstrap/snippets/templates/features/with_title.html.erb +50 -0
- data/lib/generators/bootstrap/snippets/templates/footers/columns.html.erb +43 -0
- data/lib/generators/bootstrap/snippets/templates/footers/simple.html.erb +15 -0
- data/lib/generators/bootstrap/snippets/templates/footers/with_brand.html.erb +22 -0
- data/lib/generators/bootstrap/snippets/templates/footers/with_nav.html.erb +12 -0
- data/lib/generators/bootstrap/snippets/templates/footers/with_newsletter.html.erb +62 -0
- data/lib/generators/bootstrap/snippets/templates/headers/centered.html.erb +15 -0
- data/lib/generators/bootstrap/snippets/templates/headers/dark_double.html.erb +66 -0
- data/lib/generators/bootstrap/snippets/templates/headers/dark_search.html.erb +25 -0
- data/lib/generators/bootstrap/snippets/templates/headers/double.html.erb +28 -0
- data/lib/generators/bootstrap/snippets/templates/headers/grid_dropdown.html.erb +47 -0
- data/lib/generators/bootstrap/snippets/templates/headers/light_search.html.erb +34 -0
- data/lib/generators/bootstrap/snippets/templates/headers/nav_pills.html.erb +11 -0
- data/lib/generators/bootstrap/snippets/templates/headers/with_auth_buttons.html.erb +22 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/centered.html.erb +13 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/centered_screenshot.html.erb +17 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/cropped_image.html.erb +17 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/dark.html.erb +14 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/signup_form.html.erb +26 -0
- data/lib/generators/bootstrap/snippets/templates/heroes/with_image.html.erb +17 -0
- data/lib/generators/bootstrap/snippets/templates/icons/_bootstrap_icons.html.erb +134 -0
- data/lib/generators/bootstrap/snippets/templates/jumbotrons/basic.html.erb +10 -0
- data/lib/generators/bootstrap/snippets/templates/jumbotrons/full_width.html.erb +12 -0
- data/lib/generators/bootstrap/snippets/templates/jumbotrons/placeholder.html.erb +13 -0
- data/lib/generators/bootstrap/snippets/templates/jumbotrons/with_icon.html.erb +22 -0
- data/lib/generators/bootstrap/snippets/templates/list-groups/checkable.html.erb +24 -0
- data/lib/generators/bootstrap/snippets/templates/list-groups/checkboxes.html.erb +45 -0
- data/lib/generators/bootstrap/snippets/templates/list-groups/checkboxes_expanded.html.erb +52 -0
- data/lib/generators/bootstrap/snippets/templates/list-groups/radios.html.erb +32 -0
- data/lib/generators/bootstrap/snippets/templates/list-groups/with_avatars.html.erb +36 -0
- data/lib/generators/bootstrap/snippets/templates/modals/confirm.html.erb +18 -0
- data/lib/generators/bootstrap/snippets/templates/modals/sheet.html.erb +19 -0
- data/lib/generators/bootstrap/snippets/templates/modals/signup.html.erb +44 -0
- data/lib/generators/bootstrap/snippets/templates/modals/whats_new.html.erb +41 -0
- data/lib/generators/bootstrap/snippets/templates/sidebars/collapsible.html.erb +90 -0
- data/lib/generators/bootstrap/snippets/templates/sidebars/dark.html.erb +67 -0
- data/lib/generators/bootstrap/snippets/templates/sidebars/icon_only.html.erb +59 -0
- data/lib/generators/bootstrap/snippets/templates/sidebars/light.html.erb +67 -0
- data/lib/generators/bootstrap/snippets/templates/sidebars/list_group.html.erb +94 -0
- data/lib/generators/bootstrap/starter/starter_generator.rb +37 -0
- data/lib/generators/bootstrap/starter/templates/starter.html.erb +13 -0
- data/lib/twitter/bootstrap/rails/bootstrap.rb +1 -0
- data/lib/twitter/bootstrap/rails/config.rb +54 -0
- data/lib/twitter/bootstrap/rails/engine.rb +0 -8
- data/lib/twitter/bootstrap/rails/version.rb +28 -1
- data/lib/twitter-bootstrap-rails.rb +0 -1
- data/spec/lib/generators/cdn_generator_spec.rb +42 -0
- data/spec/lib/generators/install_generator_spec.rb +148 -0
- data/spec/lib/generators/layout_generator_spec.rb +124 -0
- data/spec/lib/generators/no_hardcoded_versions_spec.rb +45 -0
- data/spec/lib/generators/snippet_generators_spec.rb +201 -0
- data/spec/lib/generators/starter_generator_spec.rb +54 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/support/generator_spec_helper.rb +87 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap.bundle.min.js +3 -3
- data/vendor/assets/stylesheets/twitter/bootstrap/bootstrap.min.css +3 -3
- metadata +99 -123
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +0 -288
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/helpers/glyph_helper.rb +0 -23
- data/lib/generators/bootstrap/install/templates/bootstrap.coffee +0 -3
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +0 -21
- data/spec/lib/twitter_bootstrap_rails/glyph_helper_spec.rb +0 -24
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +0 -6684
- data/vendor/static-source/bootstrap.less +0 -1
- data/vendor/static-source/sprites.less +0 -6
- data/vendor/toolkit/twitter/bootstrap/alerts.less +0 -73
- data/vendor/toolkit/twitter/bootstrap/badges.less +0 -66
- data/vendor/toolkit/twitter/bootstrap/bootstrap.less +0 -55
- data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +0 -26
- data/vendor/toolkit/twitter/bootstrap/button-groups.less +0 -244
- data/vendor/toolkit/twitter/bootstrap/buttons.less +0 -166
- data/vendor/toolkit/twitter/bootstrap/carousel.less +0 -270
- data/vendor/toolkit/twitter/bootstrap/close.less +0 -34
- data/vendor/toolkit/twitter/bootstrap/code.less +0 -69
- data/vendor/toolkit/twitter/bootstrap/component-animations.less +0 -33
- data/vendor/toolkit/twitter/bootstrap/dropdowns.less +0 -216
- data/vendor/toolkit/twitter/bootstrap/forms.less +0 -613
- data/vendor/toolkit/twitter/bootstrap/glyphicons.less +0 -305
- data/vendor/toolkit/twitter/bootstrap/grid.less +0 -84
- data/vendor/toolkit/twitter/bootstrap/input-groups.less +0 -171
- data/vendor/toolkit/twitter/bootstrap/jumbotron.less +0 -54
- data/vendor/toolkit/twitter/bootstrap/labels.less +0 -64
- data/vendor/toolkit/twitter/bootstrap/list-group.less +0 -130
- data/vendor/toolkit/twitter/bootstrap/media.less +0 -66
- data/vendor/toolkit/twitter/bootstrap/mixins/alerts.less +0 -14
- data/vendor/toolkit/twitter/bootstrap/mixins/background-variant.less +0 -9
- data/vendor/toolkit/twitter/bootstrap/mixins/border-radius.less +0 -18
- data/vendor/toolkit/twitter/bootstrap/mixins/buttons.less +0 -65
- data/vendor/toolkit/twitter/bootstrap/mixins/center-block.less +0 -7
- data/vendor/toolkit/twitter/bootstrap/mixins/clearfix.less +0 -22
- data/vendor/toolkit/twitter/bootstrap/mixins/forms.less +0 -85
- data/vendor/toolkit/twitter/bootstrap/mixins/gradients.less +0 -59
- data/vendor/toolkit/twitter/bootstrap/mixins/grid-framework.less +0 -91
- data/vendor/toolkit/twitter/bootstrap/mixins/grid.less +0 -122
- data/vendor/toolkit/twitter/bootstrap/mixins/hide-text.less +0 -21
- data/vendor/toolkit/twitter/bootstrap/mixins/image.less +0 -33
- data/vendor/toolkit/twitter/bootstrap/mixins/labels.less +0 -12
- data/vendor/toolkit/twitter/bootstrap/mixins/list-group.less +0 -30
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-divider.less +0 -10
- data/vendor/toolkit/twitter/bootstrap/mixins/nav-vertical-align.less +0 -9
- data/vendor/toolkit/twitter/bootstrap/mixins/opacity.less +0 -8
- data/vendor/toolkit/twitter/bootstrap/mixins/pagination.less +0 -24
- data/vendor/toolkit/twitter/bootstrap/mixins/panels.less +0 -24
- data/vendor/toolkit/twitter/bootstrap/mixins/progress-bar.less +0 -10
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-filter.less +0 -8
- data/vendor/toolkit/twitter/bootstrap/mixins/reset-text.less +0 -18
- data/vendor/toolkit/twitter/bootstrap/mixins/resize.less +0 -6
- data/vendor/toolkit/twitter/bootstrap/mixins/responsive-visibility.less +0 -15
- data/vendor/toolkit/twitter/bootstrap/mixins/size.less +0 -10
- data/vendor/toolkit/twitter/bootstrap/mixins/tab-focus.less +0 -9
- data/vendor/toolkit/twitter/bootstrap/mixins/table-row.less +0 -28
- data/vendor/toolkit/twitter/bootstrap/mixins/text-emphasis.less +0 -9
- data/vendor/toolkit/twitter/bootstrap/mixins/text-overflow.less +0 -8
- data/vendor/toolkit/twitter/bootstrap/mixins/vendor-prefixes.less +0 -227
- data/vendor/toolkit/twitter/bootstrap/mixins.less +0 -40
- data/vendor/toolkit/twitter/bootstrap/modals.less +0 -150
- data/vendor/toolkit/twitter/bootstrap/navbar.less +0 -660
- data/vendor/toolkit/twitter/bootstrap/navs.less +0 -242
- data/vendor/toolkit/twitter/bootstrap/normalize.less +0 -424
- data/vendor/toolkit/twitter/bootstrap/pager.less +0 -54
- data/vendor/toolkit/twitter/bootstrap/pagination.less +0 -89
- data/vendor/toolkit/twitter/bootstrap/panels.less +0 -271
- data/vendor/toolkit/twitter/bootstrap/popovers.less +0 -131
- data/vendor/toolkit/twitter/bootstrap/print.less +0 -101
- data/vendor/toolkit/twitter/bootstrap/progress-bars.less +0 -87
- data/vendor/toolkit/twitter/bootstrap/responsive-embed.less +0 -35
- data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +0 -194
- data/vendor/toolkit/twitter/bootstrap/scaffolding.less +0 -161
- data/vendor/toolkit/twitter/bootstrap/tables.less +0 -234
- data/vendor/toolkit/twitter/bootstrap/theme.less +0 -291
- data/vendor/toolkit/twitter/bootstrap/thumbnails.less +0 -36
- data/vendor/toolkit/twitter/bootstrap/tooltip.less +0 -101
- data/vendor/toolkit/twitter/bootstrap/type.less +0 -302
- data/vendor/toolkit/twitter/bootstrap/utilities.less +0 -55
- data/vendor/toolkit/twitter/bootstrap/variables.less +0 -1751
- data/vendor/toolkit/twitter/bootstrap/wells.less +0 -29
- data/vendor/toolkit/twitter/bootstrap_base.less +0 -2
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// CSS image replacement
|
|
2
|
-
//
|
|
3
|
-
// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
|
|
4
|
-
// mixins being reused as classes with the same name, this doesn't hold up. As
|
|
5
|
-
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
|
|
6
|
-
//
|
|
7
|
-
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
|
8
|
-
|
|
9
|
-
// Deprecated as of v3.0.1 (has been removed in v4)
|
|
10
|
-
.hide-text() {
|
|
11
|
-
font: ~"0/0" a;
|
|
12
|
-
color: transparent;
|
|
13
|
-
text-shadow: none;
|
|
14
|
-
background-color: transparent;
|
|
15
|
-
border: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// New mixin to use as of v3.0.1
|
|
19
|
-
.text-hide() {
|
|
20
|
-
.hide-text();
|
|
21
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Image Mixins
|
|
2
|
-
// - Responsive image
|
|
3
|
-
// - Retina image
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Responsive image
|
|
7
|
-
//
|
|
8
|
-
// Keep images from scaling beyond the width of their parents.
|
|
9
|
-
.img-responsive(@display: block) {
|
|
10
|
-
display: @display;
|
|
11
|
-
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
|
12
|
-
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// Retina image
|
|
17
|
-
//
|
|
18
|
-
// Short retina mixin for setting background-image and -size. Note that the
|
|
19
|
-
// spelling of `min--moz-device-pixel-ratio` is intentional.
|
|
20
|
-
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
|
21
|
-
background-image: url("@{file-1x}");
|
|
22
|
-
|
|
23
|
-
@media
|
|
24
|
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
25
|
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
|
26
|
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
|
27
|
-
only screen and ( min-device-pixel-ratio: 2),
|
|
28
|
-
only screen and ( min-resolution: 192dpi),
|
|
29
|
-
only screen and ( min-resolution: 2dppx) {
|
|
30
|
-
background-image: url("@{file-2x}");
|
|
31
|
-
background-size: @width-1x @height-1x;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// List Groups
|
|
2
|
-
|
|
3
|
-
.list-group-item-variant(@state; @background; @color) {
|
|
4
|
-
.list-group-item-@{state} {
|
|
5
|
-
color: @color;
|
|
6
|
-
background-color: @background;
|
|
7
|
-
|
|
8
|
-
a&,
|
|
9
|
-
button& {
|
|
10
|
-
color: @color;
|
|
11
|
-
|
|
12
|
-
.list-group-item-heading {
|
|
13
|
-
color: inherit;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:hover,
|
|
17
|
-
&:focus {
|
|
18
|
-
color: @color;
|
|
19
|
-
background-color: darken(@background, 5%);
|
|
20
|
-
}
|
|
21
|
-
&.active,
|
|
22
|
-
&.active:hover,
|
|
23
|
-
&.active:focus {
|
|
24
|
-
color: #fff;
|
|
25
|
-
background-color: @color;
|
|
26
|
-
border-color: @color;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Navbar vertical align
|
|
2
|
-
//
|
|
3
|
-
// Vertically center elements in the navbar.
|
|
4
|
-
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
|
5
|
-
|
|
6
|
-
.navbar-vertical-align(@element-height) {
|
|
7
|
-
margin-top: ((@navbar-height - @element-height) / 2);
|
|
8
|
-
margin-bottom: ((@navbar-height - @element-height) / 2);
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Pagination
|
|
2
|
-
|
|
3
|
-
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
|
4
|
-
> li {
|
|
5
|
-
> a,
|
|
6
|
-
> span {
|
|
7
|
-
padding: @padding-vertical @padding-horizontal;
|
|
8
|
-
font-size: @font-size;
|
|
9
|
-
line-height: @line-height;
|
|
10
|
-
}
|
|
11
|
-
&:first-child {
|
|
12
|
-
> a,
|
|
13
|
-
> span {
|
|
14
|
-
.border-left-radius(@border-radius);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
&:last-child {
|
|
18
|
-
> a,
|
|
19
|
-
> span {
|
|
20
|
-
.border-right-radius(@border-radius);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Panels
|
|
2
|
-
|
|
3
|
-
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
|
|
4
|
-
border-color: @border;
|
|
5
|
-
|
|
6
|
-
& > .panel-heading {
|
|
7
|
-
color: @heading-text-color;
|
|
8
|
-
background-color: @heading-bg-color;
|
|
9
|
-
border-color: @heading-border;
|
|
10
|
-
|
|
11
|
-
+ .panel-collapse > .panel-body {
|
|
12
|
-
border-top-color: @border;
|
|
13
|
-
}
|
|
14
|
-
.badge {
|
|
15
|
-
color: @heading-bg-color;
|
|
16
|
-
background-color: @heading-text-color;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
& > .panel-footer {
|
|
20
|
-
+ .panel-collapse > .panel-body {
|
|
21
|
-
border-bottom-color: @border;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.reset-text() {
|
|
2
|
-
font-family: @font-family-base;
|
|
3
|
-
// We deliberately do NOT reset font-size.
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-weight: normal;
|
|
6
|
-
letter-spacing: normal;
|
|
7
|
-
line-break: auto;
|
|
8
|
-
line-height: @line-height-base;
|
|
9
|
-
text-align: left; // Fallback for where `start` is not supported
|
|
10
|
-
text-align: start;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
text-shadow: none;
|
|
13
|
-
text-transform: none;
|
|
14
|
-
white-space: normal;
|
|
15
|
-
word-break: normal;
|
|
16
|
-
word-spacing: normal;
|
|
17
|
-
word-wrap: normal;
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Responsive utilities
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// More easily include all the states for responsive-utilities.less.
|
|
5
|
-
.responsive-visibility() {
|
|
6
|
-
display: block !important;
|
|
7
|
-
table& { display: table !important; }
|
|
8
|
-
tr& { display: table-row !important; }
|
|
9
|
-
th&,
|
|
10
|
-
td& { display: table-cell !important; }
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.responsive-invisibility() {
|
|
14
|
-
display: none !important;
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Tables
|
|
2
|
-
|
|
3
|
-
.table-row-variant(@state; @background) {
|
|
4
|
-
// Exact selectors below required to override `.table-striped` and prevent
|
|
5
|
-
// inheritance to nested tables.
|
|
6
|
-
.table > thead > tr,
|
|
7
|
-
.table > tbody > tr,
|
|
8
|
-
.table > tfoot > tr {
|
|
9
|
-
> td.@{state},
|
|
10
|
-
> th.@{state},
|
|
11
|
-
&.@{state} > td,
|
|
12
|
-
&.@{state} > th {
|
|
13
|
-
background-color: @background;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Hover states for `.table-hover`
|
|
18
|
-
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
|
19
|
-
.table-hover > tbody > tr {
|
|
20
|
-
> td.@{state}:hover,
|
|
21
|
-
> th.@{state}:hover,
|
|
22
|
-
&.@{state}:hover > td,
|
|
23
|
-
&:hover > .@{state},
|
|
24
|
-
&.@{state}:hover > th {
|
|
25
|
-
background-color: darken(@background, 5%);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
// Vendor Prefixes
|
|
2
|
-
//
|
|
3
|
-
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
|
4
|
-
// Autoprefixer in our Gruntfile. They have been removed in v4.
|
|
5
|
-
|
|
6
|
-
// - Animations
|
|
7
|
-
// - Backface visibility
|
|
8
|
-
// - Box shadow
|
|
9
|
-
// - Box sizing
|
|
10
|
-
// - Content columns
|
|
11
|
-
// - Hyphens
|
|
12
|
-
// - Placeholder text
|
|
13
|
-
// - Transformations
|
|
14
|
-
// - Transitions
|
|
15
|
-
// - User Select
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
// Animations
|
|
19
|
-
.animation(@animation) {
|
|
20
|
-
-webkit-animation: @animation;
|
|
21
|
-
-o-animation: @animation;
|
|
22
|
-
animation: @animation;
|
|
23
|
-
}
|
|
24
|
-
.animation-name(@name) {
|
|
25
|
-
-webkit-animation-name: @name;
|
|
26
|
-
animation-name: @name;
|
|
27
|
-
}
|
|
28
|
-
.animation-duration(@duration) {
|
|
29
|
-
-webkit-animation-duration: @duration;
|
|
30
|
-
animation-duration: @duration;
|
|
31
|
-
}
|
|
32
|
-
.animation-timing-function(@timing-function) {
|
|
33
|
-
-webkit-animation-timing-function: @timing-function;
|
|
34
|
-
animation-timing-function: @timing-function;
|
|
35
|
-
}
|
|
36
|
-
.animation-delay(@delay) {
|
|
37
|
-
-webkit-animation-delay: @delay;
|
|
38
|
-
animation-delay: @delay;
|
|
39
|
-
}
|
|
40
|
-
.animation-iteration-count(@iteration-count) {
|
|
41
|
-
-webkit-animation-iteration-count: @iteration-count;
|
|
42
|
-
animation-iteration-count: @iteration-count;
|
|
43
|
-
}
|
|
44
|
-
.animation-direction(@direction) {
|
|
45
|
-
-webkit-animation-direction: @direction;
|
|
46
|
-
animation-direction: @direction;
|
|
47
|
-
}
|
|
48
|
-
.animation-fill-mode(@fill-mode) {
|
|
49
|
-
-webkit-animation-fill-mode: @fill-mode;
|
|
50
|
-
animation-fill-mode: @fill-mode;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Backface visibility
|
|
54
|
-
// Prevent browsers from flickering when using CSS 3D transforms.
|
|
55
|
-
// Default value is `visible`, but can be changed to `hidden`
|
|
56
|
-
|
|
57
|
-
.backface-visibility(@visibility) {
|
|
58
|
-
-webkit-backface-visibility: @visibility;
|
|
59
|
-
-moz-backface-visibility: @visibility;
|
|
60
|
-
backface-visibility: @visibility;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Drop shadows
|
|
64
|
-
//
|
|
65
|
-
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
|
|
66
|
-
// supported browsers that have box shadow capabilities now support it.
|
|
67
|
-
|
|
68
|
-
.box-shadow(@shadow) {
|
|
69
|
-
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
|
70
|
-
box-shadow: @shadow;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Box sizing
|
|
74
|
-
.box-sizing(@boxmodel) {
|
|
75
|
-
-webkit-box-sizing: @boxmodel;
|
|
76
|
-
-moz-box-sizing: @boxmodel;
|
|
77
|
-
box-sizing: @boxmodel;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// CSS3 Content Columns
|
|
81
|
-
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
|
82
|
-
-webkit-column-count: @column-count;
|
|
83
|
-
-moz-column-count: @column-count;
|
|
84
|
-
column-count: @column-count;
|
|
85
|
-
-webkit-column-gap: @column-gap;
|
|
86
|
-
-moz-column-gap: @column-gap;
|
|
87
|
-
column-gap: @column-gap;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Optional hyphenation
|
|
91
|
-
.hyphens(@mode: auto) {
|
|
92
|
-
word-wrap: break-word;
|
|
93
|
-
-webkit-hyphens: @mode;
|
|
94
|
-
-moz-hyphens: @mode;
|
|
95
|
-
-ms-hyphens: @mode; // IE10+
|
|
96
|
-
-o-hyphens: @mode;
|
|
97
|
-
hyphens: @mode;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Placeholder text
|
|
101
|
-
.placeholder(@color: @input-color-placeholder) {
|
|
102
|
-
// Firefox
|
|
103
|
-
&::-moz-placeholder {
|
|
104
|
-
color: @color;
|
|
105
|
-
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
|
106
|
-
}
|
|
107
|
-
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
|
108
|
-
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Transformations
|
|
112
|
-
.scale(@ratio) {
|
|
113
|
-
-webkit-transform: scale(@ratio);
|
|
114
|
-
-ms-transform: scale(@ratio); // IE9 only
|
|
115
|
-
-o-transform: scale(@ratio);
|
|
116
|
-
transform: scale(@ratio);
|
|
117
|
-
}
|
|
118
|
-
.scale(@ratioX; @ratioY) {
|
|
119
|
-
-webkit-transform: scale(@ratioX, @ratioY);
|
|
120
|
-
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
|
|
121
|
-
-o-transform: scale(@ratioX, @ratioY);
|
|
122
|
-
transform: scale(@ratioX, @ratioY);
|
|
123
|
-
}
|
|
124
|
-
.scaleX(@ratio) {
|
|
125
|
-
-webkit-transform: scaleX(@ratio);
|
|
126
|
-
-ms-transform: scaleX(@ratio); // IE9 only
|
|
127
|
-
-o-transform: scaleX(@ratio);
|
|
128
|
-
transform: scaleX(@ratio);
|
|
129
|
-
}
|
|
130
|
-
.scaleY(@ratio) {
|
|
131
|
-
-webkit-transform: scaleY(@ratio);
|
|
132
|
-
-ms-transform: scaleY(@ratio); // IE9 only
|
|
133
|
-
-o-transform: scaleY(@ratio);
|
|
134
|
-
transform: scaleY(@ratio);
|
|
135
|
-
}
|
|
136
|
-
.skew(@x; @y) {
|
|
137
|
-
-webkit-transform: skewX(@x) skewY(@y);
|
|
138
|
-
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
|
|
139
|
-
-o-transform: skewX(@x) skewY(@y);
|
|
140
|
-
transform: skewX(@x) skewY(@y);
|
|
141
|
-
}
|
|
142
|
-
.translate(@x; @y) {
|
|
143
|
-
-webkit-transform: translate(@x, @y);
|
|
144
|
-
-ms-transform: translate(@x, @y); // IE9 only
|
|
145
|
-
-o-transform: translate(@x, @y);
|
|
146
|
-
transform: translate(@x, @y);
|
|
147
|
-
}
|
|
148
|
-
.translate3d(@x; @y; @z) {
|
|
149
|
-
-webkit-transform: translate3d(@x, @y, @z);
|
|
150
|
-
transform: translate3d(@x, @y, @z);
|
|
151
|
-
}
|
|
152
|
-
.rotate(@degrees) {
|
|
153
|
-
-webkit-transform: rotate(@degrees);
|
|
154
|
-
-ms-transform: rotate(@degrees); // IE9 only
|
|
155
|
-
-o-transform: rotate(@degrees);
|
|
156
|
-
transform: rotate(@degrees);
|
|
157
|
-
}
|
|
158
|
-
.rotateX(@degrees) {
|
|
159
|
-
-webkit-transform: rotateX(@degrees);
|
|
160
|
-
-ms-transform: rotateX(@degrees); // IE9 only
|
|
161
|
-
-o-transform: rotateX(@degrees);
|
|
162
|
-
transform: rotateX(@degrees);
|
|
163
|
-
}
|
|
164
|
-
.rotateY(@degrees) {
|
|
165
|
-
-webkit-transform: rotateY(@degrees);
|
|
166
|
-
-ms-transform: rotateY(@degrees); // IE9 only
|
|
167
|
-
-o-transform: rotateY(@degrees);
|
|
168
|
-
transform: rotateY(@degrees);
|
|
169
|
-
}
|
|
170
|
-
.perspective(@perspective) {
|
|
171
|
-
-webkit-perspective: @perspective;
|
|
172
|
-
-moz-perspective: @perspective;
|
|
173
|
-
perspective: @perspective;
|
|
174
|
-
}
|
|
175
|
-
.perspective-origin(@perspective) {
|
|
176
|
-
-webkit-perspective-origin: @perspective;
|
|
177
|
-
-moz-perspective-origin: @perspective;
|
|
178
|
-
perspective-origin: @perspective;
|
|
179
|
-
}
|
|
180
|
-
.transform-origin(@origin) {
|
|
181
|
-
-webkit-transform-origin: @origin;
|
|
182
|
-
-moz-transform-origin: @origin;
|
|
183
|
-
-ms-transform-origin: @origin; // IE9 only
|
|
184
|
-
transform-origin: @origin;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
// Transitions
|
|
189
|
-
|
|
190
|
-
.transition(@transition) {
|
|
191
|
-
-webkit-transition: @transition;
|
|
192
|
-
-o-transition: @transition;
|
|
193
|
-
transition: @transition;
|
|
194
|
-
}
|
|
195
|
-
.transition-property(@transition-property) {
|
|
196
|
-
-webkit-transition-property: @transition-property;
|
|
197
|
-
transition-property: @transition-property;
|
|
198
|
-
}
|
|
199
|
-
.transition-delay(@transition-delay) {
|
|
200
|
-
-webkit-transition-delay: @transition-delay;
|
|
201
|
-
transition-delay: @transition-delay;
|
|
202
|
-
}
|
|
203
|
-
.transition-duration(@transition-duration) {
|
|
204
|
-
-webkit-transition-duration: @transition-duration;
|
|
205
|
-
transition-duration: @transition-duration;
|
|
206
|
-
}
|
|
207
|
-
.transition-timing-function(@timing-function) {
|
|
208
|
-
-webkit-transition-timing-function: @timing-function;
|
|
209
|
-
transition-timing-function: @timing-function;
|
|
210
|
-
}
|
|
211
|
-
.transition-transform(@transition) {
|
|
212
|
-
-webkit-transition: -webkit-transform @transition;
|
|
213
|
-
-moz-transition: -moz-transform @transition;
|
|
214
|
-
-o-transition: -o-transform @transition;
|
|
215
|
-
transition: transform @transition;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
// User select
|
|
220
|
-
// For selecting text on the page
|
|
221
|
-
|
|
222
|
-
.user-select(@select) {
|
|
223
|
-
-webkit-user-select: @select;
|
|
224
|
-
-moz-user-select: @select;
|
|
225
|
-
-ms-user-select: @select; // IE10+
|
|
226
|
-
user-select: @select;
|
|
227
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Mixins
|
|
2
|
-
// --------------------------------------------------
|
|
3
|
-
|
|
4
|
-
// Utilities
|
|
5
|
-
@import "mixins/hide-text.less";
|
|
6
|
-
@import "mixins/opacity.less";
|
|
7
|
-
@import "mixins/image.less";
|
|
8
|
-
@import "mixins/labels.less";
|
|
9
|
-
@import "mixins/reset-filter.less";
|
|
10
|
-
@import "mixins/resize.less";
|
|
11
|
-
@import "mixins/responsive-visibility.less";
|
|
12
|
-
@import "mixins/size.less";
|
|
13
|
-
@import "mixins/tab-focus.less";
|
|
14
|
-
@import "mixins/reset-text.less";
|
|
15
|
-
@import "mixins/text-emphasis.less";
|
|
16
|
-
@import "mixins/text-overflow.less";
|
|
17
|
-
@import "mixins/vendor-prefixes.less";
|
|
18
|
-
|
|
19
|
-
// Components
|
|
20
|
-
@import "mixins/alerts.less";
|
|
21
|
-
@import "mixins/buttons.less";
|
|
22
|
-
@import "mixins/panels.less";
|
|
23
|
-
@import "mixins/pagination.less";
|
|
24
|
-
@import "mixins/list-group.less";
|
|
25
|
-
@import "mixins/nav-divider.less";
|
|
26
|
-
@import "mixins/forms.less";
|
|
27
|
-
@import "mixins/progress-bar.less";
|
|
28
|
-
@import "mixins/table-row.less";
|
|
29
|
-
|
|
30
|
-
// Skins
|
|
31
|
-
@import "mixins/background-variant.less";
|
|
32
|
-
@import "mixins/border-radius.less";
|
|
33
|
-
@import "mixins/gradients.less";
|
|
34
|
-
|
|
35
|
-
// Layout
|
|
36
|
-
@import "mixins/clearfix.less";
|
|
37
|
-
@import "mixins/center-block.less";
|
|
38
|
-
@import "mixins/nav-vertical-align.less";
|
|
39
|
-
@import "mixins/grid-framework.less";
|
|
40
|
-
@import "mixins/grid.less";
|