bootswatch_rails 3.3.7.2 → 3.3.7.3
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 +4 -4
- data/lib/bootswatch_rails/version.rb +1 -1
- data/lib/generators/bootswatch_rails/install/install_generator.rb +54 -5
- data/lib/generators/bootswatch_rails/install/templates/even.html.erb +25 -0
- data/lib/generators/bootswatch_rails/install/templates/sidebar.html.erb +25 -0
- data/lib/generators/bootswatch_rails/install/templates/single.html.erb +22 -0
- data/lib/generators/bootswatch_rails/install/templates/theme.html.erb +22 -0
- data/vendor/assets/stylesheets/paper.css +50 -85
- metadata +7 -6
- data/lib/generators/bootswatch_rails/install/templates/app/views/layouts/_sidebar.html.erb +0 -1
- data/lib/generators/bootswatch_rails/install/templates/app/views/layouts/application.html.erb +0 -22
- data/lib/generators/bootswatch_rails/install/templates/application.js +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6477104b44dc5aa18a5983fcc1fbbe0dbd4628e
|
4
|
+
data.tar.gz: 31ef513c9c95c2fbf7d7fd9e9bede5d2c0b5c93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8607783eab538f7decf44868980d4f93235a0666463a0fc20707076bfe742f008585d2285406d942caaff672f6a8b0cdf5f3d15e579aa530e0eb688bf68ed1aa
|
7
|
+
data.tar.gz: 14cf4ead90c0c16c9123dfbc89c74317268b1b9f48ec5969806c9df1687f144042f57c65c93b53d4af628ef8f0578073fd3733d64cdfe9fec316448d00458db1
|
@@ -4,7 +4,7 @@ module BootswatchRails
|
|
4
4
|
FONT_AWESOME = "4.6.2"
|
5
5
|
DATATABLES = "1.10.12"
|
6
6
|
RESPONSIVE = "2.1.0"
|
7
|
-
VERSION = "3.3.7.
|
7
|
+
VERSION = "3.3.7.3"
|
8
8
|
|
9
9
|
THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
|
10
10
|
DEFAULT = 0
|
@@ -11,12 +11,18 @@ module BootswatchRails
|
|
11
11
|
class_option :cdn, type: :string, default: 'none',
|
12
12
|
banner: 'none, google, microsoft, jquery or yandex',
|
13
13
|
desc: 'Use CDN (requires jquery[-ui]-rails-cdn gems)'
|
14
|
+
class_option :devise, type: :boolean, default: false,
|
15
|
+
desc: 'Call user_signed_in? instead of logged_in?'
|
16
|
+
class_option :layout, type: :string, default: 'single',
|
17
|
+
banner: 'single, sidebar or even',
|
18
|
+
desc: 'Setup application layout (default single=12-col)'
|
14
19
|
source_root File.expand_path("../templates", __FILE__)
|
15
20
|
|
16
21
|
def update_application_controller
|
17
22
|
file = "app/controllers/application_controller.rb"
|
18
23
|
inject_into_file file, "\n\n private", after: /protect_from_forgery.*$/
|
19
24
|
|
25
|
+
xline = " ?@current_theme = current_user.theme if #{auth_check}"
|
20
26
|
lines = [
|
21
27
|
"",
|
22
28
|
" def default_theme",
|
@@ -25,7 +31,8 @@ module BootswatchRails
|
|
25
31
|
" helper_method :default_theme",
|
26
32
|
"",
|
27
33
|
" def current_theme",
|
28
|
-
"
|
34
|
+
" !@current_theme = current_user.theme if #{auth_check}",
|
35
|
+
xline,
|
29
36
|
" @current_theme ||= default_theme",
|
30
37
|
" end",
|
31
38
|
" helper_method :current_theme",
|
@@ -34,14 +41,43 @@ module BootswatchRails
|
|
34
41
|
inject_into_file file, lines.join("\n"), before: /^end$/
|
35
42
|
end
|
36
43
|
|
37
|
-
def
|
44
|
+
def update_application_js
|
38
45
|
file = "app/assets/javascripts/application.js"
|
39
|
-
|
40
|
-
|
46
|
+
unless options.turbolinks?
|
47
|
+
gsub_file file, /\/\/= require turbolinks\n/, ''
|
48
|
+
end
|
49
|
+
if options.cdn == "none"
|
50
|
+
inject_into_file file, after: /require jquery_ujs$/ do
|
51
|
+
"\n//= require bootstrap"
|
52
|
+
end
|
53
|
+
if options.ui?
|
54
|
+
inject_into_file file, after: /require jquery$/ do
|
55
|
+
"\n//= require jquery-ui"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
if options.dt?
|
59
|
+
inject_into_file file, before: /^\/\/= require_tree.*$/ do
|
60
|
+
"//= require jquery.dataTables\n" +
|
61
|
+
"//= require dataTables.responsive\n"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def update_application_css
|
68
|
+
if options.cdn == "none"
|
69
|
+
file = "app/assets/stylesheets/application.css"
|
70
|
+
if options.dt?
|
71
|
+
inject_into_file file, before: /^.*require_self$/ do
|
72
|
+
" *= jquery.dataTables\n" +
|
73
|
+
" *= responsive.dataTables\n"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
41
77
|
end
|
42
78
|
|
43
79
|
def setup_assets_precompile
|
44
|
-
return
|
80
|
+
return if options.cdn == "none"
|
45
81
|
initializer "bootswatch_assets.rb" do
|
46
82
|
assets = "jquery.js"
|
47
83
|
assets += " jquery-ui.js" if options.ui?
|
@@ -61,11 +97,24 @@ module BootswatchRails
|
|
61
97
|
template "head.html.erb", "app/views/layouts/_head.html.erb"
|
62
98
|
end
|
63
99
|
|
100
|
+
def setup_layout
|
101
|
+
file = "app/views/layouts/application.html.erb"
|
102
|
+
remove_file file
|
103
|
+
template "#{options.layout}.html.erb", file
|
104
|
+
template "theme.html.erb", "app/views/layouts/_theme.html.erb"
|
105
|
+
end
|
106
|
+
|
64
107
|
protected
|
65
108
|
|
109
|
+
def auth_check
|
110
|
+
options.devise? ? "user_signed_in?" : "logged_in?"
|
111
|
+
end
|
112
|
+
|
66
113
|
def turbolinks
|
67
114
|
options.turbolinks? ? ", 'data-turbolinks-track' => true" : ""
|
68
115
|
end
|
69
116
|
end
|
70
117
|
end
|
71
118
|
end
|
119
|
+
|
120
|
+
# vim: set expandtab softtabstop=2 shiftwidth=2 autoindent :
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="de">
|
3
|
+
<%%= render 'layouts/head' %>
|
4
|
+
|
5
|
+
<body>
|
6
|
+
<%%= render 'layouts/topnav' %>
|
7
|
+
<%%= render 'layouts/theme' %>
|
8
|
+
|
9
|
+
<div class="container" id="main-content">
|
10
|
+
<div class="row">
|
11
|
+
<div class="col-md-6">
|
12
|
+
<%%= render 'layouts/flash' %>
|
13
|
+
<%%= yield %>
|
14
|
+
</div>
|
15
|
+
<div class="col-md-6">
|
16
|
+
<%%= render 'right' %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<%%= render 'layouts/footer' %>
|
22
|
+
</body>
|
23
|
+
</html>
|
24
|
+
|
25
|
+
<%%-# vim: set expandtab softtabstop=2 shiftwidth=2 autoindent : -%>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="de">
|
3
|
+
<%%= render 'layouts/head' %>
|
4
|
+
|
5
|
+
<body>
|
6
|
+
<%%= render 'layouts/topnav' %>
|
7
|
+
<%%= render 'layouts/theme' %>
|
8
|
+
|
9
|
+
<div class="container" id="main-content">
|
10
|
+
<div class="row">
|
11
|
+
<div class="col-md-9">
|
12
|
+
<%%= render 'layouts/flash' %>
|
13
|
+
<%%= yield %>
|
14
|
+
</div>
|
15
|
+
<div class="col-md-3 well">
|
16
|
+
<%%= render 'layouts/sidebar' %>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<%%= render 'layouts/footer' %>
|
22
|
+
</body>
|
23
|
+
</html>
|
24
|
+
|
25
|
+
<%%-# vim: set expandtab softtabstop=2 shiftwidth=2 autoindent : -%>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="de">
|
3
|
+
<%%= render 'layouts/head' %>
|
4
|
+
|
5
|
+
<body>
|
6
|
+
<%%= render 'layouts/topnav' %>
|
7
|
+
<%%= render 'layouts/theme' %>
|
8
|
+
|
9
|
+
<div class="container" id="main-content">
|
10
|
+
<div class="row">
|
11
|
+
<div class="col-lg-12">
|
12
|
+
<%%= render 'layouts/flash' %>
|
13
|
+
<%%= yield %>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<%%= render 'layouts/footer' %>
|
19
|
+
</body>
|
20
|
+
</html>
|
21
|
+
|
22
|
+
<%%-# vim: set expandtab softtabstop=2 shiftwidth=2 autoindent : -%>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<%%- if <%= auth_check %> -%>
|
2
|
+
<div id='modalTheme' class='modal fade' role='dialog'>
|
3
|
+
<div class='modal-dialog'>
|
4
|
+
<div class='modal-content'>
|
5
|
+
<div class='modal-header'>
|
6
|
+
<button type='button' class='close' data-dismiss='modal'>×</button>
|
7
|
+
<h4 class='modal-title'><%%= t('activerecord.attributes.user.theme') %></h4>
|
8
|
+
</div>
|
9
|
+
<div class='modal-body theme-list'>
|
10
|
+
<%%- BootswatchRails::THEMES.each do |theme| -%>
|
11
|
+
<%%= link_to theme.to_s, user_path(current_user, theme: theme), class: 'theme-link' %>
|
12
|
+
<%%- end -%>
|
13
|
+
</div>
|
14
|
+
<div class='modal-footer'>
|
15
|
+
<button type='button' class='btn btn-default' data-dismiss='modal'><%%= t('misc.close') %></button>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
<%%- end -%>
|
21
|
+
|
22
|
+
<%%-# vim: set expandtab softtabstop=2 shiftwidth=2 autoindent : -%>
|
@@ -6786,11 +6786,6 @@ button.close {
|
|
6786
6786
|
-webkit-box-shadow: inset 0 -2px 0 #ffffff;
|
6787
6787
|
box-shadow: inset 0 -2px 0 #ffffff;
|
6788
6788
|
}
|
6789
|
-
.btn-default {
|
6790
|
-
-webkit-background-size: 200% 200%;
|
6791
|
-
background-size: 200% 200%;
|
6792
|
-
background-position: 50%;
|
6793
|
-
}
|
6794
6789
|
.btn-default:focus {
|
6795
6790
|
background-color: #ffffff;
|
6796
6791
|
}
|
@@ -6799,21 +6794,9 @@ button.close {
|
|
6799
6794
|
background-color: #f0f0f0;
|
6800
6795
|
}
|
6801
6796
|
.btn-default:active {
|
6802
|
-
background-color: #e0e0e0;
|
6803
|
-
background-image: -webkit-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6804
|
-
background-image: -o-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6805
|
-
background-image: radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6806
|
-
background-repeat: no-repeat;
|
6807
|
-
-webkit-background-size: 1000% 1000%;
|
6808
|
-
background-size: 1000% 1000%;
|
6809
6797
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6810
6798
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6811
6799
|
}
|
6812
|
-
.btn-primary {
|
6813
|
-
-webkit-background-size: 200% 200%;
|
6814
|
-
background-size: 200% 200%;
|
6815
|
-
background-position: 50%;
|
6816
|
-
}
|
6817
6800
|
.btn-primary:focus {
|
6818
6801
|
background-color: #2196f3;
|
6819
6802
|
}
|
@@ -6822,21 +6805,9 @@ button.close {
|
|
6822
6805
|
background-color: #0d87e9;
|
6823
6806
|
}
|
6824
6807
|
.btn-primary:active {
|
6825
|
-
background-color: #0b76cc;
|
6826
|
-
background-image: -webkit-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);
|
6827
|
-
background-image: -o-radial-gradient(circle, #0b76cc 10%, #2196f3 11%);
|
6828
|
-
background-image: radial-gradient(circle, #0b76cc 10%, #2196f3 11%);
|
6829
|
-
background-repeat: no-repeat;
|
6830
|
-
-webkit-background-size: 1000% 1000%;
|
6831
|
-
background-size: 1000% 1000%;
|
6832
6808
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6833
6809
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6834
6810
|
}
|
6835
|
-
.btn-success {
|
6836
|
-
-webkit-background-size: 200% 200%;
|
6837
|
-
background-size: 200% 200%;
|
6838
|
-
background-position: 50%;
|
6839
|
-
}
|
6840
6811
|
.btn-success:focus {
|
6841
6812
|
background-color: #4caf50;
|
6842
6813
|
}
|
@@ -6845,21 +6816,9 @@ button.close {
|
|
6845
6816
|
background-color: #439a46;
|
6846
6817
|
}
|
6847
6818
|
.btn-success:active {
|
6848
|
-
background-color: #39843c;
|
6849
|
-
background-image: -webkit-radial-gradient(circle, #39843c 10%, #4caf50 11%);
|
6850
|
-
background-image: -o-radial-gradient(circle, #39843c 10%, #4caf50 11%);
|
6851
|
-
background-image: radial-gradient(circle, #39843c 10%, #4caf50 11%);
|
6852
|
-
background-repeat: no-repeat;
|
6853
|
-
-webkit-background-size: 1000% 1000%;
|
6854
|
-
background-size: 1000% 1000%;
|
6855
6819
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6856
6820
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6857
6821
|
}
|
6858
|
-
.btn-info {
|
6859
|
-
-webkit-background-size: 200% 200%;
|
6860
|
-
background-size: 200% 200%;
|
6861
|
-
background-position: 50%;
|
6862
|
-
}
|
6863
6822
|
.btn-info:focus {
|
6864
6823
|
background-color: #9c27b0;
|
6865
6824
|
}
|
@@ -6868,21 +6827,9 @@ button.close {
|
|
6868
6827
|
background-color: #862197;
|
6869
6828
|
}
|
6870
6829
|
.btn-info:active {
|
6871
|
-
background-color: #701c7e;
|
6872
|
-
background-image: -webkit-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);
|
6873
|
-
background-image: -o-radial-gradient(circle, #701c7e 10%, #9c27b0 11%);
|
6874
|
-
background-image: radial-gradient(circle, #701c7e 10%, #9c27b0 11%);
|
6875
|
-
background-repeat: no-repeat;
|
6876
|
-
-webkit-background-size: 1000% 1000%;
|
6877
|
-
background-size: 1000% 1000%;
|
6878
6830
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6879
6831
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6880
6832
|
}
|
6881
|
-
.btn-warning {
|
6882
|
-
-webkit-background-size: 200% 200%;
|
6883
|
-
background-size: 200% 200%;
|
6884
|
-
background-position: 50%;
|
6885
|
-
}
|
6886
6833
|
.btn-warning:focus {
|
6887
6834
|
background-color: #ff9800;
|
6888
6835
|
}
|
@@ -6891,21 +6838,9 @@ button.close {
|
|
6891
6838
|
background-color: #e08600;
|
6892
6839
|
}
|
6893
6840
|
.btn-warning:active {
|
6894
|
-
background-color: #c27400;
|
6895
|
-
background-image: -webkit-radial-gradient(circle, #c27400 10%, #ff9800 11%);
|
6896
|
-
background-image: -o-radial-gradient(circle, #c27400 10%, #ff9800 11%);
|
6897
|
-
background-image: radial-gradient(circle, #c27400 10%, #ff9800 11%);
|
6898
|
-
background-repeat: no-repeat;
|
6899
|
-
-webkit-background-size: 1000% 1000%;
|
6900
|
-
background-size: 1000% 1000%;
|
6901
6841
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6902
6842
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6903
6843
|
}
|
6904
|
-
.btn-danger {
|
6905
|
-
-webkit-background-size: 200% 200%;
|
6906
|
-
background-size: 200% 200%;
|
6907
|
-
background-position: 50%;
|
6908
|
-
}
|
6909
6844
|
.btn-danger:focus {
|
6910
6845
|
background-color: #e51c23;
|
6911
6846
|
}
|
@@ -6914,21 +6849,9 @@ button.close {
|
|
6914
6849
|
background-color: #cb171e;
|
6915
6850
|
}
|
6916
6851
|
.btn-danger:active {
|
6917
|
-
background-color: #b0141a;
|
6918
|
-
background-image: -webkit-radial-gradient(circle, #b0141a 10%, #e51c23 11%);
|
6919
|
-
background-image: -o-radial-gradient(circle, #b0141a 10%, #e51c23 11%);
|
6920
|
-
background-image: radial-gradient(circle, #b0141a 10%, #e51c23 11%);
|
6921
|
-
background-repeat: no-repeat;
|
6922
|
-
-webkit-background-size: 1000% 1000%;
|
6923
|
-
background-size: 1000% 1000%;
|
6924
6852
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6925
6853
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6926
6854
|
}
|
6927
|
-
.btn-link {
|
6928
|
-
-webkit-background-size: 200% 200%;
|
6929
|
-
background-size: 200% 200%;
|
6930
|
-
background-position: 50%;
|
6931
|
-
}
|
6932
6855
|
.btn-link:focus {
|
6933
6856
|
background-color: #ffffff;
|
6934
6857
|
}
|
@@ -6937,13 +6860,6 @@ button.close {
|
|
6937
6860
|
background-color: #f0f0f0;
|
6938
6861
|
}
|
6939
6862
|
.btn-link:active {
|
6940
|
-
background-color: #e0e0e0;
|
6941
|
-
background-image: -webkit-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6942
|
-
background-image: -o-radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6943
|
-
background-image: radial-gradient(circle, #e0e0e0 10%, #ffffff 11%);
|
6944
|
-
background-repeat: no-repeat;
|
6945
|
-
-webkit-background-size: 1000% 1000%;
|
6946
|
-
background-size: 1000% 1000%;
|
6947
6863
|
-webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6948
6864
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
|
6949
6865
|
}
|
@@ -6955,6 +6871,36 @@ button.close {
|
|
6955
6871
|
-webkit-transition: all 0.4s;
|
6956
6872
|
-o-transition: all 0.4s;
|
6957
6873
|
transition: all 0.4s;
|
6874
|
+
position: relative;
|
6875
|
+
}
|
6876
|
+
.btn:after {
|
6877
|
+
content: "";
|
6878
|
+
display: block;
|
6879
|
+
position: absolute;
|
6880
|
+
width: 100%;
|
6881
|
+
height: 100%;
|
6882
|
+
top: 0;
|
6883
|
+
left: 0;
|
6884
|
+
background-image: -webkit-radial-gradient(circle, #000000 10%, transparent 10.01%);
|
6885
|
+
background-image: -o-radial-gradient(circle, #000000 10%, transparent 10.01%);
|
6886
|
+
background-image: radial-gradient(circle, #000000 10%, transparent 10.01%);
|
6887
|
+
background-repeat: no-repeat;
|
6888
|
+
-webkit-background-size: 1000% 1000%;
|
6889
|
+
background-size: 1000% 1000%;
|
6890
|
+
background-position: 50%;
|
6891
|
+
opacity: 0;
|
6892
|
+
pointer-events: none;
|
6893
|
+
-webkit-transition: background .5s, opacity 1s;
|
6894
|
+
-o-transition: background .5s, opacity 1s;
|
6895
|
+
transition: background .5s, opacity 1s;
|
6896
|
+
}
|
6897
|
+
.btn:active:after {
|
6898
|
+
-webkit-background-size: 0% 0%;
|
6899
|
+
background-size: 0% 0%;
|
6900
|
+
opacity: .2;
|
6901
|
+
-webkit-transition: 0s;
|
6902
|
+
-o-transition: 0s;
|
6903
|
+
transition: 0s;
|
6958
6904
|
}
|
6959
6905
|
.btn-link {
|
6960
6906
|
border-radius: 3px;
|
@@ -6969,11 +6915,30 @@ button.close {
|
|
6969
6915
|
color: #444444;
|
6970
6916
|
text-decoration: none;
|
6971
6917
|
}
|
6972
|
-
.btn-
|
6918
|
+
.btn-link .disabled:hover,
|
6919
|
+
.btn-link[disabled]:hover,
|
6920
|
+
fieldset[disabled] .btn-link:hover,
|
6921
|
+
.btn-link .disabled:active:hover,
|
6922
|
+
.btn-link[disabled]:active:hover,
|
6923
|
+
fieldset[disabled] .btn-link:active:hover {
|
6924
|
+
background-color: #fff;
|
6925
|
+
color: #444444;
|
6926
|
+
}
|
6927
|
+
.btn-default.disabled,
|
6928
|
+
.btn-default[disabled],
|
6929
|
+
fieldset[disabled] .btn-default {
|
6973
6930
|
background-color: rgba(0, 0, 0, 0.1);
|
6974
6931
|
color: rgba(0, 0, 0, 0.4);
|
6975
6932
|
opacity: 1;
|
6976
6933
|
}
|
6934
|
+
.btn-default.disabled:hover,
|
6935
|
+
.btn-default[disabled]:hover,
|
6936
|
+
fieldset[disabled] .btn-default:hover,
|
6937
|
+
.btn-default.disabled:focus,
|
6938
|
+
.btn-default[disabled]:focus,
|
6939
|
+
fieldset[disabled] .btn-default:focus {
|
6940
|
+
background-color: rgba(0, 0, 0, 0.1);
|
6941
|
+
}
|
6977
6942
|
.btn-group .btn + .btn,
|
6978
6943
|
.btn-group .btn + .btn-group,
|
6979
6944
|
.btn-group .btn-group + .btn,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootswatch_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.7.
|
4
|
+
version: 3.3.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volker Wiegand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -124,21 +124,22 @@ files:
|
|
124
124
|
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/_footer.html.erb
|
125
125
|
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/_navbar_left.html.erb
|
126
126
|
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/_navbar_right.html.erb
|
127
|
-
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/_sidebar.html.erb
|
128
127
|
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/_topnav.html.erb
|
129
|
-
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/application.html.erb
|
130
128
|
- lib/generators/bootswatch_rails/install/templates/app/views/layouts/centered.html.erb
|
131
|
-
- lib/generators/bootswatch_rails/install/templates/application.js
|
132
129
|
- lib/generators/bootswatch_rails/install/templates/config/initializers/simple_form_horizontal.rb
|
133
130
|
- lib/generators/bootswatch_rails/install/templates/config/locales/scaffold.de.yml
|
134
131
|
- lib/generators/bootswatch_rails/install/templates/config/locales/scaffold.en.yml
|
135
132
|
- lib/generators/bootswatch_rails/install/templates/config/locales/simple_form.de.yml
|
133
|
+
- lib/generators/bootswatch_rails/install/templates/even.html.erb
|
136
134
|
- lib/generators/bootswatch_rails/install/templates/head.html.erb
|
137
135
|
- lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/_form.html.erb
|
138
136
|
- lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/edit.html.erb
|
139
137
|
- lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/index.html.erb
|
140
138
|
- lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/new.html.erb
|
141
139
|
- lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/show.html.erb
|
140
|
+
- lib/generators/bootswatch_rails/install/templates/sidebar.html.erb
|
141
|
+
- lib/generators/bootswatch_rails/install/templates/single.html.erb
|
142
|
+
- lib/generators/bootswatch_rails/install/templates/theme.html.erb
|
142
143
|
- lib/generators/bootswatch_rails/skip_login/skip_login_generator.rb
|
143
144
|
- lib/generators/bootswatch_rails/sorcery/sorcery_generator.rb
|
144
145
|
- lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
|
@@ -222,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
223
|
version: '0'
|
223
224
|
requirements: []
|
224
225
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.6.
|
226
|
+
rubygems_version: 2.6.8
|
226
227
|
signing_key:
|
227
228
|
specification_version: 4
|
228
229
|
summary: Add bootswatch.com themes to the Rails asset pipeline
|
@@ -1 +0,0 @@
|
|
1
|
-
<h4>Sidebar</h4>
|
data/lib/generators/bootswatch_rails/install/templates/app/views/layouts/application.html.erb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="de">
|
3
|
-
<%= render 'layouts/head' %>
|
4
|
-
|
5
|
-
<body>
|
6
|
-
<%= render 'layouts/topnav' %>
|
7
|
-
|
8
|
-
<div class="container" id="main-content">
|
9
|
-
<div class="row">
|
10
|
-
<div class="col-md-9">
|
11
|
-
<%= render 'layouts/flash' %>
|
12
|
-
<%= yield %>
|
13
|
-
</div>
|
14
|
-
<div class="col-md-3 well">
|
15
|
-
<%= render 'layouts/sidebar' %>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<%= render 'layouts/footer' %>
|
21
|
-
</body>
|
22
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
<%- if options.cdn == "none" -%>
|
14
|
-
//= require jquery
|
15
|
-
<%- if options.ui? -%>
|
16
|
-
//= require jquery-ui
|
17
|
-
<%- end -%>
|
18
|
-
<%- if options.dt? -%>
|
19
|
-
//= require jquery.dataTables
|
20
|
-
//= require dataTables.responsive
|
21
|
-
<%- end -%>
|
22
|
-
<%- end -%>
|
23
|
-
//= require jquery_ujs
|
24
|
-
<%- if options.cdn == "none" -%>
|
25
|
-
//= require bootstrap
|
26
|
-
<%- end -%>
|
27
|
-
//= require_tree .
|