flipper-ui 0.2.0.beta2 → 0.2.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +12 -11
- data/README.md +5 -7
- data/examples/basic.ru +27 -26
- data/flipper-ui.gemspec +5 -3
- data/lib/flipper-ui.rb +1 -0
- data/lib/flipper/ui.rb +11 -2
- data/lib/flipper/ui/action.rb +45 -4
- data/lib/flipper/ui/actions/actors_gate.rb +48 -0
- data/lib/flipper/ui/actions/add_feature.rb +20 -0
- data/lib/flipper/ui/actions/boolean_gate.rb +26 -0
- data/lib/flipper/ui/actions/feature.rb +32 -0
- data/lib/flipper/ui/actions/features.rb +23 -3
- data/lib/flipper/ui/actions/file.rb +1 -1
- data/lib/flipper/ui/actions/gate.rb +11 -117
- data/lib/flipper/ui/actions/groups_gate.rb +43 -0
- data/lib/flipper/ui/actions/{index.rb → home.rb} +3 -3
- data/lib/flipper/ui/actions/percentage_of_actors_gate.rb +27 -0
- data/lib/flipper/ui/actions/percentage_of_time_gate.rb +27 -0
- data/lib/flipper/ui/actor.rb +13 -0
- data/lib/flipper/ui/assets/javascripts/application.coffee +0 -305
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-compass.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-mincer.scss +19 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap.scss +50 -0
- data/lib/flipper/ui/assets/stylesheets/application.scss +33 -216
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_alerts.scss +73 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_badges.scss +68 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +160 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +269 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +69 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdowns.scss +214 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +578 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_glyphicons.scss +305 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +84 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +50 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_labels.scss +66 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +124 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +61 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +39 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_modals.scss +150 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +662 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navs.scss +242 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_normalize.scss +427 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pager.scss +54 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +88 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_panels.scss +265 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_popovers.scss +135 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +107 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_scaffolding.scss +162 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +234 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_theme.scss +273 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +102 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +298 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +55 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +866 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/lib/flipper/ui/assets/stylesheets/primer/.scss-lint.yml +446 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_alerts.scss +106 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_avatars.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_base.scss +40 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_blankslate.scss +96 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_buttons.scss +404 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_counter.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_filter-list.scss +68 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_flex-table.scss +20 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_forms.scss +756 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_layout.scss +69 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_menu.scss +113 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_mixins.scss +53 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_normalize.scss +425 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_states.scss +32 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_tabnav.scss +65 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_tooltips.scss +255 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_truncate.scss +27 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_type.scss +92 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_utility.scss +73 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_variables.scss +34 -0
- data/lib/flipper/ui/assets/stylesheets/primer/primer.scss +39 -0
- data/lib/flipper/ui/decorators/feature.rb +37 -4
- data/lib/flipper/ui/middleware.rb +12 -3
- data/lib/flipper/ui/public/css/application.css +2563 -144
- data/lib/flipper/ui/public/css/primer.css +1 -0
- data/lib/flipper/ui/public/css/primer/primer.css +1933 -0
- data/lib/flipper/ui/public/css/scss/primer.css +1933 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/flipper/ui/public/js/application.js +0 -539
- data/lib/flipper/ui/public/js/bootstrap-sprockets.js +12 -0
- data/lib/flipper/ui/public/js/bootstrap.js +2317 -0
- data/lib/flipper/ui/public/js/bootstrap.min.js +7 -0
- data/lib/flipper/ui/public/js/bootstrap/affix.js +162 -0
- data/lib/flipper/ui/public/js/bootstrap/alert.js +94 -0
- data/lib/flipper/ui/public/js/bootstrap/button.js +116 -0
- data/lib/flipper/ui/public/js/bootstrap/carousel.js +237 -0
- data/lib/flipper/ui/public/js/bootstrap/collapse.js +211 -0
- data/lib/flipper/ui/public/js/bootstrap/dropdown.js +161 -0
- data/lib/flipper/ui/public/js/bootstrap/modal.js +339 -0
- data/lib/flipper/ui/public/js/bootstrap/popover.js +108 -0
- data/lib/flipper/ui/public/js/bootstrap/scrollspy.js +172 -0
- data/lib/flipper/ui/public/js/bootstrap/tab.js +153 -0
- data/lib/flipper/ui/public/js/bootstrap/tooltip.js +476 -0
- data/lib/flipper/ui/public/js/bootstrap/transition.js +59 -0
- data/lib/flipper/ui/public/octicons/LICENSE.txt +9 -0
- data/lib/flipper/ui/public/octicons/README.md +1 -0
- data/lib/flipper/ui/public/octicons/octicons-local.ttf +0 -0
- data/lib/flipper/ui/public/octicons/octicons.css +236 -0
- data/lib/flipper/ui/public/octicons/octicons.eot +0 -0
- data/lib/flipper/ui/public/octicons/octicons.less +235 -0
- data/lib/flipper/ui/public/octicons/octicons.svg +200 -0
- data/lib/flipper/ui/public/octicons/octicons.ttf +0 -0
- data/lib/flipper/ui/public/octicons/octicons.woff +0 -0
- data/lib/flipper/ui/public/octicons/sprockets-octicons.scss +232 -0
- data/lib/flipper/ui/util.rb +4 -0
- data/lib/flipper/ui/version.rb +1 -1
- data/lib/flipper/ui/views/add_actor.erb +22 -0
- data/lib/flipper/ui/views/add_feature.erb +18 -0
- data/lib/flipper/ui/views/add_group.erb +31 -0
- data/lib/flipper/ui/views/feature.erb +209 -0
- data/lib/flipper/ui/views/features.erb +46 -0
- data/lib/flipper/ui/views/layout.erb +31 -149
- data/script/release +15 -0
- data/spec/flipper/ui/actions/actors_gate_spec.rb +68 -0
- data/spec/flipper/ui/actions/add_feature_spec.rb +17 -0
- data/spec/flipper/ui/actions/boolean_gate_spec.rb +41 -0
- data/spec/flipper/ui/actions/feature_spec.rb +59 -0
- data/spec/flipper/ui/actions/features_spec.rb +37 -0
- data/spec/flipper/ui/actions/file_spec.rb +43 -0
- data/spec/flipper/ui/actions/gate_spec.rb +24 -0
- data/spec/flipper/ui/actions/groups_gate_spec.rb +80 -0
- data/spec/flipper/ui/actions/home_spec.rb +16 -0
- data/spec/flipper/ui/actions/percentage_of_actors_gate_spec.rb +40 -0
- data/spec/flipper/ui/actions/percentage_of_time_gate_spec.rb +39 -0
- data/spec/flipper/ui/decorators/feature_spec.rb +38 -1
- data/spec/flipper/ui/decorators/gate_spec.rb +1 -1
- data/spec/flipper/ui_spec.rb +18 -441
- data/spec/helper.rb +22 -7
- metadata +199 -52
- data/examples/flipper.html +0 -14
- data/examples/flipper.png +0 -0
- data/lib/flipper/ui/assets/javascripts/spine/ajax.coffee +0 -223
- data/lib/flipper/ui/assets/javascripts/spine/list.coffee +0 -43
- data/lib/flipper/ui/assets/javascripts/spine/local.coffee +0 -16
- data/lib/flipper/ui/assets/javascripts/spine/manager.coffee +0 -83
- data/lib/flipper/ui/assets/javascripts/spine/relation.coffee +0 -148
- data/lib/flipper/ui/assets/javascripts/spine/route.coffee +0 -146
- data/lib/flipper/ui/assets/javascripts/spine/spine.coffee +0 -542
- data/lib/flipper/ui/assets/javascripts/spine/version +0 -1
- data/lib/flipper/ui/public/css/images/animated-overlay.gif +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_222222_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/flipper/ui/public/css/jquery-ui-1.10.3.slider.min.css +0 -5
- data/lib/flipper/ui/public/js/handlebars.js +0 -1992
- data/lib/flipper/ui/public/js/jquery-ui-1.10.3.slider.min.js +0 -6
- data/lib/flipper/ui/public/js/jquery.js +0 -9555
- data/lib/flipper/ui/public/js/jquery.min.js +0 -4
- data/lib/flipper/ui/public/js/jquery.min.map +0 -1
- data/lib/flipper/ui/public/js/spine/ajax.js +0 -320
- data/lib/flipper/ui/public/js/spine/list.js +0 -72
- data/lib/flipper/ui/public/js/spine/local.js +0 -29
- data/lib/flipper/ui/public/js/spine/manager.js +0 -157
- data/lib/flipper/ui/public/js/spine/relation.js +0 -260
- data/lib/flipper/ui/public/js/spine/route.js +0 -223
- data/lib/flipper/ui/public/js/spine/spine.js +0 -927
- data/lib/flipper/ui/views/index.erb +0 -9
@@ -0,0 +1,866 @@
|
|
1
|
+
$bootstrap-sass-asset-helper: false !default;
|
2
|
+
//
|
3
|
+
// Variables
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
|
7
|
+
//== Colors
|
8
|
+
//
|
9
|
+
//## Gray and brand colors for use across Bootstrap.
|
10
|
+
|
11
|
+
$gray-base: #000 !default;
|
12
|
+
$gray-darker: lighten($gray-base, 13.5%) !default; // #222
|
13
|
+
$gray-dark: lighten($gray-base, 20%) !default; // #333
|
14
|
+
$gray: lighten($gray-base, 33.5%) !default; // #555
|
15
|
+
$gray-light: lighten($gray-base, 46.7%) !default; // #777
|
16
|
+
$gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
|
17
|
+
|
18
|
+
$brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
|
19
|
+
$brand-success: #5cb85c !default;
|
20
|
+
$brand-info: #5bc0de !default;
|
21
|
+
$brand-warning: #f0ad4e !default;
|
22
|
+
$brand-danger: #d9534f !default;
|
23
|
+
|
24
|
+
|
25
|
+
//== Scaffolding
|
26
|
+
//
|
27
|
+
//## Settings for some of the most global styles.
|
28
|
+
|
29
|
+
//** Background color for `<body>`.
|
30
|
+
$body-bg: #fff !default;
|
31
|
+
//** Global text color on `<body>`.
|
32
|
+
$text-color: $gray-dark !default;
|
33
|
+
|
34
|
+
//** Global textual link color.
|
35
|
+
$link-color: $brand-primary !default;
|
36
|
+
//** Link hover color set via `darken()` function.
|
37
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
38
|
+
//** Link hover decoration.
|
39
|
+
$link-hover-decoration: underline !default;
|
40
|
+
|
41
|
+
|
42
|
+
//== Typography
|
43
|
+
//
|
44
|
+
//## Font, line-height, and color for body text, headings, and more.
|
45
|
+
|
46
|
+
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
47
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
|
48
|
+
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
49
|
+
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
50
|
+
$font-family-base: $font-family-sans-serif !default;
|
51
|
+
|
52
|
+
$font-size-base: 14px !default;
|
53
|
+
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
|
54
|
+
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
|
55
|
+
|
56
|
+
$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
|
57
|
+
$font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
|
58
|
+
$font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
|
59
|
+
$font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
|
60
|
+
$font-size-h5: $font-size-base !default;
|
61
|
+
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
|
62
|
+
|
63
|
+
//** Unit-less `line-height` for use in components like buttons.
|
64
|
+
$line-height-base: 1.428571429 !default; // 20/14
|
65
|
+
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
66
|
+
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
|
67
|
+
|
68
|
+
//** By default, this inherits from the `<body>`.
|
69
|
+
$headings-font-family: inherit !default;
|
70
|
+
$headings-font-weight: 500 !default;
|
71
|
+
$headings-line-height: 1.1 !default;
|
72
|
+
$headings-color: inherit !default;
|
73
|
+
|
74
|
+
|
75
|
+
//== Iconography
|
76
|
+
//
|
77
|
+
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
78
|
+
|
79
|
+
//** Load fonts from this directory.
|
80
|
+
|
81
|
+
// [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
|
82
|
+
// [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
|
83
|
+
$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;
|
84
|
+
|
85
|
+
//** File name for all font files.
|
86
|
+
$icon-font-name: "glyphicons-halflings-regular" !default;
|
87
|
+
//** Element ID within SVG icon file.
|
88
|
+
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
89
|
+
|
90
|
+
|
91
|
+
//== Components
|
92
|
+
//
|
93
|
+
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
94
|
+
|
95
|
+
$padding-base-vertical: 6px !default;
|
96
|
+
$padding-base-horizontal: 12px !default;
|
97
|
+
|
98
|
+
$padding-large-vertical: 10px !default;
|
99
|
+
$padding-large-horizontal: 16px !default;
|
100
|
+
|
101
|
+
$padding-small-vertical: 5px !default;
|
102
|
+
$padding-small-horizontal: 10px !default;
|
103
|
+
|
104
|
+
$padding-xs-vertical: 1px !default;
|
105
|
+
$padding-xs-horizontal: 5px !default;
|
106
|
+
|
107
|
+
$line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
|
108
|
+
$line-height-small: 1.5 !default;
|
109
|
+
|
110
|
+
$border-radius-base: 4px !default;
|
111
|
+
$border-radius-large: 6px !default;
|
112
|
+
$border-radius-small: 3px !default;
|
113
|
+
|
114
|
+
//** Global color for active items (e.g., navs or dropdowns).
|
115
|
+
$component-active-color: #fff !default;
|
116
|
+
//** Global background color for active items (e.g., navs or dropdowns).
|
117
|
+
$component-active-bg: $brand-primary !default;
|
118
|
+
|
119
|
+
//** Width of the `border` for generating carets that indicator dropdowns.
|
120
|
+
$caret-width-base: 4px !default;
|
121
|
+
//** Carets increase slightly in size for larger components.
|
122
|
+
$caret-width-large: 5px !default;
|
123
|
+
|
124
|
+
|
125
|
+
//== Tables
|
126
|
+
//
|
127
|
+
//## Customizes the `.table` component with basic values, each used across all table variations.
|
128
|
+
|
129
|
+
//** Padding for `<th>`s and `<td>`s.
|
130
|
+
$table-cell-padding: 8px !default;
|
131
|
+
//** Padding for cells in `.table-condensed`.
|
132
|
+
$table-condensed-cell-padding: 5px !default;
|
133
|
+
|
134
|
+
//** Default background color used for all tables.
|
135
|
+
$table-bg: transparent !default;
|
136
|
+
//** Background color used for `.table-striped`.
|
137
|
+
$table-bg-accent: #f9f9f9 !default;
|
138
|
+
//** Background color used for `.table-hover`.
|
139
|
+
$table-bg-hover: #f5f5f5 !default;
|
140
|
+
$table-bg-active: $table-bg-hover !default;
|
141
|
+
|
142
|
+
//** Border color for table and cell borders.
|
143
|
+
$table-border-color: #ddd !default;
|
144
|
+
|
145
|
+
|
146
|
+
//== Buttons
|
147
|
+
//
|
148
|
+
//## For each of Bootstrap's buttons, define text, background and border color.
|
149
|
+
|
150
|
+
$btn-font-weight: normal !default;
|
151
|
+
|
152
|
+
$btn-default-color: #333 !default;
|
153
|
+
$btn-default-bg: #fff !default;
|
154
|
+
$btn-default-border: #ccc !default;
|
155
|
+
|
156
|
+
$btn-primary-color: #fff !default;
|
157
|
+
$btn-primary-bg: $brand-primary !default;
|
158
|
+
$btn-primary-border: darken($btn-primary-bg, 5%) !default;
|
159
|
+
|
160
|
+
$btn-success-color: #fff !default;
|
161
|
+
$btn-success-bg: $brand-success !default;
|
162
|
+
$btn-success-border: darken($btn-success-bg, 5%) !default;
|
163
|
+
|
164
|
+
$btn-info-color: #fff !default;
|
165
|
+
$btn-info-bg: $brand-info !default;
|
166
|
+
$btn-info-border: darken($btn-info-bg, 5%) !default;
|
167
|
+
|
168
|
+
$btn-warning-color: #fff !default;
|
169
|
+
$btn-warning-bg: $brand-warning !default;
|
170
|
+
$btn-warning-border: darken($btn-warning-bg, 5%) !default;
|
171
|
+
|
172
|
+
$btn-danger-color: #fff !default;
|
173
|
+
$btn-danger-bg: $brand-danger !default;
|
174
|
+
$btn-danger-border: darken($btn-danger-bg, 5%) !default;
|
175
|
+
|
176
|
+
$btn-link-disabled-color: $gray-light !default;
|
177
|
+
|
178
|
+
|
179
|
+
//== Forms
|
180
|
+
//
|
181
|
+
//##
|
182
|
+
|
183
|
+
//** `<input>` background color
|
184
|
+
$input-bg: #fff !default;
|
185
|
+
//** `<input disabled>` background color
|
186
|
+
$input-bg-disabled: $gray-lighter !default;
|
187
|
+
|
188
|
+
//** Text color for `<input>`s
|
189
|
+
$input-color: $gray !default;
|
190
|
+
//** `<input>` border color
|
191
|
+
$input-border: #ccc !default;
|
192
|
+
|
193
|
+
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
194
|
+
//** Default `.form-control` border radius
|
195
|
+
// This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
|
196
|
+
$input-border-radius: $border-radius-base !default;
|
197
|
+
//** Large `.form-control` border radius
|
198
|
+
$input-border-radius-large: $border-radius-large !default;
|
199
|
+
//** Small `.form-control` border radius
|
200
|
+
$input-border-radius-small: $border-radius-small !default;
|
201
|
+
|
202
|
+
//** Border color for inputs on focus
|
203
|
+
$input-border-focus: #66afe9 !default;
|
204
|
+
|
205
|
+
//** Placeholder text color
|
206
|
+
$input-color-placeholder: #999 !default;
|
207
|
+
|
208
|
+
//** Default `.form-control` height
|
209
|
+
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
|
210
|
+
//** Large `.form-control` height
|
211
|
+
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
|
212
|
+
//** Small `.form-control` height
|
213
|
+
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
|
214
|
+
|
215
|
+
//** `.form-group` margin
|
216
|
+
$form-group-margin-bottom: 15px !default;
|
217
|
+
|
218
|
+
$legend-color: $gray-dark !default;
|
219
|
+
$legend-border-color: #e5e5e5 !default;
|
220
|
+
|
221
|
+
//** Background color for textual input addons
|
222
|
+
$input-group-addon-bg: $gray-lighter !default;
|
223
|
+
//** Border color for textual input addons
|
224
|
+
$input-group-addon-border-color: $input-border !default;
|
225
|
+
|
226
|
+
//** Disabled cursor for form controls and buttons.
|
227
|
+
$cursor-disabled: not-allowed !default;
|
228
|
+
|
229
|
+
|
230
|
+
//== Dropdowns
|
231
|
+
//
|
232
|
+
//## Dropdown menu container and contents.
|
233
|
+
|
234
|
+
//** Background for the dropdown menu.
|
235
|
+
$dropdown-bg: #fff !default;
|
236
|
+
//** Dropdown menu `border-color`.
|
237
|
+
$dropdown-border: rgba(0,0,0,.15) !default;
|
238
|
+
//** Dropdown menu `border-color` **for IE8**.
|
239
|
+
$dropdown-fallback-border: #ccc !default;
|
240
|
+
//** Divider color for between dropdown items.
|
241
|
+
$dropdown-divider-bg: #e5e5e5 !default;
|
242
|
+
|
243
|
+
//** Dropdown link text color.
|
244
|
+
$dropdown-link-color: $gray-dark !default;
|
245
|
+
//** Hover color for dropdown links.
|
246
|
+
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
|
247
|
+
//** Hover background for dropdown links.
|
248
|
+
$dropdown-link-hover-bg: #f5f5f5 !default;
|
249
|
+
|
250
|
+
//** Active dropdown menu item text color.
|
251
|
+
$dropdown-link-active-color: $component-active-color !default;
|
252
|
+
//** Active dropdown menu item background color.
|
253
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
254
|
+
|
255
|
+
//** Disabled dropdown menu item background color.
|
256
|
+
$dropdown-link-disabled-color: $gray-light !default;
|
257
|
+
|
258
|
+
//** Text color for headers within dropdown menus.
|
259
|
+
$dropdown-header-color: $gray-light !default;
|
260
|
+
|
261
|
+
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
262
|
+
$dropdown-caret-color: #000 !default;
|
263
|
+
|
264
|
+
|
265
|
+
//-- Z-index master list
|
266
|
+
//
|
267
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
268
|
+
// of components dependent on the z-axis and are designed to all work together.
|
269
|
+
//
|
270
|
+
// Note: These variables are not generated into the Customizer.
|
271
|
+
|
272
|
+
$zindex-navbar: 1000 !default;
|
273
|
+
$zindex-dropdown: 1000 !default;
|
274
|
+
$zindex-popover: 1060 !default;
|
275
|
+
$zindex-tooltip: 1070 !default;
|
276
|
+
$zindex-navbar-fixed: 1030 !default;
|
277
|
+
$zindex-modal-background: 1040 !default;
|
278
|
+
$zindex-modal: 1050 !default;
|
279
|
+
|
280
|
+
|
281
|
+
//== Media queries breakpoints
|
282
|
+
//
|
283
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
284
|
+
|
285
|
+
// Extra small screen / phone
|
286
|
+
//** Deprecated `$screen-xs` as of v3.0.1
|
287
|
+
$screen-xs: 480px !default;
|
288
|
+
//** Deprecated `$screen-xs-min` as of v3.2.0
|
289
|
+
$screen-xs-min: $screen-xs !default;
|
290
|
+
//** Deprecated `$screen-phone` as of v3.0.1
|
291
|
+
$screen-phone: $screen-xs-min !default;
|
292
|
+
|
293
|
+
// Small screen / tablet
|
294
|
+
//** Deprecated `$screen-sm` as of v3.0.1
|
295
|
+
$screen-sm: 768px !default;
|
296
|
+
$screen-sm-min: $screen-sm !default;
|
297
|
+
//** Deprecated `$screen-tablet` as of v3.0.1
|
298
|
+
$screen-tablet: $screen-sm-min !default;
|
299
|
+
|
300
|
+
// Medium screen / desktop
|
301
|
+
//** Deprecated `$screen-md` as of v3.0.1
|
302
|
+
$screen-md: 992px !default;
|
303
|
+
$screen-md-min: $screen-md !default;
|
304
|
+
//** Deprecated `$screen-desktop` as of v3.0.1
|
305
|
+
$screen-desktop: $screen-md-min !default;
|
306
|
+
|
307
|
+
// Large screen / wide desktop
|
308
|
+
//** Deprecated `$screen-lg` as of v3.0.1
|
309
|
+
$screen-lg: 1200px !default;
|
310
|
+
$screen-lg-min: $screen-lg !default;
|
311
|
+
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
312
|
+
$screen-lg-desktop: $screen-lg-min !default;
|
313
|
+
|
314
|
+
// So media queries don't overlap when required, provide a maximum
|
315
|
+
$screen-xs-max: ($screen-sm-min - 1) !default;
|
316
|
+
$screen-sm-max: ($screen-md-min - 1) !default;
|
317
|
+
$screen-md-max: ($screen-lg-min - 1) !default;
|
318
|
+
|
319
|
+
|
320
|
+
//== Grid system
|
321
|
+
//
|
322
|
+
//## Define your custom responsive grid.
|
323
|
+
|
324
|
+
//** Number of columns in the grid.
|
325
|
+
$grid-columns: 12 !default;
|
326
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
327
|
+
$grid-gutter-width: 30px !default;
|
328
|
+
// Navbar collapse
|
329
|
+
//** Point at which the navbar becomes uncollapsed.
|
330
|
+
$grid-float-breakpoint: $screen-sm-min !default;
|
331
|
+
//** Point at which the navbar begins collapsing.
|
332
|
+
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
333
|
+
|
334
|
+
|
335
|
+
//== Container sizes
|
336
|
+
//
|
337
|
+
//## Define the maximum width of `.container` for different screen sizes.
|
338
|
+
|
339
|
+
// Small screen / tablet
|
340
|
+
$container-tablet: (720px + $grid-gutter-width) !default;
|
341
|
+
//** For `$screen-sm-min` and up.
|
342
|
+
$container-sm: $container-tablet !default;
|
343
|
+
|
344
|
+
// Medium screen / desktop
|
345
|
+
$container-desktop: (940px + $grid-gutter-width) !default;
|
346
|
+
//** For `$screen-md-min` and up.
|
347
|
+
$container-md: $container-desktop !default;
|
348
|
+
|
349
|
+
// Large screen / wide desktop
|
350
|
+
$container-large-desktop: (1140px + $grid-gutter-width) !default;
|
351
|
+
//** For `$screen-lg-min` and up.
|
352
|
+
$container-lg: $container-large-desktop !default;
|
353
|
+
|
354
|
+
|
355
|
+
//== Navbar
|
356
|
+
//
|
357
|
+
//##
|
358
|
+
|
359
|
+
// Basics of a navbar
|
360
|
+
$navbar-height: 50px !default;
|
361
|
+
$navbar-margin-bottom: $line-height-computed !default;
|
362
|
+
$navbar-border-radius: $border-radius-base !default;
|
363
|
+
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
364
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
365
|
+
$navbar-collapse-max-height: 340px !default;
|
366
|
+
|
367
|
+
$navbar-default-color: #777 !default;
|
368
|
+
$navbar-default-bg: #f8f8f8 !default;
|
369
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
370
|
+
|
371
|
+
// Navbar links
|
372
|
+
$navbar-default-link-color: #777 !default;
|
373
|
+
$navbar-default-link-hover-color: #333 !default;
|
374
|
+
$navbar-default-link-hover-bg: transparent !default;
|
375
|
+
$navbar-default-link-active-color: #555 !default;
|
376
|
+
$navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
|
377
|
+
$navbar-default-link-disabled-color: #ccc !default;
|
378
|
+
$navbar-default-link-disabled-bg: transparent !default;
|
379
|
+
|
380
|
+
// Navbar brand label
|
381
|
+
$navbar-default-brand-color: $navbar-default-link-color !default;
|
382
|
+
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
|
383
|
+
$navbar-default-brand-hover-bg: transparent !default;
|
384
|
+
|
385
|
+
// Navbar toggle
|
386
|
+
$navbar-default-toggle-hover-bg: #ddd !default;
|
387
|
+
$navbar-default-toggle-icon-bar-bg: #888 !default;
|
388
|
+
$navbar-default-toggle-border-color: #ddd !default;
|
389
|
+
|
390
|
+
|
391
|
+
// Inverted navbar
|
392
|
+
// Reset inverted navbar basics
|
393
|
+
$navbar-inverse-color: lighten($gray-light, 15%) !default;
|
394
|
+
$navbar-inverse-bg: #222 !default;
|
395
|
+
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
|
396
|
+
|
397
|
+
// Inverted navbar links
|
398
|
+
$navbar-inverse-link-color: lighten($gray-light, 15%) !default;
|
399
|
+
$navbar-inverse-link-hover-color: #fff !default;
|
400
|
+
$navbar-inverse-link-hover-bg: transparent !default;
|
401
|
+
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
|
402
|
+
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
|
403
|
+
$navbar-inverse-link-disabled-color: #444 !default;
|
404
|
+
$navbar-inverse-link-disabled-bg: transparent !default;
|
405
|
+
|
406
|
+
// Inverted navbar brand label
|
407
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
408
|
+
$navbar-inverse-brand-hover-color: #fff !default;
|
409
|
+
$navbar-inverse-brand-hover-bg: transparent !default;
|
410
|
+
|
411
|
+
// Inverted navbar toggle
|
412
|
+
$navbar-inverse-toggle-hover-bg: #333 !default;
|
413
|
+
$navbar-inverse-toggle-icon-bar-bg: #fff !default;
|
414
|
+
$navbar-inverse-toggle-border-color: #333 !default;
|
415
|
+
|
416
|
+
|
417
|
+
//== Navs
|
418
|
+
//
|
419
|
+
//##
|
420
|
+
|
421
|
+
//=== Shared nav styles
|
422
|
+
$nav-link-padding: 10px 15px !default;
|
423
|
+
$nav-link-hover-bg: $gray-lighter !default;
|
424
|
+
|
425
|
+
$nav-disabled-link-color: $gray-light !default;
|
426
|
+
$nav-disabled-link-hover-color: $gray-light !default;
|
427
|
+
|
428
|
+
//== Tabs
|
429
|
+
$nav-tabs-border-color: #ddd !default;
|
430
|
+
|
431
|
+
$nav-tabs-link-hover-border-color: $gray-lighter !default;
|
432
|
+
|
433
|
+
$nav-tabs-active-link-hover-bg: $body-bg !default;
|
434
|
+
$nav-tabs-active-link-hover-color: $gray !default;
|
435
|
+
$nav-tabs-active-link-hover-border-color: #ddd !default;
|
436
|
+
|
437
|
+
$nav-tabs-justified-link-border-color: #ddd !default;
|
438
|
+
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
439
|
+
|
440
|
+
//== Pills
|
441
|
+
$nav-pills-border-radius: $border-radius-base !default;
|
442
|
+
$nav-pills-active-link-hover-bg: $component-active-bg !default;
|
443
|
+
$nav-pills-active-link-hover-color: $component-active-color !default;
|
444
|
+
|
445
|
+
|
446
|
+
//== Pagination
|
447
|
+
//
|
448
|
+
//##
|
449
|
+
|
450
|
+
$pagination-color: $link-color !default;
|
451
|
+
$pagination-bg: #fff !default;
|
452
|
+
$pagination-border: #ddd !default;
|
453
|
+
|
454
|
+
$pagination-hover-color: $link-hover-color !default;
|
455
|
+
$pagination-hover-bg: $gray-lighter !default;
|
456
|
+
$pagination-hover-border: #ddd !default;
|
457
|
+
|
458
|
+
$pagination-active-color: #fff !default;
|
459
|
+
$pagination-active-bg: $brand-primary !default;
|
460
|
+
$pagination-active-border: $brand-primary !default;
|
461
|
+
|
462
|
+
$pagination-disabled-color: $gray-light !default;
|
463
|
+
$pagination-disabled-bg: #fff !default;
|
464
|
+
$pagination-disabled-border: #ddd !default;
|
465
|
+
|
466
|
+
|
467
|
+
//== Pager
|
468
|
+
//
|
469
|
+
//##
|
470
|
+
|
471
|
+
$pager-bg: $pagination-bg !default;
|
472
|
+
$pager-border: $pagination-border !default;
|
473
|
+
$pager-border-radius: 15px !default;
|
474
|
+
|
475
|
+
$pager-hover-bg: $pagination-hover-bg !default;
|
476
|
+
|
477
|
+
$pager-active-bg: $pagination-active-bg !default;
|
478
|
+
$pager-active-color: $pagination-active-color !default;
|
479
|
+
|
480
|
+
$pager-disabled-color: $pagination-disabled-color !default;
|
481
|
+
|
482
|
+
|
483
|
+
//== Jumbotron
|
484
|
+
//
|
485
|
+
//##
|
486
|
+
|
487
|
+
$jumbotron-padding: 30px !default;
|
488
|
+
$jumbotron-color: inherit !default;
|
489
|
+
$jumbotron-bg: $gray-lighter !default;
|
490
|
+
$jumbotron-heading-color: inherit !default;
|
491
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
|
492
|
+
|
493
|
+
|
494
|
+
//== Form states and alerts
|
495
|
+
//
|
496
|
+
//## Define colors for form feedback states and, by default, alerts.
|
497
|
+
|
498
|
+
$state-success-text: #3c763d !default;
|
499
|
+
$state-success-bg: #dff0d8 !default;
|
500
|
+
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
|
501
|
+
|
502
|
+
$state-info-text: #31708f !default;
|
503
|
+
$state-info-bg: #d9edf7 !default;
|
504
|
+
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
|
505
|
+
|
506
|
+
$state-warning-text: #8a6d3b !default;
|
507
|
+
$state-warning-bg: #fcf8e3 !default;
|
508
|
+
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
|
509
|
+
|
510
|
+
$state-danger-text: #a94442 !default;
|
511
|
+
$state-danger-bg: #f2dede !default;
|
512
|
+
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
|
513
|
+
|
514
|
+
|
515
|
+
//== Tooltips
|
516
|
+
//
|
517
|
+
//##
|
518
|
+
|
519
|
+
//** Tooltip max width
|
520
|
+
$tooltip-max-width: 200px !default;
|
521
|
+
//** Tooltip text color
|
522
|
+
$tooltip-color: #fff !default;
|
523
|
+
//** Tooltip background color
|
524
|
+
$tooltip-bg: #000 !default;
|
525
|
+
$tooltip-opacity: .9 !default;
|
526
|
+
|
527
|
+
//** Tooltip arrow width
|
528
|
+
$tooltip-arrow-width: 5px !default;
|
529
|
+
//** Tooltip arrow color
|
530
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
531
|
+
|
532
|
+
|
533
|
+
//== Popovers
|
534
|
+
//
|
535
|
+
//##
|
536
|
+
|
537
|
+
//** Popover body background color
|
538
|
+
$popover-bg: #fff !default;
|
539
|
+
//** Popover maximum width
|
540
|
+
$popover-max-width: 276px !default;
|
541
|
+
//** Popover border color
|
542
|
+
$popover-border-color: rgba(0,0,0,.2) !default;
|
543
|
+
//** Popover fallback border color
|
544
|
+
$popover-fallback-border-color: #ccc !default;
|
545
|
+
|
546
|
+
//** Popover title background color
|
547
|
+
$popover-title-bg: darken($popover-bg, 3%) !default;
|
548
|
+
|
549
|
+
//** Popover arrow width
|
550
|
+
$popover-arrow-width: 10px !default;
|
551
|
+
//** Popover arrow color
|
552
|
+
$popover-arrow-color: $popover-bg !default;
|
553
|
+
|
554
|
+
//** Popover outer arrow width
|
555
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
556
|
+
//** Popover outer arrow color
|
557
|
+
$popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
|
558
|
+
//** Popover outer arrow fallback color
|
559
|
+
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
|
560
|
+
|
561
|
+
|
562
|
+
//== Labels
|
563
|
+
//
|
564
|
+
//##
|
565
|
+
|
566
|
+
//** Default label background color
|
567
|
+
$label-default-bg: $gray-light !default;
|
568
|
+
//** Primary label background color
|
569
|
+
$label-primary-bg: $brand-primary !default;
|
570
|
+
//** Success label background color
|
571
|
+
$label-success-bg: $brand-success !default;
|
572
|
+
//** Info label background color
|
573
|
+
$label-info-bg: $brand-info !default;
|
574
|
+
//** Warning label background color
|
575
|
+
$label-warning-bg: $brand-warning !default;
|
576
|
+
//** Danger label background color
|
577
|
+
$label-danger-bg: $brand-danger !default;
|
578
|
+
|
579
|
+
//** Default label text color
|
580
|
+
$label-color: #fff !default;
|
581
|
+
//** Default text color of a linked label
|
582
|
+
$label-link-hover-color: #fff !default;
|
583
|
+
|
584
|
+
|
585
|
+
//== Modals
|
586
|
+
//
|
587
|
+
//##
|
588
|
+
|
589
|
+
//** Padding applied to the modal body
|
590
|
+
$modal-inner-padding: 15px !default;
|
591
|
+
|
592
|
+
//** Padding applied to the modal title
|
593
|
+
$modal-title-padding: 15px !default;
|
594
|
+
//** Modal title line-height
|
595
|
+
$modal-title-line-height: $line-height-base !default;
|
596
|
+
|
597
|
+
//** Background color of modal content area
|
598
|
+
$modal-content-bg: #fff !default;
|
599
|
+
//** Modal content border color
|
600
|
+
$modal-content-border-color: rgba(0,0,0,.2) !default;
|
601
|
+
//** Modal content border color **for IE8**
|
602
|
+
$modal-content-fallback-border-color: #999 !default;
|
603
|
+
|
604
|
+
//** Modal backdrop background color
|
605
|
+
$modal-backdrop-bg: #000 !default;
|
606
|
+
//** Modal backdrop opacity
|
607
|
+
$modal-backdrop-opacity: .5 !default;
|
608
|
+
//** Modal header border color
|
609
|
+
$modal-header-border-color: #e5e5e5 !default;
|
610
|
+
//** Modal footer border color
|
611
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
612
|
+
|
613
|
+
$modal-lg: 900px !default;
|
614
|
+
$modal-md: 600px !default;
|
615
|
+
$modal-sm: 300px !default;
|
616
|
+
|
617
|
+
|
618
|
+
//== Alerts
|
619
|
+
//
|
620
|
+
//## Define alert colors, border radius, and padding.
|
621
|
+
|
622
|
+
$alert-padding: 15px !default;
|
623
|
+
$alert-border-radius: $border-radius-base !default;
|
624
|
+
$alert-link-font-weight: bold !default;
|
625
|
+
|
626
|
+
$alert-success-bg: $state-success-bg !default;
|
627
|
+
$alert-success-text: $state-success-text !default;
|
628
|
+
$alert-success-border: $state-success-border !default;
|
629
|
+
|
630
|
+
$alert-info-bg: $state-info-bg !default;
|
631
|
+
$alert-info-text: $state-info-text !default;
|
632
|
+
$alert-info-border: $state-info-border !default;
|
633
|
+
|
634
|
+
$alert-warning-bg: $state-warning-bg !default;
|
635
|
+
$alert-warning-text: $state-warning-text !default;
|
636
|
+
$alert-warning-border: $state-warning-border !default;
|
637
|
+
|
638
|
+
$alert-danger-bg: $state-danger-bg !default;
|
639
|
+
$alert-danger-text: $state-danger-text !default;
|
640
|
+
$alert-danger-border: $state-danger-border !default;
|
641
|
+
|
642
|
+
|
643
|
+
//== Progress bars
|
644
|
+
//
|
645
|
+
//##
|
646
|
+
|
647
|
+
//** Background color of the whole progress component
|
648
|
+
$progress-bg: #f5f5f5 !default;
|
649
|
+
//** Progress bar text color
|
650
|
+
$progress-bar-color: #fff !default;
|
651
|
+
//** Variable for setting rounded corners on progress bar.
|
652
|
+
$progress-border-radius: $border-radius-base !default;
|
653
|
+
|
654
|
+
//** Default progress bar color
|
655
|
+
$progress-bar-bg: $brand-primary !default;
|
656
|
+
//** Success progress bar color
|
657
|
+
$progress-bar-success-bg: $brand-success !default;
|
658
|
+
//** Warning progress bar color
|
659
|
+
$progress-bar-warning-bg: $brand-warning !default;
|
660
|
+
//** Danger progress bar color
|
661
|
+
$progress-bar-danger-bg: $brand-danger !default;
|
662
|
+
//** Info progress bar color
|
663
|
+
$progress-bar-info-bg: $brand-info !default;
|
664
|
+
|
665
|
+
|
666
|
+
//== List group
|
667
|
+
//
|
668
|
+
//##
|
669
|
+
|
670
|
+
//** Background color on `.list-group-item`
|
671
|
+
$list-group-bg: #fff !default;
|
672
|
+
//** `.list-group-item` border color
|
673
|
+
$list-group-border: #ddd !default;
|
674
|
+
//** List group border radius
|
675
|
+
$list-group-border-radius: $border-radius-base !default;
|
676
|
+
|
677
|
+
//** Background color of single list items on hover
|
678
|
+
$list-group-hover-bg: #f5f5f5 !default;
|
679
|
+
//** Text color of active list items
|
680
|
+
$list-group-active-color: $component-active-color !default;
|
681
|
+
//** Background color of active list items
|
682
|
+
$list-group-active-bg: $component-active-bg !default;
|
683
|
+
//** Border color of active list elements
|
684
|
+
$list-group-active-border: $list-group-active-bg !default;
|
685
|
+
//** Text color for content within active list items
|
686
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
687
|
+
|
688
|
+
//** Text color of disabled list items
|
689
|
+
$list-group-disabled-color: $gray-light !default;
|
690
|
+
//** Background color of disabled list items
|
691
|
+
$list-group-disabled-bg: $gray-lighter !default;
|
692
|
+
//** Text color for content within disabled list items
|
693
|
+
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
694
|
+
|
695
|
+
$list-group-link-color: #555 !default;
|
696
|
+
$list-group-link-hover-color: $list-group-link-color !default;
|
697
|
+
$list-group-link-heading-color: #333 !default;
|
698
|
+
|
699
|
+
|
700
|
+
//== Panels
|
701
|
+
//
|
702
|
+
//##
|
703
|
+
|
704
|
+
$panel-bg: #fff !default;
|
705
|
+
$panel-body-padding: 15px !default;
|
706
|
+
$panel-heading-padding: 10px 15px !default;
|
707
|
+
$panel-footer-padding: $panel-heading-padding !default;
|
708
|
+
$panel-border-radius: $border-radius-base !default;
|
709
|
+
|
710
|
+
//** Border color for elements within panels
|
711
|
+
$panel-inner-border: #ddd !default;
|
712
|
+
$panel-footer-bg: #f5f5f5 !default;
|
713
|
+
|
714
|
+
$panel-default-text: $gray-dark !default;
|
715
|
+
$panel-default-border: #ddd !default;
|
716
|
+
$panel-default-heading-bg: #f5f5f5 !default;
|
717
|
+
|
718
|
+
$panel-primary-text: #fff !default;
|
719
|
+
$panel-primary-border: $brand-primary !default;
|
720
|
+
$panel-primary-heading-bg: $brand-primary !default;
|
721
|
+
|
722
|
+
$panel-success-text: $state-success-text !default;
|
723
|
+
$panel-success-border: $state-success-border !default;
|
724
|
+
$panel-success-heading-bg: $state-success-bg !default;
|
725
|
+
|
726
|
+
$panel-info-text: $state-info-text !default;
|
727
|
+
$panel-info-border: $state-info-border !default;
|
728
|
+
$panel-info-heading-bg: $state-info-bg !default;
|
729
|
+
|
730
|
+
$panel-warning-text: $state-warning-text !default;
|
731
|
+
$panel-warning-border: $state-warning-border !default;
|
732
|
+
$panel-warning-heading-bg: $state-warning-bg !default;
|
733
|
+
|
734
|
+
$panel-danger-text: $state-danger-text !default;
|
735
|
+
$panel-danger-border: $state-danger-border !default;
|
736
|
+
$panel-danger-heading-bg: $state-danger-bg !default;
|
737
|
+
|
738
|
+
|
739
|
+
//== Thumbnails
|
740
|
+
//
|
741
|
+
//##
|
742
|
+
|
743
|
+
//** Padding around the thumbnail image
|
744
|
+
$thumbnail-padding: 4px !default;
|
745
|
+
//** Thumbnail background color
|
746
|
+
$thumbnail-bg: $body-bg !default;
|
747
|
+
//** Thumbnail border color
|
748
|
+
$thumbnail-border: #ddd !default;
|
749
|
+
//** Thumbnail border radius
|
750
|
+
$thumbnail-border-radius: $border-radius-base !default;
|
751
|
+
|
752
|
+
//** Custom text color for thumbnail captions
|
753
|
+
$thumbnail-caption-color: $text-color !default;
|
754
|
+
//** Padding around the thumbnail caption
|
755
|
+
$thumbnail-caption-padding: 9px !default;
|
756
|
+
|
757
|
+
|
758
|
+
//== Wells
|
759
|
+
//
|
760
|
+
//##
|
761
|
+
|
762
|
+
$well-bg: #f5f5f5 !default;
|
763
|
+
$well-border: darken($well-bg, 7%) !default;
|
764
|
+
|
765
|
+
|
766
|
+
//== Badges
|
767
|
+
//
|
768
|
+
//##
|
769
|
+
|
770
|
+
$badge-color: #fff !default;
|
771
|
+
//** Linked badge text color on hover
|
772
|
+
$badge-link-hover-color: #fff !default;
|
773
|
+
$badge-bg: $gray-light !default;
|
774
|
+
|
775
|
+
//** Badge text color in active nav link
|
776
|
+
$badge-active-color: $link-color !default;
|
777
|
+
//** Badge background color in active nav link
|
778
|
+
$badge-active-bg: #fff !default;
|
779
|
+
|
780
|
+
$badge-font-weight: bold !default;
|
781
|
+
$badge-line-height: 1 !default;
|
782
|
+
$badge-border-radius: 10px !default;
|
783
|
+
|
784
|
+
|
785
|
+
//== Breadcrumbs
|
786
|
+
//
|
787
|
+
//##
|
788
|
+
|
789
|
+
$breadcrumb-padding-vertical: 8px !default;
|
790
|
+
$breadcrumb-padding-horizontal: 15px !default;
|
791
|
+
//** Breadcrumb background color
|
792
|
+
$breadcrumb-bg: #f5f5f5 !default;
|
793
|
+
//** Breadcrumb text color
|
794
|
+
$breadcrumb-color: #ccc !default;
|
795
|
+
//** Text color of current page in the breadcrumb
|
796
|
+
$breadcrumb-active-color: $gray-light !default;
|
797
|
+
//** Textual separator for between breadcrumb elements
|
798
|
+
$breadcrumb-separator: "/" !default;
|
799
|
+
|
800
|
+
|
801
|
+
//== Carousel
|
802
|
+
//
|
803
|
+
//##
|
804
|
+
|
805
|
+
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
806
|
+
|
807
|
+
$carousel-control-color: #fff !default;
|
808
|
+
$carousel-control-width: 15% !default;
|
809
|
+
$carousel-control-opacity: .5 !default;
|
810
|
+
$carousel-control-font-size: 20px !default;
|
811
|
+
|
812
|
+
$carousel-indicator-active-bg: #fff !default;
|
813
|
+
$carousel-indicator-border-color: #fff !default;
|
814
|
+
|
815
|
+
$carousel-caption-color: #fff !default;
|
816
|
+
|
817
|
+
|
818
|
+
//== Close
|
819
|
+
//
|
820
|
+
//##
|
821
|
+
|
822
|
+
$close-font-weight: bold !default;
|
823
|
+
$close-color: #000 !default;
|
824
|
+
$close-text-shadow: 0 1px 0 #fff !default;
|
825
|
+
|
826
|
+
|
827
|
+
//== Code
|
828
|
+
//
|
829
|
+
//##
|
830
|
+
|
831
|
+
$code-color: #c7254e !default;
|
832
|
+
$code-bg: #f9f2f4 !default;
|
833
|
+
|
834
|
+
$kbd-color: #fff !default;
|
835
|
+
$kbd-bg: #333 !default;
|
836
|
+
|
837
|
+
$pre-bg: #f5f5f5 !default;
|
838
|
+
$pre-color: $gray-dark !default;
|
839
|
+
$pre-border-color: #ccc !default;
|
840
|
+
$pre-scrollable-max-height: 340px !default;
|
841
|
+
|
842
|
+
|
843
|
+
//== Type
|
844
|
+
//
|
845
|
+
//##
|
846
|
+
|
847
|
+
//** Horizontal offset for forms and lists.
|
848
|
+
$component-offset-horizontal: 180px !default;
|
849
|
+
//** Text muted color
|
850
|
+
$text-muted: $gray-light !default;
|
851
|
+
//** Abbreviations and acronyms border color
|
852
|
+
$abbr-border-color: $gray-light !default;
|
853
|
+
//** Headings small color
|
854
|
+
$headings-small-color: $gray-light !default;
|
855
|
+
//** Blockquote small color
|
856
|
+
$blockquote-small-color: $gray-light !default;
|
857
|
+
//** Blockquote font size
|
858
|
+
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
859
|
+
//** Blockquote border color
|
860
|
+
$blockquote-border-color: $gray-lighter !default;
|
861
|
+
//** Page header border color
|
862
|
+
$page-header-border-color: $gray-lighter !default;
|
863
|
+
//** Width of horizontal description list titles
|
864
|
+
$dl-horizontal-offset: $component-offset-horizontal !default;
|
865
|
+
//** Horizontal line color.
|
866
|
+
$hr-border: $gray-lighter !default;
|