bushido_blade 0.0.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b1f22d8337964f3ab7cd5b9917a70920d93fbd1c
4
+ data.tar.gz: ab5ba83ffdbf2f88760d23ac3f430364168208a2
5
+ SHA512:
6
+ metadata.gz: 93354cb4f932c2df133c42727d10c95219e05924014d3ebe5bb1656d534298fd2f09c175f7a458d96cff038e6e18a9f462661e07515c22f07d227c61220505c9
7
+ data.tar.gz: 2effb7dfdf39d7ee83f7cb40f9a4459b6299486d648188a9ea1e58b128993ce6c79257797e141b066608b68df949123a4657be6529d2e6edfea7f7231921e66b
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in bushido_blade.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Wojtek Krysiak
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,45 @@
1
+ # BushidoBlade
2
+
3
+ Flat skin for bushido.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ gem 'bushido_blade'
11
+
12
+ ## Usage
13
+
14
+ inlcude bushido blade css
15
+
16
+ # active_admin.css.scss
17
+
18
+ @import "active_admin/mixins";
19
+ @import "active_admin/base";
20
+ ...
21
+ @import "bushido_blade";
22
+ ...
23
+
24
+ Change logo by setting the `$skinLogo` variable above bushido_blade import line in active_admin.css.scss
25
+
26
+ $skinLogo: url("admin_logo.png") no-repeat 0 0;
27
+
28
+ You can even change basic colors of the theme by placing some other variables:
29
+
30
+ ...
31
+ $skinActiveColor: #001cee;
32
+ $skinHeaderBck: #002744;
33
+ $panelHeaderBck: #002744;
34
+
35
+ @import "active_skin";
36
+ ...
37
+
38
+
39
+ ## Contributing
40
+
41
+ 1. Fork it ( https://github.com/creanetworx/bushido_blade/fork )
42
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
43
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
44
+ 4. Push to the branch (`git push origin my-new-feature`)
45
+ 5. Create new Pull Request
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,384 @@
1
+ @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&subset=latin,latin-ext)
2
+ $skinTextColor: #1e2a33 !default
3
+ $skinTextActiveColor: #fff !default
4
+ $skinTextTable: #7f8c8d !default
5
+ $skinActiveColor: #e73c3c !default
6
+ $skinHeaderBck: #1e2a33 !default
7
+ $panelHeaderBck: #2c3e50 !default
8
+ $skinLogo: #fff image-url("admin_logo.png") no-repeat 30px 50% !default
9
+
10
+ html
11
+ background: #ecf0f1
12
+ font-family: 'Source Sans Pro', sans-serif
13
+
14
+ body.active_admin
15
+ background: #ecf0f1
16
+ font-family: 'Source Sans Pro', sans-serif
17
+ padding-bottom: 80px
18
+
19
+ #header
20
+ background: #ecf0f1
21
+ border: none
22
+ text-shadow: none
23
+ height: 40px
24
+ padding: 0
25
+ h1.site_title
26
+ background-color: #fff
27
+ background: $skinLogo
28
+ padding-left: 130px
29
+ color: $skinTextColor
30
+ text-indent: -999999px
31
+ a, a:link
32
+ color: $skinTextColor
33
+ ul.tabs
34
+ padding: 0
35
+ font-size: 0
36
+ ul.tabs > li:hover > a, ul.tabs > li.current > a
37
+ color: $skinTextActiveColor
38
+ background: $skinActiveColor
39
+ @include rounded(0)
40
+ margin: -10px 0
41
+ ul.tabs > li
42
+ font-size: 12px
43
+ margin: 0
44
+ a
45
+ padding: 13px 20px
46
+ margin: 0
47
+ ul.tabs > li.has_nested a
48
+ background-position: 93% 50%
49
+ ul.tabs > li.has_nested:hover
50
+ a
51
+ @include rounded(0)
52
+ background-color: $skinActiveColor
53
+ border: none
54
+ background-position: 93% 50%
55
+ ul
56
+ background: $skinActiveColor
57
+ @include no-shadow()
58
+ @include rounded(0)
59
+ border: none
60
+ li a
61
+ color: #fff
62
+ &:hover
63
+ color: $skinTextColor
64
+ ul.tabs > li.has_nested.current a
65
+ background-color: $skinActiveColor
66
+ background-position: 93% 50%
67
+ #utility_nav
68
+ background: #fff
69
+ padding: 0
70
+ li#logout a
71
+ font-weight: bold
72
+ text-decoration: underline
73
+ &:hover
74
+ text-decoration: none
75
+ li a
76
+ &:hover
77
+ background: none
78
+ color: $skinTextColor
79
+
80
+ #title_bar
81
+ background: $skinHeaderBck
82
+ text-shadow: none
83
+ border: none
84
+ padding: 15px 30px
85
+ @include no-shadow()
86
+ border-bottom: 4px solid $skinActiveColor
87
+ margin: 0
88
+ h2
89
+ color: #fff
90
+ .action_items a
91
+ @include rounded(0)
92
+ background: $skinActiveColor
93
+ color: #fff
94
+ @include no-shadow()
95
+ text-shadow: none
96
+ border: none
97
+ padding: 17px
98
+ font-size: 14px
99
+ &:hover
100
+ background: lighten( $skinActiveColor, 10% ) !important
101
+
102
+ #active_admin_content
103
+ @include clearfix
104
+ .table_tools
105
+ height: 30px
106
+ a.table_tools_button, .table_tools .dropdown_menu_button
107
+ @include rounded(0)
108
+ @include no-shadow()
109
+ color: $skinTextColor
110
+ background: #fff
111
+ padding: 7px 15px
112
+ font-weight: normal
113
+ text-shadow: none
114
+ .table_tools_segmented_control li
115
+ a
116
+ @include rounded(0)
117
+ @include no-shadow()
118
+ color: $skinTextColor
119
+ background: #fff
120
+ padding: 7px 15px
121
+ font-weight: normal
122
+ text-shadow: none
123
+ border-color: #d3d8dc
124
+ span.count
125
+ color: $skinActiveColor
126
+ &.selected
127
+ a
128
+ color: #fff
129
+ background-color: $skinActiveColor
130
+ span.count
131
+ color: #fff
132
+
133
+ table.index_table
134
+ border: 1px solid #d3d8dc
135
+ background: #fff
136
+ th
137
+ background: #f1f5f6
138
+ border: 1px #d3d8dc
139
+ border-style: none solid solid none
140
+ padding: 7px 10px
141
+ @include no-shadow()
142
+ color: $skinTextColor
143
+ a, a:link, a:visited
144
+ color: $skinTextColor
145
+ &:last-child
146
+ border-right: none
147
+ td
148
+ color: $skinTextTable
149
+ a, a:link, a:visited
150
+ color: $skinTextTable
151
+ display: inline-block
152
+ padding: 2px 3px
153
+ margin: -2px 0
154
+ &:hover
155
+ color: #fff
156
+ background: $skinActiveColor
157
+ tr.even td
158
+ background: #ecf0f1
159
+
160
+
161
+ .download_links
162
+ color: $skinTextTable
163
+ font-size: 12px
164
+ a
165
+ color: $skinActiveColor
166
+ font-weight: bold
167
+ .pagination_information
168
+ font-size: 12px
169
+ color: $skinTextTable
170
+ .pagination
171
+ margin-top: -2px
172
+ a, span.page.current
173
+ font-family: 'Source Sans Pro', sans-serif
174
+ border: 1px solid #d3d8dc
175
+ background: #ecf0f1
176
+ @include no-shadow()
177
+ text-shadow: none
178
+ font-size: 12px
179
+ font-weight: normal
180
+ padding: 4px 6px
181
+ margin-right: 1px
182
+ span.page.current,
183
+ a:not(.disabled):hover
184
+ background: $skinActiveColor
185
+ color: #fff
186
+ span.page.current
187
+ font-weight: 600
188
+ span.page.current:not(.disabled):hover
189
+ background: $skinActiveColor
190
+ .page.gap
191
+ display: none
192
+
193
+
194
+
195
+ .sidebar_section.panel
196
+ background: #fff
197
+ border: 1px solid #d3d8dc
198
+ @include no-shadow()
199
+ @include rounded(0)
200
+ form .buttons
201
+ background: #f1f5f6
202
+ margin: 25px -15px -15px
203
+ padding: 10px 15px
204
+ form fieldset
205
+ margin-bottom: 0
206
+ & > h3
207
+ background: $panelHeaderBck
208
+ color: #fff
209
+ border: none
210
+ margin: 0
211
+ padding: 8px 15px
212
+ @include no-shadow()
213
+ @include rounded(0)
214
+ text-shadow: none
215
+ font-weight: bold
216
+ .filter_form_field
217
+ label
218
+ color: #95a5a6
219
+ font-weight: normal
220
+ font-size: 13px
221
+ text-transform: uppercase
222
+ font-family: 'Source Sans Pro', sans-serif
223
+ padding: 7px 0
224
+
225
+ #footer
226
+ position: fixed
227
+ bottom: 0
228
+ left: 0
229
+ right: 0
230
+ background: #fff
231
+ padding: 15px 30px
232
+ font-size: 13px
233
+ color: $skinTextTable
234
+ border-top: 1px solid #d3d8dc
235
+ p
236
+ margin: 0
237
+ padding: 0
238
+
239
+
240
+ form input[type=submit]
241
+ @include no-shadow()
242
+ @include rounded(0)
243
+ background: $skinActiveColor
244
+ color: #fff
245
+ border: none
246
+ text-shadow: none
247
+ padding: 11px 20px
248
+ &:hover
249
+ background: lighten( $skinActiveColor, 10% ) !important
250
+ form fieldset.buttons li.cancel a,
251
+ form fieldset.actions li.cancel a,
252
+ form.filter_form a.clear_filters_btn
253
+ background: #ecf0f1
254
+ @include no-shadow()
255
+ @include rounded(0)
256
+ text-shadow: none
257
+ padding: 10px 20px
258
+ color: #95a5a6
259
+ &:hover
260
+ background: lighten( #ecf0f1, 5% ) !important
261
+
262
+ form fieldset.inputs
263
+ background: #fff
264
+ border: 1px solid #d3d8dc
265
+ position: relative
266
+ padding-top: 50px
267
+ @include no-shadow()
268
+ @include rounded(0)
269
+ legend
270
+ border-bottom: 1px solid #d3d8dc
271
+ position: absolute
272
+ top: 0
273
+ span
274
+ background: #f0f4f5
275
+ color: $panelHeaderBck
276
+ border: none
277
+ margin: 0
278
+ padding: 8px 15px
279
+ @include no-shadow()
280
+ @include rounded(0)
281
+ text-shadow: none
282
+ font-weight: bold
283
+ ol > li
284
+ label
285
+ padding-top: 7px
286
+ text-transform: uppercase
287
+ &.boolean label
288
+ padding-top: 0px
289
+ margin-bottom: 15px
290
+
291
+ .panel
292
+ background: #fff
293
+ border: 1px solid #d3d8dc
294
+ position: relative
295
+ @include no-shadow()
296
+ @include rounded(0)
297
+ > h3
298
+ background: #f0f4f5
299
+ color: $panelHeaderBck
300
+ padding: 8px 15px
301
+ @include no-shadow()
302
+ @include rounded(0)
303
+ text-shadow: none
304
+ font-weight: bold
305
+ border-style: none none solid
306
+
307
+ .attributes_table table th, .attributes_table table td
308
+ padding: 10px 0
309
+ font-family: 'Source Sans Pro', sans-serif
310
+ color: #95a5a6
311
+ .attributes_table table th
312
+ font-weight: normal
313
+ font-size: 13px
314
+ text-transform: uppercase
315
+
316
+ .comments form.active_admin_comment fieldset.inputs
317
+ border: none
318
+
319
+ html
320
+ height: 100%
321
+ min-height: 100%
322
+ body.logged_out
323
+ height: 100%
324
+ #footer
325
+ display: none
326
+ #content_wrapper
327
+ margin-top: 150px
328
+ #active_admin_content
329
+ padding-bottom: 0
330
+ #login
331
+ form fieldset
332
+ border: none
333
+ > h2
334
+ background: $panelHeaderBck
335
+ font-family: 'Source Sans Pro', sans-serif
336
+ color: #fff
337
+ @include no-shadow()
338
+ @include rounded(0)
339
+ padding: 8px 15px
340
+ fieldset.actions
341
+ background: #f1f5f6
342
+ margin: 0 -30px -17px
343
+ padding: 6px 30px
344
+ a
345
+ margin-top: -25px
346
+
347
+ .flash
348
+ background: #F2ECBF
349
+ position: absolute
350
+ top: 0
351
+ left: 0
352
+ right: 0
353
+ padding: 15px
354
+ border-bottom: 1px solid #DEDE8B
355
+ text-shadow: none
356
+
357
+
358
+ form input[type=text],
359
+ form input[type=password],
360
+ form input[type=email],
361
+ form input[type=number],
362
+ form input[type=url],
363
+ form input[type=tel],
364
+ form textarea
365
+ @include rounded(0)
366
+ font-family: 'Source Sans Pro', sans-serif
367
+ padding: 5px 10px
368
+
369
+ form.filter_form .filter_form_field.filter_date_range input[type=text]
370
+ background-position: 100% 4px
371
+
372
+
373
+ body.logged_in
374
+ .flashes
375
+ .flash
376
+ position: inherit
377
+ top: 0
378
+ text-shadow: none
379
+
380
+ strong, b
381
+ font-weight: 600
382
+
383
+ .blank_slate_container .blank_slate
384
+ color: #7f8c8d
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bushido_blade/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bushido_blade"
8
+ spec.version = BushidoBlade::VERSION
9
+ spec.authors = ["Pavel Kuzmenko"]
10
+ spec.email = ["dreadmozart@gmail.com"]
11
+ spec.summary = %q{bushido skin}
12
+ spec.description = %q{bushido skin}
13
+ spec.homepage = "https://github.com/creanetworx/bushido_blade"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rake"
23
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,8 @@
1
+ require "bushido_blade/version"
2
+
3
+ module BushidoBlade
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ module BushidoBlade
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bushido_blade
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Pavel Kuzmenko
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: bushido skin
42
+ email:
43
+ - dreadmozart@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Gemfile
49
+ - LICENSE.txt
50
+ - README.md
51
+ - Rakefile
52
+ - app/assets/stylesheets/bushido_blade.css.sass
53
+ - bushido_blade.gemspec
54
+ - doc/active-skin-edit.png
55
+ - doc/active-skin-login.png
56
+ - doc/active-skin-menu.png
57
+ - doc/active-skin-users.png
58
+ - doc/color1.png
59
+ - doc/color2.png
60
+ - doc/color3.png
61
+ - doc/color4.png
62
+ - lib/bushido_blade.rb
63
+ - lib/bushido_blade/version.rb
64
+ homepage: https://github.com/creanetworx/bushido_blade
65
+ licenses:
66
+ - MIT
67
+ metadata: {}
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubyforge_project:
84
+ rubygems_version: 2.2.1
85
+ signing_key:
86
+ specification_version: 4
87
+ summary: bushido skin
88
+ test_files: []