bootstrap-honoka-rails 3.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +95 -0
- data/Rakefile +33 -0
- data/assets/stylesheets/_honoka.scss +3 -0
- data/assets/stylesheets/_nico.scss +3 -0
- data/assets/stylesheets/_rin.scss +3 -0
- data/assets/stylesheets/_umi.scss +3 -0
- data/assets/stylesheets/honoka/_font.scss +58 -0
- data/assets/stylesheets/honoka/_honoka.scss +60 -0
- data/assets/stylesheets/honoka/_mixins.scss +60 -0
- data/assets/stylesheets/honoka/_override.scss +70 -0
- data/assets/stylesheets/honoka/_variables.scss +877 -0
- data/assets/stylesheets/nico/_font.scss +58 -0
- data/assets/stylesheets/nico/_honoka.scss +60 -0
- data/assets/stylesheets/nico/_mixins.scss +60 -0
- data/assets/stylesheets/nico/_override.scss +84 -0
- data/assets/stylesheets/nico/_variables.scss +877 -0
- data/assets/stylesheets/rin/_font.scss +58 -0
- data/assets/stylesheets/rin/_honoka.scss +60 -0
- data/assets/stylesheets/rin/_mixins.scss +60 -0
- data/assets/stylesheets/rin/_override.scss +372 -0
- data/assets/stylesheets/rin/_variables.scss +877 -0
- data/assets/stylesheets/umi/_font.scss +58 -0
- data/assets/stylesheets/umi/_honoka.scss +60 -0
- data/assets/stylesheets/umi/_mixins.scss +60 -0
- data/assets/stylesheets/umi/_override.scss +70 -0
- data/assets/stylesheets/umi/_variables.scss +877 -0
- data/lib/bootstrap/honoka/rails/engine.rb +23 -0
- data/lib/bootstrap/honoka/rails/version.rb +14 -0
- data/lib/bootstrap/honoka/rails.rb +8 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +17 -0
- data/test/dummy/app/assets/stylesheets/application.css +14 -0
- data/test/dummy/app/assets/stylesheets/honoka.css +3 -0
- data/test/dummy/app/assets/stylesheets/nico.css +3 -0
- data/test/dummy/app/assets/stylesheets/rin.css +3 -0
- data/test/dummy/app/assets/stylesheets/umi.css +3 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/controllers/pages_controller.rb +10 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +18 -0
- data/test/dummy/app/views/pages/honoka.html.erb +1278 -0
- data/test/dummy/app/views/pages/nico.html.erb +1278 -0
- data/test/dummy/app/views/pages/rin.html.erb +1278 -0
- data/test/dummy/app/views/pages/umi.html.erb +1278 -0
- data/test/dummy/config/application.rb +19 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +61 -0
- data/test/dummy/config/environments/production.rb +94 -0
- data/test/dummy/config/environments/test.rb +30 -0
- data/test/dummy/config/initializers/assets.rb +17 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/routes.rb +6 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/package.json +5 -0
- data/test/honoka_test.rb +10 -0
- data/test/test_helper.rb +8 -0
- metadata +213 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b5615fb378baf857f70316f36aaf1ad7ebdb04b17edbb5a90b5e6414d18af1af
|
4
|
+
data.tar.gz: ddae5949a9863e4aa8a6f04f6f50706cca3b3bd933fab764a0aa770b170b6e47
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1cf95b56b9417281d7f079e77d2ca166dc61fa0659891f2b7fb3376c6ac35f7804200b23b5711385d88216560c4513cc06361640f9da5d81575a143cb1754d05
|
7
|
+
data.tar.gz: aa170c50880fed57dc1c612cf0b6fb7f063891c0ef71ecacf74c30c98ed5df22862f2257166e83db9bcb6c502b4185abfa21e72bf416a6b0585b10e4983040e4
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2019 Takmg
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
# Bootstrap-Honoka-Rails
|
2
|
+
|
3
|
+
[Honoka](https://github.com/windyakin/Honoka) is a Bootstrap theme that can display Japanese beautifully.
|
4
|
+
bootstrap-honoka-rails can easily install [Honoka](https://github.com/windyakin/Honoka),[Umi](https://ysakasin.github.io/Umi/) , [Nico](https://nico.kubosho.com/) and [Rin](https://rinhoshizo.la/) on Rails.
|
5
|
+
|
6
|
+
[Honoka](https://github.com/windyakin/Honoka) は日本語も美しく表示できる Bootstrap テーマです。
|
7
|
+
bootstrap-honoka-rails は [honoka](https://github.com/windyakin/Honoka) や [Umi](https://ysakasin.github.io/Umi/) や [Nico](https://nico.kubosho.com/) や [Rin](https://rinhoshizo.la/) を Rails 上に簡単にインストールできます。
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'bootstrap-honoka-rails' , '~>4.3.1'
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install bootstrap-honoka-rails
|
24
|
+
|
25
|
+
[日本語訳]
|
26
|
+
gemfile にこれ書いておけばいいと思います。
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
gem 'bootstrap-honoka-rails' , '~>4.3.1'
|
30
|
+
```
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
Add to application.css [ *= require _honoka ]
|
35
|
+
|
36
|
+
```app/assets/stylesheets/application.css
|
37
|
+
*= require _honoka # Add line
|
38
|
+
*= require_self
|
39
|
+
```
|
40
|
+
|
41
|
+
and add to application.js [ //= require popper, //= require bootstrap-sprockets , //= require bootstrap.min]
|
42
|
+
|
43
|
+
```app/assets/javascripts/application.js
|
44
|
+
//= require rails-ujs
|
45
|
+
//= require activestorage
|
46
|
+
//= require turbolinks
|
47
|
+
//= require popper # add line ※ v4 later
|
48
|
+
//= require bootstrap-sprockets # add line
|
49
|
+
//= require bootstrap.min # add line
|
50
|
+
//= require_tree .
|
51
|
+
```
|
52
|
+
|
53
|
+
[日本語訳]
|
54
|
+
とりあえずインストール後、上記を application.css と application.js に追加すれば OK です。
|
55
|
+
|
56
|
+
---
|
57
|
+
|
58
|
+
Certain [versions](VERSIONS.md) also support Nico , Umi and Rin.
|
59
|
+
|
60
|
+
```app/assets/stylesheets/application.css
|
61
|
+
*= require _umi # Add line
|
62
|
+
*= require_self
|
63
|
+
```
|
64
|
+
|
65
|
+
or
|
66
|
+
|
67
|
+
```app/assets/stylesheets/application.css
|
68
|
+
*= require _nico # Add line
|
69
|
+
*= require_self
|
70
|
+
```
|
71
|
+
|
72
|
+
or
|
73
|
+
|
74
|
+
```app/assets/stylesheets/application.css
|
75
|
+
*= require _rin # Add line
|
76
|
+
*= require_self
|
77
|
+
```
|
78
|
+
|
79
|
+
Please check [VERSIONS.md](VERSIONS.md) for Honoka Nico Umi Rin compatible Ver.
|
80
|
+
|
81
|
+
[日本語訳][特定のバージョン](VERSIONS.md)では "Nico"と "Umi" と "Rin" も対応しています。
|
82
|
+
`_honoka` の代わりに `*= require _nico` と書けば Nico になりますし、 `_umi` と書けば Umi デザインになります。
|
83
|
+
Rin も Ver によっては `_rin` と書けば対応出来ます。
|
84
|
+
Honoka Nico Umi Rin の対応 Ver は[VERSIONS.md](VERSIONS.md)をご確認ください。
|
85
|
+
|
86
|
+
## Notice
|
87
|
+
|
88
|
+
bootstrap-honoka-rails uses bootstrap or bootstrap-sass internally.
|
89
|
+
|
90
|
+
[日本語訳]
|
91
|
+
bootstrap-honoka-rails は bootstrap 又は bootstrap-sass を内部的に使っています。
|
92
|
+
|
93
|
+
## License
|
94
|
+
|
95
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = 'Bootstrap::Honoka4'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.md')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
|
18
|
+
load 'rails/tasks/engine.rake'
|
19
|
+
|
20
|
+
load 'rails/tasks/statistics.rake'
|
21
|
+
|
22
|
+
require 'bundler/gem_tasks'
|
23
|
+
|
24
|
+
require 'rake/testtask'
|
25
|
+
|
26
|
+
Rake::TestTask.new(:test) do |t|
|
27
|
+
t.libs << 'test'
|
28
|
+
t.pattern = 'test/**/*_test.rb'
|
29
|
+
t.verbose = false
|
30
|
+
t.warning = false
|
31
|
+
end
|
32
|
+
|
33
|
+
task default: :test
|
@@ -0,0 +1,58 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
// Open Sans
|
4
|
+
@import url(#{$font-family-open-sans-import-path});
|
5
|
+
|
6
|
+
// Yu Gothic (for Windows)
|
7
|
+
@font-face {
|
8
|
+
font-family: "Yu Gothic";
|
9
|
+
src: local("Yu Gothic Medium");
|
10
|
+
font-weight: 100;
|
11
|
+
}
|
12
|
+
@font-face {
|
13
|
+
font-family: "Yu Gothic";
|
14
|
+
src: local("Yu Gothic Medium");
|
15
|
+
font-weight: 200;
|
16
|
+
}
|
17
|
+
@font-face {
|
18
|
+
font-family: "Yu Gothic";
|
19
|
+
src: local("Yu Gothic Medium");
|
20
|
+
font-weight: 300;
|
21
|
+
}
|
22
|
+
@font-face {
|
23
|
+
font-family: "Yu Gothic";
|
24
|
+
src: local("Yu Gothic Medium");
|
25
|
+
font-weight: 400;
|
26
|
+
}
|
27
|
+
@font-face {
|
28
|
+
font-family: "Yu Gothic";
|
29
|
+
src: local("Yu Gothic Bold");
|
30
|
+
font-weight: bold;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Yu Mincho (for Windows)
|
34
|
+
@font-face {
|
35
|
+
font-family: "Yu Mincho";
|
36
|
+
src: local("Yu Mincho Medium");
|
37
|
+
font-weight: 100;
|
38
|
+
}
|
39
|
+
@font-face {
|
40
|
+
font-family: "Yu Mincho";
|
41
|
+
src: local("Yu Mincho Medium");
|
42
|
+
font-weight: 200;
|
43
|
+
}
|
44
|
+
@font-face {
|
45
|
+
font-family: "Yu Mincho";
|
46
|
+
src: local("Yu Mincho Medium");
|
47
|
+
font-weight: 300;
|
48
|
+
}
|
49
|
+
@font-face {
|
50
|
+
font-family: "Yu Mincho";
|
51
|
+
src: local("Yu Mincho Medium");
|
52
|
+
font-weight: 400;
|
53
|
+
}
|
54
|
+
@font-face {
|
55
|
+
font-family: "Yu Mincho";
|
56
|
+
src: local("Yu Mincho Bold");
|
57
|
+
font-weight: bold;
|
58
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
// Core variables
|
4
|
+
@import "./variables";
|
5
|
+
// Core mixins
|
6
|
+
@import "bootstrap/mixins";
|
7
|
+
@import "./mixins";
|
8
|
+
|
9
|
+
// Honoka Font Setting
|
10
|
+
@import "./font";
|
11
|
+
|
12
|
+
@import "bootstrap/normalize";
|
13
|
+
@import "bootstrap/grid";
|
14
|
+
@import "bootstrap/print";
|
15
|
+
@import "bootstrap/glyphicons";
|
16
|
+
|
17
|
+
// Core CSS
|
18
|
+
@import "bootstrap/scaffolding";
|
19
|
+
@import "bootstrap/type";
|
20
|
+
@import "bootstrap/code";
|
21
|
+
@import "bootstrap/grid";
|
22
|
+
@import "bootstrap/tables";
|
23
|
+
@import "bootstrap/forms";
|
24
|
+
@import "bootstrap/buttons";
|
25
|
+
|
26
|
+
// Components
|
27
|
+
@import "bootstrap/component-animations";
|
28
|
+
@import "bootstrap/dropdowns";
|
29
|
+
@import "bootstrap/button-groups";
|
30
|
+
@import "bootstrap/input-groups";
|
31
|
+
@import "bootstrap/navs";
|
32
|
+
@import "bootstrap/navbar";
|
33
|
+
@import "bootstrap/breadcrumbs";
|
34
|
+
@import "bootstrap/pagination";
|
35
|
+
@import "bootstrap/pager";
|
36
|
+
@import "bootstrap/labels";
|
37
|
+
@import "bootstrap/badges";
|
38
|
+
@import "bootstrap/jumbotron";
|
39
|
+
@import "bootstrap/thumbnails";
|
40
|
+
@import "bootstrap/alerts";
|
41
|
+
@import "bootstrap/progress-bars";
|
42
|
+
@import "bootstrap/media";
|
43
|
+
@import "bootstrap/list-group";
|
44
|
+
@import "bootstrap/panels";
|
45
|
+
@import "bootstrap/responsive-embed";
|
46
|
+
@import "bootstrap/wells";
|
47
|
+
@import "bootstrap/close";
|
48
|
+
|
49
|
+
// Components w/ JavaScript
|
50
|
+
@import "bootstrap/modals";
|
51
|
+
@import "bootstrap/tooltip";
|
52
|
+
@import "bootstrap/popovers";
|
53
|
+
@import "bootstrap/carousel";
|
54
|
+
|
55
|
+
// Utility classes
|
56
|
+
@import "bootstrap/utilities";
|
57
|
+
@import "bootstrap/responsive-utilities";
|
58
|
+
|
59
|
+
// Honoka Original Setting
|
60
|
+
@import "./override";
|
@@ -0,0 +1,60 @@
|
|
1
|
+
//== buttons
|
2
|
+
@mixin button-variant($color, $background, $border) {
|
3
|
+
color: $color;
|
4
|
+
background-color: $background;
|
5
|
+
border-color: $border;
|
6
|
+
|
7
|
+
transition-property: all;
|
8
|
+
transition-duration: 0.3s;
|
9
|
+
transition-timing-function: ease;
|
10
|
+
|
11
|
+
&:focus,
|
12
|
+
&.focus {
|
13
|
+
color: $color;
|
14
|
+
background-color: darken($background, 10%);
|
15
|
+
border-color: darken($border, 25%);
|
16
|
+
}
|
17
|
+
&:hover {
|
18
|
+
color: $color;
|
19
|
+
background-color: darken($background, 10%);
|
20
|
+
border-color: darken($border, 12%);
|
21
|
+
}
|
22
|
+
&:active,
|
23
|
+
&.active,
|
24
|
+
.open > &.dropdown-toggle {
|
25
|
+
color: $color;
|
26
|
+
background-color: darken($background, 5%);
|
27
|
+
border-color: darken($border, 6%);
|
28
|
+
|
29
|
+
&:hover,
|
30
|
+
&:focus,
|
31
|
+
&.focus {
|
32
|
+
color: $color;
|
33
|
+
background-color: darken($background, 17%);
|
34
|
+
border-color: darken($border, 25%);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
&:active,
|
38
|
+
&.active,
|
39
|
+
.open > &.dropdown-toggle {
|
40
|
+
background-image: none;
|
41
|
+
}
|
42
|
+
&.disabled,
|
43
|
+
&[disabled],
|
44
|
+
fieldset[disabled] & {
|
45
|
+
&,
|
46
|
+
&:hover,
|
47
|
+
&:focus,
|
48
|
+
&.focus,
|
49
|
+
&:active,
|
50
|
+
&.active {
|
51
|
+
background-color: $background;
|
52
|
+
border-color: $border;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.badge {
|
57
|
+
color: $background;
|
58
|
+
background-color: $color;
|
59
|
+
}
|
60
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
// animation
|
4
|
+
a {
|
5
|
+
transition-timing-function: ease;
|
6
|
+
transition-duration: 0.3s;
|
7
|
+
transition-property: all;
|
8
|
+
}
|
9
|
+
|
10
|
+
// buttons
|
11
|
+
.btn {
|
12
|
+
&:active,
|
13
|
+
&.active {
|
14
|
+
box-shadow: none;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
// navbar
|
19
|
+
.navbar-nav {
|
20
|
+
@media (min-width: $grid-float-breakpoint) {
|
21
|
+
> li {
|
22
|
+
> a {
|
23
|
+
padding-top: ($navbar-padding-vertical / 4);
|
24
|
+
padding-bottom: ($navbar-padding-vertical / 4);
|
25
|
+
margin-top: ($navbar-padding-vertical / 4 * 3);
|
26
|
+
margin-bottom: ($navbar-padding-vertical / 4 * 3);
|
27
|
+
border-radius: $border-radius-large;
|
28
|
+
}
|
29
|
+
> .dropdown-menu {
|
30
|
+
margin-top: (-$navbar-padding-vertical / 4 * 3);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
> li:not(:last-child) {
|
34
|
+
margin-right: ($navbar-padding-horizontal / 3);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.navbar-brand {
|
40
|
+
margin-right: ($navbar-padding-horizontal / 3);
|
41
|
+
font-size: $font-size-large;
|
42
|
+
}
|
43
|
+
|
44
|
+
// label
|
45
|
+
.label {
|
46
|
+
vertical-align: 2px;
|
47
|
+
}
|
48
|
+
|
49
|
+
// フォント指定
|
50
|
+
.no-thank-yu,
|
51
|
+
.navbar,
|
52
|
+
.btn,
|
53
|
+
.form-control,
|
54
|
+
.input-gruop,
|
55
|
+
.breadcrumb,
|
56
|
+
.nav-tabs,
|
57
|
+
.nav-pills,
|
58
|
+
.panel-title,
|
59
|
+
.list-group,
|
60
|
+
.pagination,
|
61
|
+
.pager,
|
62
|
+
.alert,
|
63
|
+
.label,
|
64
|
+
.badge,
|
65
|
+
.panel-heading,
|
66
|
+
.lead,
|
67
|
+
.tooltip,
|
68
|
+
.popover {
|
69
|
+
font-family: $font-family-sans-serif;
|
70
|
+
}
|
@@ -0,0 +1,877 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
// When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
|
4
|
+
// When there no function is defined, `fn('')` is parsed as string that equals the right hand side
|
5
|
+
// NB: in Sass 3.3 there is a native function: function-exists(twbs-font-path)
|
6
|
+
$bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
|
7
|
+
$bootstrap-version: "3.3.6";
|
8
|
+
|
9
|
+
//
|
10
|
+
// Variables
|
11
|
+
// --------------------------------------------------
|
12
|
+
|
13
|
+
|
14
|
+
//== Colors
|
15
|
+
//
|
16
|
+
//## Gray and brand colors for use across Bootstrap.
|
17
|
+
|
18
|
+
$gray-base: #000 !default;
|
19
|
+
$gray-darker: lighten($gray-base, 13.5%) !default; // #222
|
20
|
+
$gray-dark: lighten($gray-base, 20%) !default; // #333
|
21
|
+
$gray: lighten($gray-base, 33.5%) !default; // #555
|
22
|
+
$gray-light: lighten($gray-base, 46.7%) !default; // #777
|
23
|
+
$gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
|
24
|
+
|
25
|
+
$brand-primary: #2196f3 !default;
|
26
|
+
$brand-success: #4caf50 !default;
|
27
|
+
$brand-info: #9c27b0 !default;
|
28
|
+
$brand-warning: #ff9800 !default;
|
29
|
+
$brand-danger: #f44336 !default;
|
30
|
+
|
31
|
+
//== Scaffolding
|
32
|
+
//
|
33
|
+
//## Settings for some of the most global styles.
|
34
|
+
|
35
|
+
//** Background color for `<body>`.
|
36
|
+
$body-bg: #f9f9f9 !default;
|
37
|
+
//** Global text color on `<body>`.
|
38
|
+
$text-color: $gray-dark !default;
|
39
|
+
|
40
|
+
//** Global textual link color.
|
41
|
+
$link-color: $brand-primary !default;
|
42
|
+
//** Link hover color set via `darken()` function.
|
43
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
44
|
+
//** Link hover decoration.
|
45
|
+
$link-hover-decoration: underline !default;
|
46
|
+
|
47
|
+
|
48
|
+
//== Typography
|
49
|
+
//
|
50
|
+
//## Font, line-height, and color for body text, headings, and more.
|
51
|
+
$font-family-open-sans-import-path: "https://fonts.googleapis.com/css?family=Open+Sans" !default;
|
52
|
+
$font-family-humanist-sans-serif: 'Open Sans', 'Helvetica Neue', Helvetica, 'Arial', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif !default;
|
53
|
+
$font-family-sans-serif: 'Open Sans', 'Helvetica Neue', Helvetica, 'Arial', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif !default;
|
54
|
+
$font-family-serif: 'Times New Roman', Times, 'Yu Mincho', YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'MS P明朝', 'MS PMincho', 'MS 明朝', serif !default;
|
55
|
+
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
56
|
+
$font-family-monospace: Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
|
57
|
+
$font-family-base: $font-family-humanist-sans-serif !default;
|
58
|
+
|
59
|
+
$font-size-base: 16px !default;
|
60
|
+
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
|
61
|
+
$font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px
|
62
|
+
|
63
|
+
$font-size-h1: floor(($font-size-base * 2)) !default; // ~32px
|
64
|
+
$font-size-h2: floor(($font-size-base * 1.75)) !default; // ~28px
|
65
|
+
$font-size-h3: ceil(($font-size-base * 1.5)) !default; // ~24px
|
66
|
+
$font-size-h4: ceil(($font-size-base * 1.15)) !default; // ~18px
|
67
|
+
$font-size-h5: $font-size-base !default;
|
68
|
+
$font-size-h6: ceil(($font-size-base * 0.75)) !default; // ~12px
|
69
|
+
|
70
|
+
//** Unit-less `line-height` for use in components like buttons.
|
71
|
+
$line-height-base: 1.5 !default; // 24/16
|
72
|
+
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
73
|
+
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~24px
|
74
|
+
|
75
|
+
//** By default, this inherits from the `<body>`.
|
76
|
+
$headings-font-family: $font-family-sans-serif !default;
|
77
|
+
$headings-font-weight: 300 !default;
|
78
|
+
$headings-line-height: 1.2 !default;
|
79
|
+
$headings-color: inherit !default;
|
80
|
+
|
81
|
+
|
82
|
+
//== Iconography
|
83
|
+
//
|
84
|
+
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
85
|
+
|
86
|
+
//** Load fonts from this directory.
|
87
|
+
|
88
|
+
// [converter] Asset helpers such as Sprockets and Node.js Mincer do not resolve relative paths
|
89
|
+
$icon-font-path: "../fonts/" !default;
|
90
|
+
|
91
|
+
//** File name for all font files.
|
92
|
+
$icon-font-name: "glyphicons-halflings-regular" !default;
|
93
|
+
//** Element ID within SVG icon file.
|
94
|
+
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
95
|
+
|
96
|
+
|
97
|
+
//== Components
|
98
|
+
//
|
99
|
+
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
100
|
+
|
101
|
+
$padding-base-vertical: 6px !default;
|
102
|
+
$padding-base-horizontal: 12px !default;
|
103
|
+
|
104
|
+
$padding-large-vertical: 10px !default;
|
105
|
+
$padding-large-horizontal: 20px !default;
|
106
|
+
|
107
|
+
$padding-small-vertical: 5px !default;
|
108
|
+
$padding-small-horizontal: 10px !default;
|
109
|
+
|
110
|
+
$padding-xs-vertical: 1px !default;
|
111
|
+
$padding-xs-horizontal: 5px !default;
|
112
|
+
|
113
|
+
$line-height-large: 1.33 !default;
|
114
|
+
$line-height-small: 1.5 !default;
|
115
|
+
|
116
|
+
$border-radius-base: 2px !default;
|
117
|
+
$border-radius-large: 4px !default;
|
118
|
+
$border-radius-small: 1px !default;
|
119
|
+
|
120
|
+
//** Global color for active items (e.g., navs or dropdowns).
|
121
|
+
$component-active-color: #fff !default;
|
122
|
+
//** Global background color for active items (e.g., navs or dropdowns).
|
123
|
+
$component-active-bg: $brand-primary !default;
|
124
|
+
|
125
|
+
//** Width of the `border` for generating carets that indicator dropdowns.
|
126
|
+
$caret-width-base: 4px !default;
|
127
|
+
//** Carets increase slightly in size for larger components.
|
128
|
+
$caret-width-large: 5px !default;
|
129
|
+
|
130
|
+
|
131
|
+
//== Tables
|
132
|
+
//
|
133
|
+
//## Customizes the `.table` component with basic values, each used across all table variations.
|
134
|
+
|
135
|
+
//** Padding for `<th>`s and `<td>`s.
|
136
|
+
$table-cell-padding: 8px !default;
|
137
|
+
//** Padding for cells in `.table-condensed`.
|
138
|
+
$table-condensed-cell-padding: 5px !default;
|
139
|
+
|
140
|
+
//** Default background color used for all tables.
|
141
|
+
$table-bg: transparent !default;
|
142
|
+
//** Background color used for `.table-striped`.
|
143
|
+
$table-bg-accent: #fff !default;
|
144
|
+
//** Background color used for `.table-hover`.
|
145
|
+
$table-bg-hover: #f5f5f5 !default;
|
146
|
+
$table-bg-active: $table-bg-hover !default;
|
147
|
+
|
148
|
+
//** Border color for table and cell borders.
|
149
|
+
$table-border-color: #ddd !default;
|
150
|
+
|
151
|
+
|
152
|
+
//== Buttons
|
153
|
+
//
|
154
|
+
//## For each of Bootstrap's buttons, define text, background and border color.
|
155
|
+
|
156
|
+
$btn-font-weight: normal !default;
|
157
|
+
|
158
|
+
$btn-default-color: #333 !default;
|
159
|
+
$btn-default-bg: #fff !default;
|
160
|
+
$btn-default-border: #ccc !default;
|
161
|
+
|
162
|
+
$btn-primary-color: #fff !default;
|
163
|
+
$btn-primary-bg: $brand-primary !default;
|
164
|
+
$btn-primary-border: darken($btn-primary-bg, 2%) !default;
|
165
|
+
|
166
|
+
$btn-success-color: #fff !default;
|
167
|
+
$btn-success-bg: $brand-success !default;
|
168
|
+
$btn-success-border: darken($btn-success-bg, 2%) !default;
|
169
|
+
|
170
|
+
$btn-info-color: #fff !default;
|
171
|
+
$btn-info-bg: $brand-info !default;
|
172
|
+
$btn-info-border: darken($btn-info-bg, 2%) !default;
|
173
|
+
|
174
|
+
$btn-warning-color: #fff !default;
|
175
|
+
$btn-warning-bg: $brand-warning !default;
|
176
|
+
$btn-warning-border: darken($btn-warning-bg, 2%) !default;
|
177
|
+
|
178
|
+
$btn-danger-color: #fff !default;
|
179
|
+
$btn-danger-bg: $brand-danger !default;
|
180
|
+
$btn-danger-border: darken($btn-danger-bg, 2%) !default;
|
181
|
+
|
182
|
+
$btn-link-disabled-color: $gray-light !default;
|
183
|
+
|
184
|
+
$btn-border-radius-base: $border-radius-base !default;
|
185
|
+
$btn-border-radius-large: $border-radius-large !default;
|
186
|
+
$btn-border-radius-small: $border-radius-small !default;
|
187
|
+
|
188
|
+
//== Forms
|
189
|
+
//
|
190
|
+
//##
|
191
|
+
|
192
|
+
//** `<input>` background color
|
193
|
+
$input-bg: #fff !default;
|
194
|
+
//** `<input disabled>` background color
|
195
|
+
$input-bg-disabled: $gray-lighter !default;
|
196
|
+
|
197
|
+
//** Text color for `<input>`s
|
198
|
+
$input-color: $gray !default;
|
199
|
+
//** `<input>` border color
|
200
|
+
$input-border: #ccc !default;
|
201
|
+
|
202
|
+
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
|
203
|
+
//** Default `.form-control` border radius
|
204
|
+
$input-border-radius: $border-radius-base !default;
|
205
|
+
//** Large `.form-control` border radius
|
206
|
+
$input-border-radius-large: $border-radius-large !default;
|
207
|
+
//** Small `.form-control` border radius
|
208
|
+
$input-border-radius-small: $border-radius-small !default;
|
209
|
+
|
210
|
+
//** Border color for inputs on focus
|
211
|
+
$input-border-focus: #66afe9 !default;
|
212
|
+
|
213
|
+
//** Placeholder text color
|
214
|
+
$input-color-placeholder: #999 !default;
|
215
|
+
|
216
|
+
//** Default `.form-control` height
|
217
|
+
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
|
218
|
+
//** Large `.form-control` height
|
219
|
+
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
|
220
|
+
//** Small `.form-control` height
|
221
|
+
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
|
222
|
+
|
223
|
+
//** `.form-group` margin
|
224
|
+
$form-group-margin-bottom: 15px !default;
|
225
|
+
|
226
|
+
$legend-color: $gray-dark !default;
|
227
|
+
$legend-border-color: #e5e5e5 !default;
|
228
|
+
|
229
|
+
//** Background color for textual input addons
|
230
|
+
$input-group-addon-bg: $gray-lighter !default;
|
231
|
+
//** Border color for textual input addons
|
232
|
+
$input-group-addon-border-color: $input-border !default;
|
233
|
+
|
234
|
+
//** Disabled cursor for form controls and buttons.
|
235
|
+
$cursor-disabled: not-allowed !default;
|
236
|
+
|
237
|
+
|
238
|
+
//== Dropdowns
|
239
|
+
//
|
240
|
+
//## Dropdown menu container and contents.
|
241
|
+
|
242
|
+
//** Background for the dropdown menu.
|
243
|
+
$dropdown-bg: #fff !default;
|
244
|
+
//** Dropdown menu `border-color`.
|
245
|
+
$dropdown-border: rgba(0,0,0,.15) !default;
|
246
|
+
//** Dropdown menu `border-color` **for IE8**.
|
247
|
+
$dropdown-fallback-border: #ccc !default;
|
248
|
+
//** Divider color for between dropdown items.
|
249
|
+
$dropdown-divider-bg: #e5e5e5 !default;
|
250
|
+
|
251
|
+
//** Dropdown link text color.
|
252
|
+
$dropdown-link-color: $gray-dark !default;
|
253
|
+
//** Hover color for dropdown links.
|
254
|
+
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
|
255
|
+
//** Hover background for dropdown links.
|
256
|
+
$dropdown-link-hover-bg: #f5f5f5 !default;
|
257
|
+
|
258
|
+
//** Active dropdown menu item text color.
|
259
|
+
$dropdown-link-active-color: $component-active-color !default;
|
260
|
+
//** Active dropdown menu item background color.
|
261
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
262
|
+
|
263
|
+
//** Disabled dropdown menu item background color.
|
264
|
+
$dropdown-link-disabled-color: $gray-light !default;
|
265
|
+
|
266
|
+
//** Text color for headers within dropdown menus.
|
267
|
+
$dropdown-header-color: $gray-light !default;
|
268
|
+
|
269
|
+
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
270
|
+
$dropdown-caret-color: #000 !default;
|
271
|
+
|
272
|
+
|
273
|
+
//-- Z-index master list
|
274
|
+
//
|
275
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
276
|
+
// of components dependent on the z-axis and are designed to all work together.
|
277
|
+
//
|
278
|
+
// Note: These variables are not generated into the Customizer.
|
279
|
+
|
280
|
+
$zindex-navbar: 1000 !default;
|
281
|
+
$zindex-dropdown: 1000 !default;
|
282
|
+
$zindex-popover: 1060 !default;
|
283
|
+
$zindex-tooltip: 1070 !default;
|
284
|
+
$zindex-navbar-fixed: 1030 !default;
|
285
|
+
$zindex-modal-background: 1040 !default;
|
286
|
+
$zindex-modal: 1050 !default;
|
287
|
+
|
288
|
+
|
289
|
+
//== Media queries breakpoints
|
290
|
+
//
|
291
|
+
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
292
|
+
|
293
|
+
// Extra small screen / phone
|
294
|
+
//** Deprecated `$screen-xs` as of v3.0.1
|
295
|
+
$screen-xs: 480px !default;
|
296
|
+
//** Deprecated `$screen-xs-min` as of v3.2.0
|
297
|
+
$screen-xs-min: $screen-xs !default;
|
298
|
+
//** Deprecated `$screen-phone` as of v3.0.1
|
299
|
+
$screen-phone: $screen-xs-min !default;
|
300
|
+
|
301
|
+
// Small screen / tablet
|
302
|
+
//** Deprecated `$screen-sm` as of v3.0.1
|
303
|
+
$screen-sm: 768px !default;
|
304
|
+
$screen-sm-min: $screen-sm !default;
|
305
|
+
//** Deprecated `$screen-tablet` as of v3.0.1
|
306
|
+
$screen-tablet: $screen-sm-min !default;
|
307
|
+
|
308
|
+
// Medium screen / desktop
|
309
|
+
//** Deprecated `$screen-md` as of v3.0.1
|
310
|
+
$screen-md: 992px !default;
|
311
|
+
$screen-md-min: $screen-md !default;
|
312
|
+
//** Deprecated `$screen-desktop` as of v3.0.1
|
313
|
+
$screen-desktop: $screen-md-min !default;
|
314
|
+
|
315
|
+
// Large screen / wide desktop
|
316
|
+
//** Deprecated `$screen-lg` as of v3.0.1
|
317
|
+
$screen-lg: 1200px !default;
|
318
|
+
$screen-lg-min: $screen-lg !default;
|
319
|
+
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
320
|
+
$screen-lg-desktop: $screen-lg-min !default;
|
321
|
+
|
322
|
+
// So media queries don't overlap when required, provide a maximum
|
323
|
+
$screen-xs-max: ($screen-sm-min - 1) !default;
|
324
|
+
$screen-sm-max: ($screen-md-min - 1) !default;
|
325
|
+
$screen-md-max: ($screen-lg-min - 1) !default;
|
326
|
+
|
327
|
+
|
328
|
+
//== Grid system
|
329
|
+
//
|
330
|
+
//## Define your custom responsive grid.
|
331
|
+
|
332
|
+
//** Number of columns in the grid.
|
333
|
+
$grid-columns: 12 !default;
|
334
|
+
//** Padding between columns. Gets divided in half for the left and right.
|
335
|
+
$grid-gutter-width: 30px !default;
|
336
|
+
// Navbar collapse
|
337
|
+
//** Point at which the navbar becomes uncollapsed.
|
338
|
+
$grid-float-breakpoint: $screen-sm-min !default;
|
339
|
+
//** Point at which the navbar begins collapsing.
|
340
|
+
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
341
|
+
|
342
|
+
|
343
|
+
//== Container sizes
|
344
|
+
//
|
345
|
+
//## Define the maximum width of `.container` for different screen sizes.
|
346
|
+
|
347
|
+
// Small screen / tablet
|
348
|
+
$container-tablet: (720px + $grid-gutter-width) !default;
|
349
|
+
//** For `$screen-sm-min` and up.
|
350
|
+
$container-sm: $container-tablet !default;
|
351
|
+
|
352
|
+
// Medium screen / desktop
|
353
|
+
$container-desktop: (940px + $grid-gutter-width) !default;
|
354
|
+
//** For `$screen-md-min` and up.
|
355
|
+
$container-md: $container-desktop !default;
|
356
|
+
|
357
|
+
// Large screen / wide desktop
|
358
|
+
$container-large-desktop: (1140px + $grid-gutter-width) !default;
|
359
|
+
//** For `$screen-lg-min` and up.
|
360
|
+
$container-lg: $container-large-desktop !default;
|
361
|
+
|
362
|
+
|
363
|
+
//== Navbar
|
364
|
+
//
|
365
|
+
//##
|
366
|
+
|
367
|
+
// Basics of a navbar
|
368
|
+
$navbar-height: 80px !default;
|
369
|
+
$navbar-margin-bottom: $line-height-computed !default;
|
370
|
+
$navbar-border-radius: $border-radius-base !default;
|
371
|
+
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
372
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
373
|
+
$navbar-collapse-max-height: 340px !default;
|
374
|
+
|
375
|
+
$navbar-default-color: $gray-darker !default;
|
376
|
+
$navbar-default-bg: #fff !default;
|
377
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
378
|
+
|
379
|
+
// Navbar links
|
380
|
+
$navbar-default-link-color: $gray-dark !default;
|
381
|
+
$navbar-default-link-hover-color: $gray !default;
|
382
|
+
$navbar-default-link-hover-bg: $gray-lighter !default;
|
383
|
+
$navbar-default-link-active-color: #fff !default;
|
384
|
+
$navbar-default-link-active-bg: $brand-primary !default;
|
385
|
+
$navbar-default-link-disabled-color: $gray-darker !default;
|
386
|
+
$navbar-default-link-disabled-bg: transparent !default;
|
387
|
+
|
388
|
+
// Navbar brand label
|
389
|
+
$navbar-default-brand-color: $navbar-default-link-color !default;
|
390
|
+
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
|
391
|
+
$navbar-default-brand-hover-bg: transparent !default;
|
392
|
+
|
393
|
+
// Navbar toggle
|
394
|
+
$navbar-default-toggle-hover-bg: #ddd !default;
|
395
|
+
$navbar-default-toggle-icon-bar-bg: #888 !default;
|
396
|
+
$navbar-default-toggle-border-color: #ddd !default;
|
397
|
+
|
398
|
+
|
399
|
+
//=== Inverted navbar
|
400
|
+
// Reset inverted navbar basics
|
401
|
+
$navbar-inverse-color: #fff !default;
|
402
|
+
$navbar-inverse-bg: $gray-darker !default;
|
403
|
+
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
|
404
|
+
|
405
|
+
// Inverted navbar links
|
406
|
+
$navbar-inverse-link-color: $gray-lighter !default;
|
407
|
+
$navbar-inverse-link-hover-color: $gray-lighter !default;
|
408
|
+
$navbar-inverse-link-hover-bg: $gray !default;
|
409
|
+
$navbar-inverse-link-active-color: $gray-light !default;
|
410
|
+
$navbar-inverse-link-active-bg: #fff !default;
|
411
|
+
$navbar-inverse-link-disabled-color: #444 !default;
|
412
|
+
$navbar-inverse-link-disabled-bg: transparent !default;
|
413
|
+
|
414
|
+
// Inverted navbar brand label
|
415
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
416
|
+
$navbar-inverse-brand-hover-color: #fff !default;
|
417
|
+
$navbar-inverse-brand-hover-bg: transparent !default;
|
418
|
+
|
419
|
+
// Inverted navbar toggle
|
420
|
+
$navbar-inverse-toggle-hover-bg: #333 !default;
|
421
|
+
$navbar-inverse-toggle-icon-bar-bg: #fff !default;
|
422
|
+
$navbar-inverse-toggle-border-color: #333 !default;
|
423
|
+
|
424
|
+
|
425
|
+
//== Navs
|
426
|
+
//
|
427
|
+
//##
|
428
|
+
|
429
|
+
//=== Shared nav styles
|
430
|
+
$nav-link-padding: 10px 15px !default;
|
431
|
+
$nav-link-hover-bg: $gray-lighter !default;
|
432
|
+
|
433
|
+
$nav-disabled-link-color: $gray-light !default;
|
434
|
+
$nav-disabled-link-hover-color: $gray-light !default;
|
435
|
+
|
436
|
+
//== Tabs
|
437
|
+
$nav-tabs-border-color: #ddd !default;
|
438
|
+
|
439
|
+
$nav-tabs-link-hover-border-color: $gray-lighter !default;
|
440
|
+
|
441
|
+
$nav-tabs-active-link-hover-bg: $body-bg !default;
|
442
|
+
$nav-tabs-active-link-hover-color: $gray !default;
|
443
|
+
$nav-tabs-active-link-hover-border-color: #ddd !default;
|
444
|
+
|
445
|
+
$nav-tabs-justified-link-border-color: #ddd !default;
|
446
|
+
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
447
|
+
|
448
|
+
//== Pills
|
449
|
+
$nav-pills-border-radius: $border-radius-base !default;
|
450
|
+
$nav-pills-active-link-hover-bg: $component-active-bg !default;
|
451
|
+
$nav-pills-active-link-hover-color: $component-active-color !default;
|
452
|
+
|
453
|
+
|
454
|
+
//== Pagination
|
455
|
+
//
|
456
|
+
//##
|
457
|
+
|
458
|
+
$pagination-color: $link-color !default;
|
459
|
+
$pagination-bg: #fff !default;
|
460
|
+
$pagination-border: #ddd !default;
|
461
|
+
|
462
|
+
$pagination-hover-color: $link-hover-color !default;
|
463
|
+
$pagination-hover-bg: $gray-lighter !default;
|
464
|
+
$pagination-hover-border: #ddd !default;
|
465
|
+
|
466
|
+
$pagination-active-color: #fff !default;
|
467
|
+
$pagination-active-bg: $brand-primary !default;
|
468
|
+
$pagination-active-border: $brand-primary !default;
|
469
|
+
|
470
|
+
$pagination-disabled-color: $gray-light !default;
|
471
|
+
$pagination-disabled-bg: #fff !default;
|
472
|
+
$pagination-disabled-border: #ddd !default;
|
473
|
+
|
474
|
+
|
475
|
+
//== Pager
|
476
|
+
//
|
477
|
+
//##
|
478
|
+
|
479
|
+
$pager-bg: $pagination-bg !default;
|
480
|
+
$pager-border: $pagination-border !default;
|
481
|
+
$pager-border-radius: 15px !default;
|
482
|
+
|
483
|
+
$pager-hover-bg: $pagination-hover-bg !default;
|
484
|
+
|
485
|
+
$pager-active-bg: $pagination-active-bg !default;
|
486
|
+
$pager-active-color: $pagination-active-color !default;
|
487
|
+
|
488
|
+
$pager-disabled-color: $pagination-disabled-color !default;
|
489
|
+
|
490
|
+
|
491
|
+
//== Jumbotron
|
492
|
+
//
|
493
|
+
//##
|
494
|
+
|
495
|
+
$jumbotron-padding: 30px !default;
|
496
|
+
$jumbotron-color: inherit !default;
|
497
|
+
$jumbotron-bg: $gray-lighter !default;
|
498
|
+
$jumbotron-heading-color: inherit !default;
|
499
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
|
500
|
+
$jumbotron-heading-font-size: ceil(($font-size-base * 4.5)) !default;
|
501
|
+
|
502
|
+
|
503
|
+
//== Form states and alerts
|
504
|
+
//
|
505
|
+
//## Define colors for form feedback states and, by default, alerts.
|
506
|
+
|
507
|
+
$state-success-text: darken($brand-success, 10%) !default;
|
508
|
+
$state-success-bg: lighten($state-success-text, 50%) !default;
|
509
|
+
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
|
510
|
+
|
511
|
+
$state-info-text: darken($brand-primary, 10%) !default;
|
512
|
+
$state-info-bg: lighten($state-info-text, 50%) !default;
|
513
|
+
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
|
514
|
+
|
515
|
+
$state-warning-text: darken($brand-warning, 10%) !default;
|
516
|
+
$state-warning-bg: lighten($state-warning-text, 50%) !default;
|
517
|
+
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
|
518
|
+
|
519
|
+
$state-danger-text: darken($brand-danger, 10%) !default;
|
520
|
+
$state-danger-bg: lighten($state-danger-text, 50%) !default;
|
521
|
+
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
|
522
|
+
|
523
|
+
|
524
|
+
//== Tooltips
|
525
|
+
//
|
526
|
+
//##
|
527
|
+
|
528
|
+
//** Tooltip max width
|
529
|
+
$tooltip-max-width: 200px !default;
|
530
|
+
//** Tooltip text color
|
531
|
+
$tooltip-color: #fff !default;
|
532
|
+
//** Tooltip background color
|
533
|
+
$tooltip-bg: #000 !default;
|
534
|
+
$tooltip-opacity: .9 !default;
|
535
|
+
|
536
|
+
//** Tooltip arrow width
|
537
|
+
$tooltip-arrow-width: 5px !default;
|
538
|
+
//** Tooltip arrow color
|
539
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
540
|
+
|
541
|
+
|
542
|
+
//== Popovers
|
543
|
+
//
|
544
|
+
//##
|
545
|
+
|
546
|
+
//** Popover body background color
|
547
|
+
$popover-bg: #fff !default;
|
548
|
+
//** Popover maximum width
|
549
|
+
$popover-max-width: 276px !default;
|
550
|
+
//** Popover border color
|
551
|
+
$popover-border-color: rgba(0,0,0,.2) !default;
|
552
|
+
//** Popover fallback border color
|
553
|
+
$popover-fallback-border-color: #ccc !default;
|
554
|
+
|
555
|
+
//** Popover title background color
|
556
|
+
$popover-title-bg: darken($popover-bg, 3%) !default;
|
557
|
+
|
558
|
+
//** Popover arrow width
|
559
|
+
$popover-arrow-width: 10px !default;
|
560
|
+
//** Popover arrow color
|
561
|
+
$popover-arrow-color: $popover-bg !default;
|
562
|
+
|
563
|
+
//** Popover outer arrow width
|
564
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
565
|
+
//** Popover outer arrow color
|
566
|
+
$popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
|
567
|
+
//** Popover outer arrow fallback color
|
568
|
+
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
|
569
|
+
|
570
|
+
|
571
|
+
//== Labels
|
572
|
+
//
|
573
|
+
//##
|
574
|
+
|
575
|
+
//** Default label background color
|
576
|
+
$label-default-bg: $gray-light !default;
|
577
|
+
//** Primary label background color
|
578
|
+
$label-primary-bg: $brand-primary !default;
|
579
|
+
//** Success label background color
|
580
|
+
$label-success-bg: $brand-success !default;
|
581
|
+
//** Info label background color
|
582
|
+
$label-info-bg: $brand-info !default;
|
583
|
+
//** Warning label background color
|
584
|
+
$label-warning-bg: $brand-warning !default;
|
585
|
+
//** Danger label background color
|
586
|
+
$label-danger-bg: $brand-danger !default;
|
587
|
+
|
588
|
+
//** Default label text color
|
589
|
+
$label-color: #fff !default;
|
590
|
+
//** Default text color of a linked label
|
591
|
+
$label-link-hover-color: #fff !default;
|
592
|
+
|
593
|
+
|
594
|
+
//== Modals
|
595
|
+
//
|
596
|
+
//##
|
597
|
+
|
598
|
+
//** Padding applied to the modal body
|
599
|
+
$modal-inner-padding: 15px !default;
|
600
|
+
|
601
|
+
//** Padding applied to the modal title
|
602
|
+
$modal-title-padding: 15px !default;
|
603
|
+
//** Modal title line-height
|
604
|
+
$modal-title-line-height: $line-height-base !default;
|
605
|
+
|
606
|
+
//** Background color of modal content area
|
607
|
+
$modal-content-bg: #fff !default;
|
608
|
+
//** Modal content border color
|
609
|
+
$modal-content-border-color: rgba(0,0,0,.2) !default;
|
610
|
+
//** Modal content border color **for IE8**
|
611
|
+
$modal-content-fallback-border-color: #999 !default;
|
612
|
+
|
613
|
+
//** Modal backdrop background color
|
614
|
+
$modal-backdrop-bg: #000 !default;
|
615
|
+
//** Modal backdrop opacity
|
616
|
+
$modal-backdrop-opacity: .5 !default;
|
617
|
+
//** Modal header border color
|
618
|
+
$modal-header-border-color: transparent !default;
|
619
|
+
//** Modal footer border color
|
620
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
621
|
+
|
622
|
+
$modal-lg: 900px !default;
|
623
|
+
$modal-md: 600px !default;
|
624
|
+
$modal-sm: 300px !default;
|
625
|
+
|
626
|
+
|
627
|
+
//== Alerts
|
628
|
+
//
|
629
|
+
//## Define alert colors, border radius, and padding.
|
630
|
+
|
631
|
+
$alert-padding: 15px !default;
|
632
|
+
$alert-border-radius: $border-radius-base !default;
|
633
|
+
$alert-link-font-weight: bold !default;
|
634
|
+
|
635
|
+
$alert-success-bg: $state-success-bg !default;
|
636
|
+
$alert-success-text: $state-success-text !default;
|
637
|
+
$alert-success-border: $state-success-border !default;
|
638
|
+
|
639
|
+
$alert-info-bg: $state-info-bg !default;
|
640
|
+
$alert-info-text: $state-info-text !default;
|
641
|
+
$alert-info-border: $state-info-border !default;
|
642
|
+
|
643
|
+
$alert-warning-bg: $state-warning-bg !default;
|
644
|
+
$alert-warning-text: $state-warning-text !default;
|
645
|
+
$alert-warning-border: $state-warning-border !default;
|
646
|
+
|
647
|
+
$alert-danger-bg: $state-danger-bg !default;
|
648
|
+
$alert-danger-text: $state-danger-text !default;
|
649
|
+
$alert-danger-border: $state-danger-border !default;
|
650
|
+
|
651
|
+
|
652
|
+
//== Progress bars
|
653
|
+
//
|
654
|
+
//##
|
655
|
+
|
656
|
+
//** Background color of the whole progress component
|
657
|
+
$progress-bg: #f5f5f5 !default;
|
658
|
+
//** Progress bar text color
|
659
|
+
$progress-bar-color: #fff !default;
|
660
|
+
//** Variable for setting rounded corners on progress bar.
|
661
|
+
$progress-border-radius: $border-radius-base !default;
|
662
|
+
|
663
|
+
//** Default progress bar color
|
664
|
+
$progress-bar-bg: $brand-primary !default;
|
665
|
+
//** Success progress bar color
|
666
|
+
$progress-bar-success-bg: $brand-success !default;
|
667
|
+
//** Warning progress bar color
|
668
|
+
$progress-bar-warning-bg: $brand-warning !default;
|
669
|
+
//** Danger progress bar color
|
670
|
+
$progress-bar-danger-bg: $brand-danger !default;
|
671
|
+
//** Info progress bar color
|
672
|
+
$progress-bar-info-bg: $brand-info !default;
|
673
|
+
|
674
|
+
|
675
|
+
//== List group
|
676
|
+
//
|
677
|
+
//##
|
678
|
+
|
679
|
+
//** Background color on `.list-group-item`
|
680
|
+
$list-group-bg: #fff !default;
|
681
|
+
//** `.list-group-item` border color
|
682
|
+
$list-group-border: #ddd !default;
|
683
|
+
//** List group border radius
|
684
|
+
$list-group-border-radius: $border-radius-base !default;
|
685
|
+
|
686
|
+
//** Background color of single list items on hover
|
687
|
+
$list-group-hover-bg: #f5f5f5 !default;
|
688
|
+
//** Text color of active list items
|
689
|
+
$list-group-active-color: $component-active-color !default;
|
690
|
+
//** Background color of active list items
|
691
|
+
$list-group-active-bg: $component-active-bg !default;
|
692
|
+
//** Border color of active list elements
|
693
|
+
$list-group-active-border: $list-group-active-bg !default;
|
694
|
+
//** Text color for content within active list items
|
695
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
696
|
+
|
697
|
+
//** Text color of disabled list items
|
698
|
+
$list-group-disabled-color: $gray-light !default;
|
699
|
+
//** Background color of disabled list items
|
700
|
+
$list-group-disabled-bg: $gray-lighter !default;
|
701
|
+
//** Text color for content within disabled list items
|
702
|
+
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
703
|
+
|
704
|
+
$list-group-link-color: #555 !default;
|
705
|
+
$list-group-link-hover-color: $list-group-link-color !default;
|
706
|
+
$list-group-link-heading-color: #333 !default;
|
707
|
+
|
708
|
+
|
709
|
+
//== Panels
|
710
|
+
//
|
711
|
+
//##
|
712
|
+
|
713
|
+
$panel-bg: #fff !default;
|
714
|
+
$panel-body-padding: 15px !default;
|
715
|
+
$panel-heading-padding: 10px 15px !default;
|
716
|
+
$panel-footer-padding: $panel-heading-padding !default;
|
717
|
+
$panel-border-radius: $border-radius-base !default;
|
718
|
+
|
719
|
+
//** Border color for elements within panels
|
720
|
+
$panel-inner-border: #ddd !default;
|
721
|
+
$panel-footer-bg: #f5f5f5 !default;
|
722
|
+
|
723
|
+
$panel-default-text: $gray-dark !default;
|
724
|
+
$panel-default-border: #ddd !default;
|
725
|
+
$panel-default-heading-bg: #f5f5f5 !default;
|
726
|
+
|
727
|
+
$panel-primary-text: #fff !default;
|
728
|
+
$panel-primary-border: $brand-primary !default;
|
729
|
+
$panel-primary-heading-bg: $brand-primary !default;
|
730
|
+
|
731
|
+
$panel-success-text: $state-success-text !default;
|
732
|
+
$panel-success-border: $state-success-border !default;
|
733
|
+
$panel-success-heading-bg: $state-success-bg !default;
|
734
|
+
|
735
|
+
$panel-info-text: $state-info-text !default;
|
736
|
+
$panel-info-border: $state-info-border !default;
|
737
|
+
$panel-info-heading-bg: $state-info-bg !default;
|
738
|
+
|
739
|
+
$panel-warning-text: $state-warning-text !default;
|
740
|
+
$panel-warning-border: $state-warning-border !default;
|
741
|
+
$panel-warning-heading-bg: $state-warning-bg !default;
|
742
|
+
|
743
|
+
$panel-danger-text: $state-danger-text !default;
|
744
|
+
$panel-danger-border: $state-danger-border !default;
|
745
|
+
$panel-danger-heading-bg: $state-danger-bg !default;
|
746
|
+
|
747
|
+
|
748
|
+
//== Thumbnails
|
749
|
+
//
|
750
|
+
//##
|
751
|
+
|
752
|
+
//** Padding around the thumbnail image
|
753
|
+
$thumbnail-padding: 4px !default;
|
754
|
+
//** Thumbnail background color
|
755
|
+
$thumbnail-bg: $body-bg !default;
|
756
|
+
//** Thumbnail border color
|
757
|
+
$thumbnail-border: #ddd !default;
|
758
|
+
//** Thumbnail border radius
|
759
|
+
$thumbnail-border-radius: $border-radius-base !default;
|
760
|
+
|
761
|
+
//** Custom text color for thumbnail captions
|
762
|
+
$thumbnail-caption-color: $text-color !default;
|
763
|
+
//** Padding around the thumbnail caption
|
764
|
+
$thumbnail-caption-padding: 9px !default;
|
765
|
+
|
766
|
+
|
767
|
+
//== Wells
|
768
|
+
//
|
769
|
+
//##
|
770
|
+
|
771
|
+
$well-bg: #f5f5f5 !default;
|
772
|
+
$well-border: darken($well-bg, 7%) !default;
|
773
|
+
|
774
|
+
|
775
|
+
//== Badges
|
776
|
+
//
|
777
|
+
//##
|
778
|
+
|
779
|
+
$badge-color: #fff !default;
|
780
|
+
//** Linked badge text color on hover
|
781
|
+
$badge-link-hover-color: #fff !default;
|
782
|
+
$badge-bg: $gray-light !default;
|
783
|
+
|
784
|
+
//** Badge text color in active nav link
|
785
|
+
$badge-active-color: $link-color !default;
|
786
|
+
//** Badge background color in active nav link
|
787
|
+
$badge-active-bg: #fff !default;
|
788
|
+
|
789
|
+
$badge-font-weight: bold !default;
|
790
|
+
$badge-line-height: 1 !default;
|
791
|
+
$badge-border-radius: 10px !default;
|
792
|
+
|
793
|
+
|
794
|
+
//== Breadcrumbs
|
795
|
+
//
|
796
|
+
//##
|
797
|
+
|
798
|
+
$breadcrumb-padding-vertical: 8px !default;
|
799
|
+
$breadcrumb-padding-horizontal: 15px !default;
|
800
|
+
//** Breadcrumb background color
|
801
|
+
$breadcrumb-bg: #f5f5f5 !default;
|
802
|
+
//** Breadcrumb text color
|
803
|
+
$breadcrumb-color: #ccc !default;
|
804
|
+
//** Text color of current page in the breadcrumb
|
805
|
+
$breadcrumb-active-color: $gray-light !default;
|
806
|
+
//** Textual separator for between breadcrumb elements
|
807
|
+
$breadcrumb-separator: "/" !default;
|
808
|
+
|
809
|
+
|
810
|
+
//== Carousel
|
811
|
+
//
|
812
|
+
//##
|
813
|
+
|
814
|
+
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
815
|
+
|
816
|
+
$carousel-control-color: #fff !default;
|
817
|
+
$carousel-control-width: 15% !default;
|
818
|
+
$carousel-control-opacity: .5 !default;
|
819
|
+
$carousel-control-font-size: 20px !default;
|
820
|
+
|
821
|
+
$carousel-indicator-active-bg: #fff !default;
|
822
|
+
$carousel-indicator-border-color: #fff !default;
|
823
|
+
|
824
|
+
$carousel-caption-color: #fff !default;
|
825
|
+
|
826
|
+
|
827
|
+
//== Close
|
828
|
+
//
|
829
|
+
//##
|
830
|
+
|
831
|
+
$close-font-weight: bold !default;
|
832
|
+
$close-color: #000 !default;
|
833
|
+
$close-text-shadow: 0 1px 0 #fff !default;
|
834
|
+
|
835
|
+
|
836
|
+
//== Code
|
837
|
+
//
|
838
|
+
//##
|
839
|
+
|
840
|
+
$code-color: #c7254e !default;
|
841
|
+
$code-bg: #f9f2f4 !default;
|
842
|
+
|
843
|
+
$kbd-color: #fff !default;
|
844
|
+
$kbd-bg: #333 !default;
|
845
|
+
|
846
|
+
$pre-bg: #f5f5f5 !default;
|
847
|
+
$pre-color: $gray-dark !default;
|
848
|
+
$pre-border-color: #ccc !default;
|
849
|
+
$pre-scrollable-max-height: 340px !default;
|
850
|
+
|
851
|
+
|
852
|
+
//== Type
|
853
|
+
//
|
854
|
+
//##
|
855
|
+
|
856
|
+
//** Horizontal offset for forms and lists.
|
857
|
+
$component-offset-horizontal: 180px !default;
|
858
|
+
//** Text muted color
|
859
|
+
$text-muted: $gray-light !default;
|
860
|
+
//** Abbreviations and acronyms border color
|
861
|
+
$abbr-border-color: $gray-light !default;
|
862
|
+
//** Headings small color
|
863
|
+
$headings-small-color: $gray-light !default;
|
864
|
+
//** Blockquote small color
|
865
|
+
$blockquote-small-color: $gray-light !default;
|
866
|
+
//** Blockquote font size
|
867
|
+
$blockquote-font-size: $font-size-base !default;
|
868
|
+
//** Blockquote border color
|
869
|
+
$blockquote-border-color: $gray-lighter !default;
|
870
|
+
//** Page header border color
|
871
|
+
$page-header-border-color: $gray-lighter !default;
|
872
|
+
//** Width of horizontal description list titles
|
873
|
+
$dl-horizontal-offset: $component-offset-horizontal !default;
|
874
|
+
//** Point at which .dl-horizontal becomes horizontal
|
875
|
+
$dl-horizontal-breakpoint: $grid-float-breakpoint !default;
|
876
|
+
//** Horizontal line color.
|
877
|
+
$hr-border: $gray-lighter !default;
|