rails_admin 3.0.0.beta2 → 3.0.0.rc
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rails_admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/Rakefile +11 -0
- data/app/assets/javascripts/rails_admin.js +4 -4
- data/app/assets/stylesheets/rails_admin.scss +31 -0
- data/app/controllers/rails_admin/application_controller.rb +1 -1
- data/app/controllers/rails_admin/main_controller.rb +10 -18
- data/app/helpers/rails_admin/application_helper.rb +12 -13
- data/app/helpers/rails_admin/form_builder.rb +3 -3
- data/app/helpers/rails_admin/main_helper.rb +1 -1
- data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +2 -2
- data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +4 -4
- data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +4 -4
- data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +12 -10
- data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +4 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +4 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -4
- data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +4 -4
- data/app/views/layouts/rails_admin/_navigation.html.erb +12 -16
- data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +8 -8
- data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +1 -5
- data/app/views/layouts/rails_admin/application.html.erb +4 -7
- data/app/views/layouts/rails_admin/{pjax.html.erb → content.html.erb} +7 -5
- data/app/views/layouts/rails_admin/modal.js.erb +1 -1
- data/app/views/rails_admin/main/_dashboard_history.html.erb +1 -1
- data/app/views/rails_admin/main/_delete_notice.html.erb +2 -2
- data/app/views/rails_admin/main/_form_boolean.html.erb +6 -8
- data/app/views/rails_admin/main/_form_colorpicker.html.erb +5 -1
- data/app/views/rails_admin/main/_form_datetime.html.erb +8 -7
- data/app/views/rails_admin/main/_form_enumeration.html.erb +5 -1
- data/app/views/rails_admin/main/_form_file_upload.html.erb +1 -1
- data/app/views/rails_admin/main/_form_filtering_multiselect.html.erb +14 -14
- data/app/views/rails_admin/main/_form_filtering_select.html.erb +16 -21
- data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +1 -1
- data/app/views/rails_admin/main/_form_nested_many.html.erb +4 -4
- data/app/views/rails_admin/main/_form_nested_one.html.erb +4 -4
- data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +11 -6
- data/app/views/rails_admin/main/_submit_buttons.html.erb +8 -8
- data/app/views/rails_admin/main/bulk_delete.html.erb +1 -1
- data/app/views/rails_admin/main/dashboard.html.erb +4 -4
- data/app/views/rails_admin/main/delete.html.erb +1 -1
- data/app/views/rails_admin/main/edit.html.erb +1 -1
- data/app/views/rails_admin/main/export.html.erb +35 -32
- data/app/views/rails_admin/main/history.html.erb +16 -14
- data/app/views/rails_admin/main/index.html.erb +38 -35
- data/app/views/rails_admin/main/new.html.erb +1 -1
- data/config/locales/rails_admin.en.yml +0 -1
- data/lib/generators/rails_admin/install_generator.rb +0 -1
- data/lib/generators/rails_admin/templates/webpack.config.js +0 -3
- data/lib/rails_admin/adapters/active_record/object_extension.rb +1 -1
- data/lib/rails_admin/adapters/active_record/property.rb +1 -1
- data/lib/rails_admin/adapters/active_record.rb +7 -3
- data/lib/rails_admin/adapters/mongoid/property.rb +3 -3
- data/lib/rails_admin/adapters/mongoid.rb +2 -2
- data/lib/rails_admin/config/actions/base.rb +1 -6
- data/lib/rails_admin/config/actions/dashboard.rb +13 -9
- data/lib/rails_admin/config/actions/delete.rb +4 -0
- data/lib/rails_admin/config/actions/edit.rb +4 -0
- data/lib/rails_admin/config/actions/new.rb +5 -0
- data/lib/rails_admin/config/actions/show_in_app.rb +0 -4
- data/lib/rails_admin/config/fields/association.rb +6 -1
- data/lib/rails_admin/config/fields/base.rb +1 -1
- data/lib/rails_admin/config/fields/types/action_text.rb +1 -1
- data/lib/rails_admin/config/fields/types/date.rb +7 -0
- data/lib/rails_admin/config/fields/types/datetime.rb +9 -4
- data/lib/rails_admin/config/fields/types/has_many_association.rb +4 -0
- data/lib/rails_admin/config/fields/types/has_one_association.rb +4 -0
- data/lib/rails_admin/config/fields/types/time.rb +9 -0
- data/lib/rails_admin/config/has_fields.rb +4 -0
- data/lib/rails_admin/config/model.rb +8 -0
- data/lib/rails_admin/config/sections/list.rb +4 -4
- data/lib/rails_admin/config.rb +4 -1
- data/lib/rails_admin/engine.rb +2 -5
- data/lib/rails_admin/support/datetime.rb +50 -53
- data/lib/rails_admin/support/esmodule_preprocessor.rb +2 -1
- data/lib/rails_admin/version.rb +1 -1
- data/package.json +7 -5
- data/src/rails_admin/base.js +3 -6
- data/src/rails_admin/filter-box.js +36 -37
- data/src/rails_admin/filtering-select.js +3 -6
- data/src/rails_admin/i18n.js +0 -3
- data/src/rails_admin/nested-form-hooks.js +16 -8
- data/src/rails_admin/remote-form.js +18 -15
- data/src/rails_admin/styles/base/theming.scss +80 -155
- data/src/rails_admin/styles/base/variables.scss +2 -0
- data/src/rails_admin/styles/base.scss +8 -45
- data/src/rails_admin/styles/filtering-multiselect.scss +2 -2
- data/src/rails_admin/styles/filtering-select.scss +1 -1
- data/src/rails_admin/styles/widgets.scss +1 -10
- data/src/rails_admin/ui.js +4 -54
- data/src/rails_admin/widgets.js +38 -48
- data/vendor/assets/javascripts/rails_admin/bootstrap.js +5046 -0
- data/vendor/assets/javascripts/rails_admin/flatpickr-with-locales.js +10683 -0
- data/vendor/assets/javascripts/rails_admin/popper.js +1974 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_accordion.scss +118 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_alert.scss +57 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_badge.scss +29 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_breadcrumb.scss +28 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_button-group.scss +139 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_buttons.scss +64 -110
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_card.scss +216 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_carousel.scss +162 -176
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_close.scss +31 -26
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_containers.scss +41 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_dropdown.scss +240 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_forms.scss +9 -538
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_functions.scss +302 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_grid.scss +18 -69
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_helpers.scss +9 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_images.scss +42 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_list-group.scss +127 -84
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_mixins.scss +26 -22
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_modal.scss +209 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_nav.scss +139 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_navbar.scss +218 -542
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss +83 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_pagination.scss +46 -70
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_placeholders.scss +51 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_popover.scss +158 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_progress.scss +48 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_reboot.scss +625 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss +54 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_spinners.scss +69 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_tables.scss +100 -178
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss +51 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_tooltip.scss +97 -77
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_transitions.scss +27 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_type.scss +54 -254
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_utilities.scss +628 -55
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_variables.scss +1572 -781
- data/vendor/assets/stylesheets/rails_admin/bootstrap/bootstrap.scss +38 -35
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_floating-labels.scss +63 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-check.scss +152 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-control.scss +219 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-range.scss +91 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-select.scss +72 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-text.scss +11 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_input-group.scss +121 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_labels.scss +36 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_validation.scss +12 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_clearfix.scss +3 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_colored-links.scss +12 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_position.scss +30 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_ratio.scss +26 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_stacks.scss +15 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_stretched-link.scss +15 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_text-truncation.scss +7 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_vr.scss +8 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_alert.scss +11 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_backdrop.scss +14 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_border-radius.scss +72 -12
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_box-shadow.scss +18 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_breakpoints.scss +127 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_buttons.scss +113 -30
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_caret.scss +64 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_clearfix.scss +5 -18
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_color-scheme.scss +7 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_container.scss +9 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_deprecate.scss +10 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_forms.scss +130 -70
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_gradients.scss +27 -38
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_grid.scss +127 -98
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_image.scss +6 -24
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_list-group.scss +13 -20
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_lists.scss +7 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_pagination.scss +24 -16
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_reset-text.scss +17 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_resize.scss +1 -1
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_table-variants.scss +21 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_transition.scss +26 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_utilities.scss +89 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_visually-hidden.scss +29 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/utilities/_api.scss +47 -0
- data/vendor/assets/stylesheets/rails_admin/bootstrap/vendor/_rfs.scss +354 -0
- data/vendor/assets/stylesheets/rails_admin/flatpickr.css +791 -0
- metadata +80 -91
- data/app/assets/stylesheets/rails_admin.scss.erb +0 -76
- data/lib/generators/rails_admin/templates/environment.js +0 -6
- data/src/rails_admin/styles/themes/cerulean/mixins.scss +0 -0
- data/src/rails_admin/styles/themes/cerulean/theming.scss +0 -135
- data/src/rails_admin/styles/themes/cerulean/variables.scss +0 -830
- data/src/rails_admin/styles/themes/default/mixins.scss +0 -8
- data/src/rails_admin/styles/themes/default/theming.scss +0 -11
- data/src/rails_admin/styles/themes/default/variables.scss +0 -12
- data/src/rails_admin/vendor/jquery.pjax.js +0 -899
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-affix.js +0 -164
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-alert.js +0 -95
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-button.js +0 -125
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-carousel.js +0 -246
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-collapse.js +0 -212
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-dropdown.js +0 -165
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-modal.js +0 -358
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-popover.js +0 -123
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-scrollspy.js +0 -172
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-tab.js +0 -155
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-tooltip.js +0 -677
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-transition.js +0 -59
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-typeahead.js +0 -1782
- data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap.js +0 -13
- data/vendor/assets/javascripts/rails_admin/bootstrap-datetimepicker.js +0 -2611
- data/vendor/assets/javascripts/rails_admin/jquery.pjax.js +0 -898
- data/vendor/assets/javascripts/rails_admin/moment-with-locales.js +0 -18085
- data/vendor/assets/stylesheets/rails_admin/_bootstrap-datetimepicker.scss +0 -343
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_alerts.scss +0 -68
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_badges.scss +0 -57
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_breadcrumbs.scss +0 -26
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_button-groups.scss +0 -240
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_code.scss +0 -68
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_component-animations.scss +0 -35
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_dropdowns.scss +0 -215
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_glyphicons.scss +0 -237
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_input-groups.scss +0 -166
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_jumbotron.scss +0 -48
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_labels.scss +0 -66
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_media.scss +0 -56
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_modals.scss +0 -150
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_navs.scss +0 -242
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_normalize.scss +0 -425
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_pager.scss +0 -55
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_panels.scss +0 -243
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_popovers.scss +0 -133
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_print.scss +0 -101
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_progress-bars.scss +0 -105
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss +0 -34
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-utilities.scss +0 -174
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_scaffolding.scss +0 -150
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_theme.scss +0 -258
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss +0 -38
- data/vendor/assets/stylesheets/rails_admin/bootstrap/_wells.scss +0 -29
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_alerts.scss +0 -14
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_background-variant.scss +0 -11
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_center-block.scss +0 -7
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_grid-framework.scss +0 -81
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_hide-text.scss +0 -21
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_labels.scss +0 -12
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_nav-divider.scss +0 -10
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_opacity.scss +0 -8
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_panels.scss +0 -24
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_progress-bar.scss +0 -10
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_reset-filter.scss +0 -8
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_responsive-visibility.scss +0 -21
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_size.scss +0 -10
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_tab-focus.scss +0 -9
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_table-row.scss +0 -28
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_text-emphasis.scss +0 -11
- data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_vendor-prefixes.scss +0 -219
- data/vendor/assets/stylesheets/rails_admin/bootstrap-datetimepicker-build.scss +0 -16
@@ -1,830 +0,0 @@
|
|
1
|
-
// Cerulean 3.3.1
|
2
|
-
// Variables
|
3
|
-
//
|
4
|
-
// --------------------------------------------------
|
5
|
-
|
6
|
-
//== Colors
|
7
|
-
//
|
8
|
-
//## Gray and brand colors for use across Bootstrap.
|
9
|
-
|
10
|
-
$gray-base: #000;
|
11
|
-
$gray-darker: lighten($gray-base, 13.5%); // #222
|
12
|
-
$gray-dark: lighten($gray-base, 20%); // #333
|
13
|
-
$gray: lighten($gray-base, 33.5%); // #555
|
14
|
-
$gray-light: lighten($gray-base, 60%); // #999
|
15
|
-
$gray-lighter: lighten($gray-base, 93.5%); // #eee
|
16
|
-
|
17
|
-
$brand-info: #2fa4e7; // default $brand-primary
|
18
|
-
$brand-success: #73a839;
|
19
|
-
$brand-primary: #033c73; // default $brand-info
|
20
|
-
$brand-warning: #dd5600;
|
21
|
-
$brand-danger: #c71c22;
|
22
|
-
|
23
|
-
//== Scaffolding
|
24
|
-
//
|
25
|
-
//## Settings for some of the most global styles.
|
26
|
-
|
27
|
-
//** Background color for `<body>`.
|
28
|
-
$body-bg: #fff;
|
29
|
-
//** Global text color on `<body>`.
|
30
|
-
$text-color: $gray;
|
31
|
-
|
32
|
-
//** Global textual link color.
|
33
|
-
$link-color: $brand-primary;
|
34
|
-
//** Link hover color set via `darken()` function.
|
35
|
-
$link-hover-color: darken($link-color, 15%);
|
36
|
-
//** Link hover decoration.
|
37
|
-
$link-hover-decoration: underline;
|
38
|
-
|
39
|
-
//== Typography
|
40
|
-
//
|
41
|
-
//## Font, line-height, and color for body text, headings, and more.
|
42
|
-
|
43
|
-
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
44
|
-
$font-family-serif: Georgia, "Times New Roman", Times, serif;
|
45
|
-
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
46
|
-
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
47
|
-
$font-family-base: $font-family-sans-serif;
|
48
|
-
|
49
|
-
$font-size-base: 14px;
|
50
|
-
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
51
|
-
$font-size-small: ceil(($font-size-base * 0.85)); // ~12px
|
52
|
-
|
53
|
-
$font-size-h1: floor(($font-size-base * 2.6)); // ~36px
|
54
|
-
$font-size-h2: floor(($font-size-base * 2.15)); // ~30px
|
55
|
-
$font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
|
56
|
-
$font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
57
|
-
$font-size-h5: $font-size-base;
|
58
|
-
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
59
|
-
|
60
|
-
//** Unit-less `line-height` for use in components like buttons.
|
61
|
-
$line-height-base: 1.428571429; // 20/14
|
62
|
-
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
63
|
-
$line-height-computed: floor(($font-size-base * $line-height-base)); // ~20px
|
64
|
-
|
65
|
-
//** By default, this inherits from the `<body>`.
|
66
|
-
$headings-font-family: $font-family-base;
|
67
|
-
$headings-font-weight: 500;
|
68
|
-
$headings-line-height: 1.1;
|
69
|
-
$headings-color: #317eac;
|
70
|
-
|
71
|
-
//== Iconography
|
72
|
-
//
|
73
|
-
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
74
|
-
|
75
|
-
//** Load fonts from this directory.
|
76
|
-
$icon-font-path: "../fonts/";
|
77
|
-
//** File name for all font files.
|
78
|
-
$icon-font-name: "glyphicons-halflings-regular";
|
79
|
-
//** Element ID within SVG icon file.
|
80
|
-
$icon-font-svg-id: "glyphicons_halflingsregular";
|
81
|
-
|
82
|
-
//== Components
|
83
|
-
//
|
84
|
-
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
85
|
-
|
86
|
-
$padding-base-vertical: 8px;
|
87
|
-
$padding-base-horizontal: 12px;
|
88
|
-
|
89
|
-
$padding-large-vertical: 14px;
|
90
|
-
$padding-large-horizontal: 16px;
|
91
|
-
|
92
|
-
$padding-small-vertical: 5px;
|
93
|
-
$padding-small-horizontal: 10px;
|
94
|
-
|
95
|
-
$padding-xs-vertical: 1px;
|
96
|
-
$padding-xs-horizontal: 5px;
|
97
|
-
|
98
|
-
$line-height-large: 1.33;
|
99
|
-
$line-height-small: 1.5;
|
100
|
-
|
101
|
-
$border-radius-base: 0px;
|
102
|
-
$border-radius-large: 0px;
|
103
|
-
$border-radius-small: 0px;
|
104
|
-
|
105
|
-
//** Global color for active items (e.g., navs or dropdowns).
|
106
|
-
$component-active-color: #fff;
|
107
|
-
//** Global background color for active items (e.g., navs or dropdowns).
|
108
|
-
$component-active-bg: $brand-primary;
|
109
|
-
|
110
|
-
//** Width of the `border` for generating carets that indicator dropdowns.
|
111
|
-
$caret-width-base: 4px;
|
112
|
-
//** Carets increase slightly in size for larger components.
|
113
|
-
$caret-width-large: 5px;
|
114
|
-
|
115
|
-
//== Tables
|
116
|
-
//
|
117
|
-
//## Customizes the `.table` component with basic values, each used across all table variations.
|
118
|
-
|
119
|
-
//** Padding for `<th>`s and `<td>`s.
|
120
|
-
$table-cell-padding: 8px;
|
121
|
-
//** Padding for cells in `.table-condensed`.
|
122
|
-
$table-condensed-cell-padding: 5px;
|
123
|
-
|
124
|
-
//** Default background color used for all tables.
|
125
|
-
$table-bg: transparent;
|
126
|
-
//** Background color used for `.table-striped`.
|
127
|
-
$table-bg-accent: #f9f9f9;
|
128
|
-
//** Background color used for `.table-hover`.
|
129
|
-
$table-bg-hover: #f5f5f5;
|
130
|
-
$table-bg-active: $table-bg-hover;
|
131
|
-
|
132
|
-
//** Border color for table and cell borders.
|
133
|
-
$table-border-color: #ddd;
|
134
|
-
|
135
|
-
//== Buttons
|
136
|
-
//
|
137
|
-
//## For each of Bootstrap's buttons, define text, background and border color.
|
138
|
-
|
139
|
-
$btn-font-weight: normal;
|
140
|
-
|
141
|
-
$btn-default-color: $text-color;
|
142
|
-
$btn-default-bg: #fff;
|
143
|
-
$btn-default-border: rgba(0, 0, 0, 0.1);
|
144
|
-
|
145
|
-
$btn-primary-color: #fff;
|
146
|
-
$btn-primary-bg: $brand-primary;
|
147
|
-
$btn-primary-border: $btn-primary-bg;
|
148
|
-
|
149
|
-
$btn-success-color: #fff;
|
150
|
-
$btn-success-bg: $brand-success;
|
151
|
-
$btn-success-border: $btn-success-bg;
|
152
|
-
|
153
|
-
$btn-info-color: #fff;
|
154
|
-
$btn-info-bg: $brand-info;
|
155
|
-
$btn-info-border: $btn-info-bg;
|
156
|
-
|
157
|
-
$btn-warning-color: #fff;
|
158
|
-
$btn-warning-bg: $brand-warning;
|
159
|
-
$btn-warning-border: $btn-warning-bg;
|
160
|
-
|
161
|
-
$btn-danger-color: #fff;
|
162
|
-
$btn-danger-bg: $brand-danger;
|
163
|
-
$btn-danger-border: $btn-danger-bg;
|
164
|
-
|
165
|
-
$btn-link-disabled-color: $gray-light;
|
166
|
-
|
167
|
-
//== Forms
|
168
|
-
//
|
169
|
-
//##
|
170
|
-
|
171
|
-
//** `<input>` background color
|
172
|
-
$input-bg: #fff;
|
173
|
-
//** `<input disabled>` background color
|
174
|
-
$input-bg-disabled: $gray-lighter;
|
175
|
-
|
176
|
-
//** Text color for `<input>`s
|
177
|
-
$input-color: $text-color;
|
178
|
-
//** `<input>` border color
|
179
|
-
$input-border: #ccc;
|
180
|
-
|
181
|
-
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
182
|
-
//** Default `.form-control` border radius
|
183
|
-
$input-border-radius: $border-radius-base;
|
184
|
-
//** Large `.form-control` border radius
|
185
|
-
$input-border-radius-large: $border-radius-large;
|
186
|
-
//** Small `.form-control` border radius
|
187
|
-
$input-border-radius-small: $border-radius-small;
|
188
|
-
|
189
|
-
//** Border color for inputs on focus
|
190
|
-
$input-border-focus: #66afe9;
|
191
|
-
|
192
|
-
//** Placeholder text color
|
193
|
-
$input-color-placeholder: $gray-light;
|
194
|
-
|
195
|
-
//** Default `.form-control` height
|
196
|
-
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
|
197
|
-
//** Large `.form-control` height
|
198
|
-
$input-height-large: (
|
199
|
-
ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) +
|
200
|
-
2
|
201
|
-
);
|
202
|
-
//** Small `.form-control` height
|
203
|
-
$input-height-small: (
|
204
|
-
floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) +
|
205
|
-
2
|
206
|
-
);
|
207
|
-
|
208
|
-
$legend-color: $text-color;
|
209
|
-
$legend-border-color: #e5e5e5;
|
210
|
-
|
211
|
-
//** Background color for textual input addons
|
212
|
-
$input-group-addon-bg: $gray-lighter;
|
213
|
-
//** Border color for textual input addons
|
214
|
-
$input-group-addon-border-color: $input-border;
|
215
|
-
|
216
|
-
//** Disabled cursor for form controls and buttons.
|
217
|
-
$cursor-disabled: not-allowed;
|
218
|
-
|
219
|
-
//== Dropdowns
|
220
|
-
//
|
221
|
-
//## Dropdown menu container and contents.
|
222
|
-
|
223
|
-
//** Background for the dropdown menu.
|
224
|
-
$dropdown-bg: #fff;
|
225
|
-
//** Dropdown menu `border-color`.
|
226
|
-
$dropdown-border: rgba(0, 0, 0, 0.15);
|
227
|
-
//** Dropdown menu `border-color` **for IE8**.
|
228
|
-
$dropdown-fallback-border: #ccc;
|
229
|
-
//** Divider color for between dropdown items.
|
230
|
-
$dropdown-divider-bg: #e5e5e5;
|
231
|
-
|
232
|
-
//** Dropdown link text color.
|
233
|
-
$dropdown-link-color: $gray-dark;
|
234
|
-
//** Hover color for dropdown links.
|
235
|
-
$dropdown-link-hover-color: #fff;
|
236
|
-
//** Hover background for dropdown links.
|
237
|
-
$dropdown-link-hover-bg: $component-active-bg;
|
238
|
-
|
239
|
-
//** Active dropdown menu item text color.
|
240
|
-
$dropdown-link-active-color: #fff;
|
241
|
-
//** Active dropdown menu item background color.
|
242
|
-
$dropdown-link-active-bg: $component-active-bg;
|
243
|
-
|
244
|
-
//** Disabled dropdown menu item background color.
|
245
|
-
$dropdown-link-disabled-color: $gray-light;
|
246
|
-
|
247
|
-
//** Text color for headers within dropdown menus.
|
248
|
-
$dropdown-header-color: $gray-light;
|
249
|
-
|
250
|
-
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
251
|
-
$dropdown-caret-color: #000;
|
252
|
-
|
253
|
-
//-- Z-index master list
|
254
|
-
//
|
255
|
-
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
256
|
-
// of components dependent on the z-axis and are designed to all work together.
|
257
|
-
//
|
258
|
-
// Note: These variables are not generated into the Customizer.
|
259
|
-
|
260
|
-
$zindex-navbar: 1000;
|
261
|
-
$zindex-dropdown: 1000;
|
262
|
-
$zindex-popover: 1060;
|
263
|
-
$zindex-tooltip: 1070;
|
264
|
-
$zindex-navbar-fixed: 1030;
|
265
|
-
$zindex-modal: 1040;
|
266
|
-
|
267
|
-
//== Media queries breakpoints
|
268
|
-
//
|
269
|
-
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
270
|
-
|
271
|
-
// Extra small screen / phone
|
272
|
-
//** Deprecated `$screen-xs` as of v3.0.1
|
273
|
-
$screen-xs: 480px;
|
274
|
-
//** Deprecated `$screen-xs-min` as of v3.2.0
|
275
|
-
$screen-xs-min: $screen-xs;
|
276
|
-
//** Deprecated `$screen-phone` as of v3.0.1
|
277
|
-
$screen-phone: $screen-xs-min;
|
278
|
-
|
279
|
-
// Small screen / tablet
|
280
|
-
//** Deprecated `$screen-sm` as of v3.0.1
|
281
|
-
$screen-sm: 768px;
|
282
|
-
$screen-sm-min: $screen-sm;
|
283
|
-
//** Deprecated `$screen-tablet` as of v3.0.1
|
284
|
-
$screen-tablet: $screen-sm-min;
|
285
|
-
|
286
|
-
// Medium screen / desktop
|
287
|
-
//** Deprecated `$screen-md` as of v3.0.1
|
288
|
-
$screen-md: 992px;
|
289
|
-
$screen-md-min: $screen-md;
|
290
|
-
//** Deprecated `$screen-desktop` as of v3.0.1
|
291
|
-
$screen-desktop: $screen-md-min;
|
292
|
-
|
293
|
-
// Large screen / wide desktop
|
294
|
-
//** Deprecated `$screen-lg` as of v3.0.1
|
295
|
-
$screen-lg: 1200px;
|
296
|
-
$screen-lg-min: $screen-lg;
|
297
|
-
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
298
|
-
$screen-lg-desktop: $screen-lg-min;
|
299
|
-
|
300
|
-
// So media queries don't overlap when required, provide a maximum
|
301
|
-
$screen-xs-max: ($screen-sm-min - 1);
|
302
|
-
$screen-sm-max: ($screen-md-min - 1);
|
303
|
-
$screen-md-max: ($screen-lg-min - 1);
|
304
|
-
|
305
|
-
//== Grid system
|
306
|
-
//
|
307
|
-
//## Define your custom responsive grid.
|
308
|
-
|
309
|
-
//** Number of columns in the grid.
|
310
|
-
$grid-columns: 12;
|
311
|
-
//** Padding between columns. Gets divided in half for the left and right.
|
312
|
-
$grid-gutter-width: 30px;
|
313
|
-
// Navbar collapse
|
314
|
-
//** Point at which the navbar becomes uncollapsed.
|
315
|
-
$grid-float-breakpoint: $screen-sm-min;
|
316
|
-
//** Point at which the navbar begins collapsing.
|
317
|
-
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
|
318
|
-
|
319
|
-
//== Container sizes
|
320
|
-
//
|
321
|
-
//## Define the maximum width of `.container` for different screen sizes.
|
322
|
-
|
323
|
-
// Small screen / tablet
|
324
|
-
$container-tablet: (720px + $grid-gutter-width);
|
325
|
-
//** For `$screen-sm-min` and up.
|
326
|
-
$container-sm: $container-tablet;
|
327
|
-
|
328
|
-
// Medium screen / desktop
|
329
|
-
$container-desktop: (940px + $grid-gutter-width);
|
330
|
-
//** For `$screen-md-min` and up.
|
331
|
-
$container-md: $container-desktop;
|
332
|
-
|
333
|
-
// Large screen / wide desktop
|
334
|
-
$container-large-desktop: (1140px + $grid-gutter-width);
|
335
|
-
//** For `$screen-lg-min` and up.
|
336
|
-
$container-lg: $container-large-desktop;
|
337
|
-
|
338
|
-
//== Navbar
|
339
|
-
//
|
340
|
-
//##
|
341
|
-
|
342
|
-
// Basics of a navbar
|
343
|
-
$navbar-height: 50px;
|
344
|
-
$navbar-margin-bottom: $line-height-computed;
|
345
|
-
$navbar-border-radius: $border-radius-base;
|
346
|
-
$navbar-padding-horizontal: floor(($grid-gutter-width / 2));
|
347
|
-
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
|
348
|
-
$navbar-collapse-max-height: 340px;
|
349
|
-
|
350
|
-
$navbar-default-color: #ddd;
|
351
|
-
$navbar-default-bg: $brand-primary;
|
352
|
-
$navbar-default-border: darken($navbar-default-bg, 6.5%);
|
353
|
-
|
354
|
-
// Navbar links
|
355
|
-
$navbar-default-link-color: #fff;
|
356
|
-
$navbar-default-link-hover-color: #fff;
|
357
|
-
$navbar-default-link-hover-bg: darken($navbar-default-bg, 10%);
|
358
|
-
$navbar-default-link-active-color: #fff;
|
359
|
-
$navbar-default-link-active-bg: darken($navbar-default-bg, 10%);
|
360
|
-
$navbar-default-link-disabled-color: #ddd;
|
361
|
-
$navbar-default-link-disabled-bg: transparent;
|
362
|
-
|
363
|
-
// Navbar brand label
|
364
|
-
$navbar-default-brand-color: $navbar-default-link-color;
|
365
|
-
$navbar-default-brand-hover-color: #fff;
|
366
|
-
$navbar-default-brand-hover-bg: none;
|
367
|
-
|
368
|
-
// Navbar toggle
|
369
|
-
$navbar-default-toggle-hover-bg: darken($navbar-default-bg, 10%);
|
370
|
-
$navbar-default-toggle-icon-bar-bg: #fff;
|
371
|
-
$navbar-default-toggle-border-color: darken($navbar-default-bg, 10%);
|
372
|
-
|
373
|
-
// Inverted navbar
|
374
|
-
// Reset inverted navbar basics
|
375
|
-
$navbar-inverse-color: #fff;
|
376
|
-
$navbar-inverse-bg: $brand-info;
|
377
|
-
$navbar-inverse-border: darken($navbar-inverse-bg, 5%);
|
378
|
-
|
379
|
-
// Inverted navbar links
|
380
|
-
$navbar-inverse-link-color: #fff;
|
381
|
-
$navbar-inverse-link-hover-color: #fff;
|
382
|
-
$navbar-inverse-link-hover-bg: darken($navbar-inverse-bg, 5%);
|
383
|
-
$navbar-inverse-link-active-color: #fff;
|
384
|
-
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 5%);
|
385
|
-
$navbar-inverse-link-disabled-color: #ccc;
|
386
|
-
$navbar-inverse-link-disabled-bg: transparent;
|
387
|
-
|
388
|
-
// Inverted navbar brand label
|
389
|
-
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
390
|
-
$navbar-inverse-brand-hover-color: #fff;
|
391
|
-
$navbar-inverse-brand-hover-bg: none;
|
392
|
-
|
393
|
-
// Inverted navbar toggle
|
394
|
-
$navbar-inverse-toggle-hover-bg: darken($navbar-inverse-bg, 5%);
|
395
|
-
$navbar-inverse-toggle-icon-bar-bg: #fff;
|
396
|
-
$navbar-inverse-toggle-border-color: darken($navbar-inverse-bg, 5%);
|
397
|
-
|
398
|
-
//== Navs
|
399
|
-
//
|
400
|
-
//##
|
401
|
-
|
402
|
-
//=== Shared nav styles
|
403
|
-
$nav-link-padding: 10px 15px;
|
404
|
-
$nav-link-hover-bg: $gray-lighter;
|
405
|
-
|
406
|
-
$nav-disabled-link-color: $gray-light;
|
407
|
-
$nav-disabled-link-hover-color: $gray-light;
|
408
|
-
|
409
|
-
//== Tabs
|
410
|
-
$nav-tabs-border-color: #ddd;
|
411
|
-
|
412
|
-
$nav-tabs-link-hover-border-color: $gray-lighter;
|
413
|
-
|
414
|
-
$nav-tabs-active-link-hover-bg: $body-bg;
|
415
|
-
$nav-tabs-active-link-hover-color: $gray;
|
416
|
-
$nav-tabs-active-link-hover-border-color: #ddd;
|
417
|
-
|
418
|
-
$nav-tabs-justified-link-border-color: #ddd;
|
419
|
-
$nav-tabs-justified-active-link-border-color: $body-bg;
|
420
|
-
|
421
|
-
//== Pills
|
422
|
-
$nav-pills-border-radius: $border-radius-base;
|
423
|
-
$nav-pills-active-link-hover-bg: $component-active-bg;
|
424
|
-
$nav-pills-active-link-hover-color: $component-active-color;
|
425
|
-
|
426
|
-
//== Pagination
|
427
|
-
//
|
428
|
-
//##
|
429
|
-
|
430
|
-
$pagination-color: $link-color;
|
431
|
-
$pagination-bg: #fff;
|
432
|
-
$pagination-border: #ddd;
|
433
|
-
|
434
|
-
$pagination-hover-color: $link-hover-color;
|
435
|
-
$pagination-hover-bg: $gray-lighter;
|
436
|
-
$pagination-hover-border: #ddd;
|
437
|
-
|
438
|
-
$pagination-active-color: $gray-light;
|
439
|
-
$pagination-active-bg: #f5f5f5;
|
440
|
-
$pagination-active-border: $pagination-hover-border;
|
441
|
-
|
442
|
-
$pagination-disabled-color: $gray-light;
|
443
|
-
$pagination-disabled-bg: #fff;
|
444
|
-
$pagination-disabled-border: #ddd;
|
445
|
-
|
446
|
-
//== Pager
|
447
|
-
//
|
448
|
-
//##
|
449
|
-
|
450
|
-
$pager-bg: $pagination-bg;
|
451
|
-
$pager-border: $pagination-border;
|
452
|
-
$pager-border-radius: 15px;
|
453
|
-
|
454
|
-
$pager-hover-bg: $pagination-hover-bg;
|
455
|
-
|
456
|
-
$pager-active-bg: $pagination-active-bg;
|
457
|
-
$pager-active-color: $pagination-active-color;
|
458
|
-
|
459
|
-
$pager-disabled-color: $gray-light;
|
460
|
-
|
461
|
-
//== Jumbotron
|
462
|
-
//
|
463
|
-
//##
|
464
|
-
|
465
|
-
$jumbotron-padding: 30px;
|
466
|
-
$jumbotron-color: inherit;
|
467
|
-
$jumbotron-bg: $gray-lighter;
|
468
|
-
$jumbotron-heading-color: inherit;
|
469
|
-
$jumbotron-font-size: ceil(($font-size-base * 1.5));
|
470
|
-
|
471
|
-
//== Form states and alerts
|
472
|
-
//
|
473
|
-
//## Define colors for form feedback states and, by default, alerts.
|
474
|
-
|
475
|
-
$state-success-text: #468847;
|
476
|
-
$state-success-bg: #dff0d8;
|
477
|
-
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);
|
478
|
-
|
479
|
-
$state-info-text: #3a87ad;
|
480
|
-
$state-info-bg: #d9edf7;
|
481
|
-
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);
|
482
|
-
|
483
|
-
$state-warning-text: #c09853;
|
484
|
-
$state-warning-bg: #fcf8e3;
|
485
|
-
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%);
|
486
|
-
|
487
|
-
$state-danger-text: #b94a48;
|
488
|
-
$state-danger-bg: #f2dede;
|
489
|
-
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%);
|
490
|
-
|
491
|
-
//== Tooltips
|
492
|
-
//
|
493
|
-
//##
|
494
|
-
|
495
|
-
//** Tooltip max width
|
496
|
-
$tooltip-max-width: 200px;
|
497
|
-
//** Tooltip text color
|
498
|
-
$tooltip-color: #fff;
|
499
|
-
//** Tooltip background color
|
500
|
-
$tooltip-bg: rgba(0, 0, 0, 0.9);
|
501
|
-
$tooltip-opacity: 0.9;
|
502
|
-
|
503
|
-
//** Tooltip arrow width
|
504
|
-
$tooltip-arrow-width: 5px;
|
505
|
-
//** Tooltip arrow color
|
506
|
-
$tooltip-arrow-color: $tooltip-bg;
|
507
|
-
|
508
|
-
//== Popovers
|
509
|
-
//
|
510
|
-
//##
|
511
|
-
|
512
|
-
//** Popover body background color
|
513
|
-
$popover-bg: #fff;
|
514
|
-
//** Popover maximum width
|
515
|
-
$popover-max-width: 276px;
|
516
|
-
//** Popover border color
|
517
|
-
$popover-border-color: rgba(0, 0, 0, 0.2);
|
518
|
-
//** Popover fallback border color
|
519
|
-
$popover-fallback-border-color: #ccc;
|
520
|
-
|
521
|
-
//** Popover title background color
|
522
|
-
$popover-title-bg: darken($popover-bg, 3%);
|
523
|
-
|
524
|
-
//** Popover arrow width
|
525
|
-
$popover-arrow-width: 10px;
|
526
|
-
//** Popover arrow color
|
527
|
-
$popover-arrow-color: $popover-bg;
|
528
|
-
|
529
|
-
//** Popover outer arrow width
|
530
|
-
$popover-arrow-outer-width: ($popover-arrow-width + 1);
|
531
|
-
//** Popover outer arrow color
|
532
|
-
$popover-arrow-outer-color: fadein($popover-border-color, 5%);
|
533
|
-
//** Popover outer arrow fallback color
|
534
|
-
$popover-arrow-outer-fallback-color: darken(
|
535
|
-
$popover-fallback-border-color,
|
536
|
-
20%
|
537
|
-
);
|
538
|
-
|
539
|
-
//== Labels
|
540
|
-
//
|
541
|
-
//##
|
542
|
-
|
543
|
-
//** Default label background color
|
544
|
-
$label-default-bg: $gray-light;
|
545
|
-
//** Primary label background color
|
546
|
-
$label-primary-bg: $brand-primary;
|
547
|
-
//** Success label background color
|
548
|
-
$label-success-bg: $brand-success;
|
549
|
-
//** Info label background color
|
550
|
-
$label-info-bg: $brand-info;
|
551
|
-
//** Warning label background color
|
552
|
-
$label-warning-bg: $brand-warning;
|
553
|
-
//** Danger label background color
|
554
|
-
$label-danger-bg: $brand-danger;
|
555
|
-
|
556
|
-
//** Default label text color
|
557
|
-
$label-color: #fff;
|
558
|
-
//** Default text color of a linked label
|
559
|
-
$label-link-hover-color: #fff;
|
560
|
-
|
561
|
-
//== Modals
|
562
|
-
//
|
563
|
-
//##
|
564
|
-
|
565
|
-
//** Padding applied to the modal body
|
566
|
-
$modal-inner-padding: 20px;
|
567
|
-
|
568
|
-
//** Padding applied to the modal title
|
569
|
-
$modal-title-padding: 15px;
|
570
|
-
//** Modal title line-height
|
571
|
-
$modal-title-line-height: $line-height-base;
|
572
|
-
|
573
|
-
//** Background color of modal content area
|
574
|
-
$modal-content-bg: #fff;
|
575
|
-
//** Modal content border color
|
576
|
-
$modal-content-border-color: rgba(0, 0, 0, 0.2);
|
577
|
-
//** Modal content border color **for IE8**
|
578
|
-
$modal-content-fallback-border-color: #999;
|
579
|
-
|
580
|
-
//** Modal backdrop background color
|
581
|
-
$modal-backdrop-bg: #000;
|
582
|
-
//** Modal backdrop opacity
|
583
|
-
$modal-backdrop-opacity: 0.5;
|
584
|
-
//** Modal header border color
|
585
|
-
$modal-header-border-color: #e5e5e5;
|
586
|
-
//** Modal footer border color
|
587
|
-
$modal-footer-border-color: $modal-header-border-color;
|
588
|
-
|
589
|
-
$modal-lg: 900px;
|
590
|
-
$modal-md: 600px;
|
591
|
-
$modal-sm: 300px;
|
592
|
-
|
593
|
-
//== Alerts
|
594
|
-
//
|
595
|
-
//## Define alert colors, border radius, and padding.
|
596
|
-
|
597
|
-
$alert-padding: 15px;
|
598
|
-
$alert-border-radius: $border-radius-base;
|
599
|
-
$alert-link-font-weight: bold;
|
600
|
-
|
601
|
-
$alert-success-bg: $state-success-bg;
|
602
|
-
$alert-success-text: $state-success-text;
|
603
|
-
$alert-success-border: $state-success-border;
|
604
|
-
|
605
|
-
$alert-info-bg: $state-info-bg;
|
606
|
-
$alert-info-text: $state-info-text;
|
607
|
-
$alert-info-border: $state-info-border;
|
608
|
-
|
609
|
-
$alert-warning-bg: $state-warning-bg;
|
610
|
-
$alert-warning-text: $state-warning-text;
|
611
|
-
$alert-warning-border: $state-warning-border;
|
612
|
-
|
613
|
-
$alert-danger-bg: $state-danger-bg;
|
614
|
-
$alert-danger-text: $state-danger-text;
|
615
|
-
$alert-danger-border: $state-danger-border;
|
616
|
-
|
617
|
-
//== Progress bars
|
618
|
-
//
|
619
|
-
//##
|
620
|
-
|
621
|
-
//** Background color of the whole progress component
|
622
|
-
$progress-bg: #f5f5f5;
|
623
|
-
//** Progress bar text color
|
624
|
-
$progress-bar-color: #fff;
|
625
|
-
//** Variable for setting rounded corners on progress bar.
|
626
|
-
$progress-border-radius: $border-radius-base;
|
627
|
-
|
628
|
-
//** Default progress bar color
|
629
|
-
$progress-bar-bg: $brand-primary;
|
630
|
-
//** Success progress bar color
|
631
|
-
$progress-bar-success-bg: $brand-success;
|
632
|
-
//** Warning progress bar color
|
633
|
-
$progress-bar-warning-bg: $brand-warning;
|
634
|
-
//** Danger progress bar color
|
635
|
-
$progress-bar-danger-bg: $brand-danger;
|
636
|
-
//** Info progress bar color
|
637
|
-
$progress-bar-info-bg: $brand-info;
|
638
|
-
|
639
|
-
//== List group
|
640
|
-
//
|
641
|
-
//##
|
642
|
-
|
643
|
-
//** Background color on `.list-group-item`
|
644
|
-
$list-group-bg: #fff;
|
645
|
-
//** `.list-group-item` border color
|
646
|
-
$list-group-border: #ddd;
|
647
|
-
//** List group border radius
|
648
|
-
$list-group-border-radius: $border-radius-base;
|
649
|
-
|
650
|
-
//** Background color of single list items on hover
|
651
|
-
$list-group-hover-bg: #f5f5f5;
|
652
|
-
//** Text color of active list items
|
653
|
-
$list-group-active-color: $component-active-color;
|
654
|
-
//** Background color of active list items
|
655
|
-
$list-group-active-bg: $component-active-bg;
|
656
|
-
//** Border color of active list elements
|
657
|
-
$list-group-active-border: $list-group-active-bg;
|
658
|
-
//** Text color for content within active list items
|
659
|
-
$list-group-active-text-color: lighten($list-group-active-bg, 40%);
|
660
|
-
|
661
|
-
//** Text color of disabled list items
|
662
|
-
$list-group-disabled-color: $gray-light;
|
663
|
-
//** Background color of disabled list items
|
664
|
-
$list-group-disabled-bg: $gray-lighter;
|
665
|
-
//** Text color for content within disabled list items
|
666
|
-
$list-group-disabled-text-color: $list-group-disabled-color;
|
667
|
-
|
668
|
-
$list-group-link-color: #555;
|
669
|
-
$list-group-link-hover-color: $list-group-link-color;
|
670
|
-
$list-group-link-heading-color: #333;
|
671
|
-
|
672
|
-
//== Panels
|
673
|
-
//
|
674
|
-
//##
|
675
|
-
|
676
|
-
$panel-bg: #fff;
|
677
|
-
$panel-body-padding: 15px;
|
678
|
-
$panel-heading-padding: 10px 15px;
|
679
|
-
$panel-footer-padding: $panel-heading-padding;
|
680
|
-
$panel-border-radius: $border-radius-base;
|
681
|
-
|
682
|
-
//** Border color for elements within panels
|
683
|
-
$panel-inner-border: #ddd;
|
684
|
-
$panel-footer-bg: #f5f5f5;
|
685
|
-
|
686
|
-
$panel-default-text: $text-color;
|
687
|
-
$panel-default-border: #ddd;
|
688
|
-
$panel-default-heading-bg: #f5f5f5;
|
689
|
-
|
690
|
-
$panel-primary-text: #fff;
|
691
|
-
$panel-primary-border: $panel-default-border;
|
692
|
-
$panel-primary-heading-bg: $brand-primary;
|
693
|
-
|
694
|
-
$panel-success-text: $state-success-text;
|
695
|
-
$panel-success-border: $panel-default-border;
|
696
|
-
$panel-success-heading-bg: $brand-success;
|
697
|
-
|
698
|
-
$panel-info-text: $state-info-text;
|
699
|
-
$panel-info-border: $panel-default-border;
|
700
|
-
$panel-info-heading-bg: $brand-info;
|
701
|
-
|
702
|
-
$panel-warning-text: $state-warning-text;
|
703
|
-
$panel-warning-border: $panel-default-border;
|
704
|
-
$panel-warning-heading-bg: $brand-warning;
|
705
|
-
|
706
|
-
$panel-danger-text: $state-danger-text;
|
707
|
-
$panel-danger-border: $panel-default-border;
|
708
|
-
$panel-danger-heading-bg: $brand-danger;
|
709
|
-
|
710
|
-
//== Thumbnails
|
711
|
-
//
|
712
|
-
//##
|
713
|
-
|
714
|
-
//** Padding around the thumbnail image
|
715
|
-
$thumbnail-padding: 4px;
|
716
|
-
//** Thumbnail background color
|
717
|
-
$thumbnail-bg: $body-bg;
|
718
|
-
//** Thumbnail border color
|
719
|
-
$thumbnail-border: #ddd;
|
720
|
-
//** Thumbnail border radius
|
721
|
-
$thumbnail-border-radius: $border-radius-base;
|
722
|
-
|
723
|
-
//** Custom text color for thumbnail captions
|
724
|
-
$thumbnail-caption-color: $text-color;
|
725
|
-
//** Padding around the thumbnail caption
|
726
|
-
$thumbnail-caption-padding: 9px;
|
727
|
-
|
728
|
-
//== Wells
|
729
|
-
//
|
730
|
-
//##
|
731
|
-
|
732
|
-
$well-bg: #f5f5f5;
|
733
|
-
$well-border: darken($well-bg, 7%);
|
734
|
-
|
735
|
-
//== Badges
|
736
|
-
//
|
737
|
-
//##
|
738
|
-
|
739
|
-
$badge-color: #fff;
|
740
|
-
//** Linked badge text color on hover
|
741
|
-
$badge-link-hover-color: #fff;
|
742
|
-
$badge-bg: $brand-primary;
|
743
|
-
|
744
|
-
//** Badge text color in active nav link
|
745
|
-
$badge-active-color: $link-color;
|
746
|
-
//** Badge background color in active nav link
|
747
|
-
$badge-active-bg: #fff;
|
748
|
-
|
749
|
-
$badge-font-weight: bold;
|
750
|
-
$badge-line-height: 1;
|
751
|
-
$badge-border-radius: 10px;
|
752
|
-
|
753
|
-
//== Breadcrumbs
|
754
|
-
//
|
755
|
-
//##
|
756
|
-
|
757
|
-
$breadcrumb-padding-vertical: 8px;
|
758
|
-
$breadcrumb-padding-horizontal: 15px;
|
759
|
-
//** Breadcrumb background color
|
760
|
-
$breadcrumb-bg: #f5f5f5;
|
761
|
-
//** Breadcrumb text color
|
762
|
-
$breadcrumb-color: #ccc;
|
763
|
-
//** Text color of current page in the breadcrumb
|
764
|
-
$breadcrumb-active-color: $gray-light;
|
765
|
-
//** Textual separator for between breadcrumb elements
|
766
|
-
$breadcrumb-separator: "/";
|
767
|
-
|
768
|
-
//== Carousel
|
769
|
-
//
|
770
|
-
//##
|
771
|
-
|
772
|
-
$carousel-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
773
|
-
|
774
|
-
$carousel-control-color: #fff;
|
775
|
-
$carousel-control-width: 15%;
|
776
|
-
$carousel-control-opacity: 0.5;
|
777
|
-
$carousel-control-font-size: 20px;
|
778
|
-
|
779
|
-
$carousel-indicator-active-bg: #fff;
|
780
|
-
$carousel-indicator-border-color: #fff;
|
781
|
-
|
782
|
-
$carousel-caption-color: #fff;
|
783
|
-
|
784
|
-
//== Close
|
785
|
-
//
|
786
|
-
//##
|
787
|
-
|
788
|
-
$close-font-weight: bold;
|
789
|
-
$close-color: #000;
|
790
|
-
$close-text-shadow: 0 1px 0 #fff;
|
791
|
-
|
792
|
-
//== Code
|
793
|
-
//
|
794
|
-
//##
|
795
|
-
|
796
|
-
$code-color: #c7254e;
|
797
|
-
$code-bg: #f9f2f4;
|
798
|
-
|
799
|
-
$kbd-color: #fff;
|
800
|
-
$kbd-bg: #333;
|
801
|
-
|
802
|
-
$pre-bg: #f5f5f5;
|
803
|
-
$pre-color: $gray-dark;
|
804
|
-
$pre-border-color: #ccc;
|
805
|
-
$pre-scrollable-max-height: 340px;
|
806
|
-
|
807
|
-
//== Type
|
808
|
-
//
|
809
|
-
//##
|
810
|
-
|
811
|
-
//** Horizontal offset for forms and lists.
|
812
|
-
$component-offset-horizontal: 180px;
|
813
|
-
//** Text muted color
|
814
|
-
$text-muted: $gray-light;
|
815
|
-
//** Abbreviations and acronyms border color
|
816
|
-
$abbr-border-color: $gray-light;
|
817
|
-
//** Headings small color
|
818
|
-
$headings-small-color: $gray-light;
|
819
|
-
//** Blockquote small color
|
820
|
-
$blockquote-small-color: $gray-light;
|
821
|
-
//** Blockquote font size
|
822
|
-
$blockquote-font-size: ($font-size-base * 1.25);
|
823
|
-
//** Blockquote border color
|
824
|
-
$blockquote-border-color: $gray-lighter;
|
825
|
-
//** Page header border color
|
826
|
-
$page-header-border-color: $gray-lighter;
|
827
|
-
//** Width of horizontal description list titles
|
828
|
-
$dl-horizontal-offset: $component-offset-horizontal;
|
829
|
-
//** Horizontal line color.
|
830
|
-
$hr-border: $gray-lighter;
|