tennpipes-su 3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +70 -0
- data/Rakefile +22 -0
- data/lib/tennpipes-su.rb +35 -0
- data/lib/tennpipes-su/access_control.rb +191 -0
- data/lib/tennpipes-su/bootstrap-less/alerts.less +67 -0
- data/lib/tennpipes-su/bootstrap-less/badges.less +55 -0
- data/lib/tennpipes-su/bootstrap-less/bootstrap.less +49 -0
- data/lib/tennpipes-su/bootstrap-less/breadcrumbs.less +26 -0
- data/lib/tennpipes-su/bootstrap-less/button-groups.less +226 -0
- data/lib/tennpipes-su/bootstrap-less/buttons.less +155 -0
- data/lib/tennpipes-su/bootstrap-less/carousel.less +232 -0
- data/lib/tennpipes-su/bootstrap-less/close.less +33 -0
- data/lib/tennpipes-su/bootstrap-less/code.less +63 -0
- data/lib/tennpipes-su/bootstrap-less/component-animations.less +29 -0
- data/lib/tennpipes-su/bootstrap-less/dropdowns.less +213 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/bordered-pulled.less +16 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/core.less +12 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/fixed-width.less +6 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/font-awesome.less +17 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/icons.less +412 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/larger.less +13 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/list.less +19 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/mixins.less +20 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/path.less +14 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/rotated-flipped.less +9 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/spinning.less +30 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/stacked.less +20 -0
- data/lib/tennpipes-su/bootstrap-less/font-awesome/variables.less +381 -0
- data/lib/tennpipes-su/bootstrap-less/forms.less +419 -0
- data/lib/tennpipes-su/bootstrap-less/glyphicons.less +233 -0
- data/lib/tennpipes-su/bootstrap-less/grid.less +100 -0
- data/lib/tennpipes-su/bootstrap-less/input-groups.less +157 -0
- data/lib/tennpipes-su/bootstrap-less/jumbotron.less +44 -0
- data/lib/tennpipes-su/bootstrap-less/labels.less +64 -0
- data/lib/tennpipes-su/bootstrap-less/list-group.less +110 -0
- data/lib/tennpipes-su/bootstrap-less/media.less +56 -0
- data/lib/tennpipes-su/bootstrap-less/mixins.less +926 -0
- data/lib/tennpipes-su/bootstrap-less/modals.less +138 -0
- data/lib/tennpipes-su/bootstrap-less/navbar.less +616 -0
- data/lib/tennpipes-su/bootstrap-less/navs.less +242 -0
- data/lib/tennpipes-su/bootstrap-less/normalize.less +423 -0
- data/lib/tennpipes-su/bootstrap-less/pager.less +55 -0
- data/lib/tennpipes-su/bootstrap-less/pagination.less +88 -0
- data/lib/tennpipes-su/bootstrap-less/panels.less +230 -0
- data/lib/tennpipes-su/bootstrap-less/popovers.less +133 -0
- data/lib/tennpipes-su/bootstrap-less/print.less +101 -0
- data/lib/tennpipes-su/bootstrap-less/progress-bars.less +80 -0
- data/lib/tennpipes-su/bootstrap-less/responsive-utilities.less +93 -0
- data/lib/tennpipes-su/bootstrap-less/scaffolding.less +134 -0
- data/lib/tennpipes-su/bootstrap-less/tables.less +233 -0
- data/lib/tennpipes-su/bootstrap-less/tennpipes-su.less +18 -0
- data/lib/tennpipes-su/bootstrap-less/theme.less +247 -0
- data/lib/tennpipes-su/bootstrap-less/thumbnails.less +36 -0
- data/lib/tennpipes-su/bootstrap-less/tooltip.less +95 -0
- data/lib/tennpipes-su/bootstrap-less/type.less +296 -0
- data/lib/tennpipes-su/bootstrap-less/utilities.less +56 -0
- data/lib/tennpipes-su/bootstrap-less/variables.less +827 -0
- data/lib/tennpipes-su/bootstrap-less/wells.less +29 -0
- data/lib/tennpipes-su/generators/actions.rb +78 -0
- data/lib/tennpipes-su/generators/admin_app.rb +169 -0
- data/lib/tennpipes-su/generators/admin_page.rb +68 -0
- data/lib/tennpipes-su/generators/orm.rb +172 -0
- data/lib/tennpipes-su/generators/templates/account/activerecord.rb.tt +41 -0
- data/lib/tennpipes-su/generators/templates/account/couchrest.rb.tt +67 -0
- data/lib/tennpipes-su/generators/templates/account/datamapper.rb.tt +56 -0
- data/lib/tennpipes-su/generators/templates/account/dynamoid.rb.tt +55 -0
- data/lib/tennpipes-su/generators/templates/account/minirecord.rb.tt +44 -0
- data/lib/tennpipes-su/generators/templates/account/mongoid.rb.tt +54 -0
- data/lib/tennpipes-su/generators/templates/account/mongomapper.rb.tt +47 -0
- data/lib/tennpipes-su/generators/templates/account/ohm.rb.tt +70 -0
- data/lib/tennpipes-su/generators/templates/account/seeds.rb.tt +29 -0
- data/lib/tennpipes-su/generators/templates/account/sequel.rb.tt +53 -0
- data/lib/tennpipes-su/generators/templates/app.rb.tt +42 -0
- data/lib/tennpipes-su/generators/templates/app/controllers/base.rb.tt +5 -0
- data/lib/tennpipes-su/generators/templates/app/controllers/sessions.rb.tt +29 -0
- data/lib/tennpipes-su/generators/templates/assets/images/favicon.ico +0 -0
- data/lib/tennpipes-su/generators/templates/assets/images/font/FontAwesome.otf +0 -0
- data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
- data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.svg +414 -0
- data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
- data/lib/tennpipes-su/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
- data/lib/tennpipes-su/generators/templates/assets/images/logo.png +0 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/application.js +118 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/affix.js +137 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/alert.js +88 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/button.js +107 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/carousel.js +205 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/collapse.js +170 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/dropdown.js +147 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/modal.js +243 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/popover.js +110 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/scrollspy.js +153 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/tab.js +125 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/tooltip.js +399 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/bootstrap/transition.js +48 -0
- data/lib/tennpipes-su/generators/templates/assets/javascripts/jquery-1.11.0.min.js +4 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/application.css +353 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/bootstrap.css +4 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/FontAwesome.otf +0 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.eot +0 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.svg +414 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.ttf +0 -0
- data/lib/tennpipes-su/generators/templates/assets/stylesheets/fonts/fontawesome-webfont.woff +0 -0
- data/lib/tennpipes-su/generators/templates/erb/app/base/index.erb.tt +15 -0
- data/lib/tennpipes-su/generators/templates/erb/app/errors/403.erb.tt +3 -0
- data/lib/tennpipes-su/generators/templates/erb/app/errors/404.erb.tt +3 -0
- data/lib/tennpipes-su/generators/templates/erb/app/errors/500.erb.tt +3 -0
- data/lib/tennpipes-su/generators/templates/erb/app/layouts/application.erb.tt +64 -0
- data/lib/tennpipes-su/generators/templates/erb/app/layouts/error.erb.tt +23 -0
- data/lib/tennpipes-su/generators/templates/erb/app/sessions/new.erb.tt +44 -0
- data/lib/tennpipes-su/generators/templates/erb/page/_form.erb.tt +18 -0
- data/lib/tennpipes-su/generators/templates/erb/page/edit.erb.tt +10 -0
- data/lib/tennpipes-su/generators/templates/erb/page/index.erb.tt +81 -0
- data/lib/tennpipes-su/generators/templates/erb/page/new.erb.tt +9 -0
- data/lib/tennpipes-su/generators/templates/haml/app/base/index.haml.tt +12 -0
- data/lib/tennpipes-su/generators/templates/haml/app/errors/403.haml.tt +3 -0
- data/lib/tennpipes-su/generators/templates/haml/app/errors/404.haml.tt +3 -0
- data/lib/tennpipes-su/generators/templates/haml/app/errors/500.haml.tt +3 -0
- data/lib/tennpipes-su/generators/templates/haml/app/layouts/application.haml.tt +49 -0
- data/lib/tennpipes-su/generators/templates/haml/app/layouts/error.haml.tt +18 -0
- data/lib/tennpipes-su/generators/templates/haml/app/sessions/new.haml.tt +38 -0
- data/lib/tennpipes-su/generators/templates/haml/page/_form.haml.tt +16 -0
- data/lib/tennpipes-su/generators/templates/haml/page/edit.haml.tt +8 -0
- data/lib/tennpipes-su/generators/templates/haml/page/index.haml.tt +58 -0
- data/lib/tennpipes-su/generators/templates/haml/page/new.haml.tt +7 -0
- data/lib/tennpipes-su/generators/templates/page/controller.rb.tt +92 -0
- data/lib/tennpipes-su/generators/templates/slim/app/base/index.slim.tt +12 -0
- data/lib/tennpipes-su/generators/templates/slim/app/errors/403.slim.tt +3 -0
- data/lib/tennpipes-su/generators/templates/slim/app/errors/404.slim.tt +3 -0
- data/lib/tennpipes-su/generators/templates/slim/app/errors/500.slim.tt +3 -0
- data/lib/tennpipes-su/generators/templates/slim/app/layouts/application.slim.tt +48 -0
- data/lib/tennpipes-su/generators/templates/slim/app/layouts/error.slim.tt +19 -0
- data/lib/tennpipes-su/generators/templates/slim/app/sessions/new.slim.tt +37 -0
- data/lib/tennpipes-su/generators/templates/slim/page/_form.slim.tt +16 -0
- data/lib/tennpipes-su/generators/templates/slim/page/edit.slim.tt +8 -0
- data/lib/tennpipes-su/generators/templates/slim/page/index.slim.tt +56 -0
- data/lib/tennpipes-su/generators/templates/slim/page/new.slim.tt +7 -0
- data/lib/tennpipes-su/helpers/authentication_helpers.rb +108 -0
- data/lib/tennpipes-su/helpers/view_helpers.rb +87 -0
- data/lib/tennpipes-su/locale/admin/cs.yml +56 -0
- data/lib/tennpipes-su/locale/admin/da.yml +56 -0
- data/lib/tennpipes-su/locale/admin/de.yml +56 -0
- data/lib/tennpipes-su/locale/admin/en.yml +56 -0
- data/lib/tennpipes-su/locale/admin/es.yml +56 -0
- data/lib/tennpipes-su/locale/admin/fr.yml +56 -0
- data/lib/tennpipes-su/locale/admin/hu.yml +56 -0
- data/lib/tennpipes-su/locale/admin/it.yml +56 -0
- data/lib/tennpipes-su/locale/admin/ja.yml +57 -0
- data/lib/tennpipes-su/locale/admin/lv.yml +56 -0
- data/lib/tennpipes-su/locale/admin/nl.yml +56 -0
- data/lib/tennpipes-su/locale/admin/no.yml +56 -0
- data/lib/tennpipes-su/locale/admin/pl.yml +56 -0
- data/lib/tennpipes-su/locale/admin/pt_br.yml +56 -0
- data/lib/tennpipes-su/locale/admin/ro.yml +56 -0
- data/lib/tennpipes-su/locale/admin/ru.yml +57 -0
- data/lib/tennpipes-su/locale/admin/sv.yml +56 -0
- data/lib/tennpipes-su/locale/admin/tr.yml +56 -0
- data/lib/tennpipes-su/locale/admin/uk.yml +56 -0
- data/lib/tennpipes-su/locale/admin/zh_cn.yml +56 -0
- data/lib/tennpipes-su/locale/admin/zh_tw.yml +56 -0
- data/lib/tennpipes-su/locale/orm/cs.yml +12 -0
- data/lib/tennpipes-su/locale/orm/da.yml +12 -0
- data/lib/tennpipes-su/locale/orm/de.yml +12 -0
- data/lib/tennpipes-su/locale/orm/en.yml +12 -0
- data/lib/tennpipes-su/locale/orm/es.yml +12 -0
- data/lib/tennpipes-su/locale/orm/fr.yml +12 -0
- data/lib/tennpipes-su/locale/orm/hu.yml +12 -0
- data/lib/tennpipes-su/locale/orm/it.yml +12 -0
- data/lib/tennpipes-su/locale/orm/ja.yml +12 -0
- data/lib/tennpipes-su/locale/orm/lv.yml +12 -0
- data/lib/tennpipes-su/locale/orm/nl.yml +12 -0
- data/lib/tennpipes-su/locale/orm/no.yml +12 -0
- data/lib/tennpipes-su/locale/orm/pl.yml +38 -0
- data/lib/tennpipes-su/locale/orm/pt_br.yml +12 -0
- data/lib/tennpipes-su/locale/orm/ro.yml +12 -0
- data/lib/tennpipes-su/locale/orm/ru.yml +12 -0
- data/lib/tennpipes-su/locale/orm/sv.yml +12 -0
- data/lib/tennpipes-su/locale/orm/tr.yml +12 -0
- data/lib/tennpipes-su/locale/orm/uk.yml +12 -0
- data/lib/tennpipes-su/locale/orm/zh_cn.yml +12 -0
- data/lib/tennpipes-su/locale/orm/zh_tw.yml +12 -0
- data/test/fixtures/sequel.rb +72 -0
- data/test/generators/test_account_model_generator.rb +108 -0
- data/test/generators/test_admin_app_generator.rb +218 -0
- data/test/generators/test_admin_page_generator.rb +140 -0
- data/test/helper.rb +47 -0
- data/test/test_admin_application.rb +271 -0
- data/test/test_locale.rb +25 -0
- metadata +298 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Floats
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.clearfix {
|
10
|
+
.clearfix();
|
11
|
+
}
|
12
|
+
.center-block {
|
13
|
+
.center-block();
|
14
|
+
}
|
15
|
+
.pull-right {
|
16
|
+
float: right !important;
|
17
|
+
}
|
18
|
+
.pull-left {
|
19
|
+
float: left !important;
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
// Toggling content
|
24
|
+
// -------------------------
|
25
|
+
|
26
|
+
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
27
|
+
.hide {
|
28
|
+
display: none !important;
|
29
|
+
}
|
30
|
+
.show {
|
31
|
+
display: block !important;
|
32
|
+
}
|
33
|
+
.invisible {
|
34
|
+
visibility: hidden;
|
35
|
+
}
|
36
|
+
.text-hide {
|
37
|
+
.text-hide();
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Hide from screenreaders and browsers
|
42
|
+
//
|
43
|
+
// Credit: HTML5 Boilerplate
|
44
|
+
|
45
|
+
.hidden {
|
46
|
+
display: none !important;
|
47
|
+
visibility: hidden !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// For Affix plugin
|
52
|
+
// -------------------------
|
53
|
+
|
54
|
+
.affix {
|
55
|
+
position: fixed;
|
56
|
+
}
|
@@ -0,0 +1,827 @@
|
|
1
|
+
//
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
//== Colors
|
7
|
+
//
|
8
|
+
//## Gray and brand colors for use across Bootstrap.
|
9
|
+
|
10
|
+
@gray-darker: lighten(#000, 13.5%); // #222
|
11
|
+
@gray-dark: lighten(#000, 20%); // #333
|
12
|
+
@gray: lighten(#000, 33.5%); // #555
|
13
|
+
@gray-light: lighten(#000, 60%); // #999
|
14
|
+
@gray-lighter: lighten(#000, 93.5%); // #eee
|
15
|
+
|
16
|
+
@brand-primary: #428bca;
|
17
|
+
@brand-success: #5cb85c;
|
18
|
+
@brand-info: #5bc0de;
|
19
|
+
@brand-warning: #f0ad4e;
|
20
|
+
@brand-danger: #d9534f;
|
21
|
+
|
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-dark;
|
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
|
+
|
37
|
+
|
38
|
+
//== Typography
|
39
|
+
//
|
40
|
+
//## Font, line-height, and color for body text, headings, and more.
|
41
|
+
|
42
|
+
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
43
|
+
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
44
|
+
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
45
|
+
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
46
|
+
@font-family-base: @font-family-sans-serif;
|
47
|
+
|
48
|
+
@font-size-base: 14px;
|
49
|
+
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
|
50
|
+
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
|
51
|
+
|
52
|
+
@font-size-h1: floor((@font-size-base * 2.6)); // ~36px
|
53
|
+
@font-size-h2: floor((@font-size-base * 2.15)); // ~30px
|
54
|
+
@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
|
55
|
+
@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
|
56
|
+
@font-size-h5: @font-size-base;
|
57
|
+
@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
|
58
|
+
|
59
|
+
//** Unit-less `line-height` for use in components like buttons.
|
60
|
+
@line-height-base: 1.428571429; // 20/14
|
61
|
+
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
62
|
+
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
63
|
+
|
64
|
+
//** By default, this inherits from the `<body>`.
|
65
|
+
@headings-font-family: inherit;
|
66
|
+
@headings-font-weight: 500;
|
67
|
+
@headings-line-height: 1.1;
|
68
|
+
@headings-color: inherit;
|
69
|
+
|
70
|
+
|
71
|
+
//-- Iconography
|
72
|
+
//
|
73
|
+
//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
74
|
+
|
75
|
+
@icon-font-path: "../fonts/";
|
76
|
+
@icon-font-name: "glyphicons-halflings-regular";
|
77
|
+
@icon-font-svg-id: "glyphicons_halflingsregular";
|
78
|
+
|
79
|
+
//== Components
|
80
|
+
//
|
81
|
+
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
82
|
+
|
83
|
+
@padding-base-vertical: 6px;
|
84
|
+
@padding-base-horizontal: 12px;
|
85
|
+
|
86
|
+
@padding-large-vertical: 10px;
|
87
|
+
@padding-large-horizontal: 16px;
|
88
|
+
|
89
|
+
@padding-small-vertical: 5px;
|
90
|
+
@padding-small-horizontal: 10px;
|
91
|
+
|
92
|
+
@padding-xs-vertical: 1px;
|
93
|
+
@padding-xs-horizontal: 5px;
|
94
|
+
|
95
|
+
@line-height-large: 1.33;
|
96
|
+
@line-height-small: 1.5;
|
97
|
+
|
98
|
+
@border-radius-base: 4px;
|
99
|
+
@border-radius-large: 6px;
|
100
|
+
@border-radius-small: 3px;
|
101
|
+
|
102
|
+
//** Global color for active items (e.g., navs or dropdowns).
|
103
|
+
@component-active-color: #fff;
|
104
|
+
//** Global background color for active items (e.g., navs or dropdowns).
|
105
|
+
@component-active-bg: @brand-primary;
|
106
|
+
|
107
|
+
//** Width of the `border` for generating carets that indicator dropdowns.
|
108
|
+
@caret-width-base: 4px;
|
109
|
+
//** Carets increase slightly in size for larger components.
|
110
|
+
@caret-width-large: 5px;
|
111
|
+
|
112
|
+
|
113
|
+
//== Tables
|
114
|
+
//
|
115
|
+
//## Customizes the `.table` component with basic values, each used across all table variations.
|
116
|
+
|
117
|
+
//** Padding for `<th>`s and `<td>`s.
|
118
|
+
@table-cell-padding: 8px;
|
119
|
+
//** Padding for cells in `.table-condensed`.
|
120
|
+
@table-condensed-cell-padding: 5px;
|
121
|
+
|
122
|
+
//** Default background color used for all tables.
|
123
|
+
@table-bg: transparent;
|
124
|
+
//** Background color used for `.table-striped`.
|
125
|
+
@table-bg-accent: #f9f9f9;
|
126
|
+
//** Background color used for `.table-hover`.
|
127
|
+
@table-bg-hover: #f5f5f5;
|
128
|
+
@table-bg-active: @table-bg-hover;
|
129
|
+
|
130
|
+
//** Border color for table and cell borders.
|
131
|
+
@table-border-color: #ddd;
|
132
|
+
|
133
|
+
|
134
|
+
//== Buttons
|
135
|
+
//
|
136
|
+
//## For each of Bootstrap's buttons, define text, background and border color.
|
137
|
+
|
138
|
+
@btn-font-weight: normal;
|
139
|
+
|
140
|
+
@btn-default-color: #333;
|
141
|
+
@btn-default-bg: #fff;
|
142
|
+
@btn-default-border: #ccc;
|
143
|
+
|
144
|
+
@btn-primary-color: #fff;
|
145
|
+
@btn-primary-bg: @brand-primary;
|
146
|
+
@btn-primary-border: darken(@btn-primary-bg, 5%);
|
147
|
+
|
148
|
+
@btn-success-color: #fff;
|
149
|
+
@btn-success-bg: @brand-success;
|
150
|
+
@btn-success-border: darken(@btn-success-bg, 5%);
|
151
|
+
|
152
|
+
@btn-info-color: #fff;
|
153
|
+
@btn-info-bg: @brand-info;
|
154
|
+
@btn-info-border: darken(@btn-info-bg, 5%);
|
155
|
+
|
156
|
+
@btn-warning-color: #fff;
|
157
|
+
@btn-warning-bg: @brand-warning;
|
158
|
+
@btn-warning-border: darken(@btn-warning-bg, 5%);
|
159
|
+
|
160
|
+
@btn-danger-color: #fff;
|
161
|
+
@btn-danger-bg: @brand-danger;
|
162
|
+
@btn-danger-border: darken(@btn-danger-bg, 5%);
|
163
|
+
|
164
|
+
@btn-link-disabled-color: @gray-light;
|
165
|
+
|
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: @gray;
|
178
|
+
//** `<input>` border color
|
179
|
+
@input-border: #ccc;
|
180
|
+
//** `<input>` border radius
|
181
|
+
@input-border-radius: @border-radius-base;
|
182
|
+
//** Border color for inputs on focus
|
183
|
+
@input-border-focus: #66afe9;
|
184
|
+
|
185
|
+
//** Placeholder text color
|
186
|
+
@input-color-placeholder: @gray-light;
|
187
|
+
|
188
|
+
//** Default `.form-control` height
|
189
|
+
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
|
190
|
+
//** Large `.form-control` height
|
191
|
+
@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
|
192
|
+
//** Small `.form-control` height
|
193
|
+
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
|
194
|
+
|
195
|
+
@legend-color: @gray-dark;
|
196
|
+
@legend-border-color: #e5e5e5;
|
197
|
+
|
198
|
+
//** Background color for textual input addons
|
199
|
+
@input-group-addon-bg: @gray-lighter;
|
200
|
+
//** Border color for textual input addons
|
201
|
+
@input-group-addon-border-color: @input-border;
|
202
|
+
|
203
|
+
|
204
|
+
//== Dropdowns
|
205
|
+
//
|
206
|
+
//## Dropdown menu container and contents.
|
207
|
+
|
208
|
+
//** Background for the dropdown menu.
|
209
|
+
@dropdown-bg: #fff;
|
210
|
+
//** Dropdown menu `border-color`.
|
211
|
+
@dropdown-border: rgba(0,0,0,.15);
|
212
|
+
//** Dropdown menu `border-color` **for IE8**.
|
213
|
+
@dropdown-fallback-border: #ccc;
|
214
|
+
//** Divider color for between dropdown items.
|
215
|
+
@dropdown-divider-bg: #e5e5e5;
|
216
|
+
|
217
|
+
//** Dropdown link text color.
|
218
|
+
@dropdown-link-color: @gray-dark;
|
219
|
+
//** Hover color for dropdown links.
|
220
|
+
@dropdown-link-hover-color: darken(@gray-dark, 5%);
|
221
|
+
//** Hover background for dropdown links.
|
222
|
+
@dropdown-link-hover-bg: #f5f5f5;
|
223
|
+
|
224
|
+
//** Active dropdown menu item text color.
|
225
|
+
@dropdown-link-active-color: @component-active-color;
|
226
|
+
//** Active dropdown menu item background color.
|
227
|
+
@dropdown-link-active-bg: @component-active-bg;
|
228
|
+
|
229
|
+
//** Disabled dropdown menu item background color.
|
230
|
+
@dropdown-link-disabled-color: @gray-light;
|
231
|
+
|
232
|
+
//** Text color for headers within dropdown menus.
|
233
|
+
@dropdown-header-color: @gray-light;
|
234
|
+
|
235
|
+
// Note: Deprecated @dropdown-caret-color as of v3.1.0
|
236
|
+
@dropdown-caret-color: #000;
|
237
|
+
|
238
|
+
|
239
|
+
//-- Z-index master list
|
240
|
+
//
|
241
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
242
|
+
// of components dependent on the z-axis and are designed to all work together.
|
243
|
+
//
|
244
|
+
// Note: These variables are not generated into the Customizer.
|
245
|
+
|
246
|
+
@zindex-navbar: 1000;
|
247
|
+
@zindex-dropdown: 1000;
|
248
|
+
@zindex-popover: 1010;
|
249
|
+
@zindex-tooltip: 1030;
|
250
|
+
@zindex-navbar-fixed: 1030;
|
251
|
+
@zindex-modal-background: 1040;
|
252
|
+
@zindex-modal: 1050;
|
253
|
+
|
254
|
+
|
255
|
+
//== Media queries breakpoints
|
256
|
+
//
|
257
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
258
|
+
|
259
|
+
// Extra small screen / phone
|
260
|
+
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
|
261
|
+
@screen-xs: 480px;
|
262
|
+
@screen-xs-min: @screen-xs;
|
263
|
+
@screen-phone: @screen-xs-min;
|
264
|
+
|
265
|
+
// Small screen / tablet
|
266
|
+
// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
|
267
|
+
@screen-sm: 768px;
|
268
|
+
@screen-sm-min: @screen-sm;
|
269
|
+
@screen-tablet: @screen-sm-min;
|
270
|
+
|
271
|
+
// Medium screen / desktop
|
272
|
+
// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
|
273
|
+
@screen-md: 992px;
|
274
|
+
@screen-md-min: @screen-md;
|
275
|
+
@screen-desktop: @screen-md-min;
|
276
|
+
|
277
|
+
// Large screen / wide desktop
|
278
|
+
// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
|
279
|
+
@screen-lg: 1200px;
|
280
|
+
@screen-lg-min: @screen-lg;
|
281
|
+
@screen-lg-desktop: @screen-lg-min;
|
282
|
+
|
283
|
+
// So media queries don't overlap when required, provide a maximum
|
284
|
+
@screen-xs-max: (@screen-sm-min - 1);
|
285
|
+
@screen-sm-max: (@screen-md-min - 1);
|
286
|
+
@screen-md-max: (@screen-lg-min - 1);
|
287
|
+
|
288
|
+
|
289
|
+
//== Grid system
|
290
|
+
//
|
291
|
+
//## Define your custom responsive grid.
|
292
|
+
|
293
|
+
//** Number of columns in the grid.
|
294
|
+
@grid-columns: 12;
|
295
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
296
|
+
@grid-gutter-width: 30px;
|
297
|
+
// Navbar collapse
|
298
|
+
//** Point at which the navbar becomes uncollapsed.
|
299
|
+
@grid-float-breakpoint: @screen-sm-min;
|
300
|
+
//** Point at which the navbar begins collapsing.
|
301
|
+
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
|
302
|
+
|
303
|
+
|
304
|
+
//== Navbar
|
305
|
+
//
|
306
|
+
//##
|
307
|
+
|
308
|
+
// Basics of a navbar
|
309
|
+
@navbar-height: 50px;
|
310
|
+
@navbar-margin-bottom: @line-height-computed;
|
311
|
+
@navbar-border-radius: @border-radius-base;
|
312
|
+
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
313
|
+
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
314
|
+
@navbar-collapse-max-height: 340px;
|
315
|
+
|
316
|
+
@navbar-default-color: #777;
|
317
|
+
@navbar-default-bg: #f8f8f8;
|
318
|
+
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
|
319
|
+
|
320
|
+
// Navbar links
|
321
|
+
@navbar-default-link-color: #777;
|
322
|
+
@navbar-default-link-hover-color: #333;
|
323
|
+
@navbar-default-link-hover-bg: transparent;
|
324
|
+
@navbar-default-link-active-color: #555;
|
325
|
+
@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
|
326
|
+
@navbar-default-link-disabled-color: #ccc;
|
327
|
+
@navbar-default-link-disabled-bg: transparent;
|
328
|
+
|
329
|
+
// Navbar brand label
|
330
|
+
@navbar-default-brand-color: @navbar-default-link-color;
|
331
|
+
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
|
332
|
+
@navbar-default-brand-hover-bg: transparent;
|
333
|
+
|
334
|
+
// Navbar toggle
|
335
|
+
@navbar-default-toggle-hover-bg: #ddd;
|
336
|
+
@navbar-default-toggle-icon-bar-bg: #888;
|
337
|
+
@navbar-default-toggle-border-color: #ddd;
|
338
|
+
|
339
|
+
|
340
|
+
// Inverted navbar
|
341
|
+
// Reset inverted navbar basics
|
342
|
+
@navbar-inverse-color: @gray-light;
|
343
|
+
@navbar-inverse-bg: #222;
|
344
|
+
@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
|
345
|
+
|
346
|
+
// Inverted navbar links
|
347
|
+
@navbar-inverse-link-color: @gray-light;
|
348
|
+
@navbar-inverse-link-hover-color: #fff;
|
349
|
+
@navbar-inverse-link-hover-bg: transparent;
|
350
|
+
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
351
|
+
@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
|
352
|
+
@navbar-inverse-link-disabled-color: #444;
|
353
|
+
@navbar-inverse-link-disabled-bg: transparent;
|
354
|
+
|
355
|
+
// Inverted navbar brand label
|
356
|
+
@navbar-inverse-brand-color: @navbar-inverse-link-color;
|
357
|
+
@navbar-inverse-brand-hover-color: #fff;
|
358
|
+
@navbar-inverse-brand-hover-bg: transparent;
|
359
|
+
|
360
|
+
// Inverted navbar toggle
|
361
|
+
@navbar-inverse-toggle-hover-bg: #333;
|
362
|
+
@navbar-inverse-toggle-icon-bar-bg: #fff;
|
363
|
+
@navbar-inverse-toggle-border-color: #333;
|
364
|
+
|
365
|
+
|
366
|
+
//== Navs
|
367
|
+
//
|
368
|
+
//##
|
369
|
+
|
370
|
+
//=== Shared nav styles
|
371
|
+
@nav-link-padding: 10px 15px;
|
372
|
+
@nav-link-hover-bg: @gray-lighter;
|
373
|
+
|
374
|
+
@nav-disabled-link-color: @gray-light;
|
375
|
+
@nav-disabled-link-hover-color: @gray-light;
|
376
|
+
|
377
|
+
@nav-open-link-hover-color: #fff;
|
378
|
+
|
379
|
+
//== Tabs
|
380
|
+
@nav-tabs-border-color: #ddd;
|
381
|
+
|
382
|
+
@nav-tabs-link-hover-border-color: @gray-lighter;
|
383
|
+
|
384
|
+
@nav-tabs-active-link-hover-bg: @body-bg;
|
385
|
+
@nav-tabs-active-link-hover-color: @gray;
|
386
|
+
@nav-tabs-active-link-hover-border-color: #ddd;
|
387
|
+
|
388
|
+
@nav-tabs-justified-link-border-color: #ddd;
|
389
|
+
@nav-tabs-justified-active-link-border-color: @body-bg;
|
390
|
+
|
391
|
+
//== Pills
|
392
|
+
@nav-pills-border-radius: @border-radius-base;
|
393
|
+
@nav-pills-active-link-hover-bg: @component-active-bg;
|
394
|
+
@nav-pills-active-link-hover-color: @component-active-color;
|
395
|
+
|
396
|
+
|
397
|
+
//== Pagination
|
398
|
+
//
|
399
|
+
//##
|
400
|
+
|
401
|
+
@pagination-color: @link-color;
|
402
|
+
@pagination-bg: #fff;
|
403
|
+
@pagination-border: #ddd;
|
404
|
+
|
405
|
+
@pagination-hover-color: @link-hover-color;
|
406
|
+
@pagination-hover-bg: @gray-lighter;
|
407
|
+
@pagination-hover-border: #ddd;
|
408
|
+
|
409
|
+
@pagination-active-color: #fff;
|
410
|
+
@pagination-active-bg: @brand-primary;
|
411
|
+
@pagination-active-border: @brand-primary;
|
412
|
+
|
413
|
+
@pagination-disabled-color: @gray-light;
|
414
|
+
@pagination-disabled-bg: #fff;
|
415
|
+
@pagination-disabled-border: #ddd;
|
416
|
+
|
417
|
+
|
418
|
+
//== Pager
|
419
|
+
//
|
420
|
+
//##
|
421
|
+
|
422
|
+
@pager-bg: @pagination-bg;
|
423
|
+
@pager-border: @pagination-border;
|
424
|
+
@pager-border-radius: 15px;
|
425
|
+
|
426
|
+
@pager-hover-bg: @pagination-hover-bg;
|
427
|
+
|
428
|
+
@pager-active-bg: @pagination-active-bg;
|
429
|
+
@pager-active-color: @pagination-active-color;
|
430
|
+
|
431
|
+
@pager-disabled-color: @pagination-disabled-color;
|
432
|
+
|
433
|
+
|
434
|
+
//== Jumbotron
|
435
|
+
//
|
436
|
+
//##
|
437
|
+
|
438
|
+
@jumbotron-padding: 30px;
|
439
|
+
@jumbotron-color: inherit;
|
440
|
+
@jumbotron-bg: @gray-lighter;
|
441
|
+
@jumbotron-heading-color: inherit;
|
442
|
+
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
443
|
+
|
444
|
+
|
445
|
+
//== Form states and alerts
|
446
|
+
//
|
447
|
+
//## Define colors for form feedback states and, by default, alerts.
|
448
|
+
|
449
|
+
@state-success-text: #3c763d;
|
450
|
+
@state-success-bg: #dff0d8;
|
451
|
+
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
452
|
+
|
453
|
+
@state-info-text: #31708f;
|
454
|
+
@state-info-bg: #d9edf7;
|
455
|
+
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
456
|
+
|
457
|
+
@state-warning-text: #8a6d3b;
|
458
|
+
@state-warning-bg: #fcf8e3;
|
459
|
+
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
460
|
+
|
461
|
+
@state-danger-text: #a94442;
|
462
|
+
@state-danger-bg: #f2dede;
|
463
|
+
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
464
|
+
|
465
|
+
|
466
|
+
//== Tooltips
|
467
|
+
//
|
468
|
+
//##
|
469
|
+
|
470
|
+
//** Tooltip max width
|
471
|
+
@tooltip-max-width: 200px;
|
472
|
+
//** Tooltip text color
|
473
|
+
@tooltip-color: #fff;
|
474
|
+
//** Tooltip background color
|
475
|
+
@tooltip-bg: #000;
|
476
|
+
@tooltip-opacity: .9;
|
477
|
+
|
478
|
+
//** Tooltip arrow width
|
479
|
+
@tooltip-arrow-width: 5px;
|
480
|
+
//** Tooltip arrow color
|
481
|
+
@tooltip-arrow-color: @tooltip-bg;
|
482
|
+
|
483
|
+
|
484
|
+
//== Popovers
|
485
|
+
//
|
486
|
+
//##
|
487
|
+
|
488
|
+
//** Popover body background color
|
489
|
+
@popover-bg: #fff;
|
490
|
+
//** Popover maximum width
|
491
|
+
@popover-max-width: 276px;
|
492
|
+
//** Popover border color
|
493
|
+
@popover-border-color: rgba(0,0,0,.2);
|
494
|
+
//** Popover fallback border color
|
495
|
+
@popover-fallback-border-color: #ccc;
|
496
|
+
|
497
|
+
//** Popover title background color
|
498
|
+
@popover-title-bg: darken(@popover-bg, 3%);
|
499
|
+
|
500
|
+
//** Popover arrow width
|
501
|
+
@popover-arrow-width: 10px;
|
502
|
+
//** Popover arrow color
|
503
|
+
@popover-arrow-color: #fff;
|
504
|
+
|
505
|
+
//** Popover outer arrow width
|
506
|
+
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
507
|
+
//** Popover outer arrow color
|
508
|
+
@popover-arrow-outer-color: rgba(0,0,0,.25);
|
509
|
+
//** Popover outer arrow fallback color
|
510
|
+
@popover-arrow-outer-fallback-color: #999;
|
511
|
+
|
512
|
+
|
513
|
+
//== Labels
|
514
|
+
//
|
515
|
+
//##
|
516
|
+
|
517
|
+
//** Default label background color
|
518
|
+
@label-default-bg: @gray-light;
|
519
|
+
//** Primary label background color
|
520
|
+
@label-primary-bg: @brand-primary;
|
521
|
+
//** Success label background color
|
522
|
+
@label-success-bg: @brand-success;
|
523
|
+
//** Info label background color
|
524
|
+
@label-info-bg: @brand-info;
|
525
|
+
//** Warning label background color
|
526
|
+
@label-warning-bg: @brand-warning;
|
527
|
+
//** Danger label background color
|
528
|
+
@label-danger-bg: @brand-danger;
|
529
|
+
|
530
|
+
//** Default label text color
|
531
|
+
@label-color: #fff;
|
532
|
+
//** Default text color of a linked label
|
533
|
+
@label-link-hover-color: #fff;
|
534
|
+
|
535
|
+
|
536
|
+
//== Modals
|
537
|
+
//
|
538
|
+
//##
|
539
|
+
|
540
|
+
//** Padding applied to the modal body
|
541
|
+
@modal-inner-padding: 20px;
|
542
|
+
|
543
|
+
//** Padding applied to the modal title
|
544
|
+
@modal-title-padding: 15px;
|
545
|
+
//** Modal title line-height
|
546
|
+
@modal-title-line-height: @line-height-base;
|
547
|
+
|
548
|
+
//** Background color of modal content area
|
549
|
+
@modal-content-bg: #fff;
|
550
|
+
//** Modal content border color
|
551
|
+
@modal-content-border-color: rgba(0,0,0,.2);
|
552
|
+
//** Modal content border color **for IE8**
|
553
|
+
@modal-content-fallback-border-color: #999;
|
554
|
+
|
555
|
+
//** Modal backdrop background color
|
556
|
+
@modal-backdrop-bg: #000;
|
557
|
+
//** Modal backdrop opacity
|
558
|
+
@modal-backdrop-opacity: .5;
|
559
|
+
//** Modal header border color
|
560
|
+
@modal-header-border-color: #e5e5e5;
|
561
|
+
//** Modal footer border color
|
562
|
+
@modal-footer-border-color: @modal-header-border-color;
|
563
|
+
|
564
|
+
@modal-lg: 900px;
|
565
|
+
@modal-md: 600px;
|
566
|
+
@modal-sm: 300px;
|
567
|
+
|
568
|
+
|
569
|
+
//== Alerts
|
570
|
+
//
|
571
|
+
//## Define alert colors, border radius, and padding.
|
572
|
+
|
573
|
+
@alert-padding: 15px;
|
574
|
+
@alert-border-radius: @border-radius-base;
|
575
|
+
@alert-link-font-weight: bold;
|
576
|
+
|
577
|
+
@alert-success-bg: @state-success-bg;
|
578
|
+
@alert-success-text: @state-success-text;
|
579
|
+
@alert-success-border: @state-success-border;
|
580
|
+
|
581
|
+
@alert-info-bg: @state-info-bg;
|
582
|
+
@alert-info-text: @state-info-text;
|
583
|
+
@alert-info-border: @state-info-border;
|
584
|
+
|
585
|
+
@alert-warning-bg: @state-warning-bg;
|
586
|
+
@alert-warning-text: @state-warning-text;
|
587
|
+
@alert-warning-border: @state-warning-border;
|
588
|
+
|
589
|
+
@alert-danger-bg: @state-danger-bg;
|
590
|
+
@alert-danger-text: @state-danger-text;
|
591
|
+
@alert-danger-border: @state-danger-border;
|
592
|
+
|
593
|
+
|
594
|
+
//== Progress bars
|
595
|
+
//
|
596
|
+
//##
|
597
|
+
|
598
|
+
//** Background color of the whole progress component
|
599
|
+
@progress-bg: #f5f5f5;
|
600
|
+
//** Progress bar text color
|
601
|
+
@progress-bar-color: #fff;
|
602
|
+
|
603
|
+
//** Default progress bar color
|
604
|
+
@progress-bar-bg: @brand-primary;
|
605
|
+
//** Success progress bar color
|
606
|
+
@progress-bar-success-bg: @brand-success;
|
607
|
+
//** Warning progress bar color
|
608
|
+
@progress-bar-warning-bg: @brand-warning;
|
609
|
+
//** Danger progress bar color
|
610
|
+
@progress-bar-danger-bg: @brand-danger;
|
611
|
+
//** Info progress bar color
|
612
|
+
@progress-bar-info-bg: @brand-info;
|
613
|
+
|
614
|
+
|
615
|
+
//== List group
|
616
|
+
//
|
617
|
+
//##
|
618
|
+
|
619
|
+
//** Background color on `.list-group-item`
|
620
|
+
@list-group-bg: #fff;
|
621
|
+
//** `.list-group-item` border color
|
622
|
+
@list-group-border: #ddd;
|
623
|
+
//** List group border radius
|
624
|
+
@list-group-border-radius: @border-radius-base;
|
625
|
+
|
626
|
+
//** Background color of single list elements on hover
|
627
|
+
@list-group-hover-bg: #f5f5f5;
|
628
|
+
//** Text color of active list elements
|
629
|
+
@list-group-active-color: @component-active-color;
|
630
|
+
//** Background color of active list elements
|
631
|
+
@list-group-active-bg: @component-active-bg;
|
632
|
+
//** Border color of active list elements
|
633
|
+
@list-group-active-border: @list-group-active-bg;
|
634
|
+
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
|
635
|
+
|
636
|
+
@list-group-link-color: #555;
|
637
|
+
@list-group-link-heading-color: #333;
|
638
|
+
|
639
|
+
|
640
|
+
//== Panels
|
641
|
+
//
|
642
|
+
//##
|
643
|
+
|
644
|
+
@panel-bg: #fff;
|
645
|
+
@panel-body-padding: 15px;
|
646
|
+
@panel-border-radius: @border-radius-base;
|
647
|
+
|
648
|
+
//** Border color for elements within panels
|
649
|
+
@panel-inner-border: #ddd;
|
650
|
+
@panel-footer-bg: #f5f5f5;
|
651
|
+
|
652
|
+
@panel-default-text: @gray-dark;
|
653
|
+
@panel-default-border: #ddd;
|
654
|
+
@panel-default-heading-bg: #f5f5f5;
|
655
|
+
|
656
|
+
@panel-primary-text: #fff;
|
657
|
+
@panel-primary-border: @brand-primary;
|
658
|
+
@panel-primary-heading-bg: @brand-primary;
|
659
|
+
|
660
|
+
@panel-success-text: @state-success-text;
|
661
|
+
@panel-success-border: @state-success-border;
|
662
|
+
@panel-success-heading-bg: @state-success-bg;
|
663
|
+
|
664
|
+
@panel-info-text: @state-info-text;
|
665
|
+
@panel-info-border: @state-info-border;
|
666
|
+
@panel-info-heading-bg: @state-info-bg;
|
667
|
+
|
668
|
+
@panel-warning-text: @state-warning-text;
|
669
|
+
@panel-warning-border: @state-warning-border;
|
670
|
+
@panel-warning-heading-bg: @state-warning-bg;
|
671
|
+
|
672
|
+
@panel-danger-text: @state-danger-text;
|
673
|
+
@panel-danger-border: @state-danger-border;
|
674
|
+
@panel-danger-heading-bg: @state-danger-bg;
|
675
|
+
|
676
|
+
|
677
|
+
//== Thumbnails
|
678
|
+
//
|
679
|
+
//##
|
680
|
+
|
681
|
+
//** Padding around the thumbnail image
|
682
|
+
@thumbnail-padding: 4px;
|
683
|
+
//** Thumbnail background color
|
684
|
+
@thumbnail-bg: @body-bg;
|
685
|
+
//** Thumbnail border color
|
686
|
+
@thumbnail-border: #ddd;
|
687
|
+
//** Thumbnail border radius
|
688
|
+
@thumbnail-border-radius: @border-radius-base;
|
689
|
+
|
690
|
+
//** Custom text color for thumbnail captions
|
691
|
+
@thumbnail-caption-color: @text-color;
|
692
|
+
//** Padding around the thumbnail caption
|
693
|
+
@thumbnail-caption-padding: 9px;
|
694
|
+
|
695
|
+
|
696
|
+
//== Wells
|
697
|
+
//
|
698
|
+
//##
|
699
|
+
|
700
|
+
@well-bg: #f5f5f5;
|
701
|
+
@well-border: darken(@well-bg, 7%);
|
702
|
+
|
703
|
+
|
704
|
+
//== Badges
|
705
|
+
//
|
706
|
+
//##
|
707
|
+
|
708
|
+
@badge-color: #fff;
|
709
|
+
//** Linked badge text color on hover
|
710
|
+
@badge-link-hover-color: #fff;
|
711
|
+
@badge-bg: @gray-light;
|
712
|
+
|
713
|
+
//** Badge text color in active nav link
|
714
|
+
@badge-active-color: @link-color;
|
715
|
+
//** Badge background color in active nav link
|
716
|
+
@badge-active-bg: #fff;
|
717
|
+
|
718
|
+
@badge-font-weight: bold;
|
719
|
+
@badge-line-height: 1;
|
720
|
+
@badge-border-radius: 10px;
|
721
|
+
|
722
|
+
|
723
|
+
//== Breadcrumbs
|
724
|
+
//
|
725
|
+
//##
|
726
|
+
|
727
|
+
@breadcrumb-padding-vertical: 8px;
|
728
|
+
@breadcrumb-padding-horizontal: 15px;
|
729
|
+
//** Breadcrumb background color
|
730
|
+
@breadcrumb-bg: #f5f5f5;
|
731
|
+
//** Breadcrumb text color
|
732
|
+
@breadcrumb-color: #ccc;
|
733
|
+
//** Text color of current page in the breadcrumb
|
734
|
+
@breadcrumb-active-color: @gray-light;
|
735
|
+
//** Textual separator for between breadcrumb elements
|
736
|
+
@breadcrumb-separator: "/";
|
737
|
+
|
738
|
+
|
739
|
+
//== Carousel
|
740
|
+
//
|
741
|
+
//##
|
742
|
+
|
743
|
+
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
|
744
|
+
|
745
|
+
@carousel-control-color: #fff;
|
746
|
+
@carousel-control-width: 15%;
|
747
|
+
@carousel-control-opacity: .5;
|
748
|
+
@carousel-control-font-size: 20px;
|
749
|
+
|
750
|
+
@carousel-indicator-active-bg: #fff;
|
751
|
+
@carousel-indicator-border-color: #fff;
|
752
|
+
|
753
|
+
@carousel-caption-color: #fff;
|
754
|
+
|
755
|
+
|
756
|
+
//== Close
|
757
|
+
//
|
758
|
+
//##
|
759
|
+
|
760
|
+
@close-font-weight: bold;
|
761
|
+
@close-color: #000;
|
762
|
+
@close-text-shadow: 0 1px 0 #fff;
|
763
|
+
|
764
|
+
|
765
|
+
//== Code
|
766
|
+
//
|
767
|
+
//##
|
768
|
+
|
769
|
+
@code-color: #c7254e;
|
770
|
+
@code-bg: #f9f2f4;
|
771
|
+
|
772
|
+
@kbd-color: #fff;
|
773
|
+
@kbd-bg: #333;
|
774
|
+
|
775
|
+
@pre-bg: #f5f5f5;
|
776
|
+
@pre-color: @gray-dark;
|
777
|
+
@pre-border-color: #ccc;
|
778
|
+
@pre-scrollable-max-height: 340px;
|
779
|
+
|
780
|
+
|
781
|
+
//== Type
|
782
|
+
//
|
783
|
+
//##
|
784
|
+
|
785
|
+
//** Text muted color
|
786
|
+
@text-muted: @gray-light;
|
787
|
+
//** Abbreviations and acronyms border color
|
788
|
+
@abbr-border-color: @gray-light;
|
789
|
+
//** Headings small color
|
790
|
+
@headings-small-color: @gray-light;
|
791
|
+
//** Blockquote small color
|
792
|
+
@blockquote-small-color: @gray-light;
|
793
|
+
//** Blockquote border color
|
794
|
+
@blockquote-border-color: @gray-lighter;
|
795
|
+
//** Page header border color
|
796
|
+
@page-header-border-color: @gray-lighter;
|
797
|
+
|
798
|
+
|
799
|
+
//== Miscellaneous
|
800
|
+
//
|
801
|
+
//##
|
802
|
+
|
803
|
+
//** Horizontal line color.
|
804
|
+
@hr-border: @gray-lighter;
|
805
|
+
|
806
|
+
//** Horizontal offset for forms and lists.
|
807
|
+
@component-offset-horizontal: 180px;
|
808
|
+
|
809
|
+
|
810
|
+
//== Container sizes
|
811
|
+
//
|
812
|
+
//## Define the maximum width of `.container` for different screen sizes.
|
813
|
+
|
814
|
+
// Small screen / tablet
|
815
|
+
@container-tablet: ((720px + @grid-gutter-width));
|
816
|
+
//** For `@screen-sm-min` and up.
|
817
|
+
@container-sm: @container-tablet;
|
818
|
+
|
819
|
+
// Medium screen / desktop
|
820
|
+
@container-desktop: ((940px + @grid-gutter-width));
|
821
|
+
//** For `@screen-md-min` and up.
|
822
|
+
@container-md: @container-desktop;
|
823
|
+
|
824
|
+
// Large screen / wide desktop
|
825
|
+
@container-large-desktop: ((1140px + @grid-gutter-width));
|
826
|
+
//** For `@screen-lg-min` and up.
|
827
|
+
@container-lg: @container-large-desktop;
|