face_of_active_admin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +21 -0
  4. data/app/assets/images/face_of_active_admin/logo.jpg +0 -0
  5. data/app/assets/javascripts/face_of_active_admin/base.js.coffee +34 -0
  6. data/app/assets/stylesheets/face_of_active_admin/_base.scss +38 -0
  7. data/app/assets/stylesheets/face_of_active_admin/_forms.scss +551 -0
  8. data/app/assets/stylesheets/face_of_active_admin/_header.scss +283 -0
  9. data/app/assets/stylesheets/face_of_active_admin/_mixins.scss +1 -0
  10. data/app/assets/stylesheets/face_of_active_admin/_typography.scss +250 -0
  11. data/app/assets/stylesheets/face_of_active_admin/components/_batch_actions.scss +13 -0
  12. data/app/assets/stylesheets/face_of_active_admin/components/_blank_slates.scss +32 -0
  13. data/app/assets/stylesheets/face_of_active_admin/components/_breadcrumbs.scss +27 -0
  14. data/app/assets/stylesheets/face_of_active_admin/components/_buttons.scss +16 -0
  15. data/app/assets/stylesheets/face_of_active_admin/components/_ckeditor.scss +6 -0
  16. data/app/assets/stylesheets/face_of_active_admin/components/_columns.scss +3 -0
  17. data/app/assets/stylesheets/face_of_active_admin/components/_comments.scss +52 -0
  18. data/app/assets/stylesheets/face_of_active_admin/components/_date_picker.scss +315 -0
  19. data/app/assets/stylesheets/face_of_active_admin/components/_dropdown_menu.scss +161 -0
  20. data/app/assets/stylesheets/face_of_active_admin/components/_flash_messages.scss +44 -0
  21. data/app/assets/stylesheets/face_of_active_admin/components/_grid.scss +57 -0
  22. data/app/assets/stylesheets/face_of_active_admin/components/_index_list.scss +12 -0
  23. data/app/assets/stylesheets/face_of_active_admin/components/_init.scss +16 -0
  24. data/app/assets/stylesheets/face_of_active_admin/components/_links.scss +8 -0
  25. data/app/assets/stylesheets/face_of_active_admin/components/_modal_dialog.scss +67 -0
  26. data/app/assets/stylesheets/face_of_active_admin/components/_nav.scss +64 -0
  27. data/app/assets/stylesheets/face_of_active_admin/components/_pagination.scss +70 -0
  28. data/app/assets/stylesheets/face_of_active_admin/components/_panels.scss +89 -0
  29. data/app/assets/stylesheets/face_of_active_admin/components/_popovers.scss +124 -0
  30. data/app/assets/stylesheets/face_of_active_admin/components/_scopes.scss +10 -0
  31. data/app/assets/stylesheets/face_of_active_admin/components/_status_tags.scss +28 -0
  32. data/app/assets/stylesheets/face_of_active_admin/components/_table_tools.scss +70 -0
  33. data/app/assets/stylesheets/face_of_active_admin/components/_tables.scss +305 -0
  34. data/app/assets/stylesheets/face_of_active_admin/mixins/_all.scss +11 -0
  35. data/app/assets/stylesheets/face_of_active_admin/mixins/_buttons.scss +71 -0
  36. data/app/assets/stylesheets/face_of_active_admin/mixins/_gradients.scss +52 -0
  37. data/app/assets/stylesheets/face_of_active_admin/mixins/_icons.scss +31 -0
  38. data/app/assets/stylesheets/face_of_active_admin/mixins/_reset.scss +214 -0
  39. data/app/assets/stylesheets/face_of_active_admin/mixins/_rounded.scss +42 -0
  40. data/app/assets/stylesheets/face_of_active_admin/mixins/_sections.scss +38 -0
  41. data/app/assets/stylesheets/face_of_active_admin/mixins/_select.scss +22 -0
  42. data/app/assets/stylesheets/face_of_active_admin/mixins/_shadows.scss +21 -0
  43. data/app/assets/stylesheets/face_of_active_admin/mixins/_utilities.scss +17 -0
  44. data/app/assets/stylesheets/face_of_active_admin/mixins/_variables.scss +69 -0
  45. data/app/assets/stylesheets/face_of_active_admin/pages/_logged_out.scss +96 -0
  46. data/app/assets/stylesheets/face_of_active_admin/print.scss +283 -0
  47. data/app/assets/stylesheets/face_of_active_admin/structure/_footer.scss +28 -0
  48. data/app/assets/stylesheets/face_of_active_admin/structure/_main_structure.scss +86 -0
  49. data/app/assets/stylesheets/face_of_active_admin/structure/_title_bar.scss +69 -0
  50. data/config/routes.rb +2 -0
  51. data/lib/face_of_active_admin/version.rb +3 -0
  52. data/lib/face_of_active_admin.rb +10 -0
  53. data/lib/generators/face_of_active_admin/variables/USAGE +8 -0
  54. data/lib/generators/face_of_active_admin/variables/variables_generator.rb +12 -0
  55. metadata +126 -0
@@ -0,0 +1,69 @@
1
+ #title_bar {
2
+ @include section-header;
3
+
4
+ @include clearfix;
5
+
6
+ box-sizing: border-box;
7
+
8
+ @include no-shadow;
9
+
10
+ display: table;
11
+ background: $skinHeaderBck;
12
+ text-shadow: none;
13
+ border: none;
14
+ padding: 15px 30px;
15
+ width: 100%;
16
+ position: relative;
17
+ border-bottom: 4px solid $skinActiveColor;
18
+ border-top: 1px solid $skinActiveColor;
19
+ margin: 0;
20
+ z-index: 800;
21
+
22
+ #titlebar_left, #titlebar_right {
23
+ height: 50px;
24
+ vertical-align: middle;
25
+ display: table-cell;
26
+ }
27
+
28
+ #titlebar_right {
29
+ text-align: right;
30
+ }
31
+
32
+ h2 {
33
+ color: $skinHeaderTextColor;
34
+ margin: 0;
35
+ padding: 0;
36
+ font-size: 2.6em;
37
+ line-height: 100%;
38
+ font-weight: $title-bar-font-weight;
39
+ }
40
+
41
+ .action_items {
42
+ a, span.action_item {
43
+ & > a, & > .dropdown_menu > a {
44
+ @include rounded(0);
45
+
46
+ background: $skinActiveColor;
47
+ color: #fff;
48
+
49
+ @include no-shadow;
50
+
51
+ text-shadow: none;
52
+ border: none;
53
+ padding: 17px;
54
+ font-size: 14px;
55
+
56
+ span.icon {
57
+ vertical-align: bottom;
58
+ margin-right: 4px;
59
+ }
60
+
61
+ margin: 0px;
62
+
63
+ &:hover {
64
+ @include icon-color(#000);
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
data/config/routes.rb ADDED
@@ -0,0 +1,2 @@
1
+ Rails.application.routes.draw do
2
+ end
@@ -0,0 +1,3 @@
1
+ module FaceOfActiveAdmin
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,10 @@
1
+ require "face_of_active_admin/version"
2
+ require "font-awesome-sass"
3
+ require "jquery-rails"
4
+ require "activeadmin"
5
+ require 'rails'
6
+
7
+ module FaceOfActiveAdmin
8
+ class Engine < ::Rails::Engine
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ Description:
2
+ Generates a custom SASS file with all the variables for Active Admin Face
3
+
4
+ Example:
5
+ rails generate face_of_active_admin:variables
6
+
7
+ This will create:
8
+ assets/stylesheets/face_of_active_admin/face_of_active_admin_variables.scss
@@ -0,0 +1,12 @@
1
+ module FaceOfActiveAdmin
2
+ class VariablesGenerator < Rails::Generators::Base
3
+ # source_root File.expand_path('../templates', __FILE__)
4
+ source_root File.expand_path('../../../../../app/assets/', __FILE__)
5
+ desc 'FaceOfActiveAdmin nice style theme variables installer'
6
+
7
+ def copy_variables_file
8
+ copy_file "stylesheets/face_of_active_admin/mixins/_variables.scss",
9
+ "app/assets/stylesheets/face_of_active_admin_variables.scss"
10
+ end
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: face_of_active_admin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kvokka, Isaac Norman, Wojtek Krysiak, Patryk Zabielski
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: font-awesome-sass
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.5.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 4.5.0
41
+ description: Smooth Active Admin interface
42
+ email:
43
+ - root_p@mail.ru
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - MIT-LICENSE
49
+ - Rakefile
50
+ - app/assets/images/face_of_active_admin/logo.jpg
51
+ - app/assets/javascripts/face_of_active_admin/base.js.coffee
52
+ - app/assets/stylesheets/face_of_active_admin/_base.scss
53
+ - app/assets/stylesheets/face_of_active_admin/_forms.scss
54
+ - app/assets/stylesheets/face_of_active_admin/_header.scss
55
+ - app/assets/stylesheets/face_of_active_admin/_mixins.scss
56
+ - app/assets/stylesheets/face_of_active_admin/_typography.scss
57
+ - app/assets/stylesheets/face_of_active_admin/components/_batch_actions.scss
58
+ - app/assets/stylesheets/face_of_active_admin/components/_blank_slates.scss
59
+ - app/assets/stylesheets/face_of_active_admin/components/_breadcrumbs.scss
60
+ - app/assets/stylesheets/face_of_active_admin/components/_buttons.scss
61
+ - app/assets/stylesheets/face_of_active_admin/components/_ckeditor.scss
62
+ - app/assets/stylesheets/face_of_active_admin/components/_columns.scss
63
+ - app/assets/stylesheets/face_of_active_admin/components/_comments.scss
64
+ - app/assets/stylesheets/face_of_active_admin/components/_date_picker.scss
65
+ - app/assets/stylesheets/face_of_active_admin/components/_dropdown_menu.scss
66
+ - app/assets/stylesheets/face_of_active_admin/components/_flash_messages.scss
67
+ - app/assets/stylesheets/face_of_active_admin/components/_grid.scss
68
+ - app/assets/stylesheets/face_of_active_admin/components/_index_list.scss
69
+ - app/assets/stylesheets/face_of_active_admin/components/_init.scss
70
+ - app/assets/stylesheets/face_of_active_admin/components/_links.scss
71
+ - app/assets/stylesheets/face_of_active_admin/components/_modal_dialog.scss
72
+ - app/assets/stylesheets/face_of_active_admin/components/_nav.scss
73
+ - app/assets/stylesheets/face_of_active_admin/components/_pagination.scss
74
+ - app/assets/stylesheets/face_of_active_admin/components/_panels.scss
75
+ - app/assets/stylesheets/face_of_active_admin/components/_popovers.scss
76
+ - app/assets/stylesheets/face_of_active_admin/components/_scopes.scss
77
+ - app/assets/stylesheets/face_of_active_admin/components/_status_tags.scss
78
+ - app/assets/stylesheets/face_of_active_admin/components/_table_tools.scss
79
+ - app/assets/stylesheets/face_of_active_admin/components/_tables.scss
80
+ - app/assets/stylesheets/face_of_active_admin/mixins/_all.scss
81
+ - app/assets/stylesheets/face_of_active_admin/mixins/_buttons.scss
82
+ - app/assets/stylesheets/face_of_active_admin/mixins/_gradients.scss
83
+ - app/assets/stylesheets/face_of_active_admin/mixins/_icons.scss
84
+ - app/assets/stylesheets/face_of_active_admin/mixins/_reset.scss
85
+ - app/assets/stylesheets/face_of_active_admin/mixins/_rounded.scss
86
+ - app/assets/stylesheets/face_of_active_admin/mixins/_sections.scss
87
+ - app/assets/stylesheets/face_of_active_admin/mixins/_select.scss
88
+ - app/assets/stylesheets/face_of_active_admin/mixins/_shadows.scss
89
+ - app/assets/stylesheets/face_of_active_admin/mixins/_utilities.scss
90
+ - app/assets/stylesheets/face_of_active_admin/mixins/_variables.scss
91
+ - app/assets/stylesheets/face_of_active_admin/pages/_logged_out.scss
92
+ - app/assets/stylesheets/face_of_active_admin/print.scss
93
+ - app/assets/stylesheets/face_of_active_admin/structure/_footer.scss
94
+ - app/assets/stylesheets/face_of_active_admin/structure/_main_structure.scss
95
+ - app/assets/stylesheets/face_of_active_admin/structure/_title_bar.scss
96
+ - config/routes.rb
97
+ - lib/face_of_active_admin.rb
98
+ - lib/face_of_active_admin/version.rb
99
+ - lib/generators/face_of_active_admin/variables/USAGE
100
+ - lib/generators/face_of_active_admin/variables/variables_generator.rb
101
+ homepage: http://github.com/kvokka/face_of_active_admin
102
+ licenses:
103
+ - MIT
104
+ metadata: {}
105
+ post_install_message:
106
+ rdoc_options: []
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ requirements: []
120
+ rubyforge_project:
121
+ rubygems_version: 2.5.1
122
+ signing_key:
123
+ specification_version: 4
124
+ summary: Best face for Active Admin. Smooth ans flexible
125
+ test_files: []
126
+ has_rdoc: