beautiful-jekyll-theme 2.3.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,10 +81,10 @@
81
81
  /*
82
82
  Help text
83
83
  ========================================================================== */
84
- .staticman-comments .help-block {
84
+ .staticman-comments .form-text {
85
85
  color: #898c8e;
86
86
  }
87
- .staticman-comments .help-block {
87
+ .staticman-comments .form-text {
88
88
  display: block;
89
89
  margin-bottom: 1em;
90
90
  line-height: 1em;
data/assets/js/main.js CHANGED
@@ -1,6 +1,6 @@
1
- // Dean Attali / Beautiful Jekyll 2016
1
+ // Dean Attali / Beautiful Jekyll 2020
2
2
 
3
- var main = {
3
+ var BeautifulJekyllJS = {
4
4
 
5
5
  bigImgEl : null,
6
6
  numImgs : null,
@@ -10,10 +10,8 @@ var main = {
10
10
  $(window).scroll(function() {
11
11
  if ($(".navbar").offset().top > 50) {
12
12
  $(".navbar").addClass("top-nav-short");
13
- $(".navbar-custom .avatar-container").fadeOut(500);
14
13
  } else {
15
14
  $(".navbar").removeClass("top-nav-short");
16
- $(".navbar-custom .avatar-container").fadeIn(500);
17
15
  }
18
16
  });
19
17
 
@@ -25,116 +23,77 @@ var main = {
25
23
  $(".navbar").removeClass("top-nav-expanded");
26
24
  });
27
25
 
28
- // On mobile, when clicking on a multi-level navbar menu, show the child links
29
- $('#main-navbar').on("click", ".navlinks-parent", function(e) {
30
- var target = e.target;
31
- $.each($(".navlinks-parent"), function(key, value) {
32
- if (value == target) {
33
- $(value).parent().toggleClass("show-children");
34
- } else {
35
- $(value).parent().removeClass("show-children");
36
- }
37
- });
38
- });
39
-
40
- // Ensure nested navbar menus are not longer than the menu header
41
- var menus = $(".navlinks-container");
42
- if (menus.length > 0) {
43
- var navbar = $("#main-navbar ul");
44
- var fakeMenuHtml = "<li class='fake-menu' style='display:none;'><a></a></li>";
45
- navbar.append(fakeMenuHtml);
46
- var fakeMenu = $(".fake-menu");
47
-
48
- $.each(menus, function(i) {
49
- var parent = $(menus[i]).find(".navlinks-parent");
50
- var children = $(menus[i]).find(".navlinks-children a");
51
- var words = [];
52
- $.each(children, function(idx, el) { words = words.concat($(el).text().trim().split(/\s+/)); });
53
- var maxwidth = 0;
54
- $.each(words, function(id, word) {
55
- fakeMenu.html("<a>" + word + "</a>");
56
- var width = fakeMenu.width();
57
- if (width > maxwidth) {
58
- maxwidth = width;
59
- }
60
- });
61
- $(menus[i]).css('min-width', maxwidth + 'px')
62
- });
63
-
64
- fakeMenu.remove();
65
- }
66
-
67
26
  // show the big header image
68
- main.initImgs();
27
+ BeautifulJekyllJS.initImgs();
69
28
  },
70
29
 
71
30
  initImgs : function() {
72
31
  // If the page was large images to randomly select from, choose an image
73
32
  if ($("#header-big-imgs").length > 0) {
74
- main.bigImgEl = $("#header-big-imgs");
75
- main.numImgs = main.bigImgEl.attr("data-num-img");
76
-
77
- // 2fc73a3a967e97599c9763d05e564189
78
- // set an initial image
79
- var imgInfo = main.getImgInfo();
80
- var src = imgInfo.src;
81
- var desc = imgInfo.desc;
82
- main.setImg(src, desc);
83
-
84
- // For better UX, prefetch the next image so that it will already be loaded when we want to show it
85
- var getNextImg = function() {
86
- var imgInfo = main.getImgInfo();
87
- var src = imgInfo.src;
88
- var desc = imgInfo.desc;
89
-
90
- var prefetchImg = new Image();
91
- prefetchImg.src = src;
92
- // if I want to do something once the image is ready: `prefetchImg.onload = function(){}`
93
-
94
- setTimeout(function(){
95
- var img = $("<div></div>").addClass("big-img-transition").css("background-image", 'url(' + src + ')');
96
- $(".intro-header.big-img").prepend(img);
97
- setTimeout(function(){ img.css("opacity", "1"); }, 50);
98
-
99
- // after the animation of fading in the new image is done, prefetch the next one
100
- //img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){
101
- setTimeout(function() {
102
- main.setImg(src, desc);
103
- img.remove();
104
- getNextImg();
105
- }, 1000);
106
- //});
107
- }, 6000);
108
- };
109
-
110
- // If there are multiple images, cycle through them
111
- if (main.numImgs > 1) {
112
- getNextImg();
113
- }
33
+ BeautifulJekyllJS.bigImgEl = $("#header-big-imgs");
34
+ BeautifulJekyllJS.numImgs = BeautifulJekyllJS.bigImgEl.attr("data-num-img");
35
+
36
+ // 2fc73a3a967e97599c9763d05e564189
37
+ // set an initial image
38
+ var imgInfo = BeautifulJekyllJS.getImgInfo();
39
+ var src = imgInfo.src;
40
+ var desc = imgInfo.desc;
41
+ BeautifulJekyllJS.setImg(src, desc);
42
+
43
+ // For better UX, prefetch the next image so that it will already be loaded when we want to show it
44
+ var getNextImg = function() {
45
+ var imgInfo = BeautifulJekyllJS.getImgInfo();
46
+ var src = imgInfo.src;
47
+ var desc = imgInfo.desc;
48
+
49
+ var prefetchImg = new Image();
50
+ prefetchImg.src = src;
51
+ // if I want to do something once the image is ready: `prefetchImg.onload = function(){}`
52
+
53
+ setTimeout(function(){
54
+ var img = $("<div></div>").addClass("big-img-transition").css("background-image", 'url(' + src + ')');
55
+ $(".intro-header.big-img").prepend(img);
56
+ setTimeout(function(){ img.css("opacity", "1"); }, 50);
57
+
58
+ // after the animation of fading in the new image is done, prefetch the next one
59
+ //img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){
60
+ setTimeout(function() {
61
+ BeautifulJekyllJS.setImg(src, desc);
62
+ img.remove();
63
+ getNextImg();
64
+ }, 1000);
65
+ //});
66
+ }, 6000);
67
+ };
68
+
69
+ // If there are multiple images, cycle through them
70
+ if (BeautifulJekyllJS.numImgs > 1) {
71
+ getNextImg();
72
+ }
114
73
  }
115
74
  },
116
75
 
117
76
  getImgInfo : function() {
118
- var randNum = Math.floor((Math.random() * main.numImgs) + 1);
119
- var src = main.bigImgEl.attr("data-img-src-" + randNum);
120
- var desc = main.bigImgEl.attr("data-img-desc-" + randNum);
121
-
122
- return {
123
- src : src,
124
- desc : desc
125
- }
77
+ var randNum = Math.floor((Math.random() * BeautifulJekyllJS.numImgs) + 1);
78
+ var src = BeautifulJekyllJS.bigImgEl.attr("data-img-src-" + randNum);
79
+ var desc = BeautifulJekyllJS.bigImgEl.attr("data-img-desc-" + randNum);
80
+
81
+ return {
82
+ src : src,
83
+ desc : desc
84
+ }
126
85
  },
127
86
 
128
87
  setImg : function(src, desc) {
129
- $(".intro-header.big-img").css("background-image", 'url(' + src + ')');
130
- if (typeof desc !== typeof undefined && desc !== false) {
131
- $(".img-desc").text(desc).show();
132
- } else {
133
- $(".img-desc").hide();
134
- }
88
+ $(".intro-header.big-img").css("background-image", 'url(' + src + ')');
89
+ if (typeof desc !== typeof undefined && desc !== false) {
90
+ $(".img-desc").text(desc).show();
91
+ } else {
92
+ $(".img-desc").hide();
93
+ }
135
94
  }
136
95
  };
137
96
 
138
97
  // 2fc73a3a967e97599c9763d05e564189
139
98
 
140
- document.addEventListener('DOMContentLoaded', main.init);
99
+ document.addEventListener('DOMContentLoaded', BeautifulJekyllJS.init);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beautiful-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Attali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-29 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -120,15 +120,8 @@ files:
120
120
  - _layouts/page.html
121
121
  - _layouts/post.html
122
122
  - assets/css/bootstrap-social.css
123
- - assets/css/bootstrap-theme.css
124
- - assets/css/bootstrap-theme.css.map
125
- - assets/css/bootstrap-theme.min.css
126
- - assets/css/bootstrap.css
127
- - assets/css/bootstrap.css.map
128
- - assets/css/bootstrap.min.css
129
123
  - assets/css/main-minimal.css
130
124
  - assets/css/main.css
131
- - assets/css/normalize.css
132
125
  - assets/css/pygment_highlights.css
133
126
  - assets/css/staticman.css
134
127
  - assets/img/404-southpark.jpg
@@ -137,9 +130,6 @@ files:
137
130
  - assets/img/hello_world.jpeg
138
131
  - assets/img/install-steps.gif
139
132
  - assets/img/path.jpg
140
- - assets/js/bootstrap.js
141
- - assets/js/bootstrap.min.js
142
- - assets/js/jquery-1.11.2.min.js
143
133
  - assets/js/main.js
144
134
  - assets/js/staticman.js
145
135
  - feed.xml
@@ -1,476 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.2 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- .btn-default,
8
- .btn-primary,
9
- .btn-success,
10
- .btn-info,
11
- .btn-warning,
12
- .btn-danger {
13
- text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
14
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
15
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
16
- }
17
- .btn-default:active,
18
- .btn-primary:active,
19
- .btn-success:active,
20
- .btn-info:active,
21
- .btn-warning:active,
22
- .btn-danger:active,
23
- .btn-default.active,
24
- .btn-primary.active,
25
- .btn-success.active,
26
- .btn-info.active,
27
- .btn-warning.active,
28
- .btn-danger.active {
29
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
30
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
31
- }
32
- .btn-default .badge,
33
- .btn-primary .badge,
34
- .btn-success .badge,
35
- .btn-info .badge,
36
- .btn-warning .badge,
37
- .btn-danger .badge {
38
- text-shadow: none;
39
- }
40
- .btn:active,
41
- .btn.active {
42
- background-image: none;
43
- }
44
- .btn-default {
45
- text-shadow: 0 1px 0 #fff;
46
- background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
47
- background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
48
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
49
- background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
50
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
51
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
52
- background-repeat: repeat-x;
53
- border-color: #dbdbdb;
54
- border-color: #ccc;
55
- }
56
- .btn-default:hover,
57
- .btn-default:focus {
58
- background-color: #e0e0e0;
59
- background-position: 0 -15px;
60
- }
61
- .btn-default:active,
62
- .btn-default.active {
63
- background-color: #e0e0e0;
64
- border-color: #dbdbdb;
65
- }
66
- .btn-default.disabled,
67
- .btn-default:disabled,
68
- .btn-default[disabled] {
69
- background-color: #e0e0e0;
70
- background-image: none;
71
- }
72
- .btn-primary {
73
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
74
- background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
75
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
76
- background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
77
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
78
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
79
- background-repeat: repeat-x;
80
- border-color: #245580;
81
- }
82
- .btn-primary:hover,
83
- .btn-primary:focus {
84
- background-color: #265a88;
85
- background-position: 0 -15px;
86
- }
87
- .btn-primary:active,
88
- .btn-primary.active {
89
- background-color: #265a88;
90
- border-color: #245580;
91
- }
92
- .btn-primary.disabled,
93
- .btn-primary:disabled,
94
- .btn-primary[disabled] {
95
- background-color: #265a88;
96
- background-image: none;
97
- }
98
- .btn-success {
99
- background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
100
- background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
101
- background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
102
- background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
103
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
104
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
105
- background-repeat: repeat-x;
106
- border-color: #3e8f3e;
107
- }
108
- .btn-success:hover,
109
- .btn-success:focus {
110
- background-color: #419641;
111
- background-position: 0 -15px;
112
- }
113
- .btn-success:active,
114
- .btn-success.active {
115
- background-color: #419641;
116
- border-color: #3e8f3e;
117
- }
118
- .btn-success.disabled,
119
- .btn-success:disabled,
120
- .btn-success[disabled] {
121
- background-color: #419641;
122
- background-image: none;
123
- }
124
- .btn-info {
125
- background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
126
- background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
127
- background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
128
- background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
129
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
130
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
131
- background-repeat: repeat-x;
132
- border-color: #28a4c9;
133
- }
134
- .btn-info:hover,
135
- .btn-info:focus {
136
- background-color: #2aabd2;
137
- background-position: 0 -15px;
138
- }
139
- .btn-info:active,
140
- .btn-info.active {
141
- background-color: #2aabd2;
142
- border-color: #28a4c9;
143
- }
144
- .btn-info.disabled,
145
- .btn-info:disabled,
146
- .btn-info[disabled] {
147
- background-color: #2aabd2;
148
- background-image: none;
149
- }
150
- .btn-warning {
151
- background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
152
- background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
153
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
154
- background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
155
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
156
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
157
- background-repeat: repeat-x;
158
- border-color: #e38d13;
159
- }
160
- .btn-warning:hover,
161
- .btn-warning:focus {
162
- background-color: #eb9316;
163
- background-position: 0 -15px;
164
- }
165
- .btn-warning:active,
166
- .btn-warning.active {
167
- background-color: #eb9316;
168
- border-color: #e38d13;
169
- }
170
- .btn-warning.disabled,
171
- .btn-warning:disabled,
172
- .btn-warning[disabled] {
173
- background-color: #eb9316;
174
- background-image: none;
175
- }
176
- .btn-danger {
177
- background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
178
- background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
179
- background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
180
- background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
181
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
182
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
183
- background-repeat: repeat-x;
184
- border-color: #b92c28;
185
- }
186
- .btn-danger:hover,
187
- .btn-danger:focus {
188
- background-color: #c12e2a;
189
- background-position: 0 -15px;
190
- }
191
- .btn-danger:active,
192
- .btn-danger.active {
193
- background-color: #c12e2a;
194
- border-color: #b92c28;
195
- }
196
- .btn-danger.disabled,
197
- .btn-danger:disabled,
198
- .btn-danger[disabled] {
199
- background-color: #c12e2a;
200
- background-image: none;
201
- }
202
- .thumbnail,
203
- .img-thumbnail {
204
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
205
- box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
206
- }
207
- .dropdown-menu > li > a:hover,
208
- .dropdown-menu > li > a:focus {
209
- background-color: #e8e8e8;
210
- background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
211
- background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
212
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
213
- background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
214
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
215
- background-repeat: repeat-x;
216
- }
217
- .dropdown-menu > .active > a,
218
- .dropdown-menu > .active > a:hover,
219
- .dropdown-menu > .active > a:focus {
220
- background-color: #2e6da4;
221
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
222
- background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
223
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
224
- background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
225
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
226
- background-repeat: repeat-x;
227
- }
228
- .navbar-default {
229
- background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
230
- background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
231
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
232
- background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
233
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
234
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
235
- background-repeat: repeat-x;
236
- border-radius: 4px;
237
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
238
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
239
- }
240
- .navbar-default .navbar-nav > .open > a,
241
- .navbar-default .navbar-nav > .active > a {
242
- background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
243
- background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
244
- background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
245
- background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
246
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
247
- background-repeat: repeat-x;
248
- -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
249
- box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
250
- }
251
- .navbar-brand,
252
- .navbar-nav > li > a {
253
- text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
254
- }
255
- .navbar-inverse {
256
- background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
257
- background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
258
- background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
259
- background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
260
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
261
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
262
- background-repeat: repeat-x;
263
- }
264
- .navbar-inverse .navbar-nav > .open > a,
265
- .navbar-inverse .navbar-nav > .active > a {
266
- background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
267
- background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
268
- background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
269
- background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
270
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
271
- background-repeat: repeat-x;
272
- -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
273
- box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
274
- }
275
- .navbar-inverse .navbar-brand,
276
- .navbar-inverse .navbar-nav > li > a {
277
- text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
278
- }
279
- .navbar-static-top,
280
- .navbar-fixed-top,
281
- .navbar-fixed-bottom {
282
- border-radius: 0;
283
- }
284
- @media (max-width: 767px) {
285
- .navbar .navbar-nav .open .dropdown-menu > .active > a,
286
- .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
287
- .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
288
- color: #fff;
289
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
290
- background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
291
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
292
- background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
293
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
294
- background-repeat: repeat-x;
295
- }
296
- }
297
- .alert {
298
- text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
299
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
300
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
301
- }
302
- .alert-success {
303
- background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
304
- background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
305
- background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
306
- background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
307
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
308
- background-repeat: repeat-x;
309
- border-color: #b2dba1;
310
- }
311
- .alert-info {
312
- background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
313
- background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
314
- background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
315
- background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
316
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
317
- background-repeat: repeat-x;
318
- border-color: #9acfea;
319
- }
320
- .alert-warning {
321
- background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
322
- background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
323
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
324
- background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
325
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
326
- background-repeat: repeat-x;
327
- border-color: #f5e79e;
328
- }
329
- .alert-danger {
330
- background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
331
- background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
332
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
333
- background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
334
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
335
- background-repeat: repeat-x;
336
- border-color: #dca7a7;
337
- }
338
- .progress {
339
- background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
340
- background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
341
- background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
342
- background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
343
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
344
- background-repeat: repeat-x;
345
- }
346
- .progress-bar {
347
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
348
- background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
349
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
350
- background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
351
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
352
- background-repeat: repeat-x;
353
- }
354
- .progress-bar-success {
355
- background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
356
- background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
357
- background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
358
- background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
359
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
360
- background-repeat: repeat-x;
361
- }
362
- .progress-bar-info {
363
- background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
364
- background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
365
- background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
366
- background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
367
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
368
- background-repeat: repeat-x;
369
- }
370
- .progress-bar-warning {
371
- background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
372
- background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
373
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
374
- background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
375
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
376
- background-repeat: repeat-x;
377
- }
378
- .progress-bar-danger {
379
- background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
380
- background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
381
- background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
382
- background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
383
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
384
- background-repeat: repeat-x;
385
- }
386
- .progress-bar-striped {
387
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
388
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
389
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
390
- }
391
- .list-group {
392
- border-radius: 4px;
393
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
394
- box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
395
- }
396
- .list-group-item.active,
397
- .list-group-item.active:hover,
398
- .list-group-item.active:focus {
399
- text-shadow: 0 -1px 0 #286090;
400
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
401
- background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
402
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
403
- background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
404
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
405
- background-repeat: repeat-x;
406
- border-color: #2b669a;
407
- }
408
- .list-group-item.active .badge,
409
- .list-group-item.active:hover .badge,
410
- .list-group-item.active:focus .badge {
411
- text-shadow: none;
412
- }
413
- .panel {
414
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
415
- box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
416
- }
417
- .panel-default > .panel-heading {
418
- background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
419
- background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
420
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
421
- background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
422
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
423
- background-repeat: repeat-x;
424
- }
425
- .panel-primary > .panel-heading {
426
- background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
427
- background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
428
- background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
429
- background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
430
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
431
- background-repeat: repeat-x;
432
- }
433
- .panel-success > .panel-heading {
434
- background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
435
- background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
436
- background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
437
- background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
438
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
439
- background-repeat: repeat-x;
440
- }
441
- .panel-info > .panel-heading {
442
- background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
443
- background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
444
- background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
445
- background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
446
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
447
- background-repeat: repeat-x;
448
- }
449
- .panel-warning > .panel-heading {
450
- background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
451
- background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
452
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
453
- background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
454
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
455
- background-repeat: repeat-x;
456
- }
457
- .panel-danger > .panel-heading {
458
- background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
459
- background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
460
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
461
- background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
462
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
463
- background-repeat: repeat-x;
464
- }
465
- .well {
466
- background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
467
- background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
468
- background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
469
- background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
470
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
471
- background-repeat: repeat-x;
472
- border-color: #dcdcdc;
473
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
474
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
475
- }
476
- /*# sourceMappingURL=bootstrap-theme.css.map */