activeadmin_skin_mk 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a46924e246e3987fb524e36d99560c3cd485b6ec
4
+ data.tar.gz: a7a182a324e4b6190546f10fd704164d7a53722a
5
+ SHA512:
6
+ metadata.gz: d5d9cf652a4e9434a86ad052d7b696910ef7a768088934fd36bd4394e777df85b243f2d2969f6d633374831218d5608922510847c620e61748c4d653969f4873
7
+ data.tar.gz: 76e2f69d678a4fe2e44b9622773df0ef58300413b0a37b1184e164cbae7e70bf1e36357c8e29acbc50ef9f16363f900bf9e413b8874427ef01667190711e7c85
@@ -0,0 +1,16 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ lib/bundler/man
11
+ pkg
12
+ rdoc
13
+ spec/reports
14
+ test/tmp
15
+ test/version_tmp
16
+ tmp
@@ -0,0 +1,2 @@
1
+ # activeadmin_skin_mk
2
+ Корпоративный шаблон для ActiveAdmin
@@ -0,0 +1,16 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'activeadmin_skin_mk'
3
+ s.version = '0.0.1'
4
+ s.date = '2015-05-07'
5
+ s.summary = 'ActiveAdmin theme'
6
+ s.description = 'ActiveAdmin theme for MKechinov studio'
7
+ s.authors = ['Victor Polko']
8
+ s.email = 'victorpolko@gmail.com'
9
+ s.homepage = 'http://rubygems.org/gems/activeadmin_skin_mk'
10
+ s.license = 'MIT'
11
+
12
+ s.files = `git ls-files`.split("\n").sort
13
+
14
+ s.add_development_dependency 'bundler', '~> 1.5'
15
+ s.add_development_dependency 'rake', '~> 0'
16
+ end
@@ -0,0 +1,390 @@
1
+ @import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&subset=latin,latin-ext)
2
+ $themeTextColor: #1e2a33 !default
3
+ $themeTextActiveColor: #fff !default
4
+ $themeTextTable: #7f8c8d !default
5
+ $themeActiveColor: #e73c3c !default
6
+ $themeHeaderBck: #1e2a33 !default
7
+ $themeHeaderTextColor: #FFFFFF !default
8
+ $panelHeaderBck: #2c3e50 !default
9
+ $panelHeaderTextColor: #FFFFFF !default
10
+ $themeLogo: #fff image-url('logo.jpg') no-repeat 30px 0 !default
11
+
12
+ html
13
+ background: #ecf0f1
14
+ font-family: 'Source Sans Pro', sans-serif
15
+
16
+ body.active_admin
17
+ background: #ecf0f1
18
+ font-family: 'Source Sans Pro', sans-serif
19
+ padding-bottom: 80px
20
+
21
+ #header
22
+ background: #ecf0f1
23
+ border: none
24
+ text-shadow: none
25
+ height: 40px
26
+ padding: 0
27
+ h1.site_title
28
+ background-color: #fff
29
+ background: $themeLogo
30
+ padding-left: 130px
31
+ color: $themeTextColor
32
+ text-indent: -999999px
33
+ a, a:link
34
+ color: $themeTextColor
35
+ ul.tabs
36
+ padding: 0
37
+ font-size: 0
38
+ ul.tabs > li:hover > a, ul.tabs > li.current > a
39
+ color: $themeTextActiveColor
40
+ background: $themeActiveColor
41
+ @include rounded(0)
42
+ margin: -10px 0
43
+ ul.tabs > li
44
+ font-size: 12px
45
+ margin: 0
46
+ a
47
+ padding: 13px 20px
48
+ margin: 0
49
+ ul.tabs > li.has_nested a
50
+ background-position: 93% 50%
51
+ ul.tabs > li.has_nested:hover
52
+ a
53
+ @include rounded(0)
54
+ background-color: $themeActiveColor
55
+ border: none
56
+ background-position: 93% 50%
57
+ ul
58
+ background: $themeActiveColor
59
+ @include no-shadow()
60
+ @include rounded(0)
61
+ border: none
62
+ li a
63
+ color: #fff
64
+ &:hover
65
+ color: $themeTextColor
66
+ ul.tabs > li.has_nested.current a
67
+ background-color: $themeActiveColor
68
+ background-position: 93% 50%
69
+ #utility_nav
70
+ background: #fff
71
+ padding: 0
72
+ li#logout a
73
+ font-weight: bold
74
+ text-decoration: underline
75
+ &:hover
76
+ text-decoration: none
77
+ li a
78
+ &:hover
79
+ background: none
80
+ color: $themeTextColor
81
+
82
+ #title_bar
83
+ background: $themeHeaderBck
84
+ text-shadow: none
85
+ border: none
86
+ padding: 15px 30px
87
+ @include no-shadow()
88
+ border-bottom: 4px solid $themeActiveColor
89
+ margin: 0
90
+ h2
91
+ color: $themeHeaderTextColor
92
+ .action_items a
93
+ @include rounded(0)
94
+ background: $themeActiveColor
95
+ color: #fff
96
+ @include no-shadow()
97
+ text-shadow: none
98
+ border: none
99
+ padding: 17px
100
+ font-size: 14px
101
+ &:hover
102
+ background: lighten( $themeActiveColor, 10% ) !important
103
+
104
+ #active_admin_content
105
+ @include clearfix
106
+ .table_tools
107
+ height: 30px
108
+ a.table_tools_button, .table_tools .dropdown_menu_button
109
+ @include rounded(0)
110
+ @include no-shadow()
111
+ color: $themeTextColor
112
+ background: #fff
113
+ padding: 7px 15px
114
+ font-weight: normal
115
+ text-shadow: none
116
+ .table_tools_segmented_control li
117
+ a
118
+ @include rounded(0)
119
+ @include no-shadow()
120
+ color: $themeTextColor
121
+ background: #fff
122
+ padding: 7px 15px
123
+ font-weight: normal
124
+ text-shadow: none
125
+ border-color: #d3d8dc
126
+ span.count
127
+ color: $themeActiveColor
128
+ &.selected
129
+ a
130
+ color: #fff
131
+ background-color: $themeActiveColor
132
+ span.count
133
+ color: #fff
134
+
135
+ table.index_table
136
+ border: 1px solid #d3d8dc
137
+ background: #fff
138
+ th
139
+ background: #f1f5f6
140
+ border: 1px #d3d8dc
141
+ border-style: none solid solid none
142
+ padding: 7px 10px
143
+ @include no-shadow()
144
+ color: $themeTextColor
145
+ a, a:link, a:visited
146
+ color: $themeTextColor
147
+ &:last-child
148
+ border-right: none
149
+ td
150
+ color: $themeTextTable
151
+ a, a:link, a:visited
152
+ color: $themeTextTable
153
+ display: inline-block
154
+ padding: 2px 3px
155
+ margin: -2px 0
156
+ &:hover
157
+ color: #fff
158
+ background: $themeActiveColor
159
+ tr.even td
160
+ background: #ecf0f1
161
+
162
+ .download_links
163
+ color: $themeTextTable
164
+ font-size: 12px
165
+ a
166
+ color: $themeActiveColor
167
+ font-weight: bold
168
+ .pagination_information
169
+ font-size: 12px
170
+ color: $themeTextTable
171
+ .pagination
172
+ margin-top: -2px
173
+ a, span.page.current
174
+ font-family: 'Source Sans Pro', sans-serif
175
+ border: 1px solid #d3d8dc
176
+ background: #ecf0f1
177
+ @include no-shadow()
178
+ text-shadow: none
179
+ font-size: 12px
180
+ font-weight: normal
181
+ padding: 4px 6px
182
+ margin-right: 1px
183
+ span.page.current,
184
+ a:not(.disabled):hover
185
+ background: $themeActiveColor
186
+ color: #fff
187
+ span.page.current
188
+ font-weight: 600
189
+ span.page.current:not(.disabled):hover
190
+ background: $themeActiveColor
191
+ .page.gap
192
+ display: none
193
+
194
+ .sidebar_section.panel
195
+ background: #fff
196
+ border: 1px solid #d3d8dc
197
+ @include no-shadow()
198
+ @include rounded(0)
199
+ form .buttons
200
+ background: #f1f5f6
201
+ margin: 25px -15px -15px
202
+ padding: 10px 15px
203
+ form fieldset
204
+ margin-bottom: 0
205
+ & > h3
206
+ background: $panelHeaderBck
207
+ color: $panelHeaderTextColor
208
+ border: none
209
+ margin: 0
210
+ padding: 8px 15px
211
+ @include no-shadow()
212
+ @include rounded(0)
213
+ text-shadow: none
214
+ font-weight: bold
215
+ .filter_form_field
216
+ label
217
+ color: #95a5a6
218
+ font-weight: normal
219
+ font-size: 13px
220
+ text-transform: uppercase
221
+ font-family: 'Source Sans Pro', sans-serif
222
+ padding: 7px 0
223
+
224
+ #footer
225
+ position: fixed
226
+ bottom: 0
227
+ left: 0
228
+ right: 0
229
+ background: #fff
230
+ padding: 15px 30px
231
+ font-size: 13px
232
+ color: $themeTextTable
233
+ border-top: 1px solid #d3d8dc
234
+ p
235
+ margin: 0
236
+ padding: 0
237
+
238
+
239
+ form input[type=submit],
240
+ a.button,
241
+ a:link.button,
242
+ a:visited.button
243
+ @include no-shadow()
244
+ @include rounded(0)
245
+ background: $themeActiveColor
246
+ color: #fff
247
+ border: none
248
+ text-shadow: none
249
+ padding: 11px 20px
250
+ &:hover
251
+ background: lighten( $themeActiveColor, 10% ) !important
252
+ form fieldset.buttons li.cancel a,
253
+ form fieldset.actions li.cancel a,
254
+ form.filter_form a.clear_filters_btn
255
+ background: #ecf0f1
256
+ @include no-shadow()
257
+ @include rounded(0)
258
+ text-shadow: none
259
+ padding: 10px 20px
260
+ color: #95a5a6
261
+ &:hover
262
+ background: lighten( #ecf0f1, 5% ) !important
263
+
264
+ form fieldset.inputs
265
+ background: #fff
266
+ border: 1px solid #d3d8dc
267
+ position: relative
268
+ padding-top: 50px
269
+ @include no-shadow()
270
+ @include rounded(0)
271
+ legend
272
+ border-bottom: 1px solid #d3d8dc
273
+ position: absolute
274
+ top: 0
275
+ span
276
+ background: #f0f4f5
277
+ color: #5E6469
278
+ border: none
279
+ margin: 0
280
+ padding: 8px 15px
281
+ @include no-shadow()
282
+ @include rounded(0)
283
+ text-shadow: none
284
+ font-weight: bold
285
+ ol > li
286
+ label
287
+ padding-top: 7px
288
+ text-transform: uppercase
289
+ &.boolean label
290
+ padding-top: 0px
291
+ margin-bottom: 15px
292
+
293
+ .panel
294
+ background: #fff
295
+ border: 1px solid #d3d8dc
296
+ position: relative
297
+ @include no-shadow()
298
+ @include rounded(0)
299
+ > h3
300
+ background: #f0f4f5
301
+ color: $panelHeaderBck
302
+ padding: 8px 15px
303
+ @include no-shadow()
304
+ @include rounded(0)
305
+ text-shadow: none
306
+ font-weight: bold
307
+ border-style: none none solid
308
+
309
+ .attributes_table table th, .attributes_table table td
310
+ padding: 10px 0
311
+ font-family: 'Source Sans Pro', sans-serif
312
+ color: #95a5a6
313
+ .attributes_table table th
314
+ font-weight: normal
315
+ font-size: 13px
316
+ text-transform: uppercase
317
+
318
+ .comments form.active_admin_comment fieldset.inputs
319
+ border: none
320
+
321
+ html
322
+ height: 100%
323
+ min-height: 100%
324
+ body.logged_out
325
+ height: 100%
326
+ #footer
327
+ display: none
328
+ #content_wrapper
329
+ margin-top: 150px
330
+ #active_admin_content
331
+ padding-bottom: 0
332
+ #login
333
+ form fieldset
334
+ border: none
335
+ > h2
336
+ background: $panelHeaderBck
337
+ font-family: 'Source Sans Pro', sans-serif
338
+ color: #fff
339
+ @include no-shadow()
340
+ @include rounded(0)
341
+ padding: 8px 15px
342
+ fieldset.actions
343
+ background: #f1f5f6
344
+ margin: 0 -30px -17px
345
+ padding: 6px 30px
346
+ a
347
+ margin-top: -25px
348
+
349
+ .flash
350
+ background: #F2ECBF
351
+ position: absolute
352
+ top: 0
353
+ left: 0
354
+ right: 0
355
+ padding: 15px
356
+ border-bottom: 1px solid #DEDE8B
357
+ text-shadow: none
358
+
359
+ form input[type=text],
360
+ form input[type=password],
361
+ form input[type=email],
362
+ form input[type=number],
363
+ form input[type=url],
364
+ form input[type=tel],
365
+ form textarea
366
+ @include rounded(0)
367
+ font-family: 'Source Sans Pro', sans-serif
368
+ padding: 5px 10px
369
+
370
+ form.filter_form .filter_form_field.filter_date_range input[type=text]
371
+ background-position: 100% 4px
372
+
373
+
374
+ body.logged_in
375
+ .flashes
376
+ .flash
377
+ position: inherit
378
+ top: 0
379
+ text-shadow: none
380
+
381
+ strong, b
382
+ font-weight: 600
383
+
384
+ .blank_slate_container .blank_slate
385
+ color: #7f8c8d
386
+
387
+ form fieldset > ol > li fieldset ol li
388
+ clear: both
389
+ select
390
+ margin-top: 6px
@@ -0,0 +1,8 @@
1
+ require "activeadmin_skin_mk/version"
2
+
3
+ module ActiveadminSkinMk
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ module ActiveadminSkinMk
2
+ VERSION = '0.0.1'
3
+ end
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activeadmin_skin_mk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Victor Polko
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-07 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: ActiveAdmin theme for MKechinov studio
42
+ email: victorpolko@gmail.com
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files: []
46
+ files:
47
+ - ".gitignore"
48
+ - README.md
49
+ - activeadmin_skin_mk.gemspec
50
+ - app/assets/images/logo.jpg
51
+ - app/assets/stylesheets/activeadmin_skin_mk.css.sass
52
+ - lib/activeadmin_skin_mk.rb
53
+ - lib/activeadmin_skin_mk/version.rb
54
+ homepage: http://rubygems.org/gems/activeadmin_skin_mk
55
+ licenses:
56
+ - MIT
57
+ metadata: {}
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project:
74
+ rubygems_version: 2.4.6
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: ActiveAdmin theme
78
+ test_files: []
79
+ has_rdoc: