bootswitch 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/.travis.yml +5 -0
- data/Gemfile +19 -0
- data/LICENSE.txt +177 -0
- data/README.rdoc +38 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss +136 -0
- data/app/assets/stylesheets/bootswatch/amelia/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/amelia/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss +159 -0
- data/app/assets/stylesheets/bootswatch/cerulean/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cerulean/variables.css.scss +621 -0
- data/app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss +138 -0
- data/app/assets/stylesheets/bootswatch/cosmo/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cosmo/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss +22 -0
- data/app/assets/stylesheets/bootswatch/custom/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/custom/variables.css.scss +620 -0
- data/app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss +141 -0
- data/app/assets/stylesheets/bootswatch/cyborg/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cyborg/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss +234 -0
- data/app/assets/stylesheets/bootswatch/darkly/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/darkly/variables.css.scss +831 -0
- data/app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss +177 -0
- data/app/assets/stylesheets/bootswatch/flatly/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/flatly/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/global/build.css.scss +3 -0
- data/app/assets/stylesheets/bootswatch/global/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss +96 -0
- data/app/assets/stylesheets/bootswatch/journal/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/journal/variables.css.scss +622 -0
- data/app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss +83 -0
- data/app/assets/stylesheets/bootswatch/readable/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/readable/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss +127 -0
- data/app/assets/stylesheets/bootswatch/simplex/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/simplex/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss +328 -0
- data/app/assets/stylesheets/bootswatch/slate/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/slate/variables.css.scss +622 -0
- data/app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss +115 -0
- data/app/assets/stylesheets/bootswatch/spacelab/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/spacelab/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss +250 -0
- data/app/assets/stylesheets/bootswatch/superhero/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/superhero/variables.css.scss +833 -0
- data/app/assets/stylesheets/bootswatch/united/bootswatch.css.scss +31 -0
- data/app/assets/stylesheets/bootswatch/united/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/united/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss +408 -0
- data/app/assets/stylesheets/bootswatch/yeti/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/yeti/variables.css.scss +831 -0
- data/app/controllers/bootswitch_controller.rb +2 -0
- data/app/controllers/theme_controller.rb +17 -0
- data/app/helpers/theme_helper.rb +9 -0
- data/app/views/theme/_stylesheet_link_tag.html.haml +1 -0
- data/bootswitch.gemspec +156 -0
- data/config/routes.rb +4 -0
- data/lib/bootswitch/configuration.rb +20 -0
- data/lib/bootswitch/engine.rb +5 -0
- data/lib/bootswitch/railtie.rb +4 -0
- data/lib/bootswitch/version.rb +7 -0
- data/lib/bootswitch.rb +11 -0
- data/lib/generators/bootswitch/install/install_generator.rb +23 -0
- data/lib/generators/bootswitch/install/templates/initializer.rb +4 -0
- data/lib/generators/bootswitch/utils.rb +16 -0
- data/script/rails +6 -0
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +14 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +5 -0
- data/spec/dummy/config/application.rb +27 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +23 -0
- data/spec/dummy/config/environments/test.rb +17 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/bootswitch.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/routes.rb +53 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/index.html +101 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/helpers/theme_helper_spec.rb +14 -0
- data/spec/spec_helper.rb +18 -0
- metadata +243 -0
@@ -0,0 +1,177 @@
|
|
1
|
+
// Flatly 3.0.0
|
2
|
+
// Bootswatch
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
@import url($web-font);
|
6
|
+
|
7
|
+
// Navbar =====================================================================
|
8
|
+
|
9
|
+
// Buttons ====================================================================
|
10
|
+
|
11
|
+
.btn:active {
|
12
|
+
@include box-shadow(none);
|
13
|
+
}
|
14
|
+
|
15
|
+
.btn-group.open .dropdown-toggle {
|
16
|
+
@include box-shadow(none);
|
17
|
+
}
|
18
|
+
|
19
|
+
// Typography =================================================================
|
20
|
+
|
21
|
+
.text-primary {
|
22
|
+
color: $brand-primary;
|
23
|
+
}
|
24
|
+
|
25
|
+
.text-success {
|
26
|
+
color: $brand-success;
|
27
|
+
}
|
28
|
+
|
29
|
+
.text-danger {
|
30
|
+
color: $brand-danger;
|
31
|
+
}
|
32
|
+
|
33
|
+
.text-warning {
|
34
|
+
color: $brand-warning;
|
35
|
+
}
|
36
|
+
|
37
|
+
.text-info {
|
38
|
+
color: $brand-info;
|
39
|
+
}
|
40
|
+
|
41
|
+
// Tables =====================================================================
|
42
|
+
|
43
|
+
.table {
|
44
|
+
|
45
|
+
tr.success,
|
46
|
+
tr.warning,
|
47
|
+
tr.danger {
|
48
|
+
color: #fff;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// Forms ======================================================================
|
53
|
+
|
54
|
+
.form-control,textarea.form-control,
|
55
|
+
input[type="text"],
|
56
|
+
input[type="password"],
|
57
|
+
input[type="datetime"],
|
58
|
+
input[type="datetime-local"],
|
59
|
+
input[type="date"],
|
60
|
+
input[type="month"],
|
61
|
+
input[type="time"],
|
62
|
+
input[type="week"],
|
63
|
+
input[type="number"],
|
64
|
+
input[type="email"],
|
65
|
+
input[type="url"],
|
66
|
+
input[type="search"],
|
67
|
+
input[type="tel"],
|
68
|
+
input[type="color"],
|
69
|
+
.uneditable-input {
|
70
|
+
border-width: 2px;
|
71
|
+
@include box-shadow(none);
|
72
|
+
|
73
|
+
&:focus {
|
74
|
+
@include box-shadow(none);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.has-warning {
|
79
|
+
.help-block,
|
80
|
+
.control-label {
|
81
|
+
color: $brand-warning;
|
82
|
+
}
|
83
|
+
|
84
|
+
.form-control,
|
85
|
+
.form-control:focus {
|
86
|
+
border: 2px solid $brand-warning;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.has-error {
|
91
|
+
.help-block,
|
92
|
+
.control-label {
|
93
|
+
color: $brand-danger;
|
94
|
+
}
|
95
|
+
|
96
|
+
.form-control,
|
97
|
+
.form-control:focus {
|
98
|
+
border: 2px solid $brand-danger;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.has-success {
|
103
|
+
.help-block,
|
104
|
+
.control-label {
|
105
|
+
color: $brand-success;
|
106
|
+
}
|
107
|
+
|
108
|
+
.form-control,
|
109
|
+
.form-control:focus {
|
110
|
+
border: 2px solid $brand-success;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
// Navs =======================================================================
|
115
|
+
|
116
|
+
.pagination {
|
117
|
+
|
118
|
+
a {
|
119
|
+
color: #fff;
|
120
|
+
|
121
|
+
&:hover {
|
122
|
+
color: $text-color;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.disabled {
|
127
|
+
&>a,
|
128
|
+
&>a:hover,
|
129
|
+
&>a:focus,
|
130
|
+
&>span {
|
131
|
+
background-color: lighten($brand-success, 15%);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.pager {
|
137
|
+
a {
|
138
|
+
color: #fff;
|
139
|
+
&:hover {
|
140
|
+
color: $text-color;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.disabled {
|
145
|
+
&>a,
|
146
|
+
&>a:hover,
|
147
|
+
&>a:focus,
|
148
|
+
&>span {
|
149
|
+
background-color: lighten($brand-success, 15%);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// Indicators =================================================================
|
155
|
+
|
156
|
+
.alert {
|
157
|
+
|
158
|
+
a,
|
159
|
+
.alert-link {
|
160
|
+
color: #fff;
|
161
|
+
text-decoration: underline;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
// Progress bars ==============================================================
|
166
|
+
|
167
|
+
.progress {
|
168
|
+
height: 10px;
|
169
|
+
@include box-shadow(none);
|
170
|
+
}
|
171
|
+
|
172
|
+
// Containers =================================================================
|
173
|
+
|
174
|
+
.well {
|
175
|
+
@include box-shadow(none);
|
176
|
+
border-width: 0;
|
177
|
+
}
|