active_admin_face 0.0.9

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.
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/active_admin_face/logo.jpg +0 -0
  5. data/app/assets/javascripts/active_admin_face/base.js.coffee +34 -0
  6. data/app/assets/stylesheets/active_admin_face/_base.scss +38 -0
  7. data/app/assets/stylesheets/active_admin_face/_forms.scss +551 -0
  8. data/app/assets/stylesheets/active_admin_face/_header.scss +283 -0
  9. data/app/assets/stylesheets/active_admin_face/_mixins.scss +1 -0
  10. data/app/assets/stylesheets/active_admin_face/_typography.scss +250 -0
  11. data/app/assets/stylesheets/active_admin_face/components/_batch_actions.scss +13 -0
  12. data/app/assets/stylesheets/active_admin_face/components/_blank_slates.scss +32 -0
  13. data/app/assets/stylesheets/active_admin_face/components/_breadcrumbs.scss +27 -0
  14. data/app/assets/stylesheets/active_admin_face/components/_buttons.scss +16 -0
  15. data/app/assets/stylesheets/active_admin_face/components/_ckeditor.scss +6 -0
  16. data/app/assets/stylesheets/active_admin_face/components/_columns.scss +3 -0
  17. data/app/assets/stylesheets/active_admin_face/components/_comments.scss +52 -0
  18. data/app/assets/stylesheets/active_admin_face/components/_date_picker.scss +315 -0
  19. data/app/assets/stylesheets/active_admin_face/components/_dropdown_menu.scss +161 -0
  20. data/app/assets/stylesheets/active_admin_face/components/_flash_messages.scss +44 -0
  21. data/app/assets/stylesheets/active_admin_face/components/_grid.scss +57 -0
  22. data/app/assets/stylesheets/active_admin_face/components/_index_list.scss +12 -0
  23. data/app/assets/stylesheets/active_admin_face/components/_init.scss +16 -0
  24. data/app/assets/stylesheets/active_admin_face/components/_links.scss +8 -0
  25. data/app/assets/stylesheets/active_admin_face/components/_modal_dialog.scss +67 -0
  26. data/app/assets/stylesheets/active_admin_face/components/_nav.scss +64 -0
  27. data/app/assets/stylesheets/active_admin_face/components/_pagination.scss +70 -0
  28. data/app/assets/stylesheets/active_admin_face/components/_panels.scss +89 -0
  29. data/app/assets/stylesheets/active_admin_face/components/_popovers.scss +124 -0
  30. data/app/assets/stylesheets/active_admin_face/components/_scopes.scss +10 -0
  31. data/app/assets/stylesheets/active_admin_face/components/_status_tags.scss +28 -0
  32. data/app/assets/stylesheets/active_admin_face/components/_table_tools.scss +70 -0
  33. data/app/assets/stylesheets/active_admin_face/components/_tables.scss +305 -0
  34. data/app/assets/stylesheets/active_admin_face/mixins/_all.scss +11 -0
  35. data/app/assets/stylesheets/active_admin_face/mixins/_buttons.scss +71 -0
  36. data/app/assets/stylesheets/active_admin_face/mixins/_gradients.scss +52 -0
  37. data/app/assets/stylesheets/active_admin_face/mixins/_icons.scss +31 -0
  38. data/app/assets/stylesheets/active_admin_face/mixins/_reset.scss +214 -0
  39. data/app/assets/stylesheets/active_admin_face/mixins/_rounded.scss +42 -0
  40. data/app/assets/stylesheets/active_admin_face/mixins/_sections.scss +38 -0
  41. data/app/assets/stylesheets/active_admin_face/mixins/_select.scss +22 -0
  42. data/app/assets/stylesheets/active_admin_face/mixins/_shadows.scss +21 -0
  43. data/app/assets/stylesheets/active_admin_face/mixins/_utilities.scss +17 -0
  44. data/app/assets/stylesheets/active_admin_face/mixins/_variables.scss +69 -0
  45. data/app/assets/stylesheets/active_admin_face/pages/_logged_out.scss +96 -0
  46. data/app/assets/stylesheets/active_admin_face/print.scss +283 -0
  47. data/app/assets/stylesheets/active_admin_face/structure/_footer.scss +28 -0
  48. data/app/assets/stylesheets/active_admin_face/structure/_main_structure.scss +86 -0
  49. data/app/assets/stylesheets/active_admin_face/structure/_title_bar.scss +69 -0
  50. data/config/routes.rb +2 -0
  51. data/lib/active_admin_face.rb +11 -0
  52. data/lib/active_admin_face/version.rb +3 -0
  53. data/lib/generators/active_admin_face/variables/USAGE +8 -0
  54. data/lib/generators/active_admin_face/variables/variables_generator.rb +15 -0
  55. metadata +126 -0
@@ -0,0 +1,28 @@
1
+ #footer {
2
+ position: fixed;
3
+ bottom: 0;
4
+ left: 0;
5
+ right: 0;
6
+ background: #fff;
7
+ padding: 15px 30px;
8
+ font-size: 0.8em;
9
+ color: $skinTextTable;
10
+ border-top: 1px solid #d3d8dc;
11
+ clear: both;
12
+
13
+ p {
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+ }
18
+
19
+ // -------------------------------------- Index Footer (Under Table)
20
+ #index_footer {
21
+ padding-top: 5px;
22
+ text-align: right;
23
+ font-size: 0.85em;
24
+ }
25
+
26
+ .index_content {
27
+ clear: both;
28
+ }
@@ -0,0 +1,86 @@
1
+ #wrapper {
2
+ width: 100%;
3
+ }
4
+
5
+ .index #wrapper {
6
+ display: table;
7
+ }
8
+
9
+ #active_admin_content {
10
+ @include clearfix;
11
+
12
+ margin: 0;
13
+ padding: $horizontal-page-padding;
14
+
15
+ #main_content_wrapper {
16
+ float: left;
17
+ width: 100%;
18
+
19
+ #main_content {
20
+ margin-right: 300px;
21
+
22
+ table {
23
+ th {
24
+ background: $table-header-color;
25
+ }
26
+ }
27
+ }
28
+ }
29
+
30
+ &.without_sidebar #main_content_wrapper #main_content {
31
+ margin-right: 0;
32
+ }
33
+
34
+ #sidebar {
35
+ float: left;
36
+ width: $sidebar-width;
37
+ margin-left: -$sidebar-width;
38
+ }
39
+
40
+ .table_tools {
41
+ height: 30px;
42
+ }
43
+
44
+ a.table_tools_button, .table_tools .dropdown_menu_button {
45
+ @include rounded(0);
46
+
47
+ @include no-shadow;
48
+
49
+ transition: $link_transition_dutarion;
50
+ color: $skinTextColor;
51
+ background: #fff;
52
+ padding: 7px 15px;
53
+ font-weight: normal;
54
+ text-shadow: none;
55
+ }
56
+
57
+ .table_tools_segmented_control li {
58
+ a {
59
+ @include rounded(0);
60
+
61
+ @include no-shadow;
62
+
63
+ color: $skinTextColor;
64
+ background: #fff;
65
+ padding: 7px 15px;
66
+ font-weight: normal;
67
+ text-shadow: none;
68
+ border-color: #d3d8dc;
69
+
70
+ span.count {
71
+ color: $skinActiveColor;
72
+ }
73
+ }
74
+
75
+ &.selected {
76
+ a {
77
+ color: #fff;
78
+ background-color: $skinActiveColor;
79
+
80
+ span.count {
81
+ color: #fff;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
@@ -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,11 @@
1
+ require "active_admin_face/version"
2
+ require "font-awesome-sass"
3
+ require "jquery-rails"
4
+ require "activeadmin"
5
+
6
+ module ActiveAdminFace
7
+ module Rails
8
+ class Engine < ::Rails::Engine
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module ActiveAdminFace
2
+ VERSION = "0.0.9"
3
+ end
@@ -0,0 +1,8 @@
1
+ Description:
2
+ Generates a custom SCSS file with all the variables for Active Admin Face
3
+
4
+ Example:
5
+ rails generate active_admin_face:variables
6
+
7
+ This will create:
8
+ assets/stylesheets/active_admin_face/variables.scss
@@ -0,0 +1,15 @@
1
+ module ActiveAdminFacenpm
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ # source_root File.expand_path('../templates', __FILE__)
5
+ source_root File.expand_path('../../../../app/assets/', __FILE__)
6
+ desc 'ActiveAdmin nice style theme variables installer'
7
+
8
+ def copy_install_file
9
+ copy_file "stylesheets/active_admin_face/mixins/_variables.scss",
10
+ "app/assets/stylesheets/active_admin_face_variables.scss"
11
+
12
+ end
13
+ end
14
+ end
15
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_admin_face
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.9
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 the 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/active_admin_face/logo.jpg
51
+ - app/assets/javascripts/active_admin_face/base.js.coffee
52
+ - app/assets/stylesheets/active_admin_face/_base.scss
53
+ - app/assets/stylesheets/active_admin_face/_forms.scss
54
+ - app/assets/stylesheets/active_admin_face/_header.scss
55
+ - app/assets/stylesheets/active_admin_face/_mixins.scss
56
+ - app/assets/stylesheets/active_admin_face/_typography.scss
57
+ - app/assets/stylesheets/active_admin_face/components/_batch_actions.scss
58
+ - app/assets/stylesheets/active_admin_face/components/_blank_slates.scss
59
+ - app/assets/stylesheets/active_admin_face/components/_breadcrumbs.scss
60
+ - app/assets/stylesheets/active_admin_face/components/_buttons.scss
61
+ - app/assets/stylesheets/active_admin_face/components/_ckeditor.scss
62
+ - app/assets/stylesheets/active_admin_face/components/_columns.scss
63
+ - app/assets/stylesheets/active_admin_face/components/_comments.scss
64
+ - app/assets/stylesheets/active_admin_face/components/_date_picker.scss
65
+ - app/assets/stylesheets/active_admin_face/components/_dropdown_menu.scss
66
+ - app/assets/stylesheets/active_admin_face/components/_flash_messages.scss
67
+ - app/assets/stylesheets/active_admin_face/components/_grid.scss
68
+ - app/assets/stylesheets/active_admin_face/components/_index_list.scss
69
+ - app/assets/stylesheets/active_admin_face/components/_init.scss
70
+ - app/assets/stylesheets/active_admin_face/components/_links.scss
71
+ - app/assets/stylesheets/active_admin_face/components/_modal_dialog.scss
72
+ - app/assets/stylesheets/active_admin_face/components/_nav.scss
73
+ - app/assets/stylesheets/active_admin_face/components/_pagination.scss
74
+ - app/assets/stylesheets/active_admin_face/components/_panels.scss
75
+ - app/assets/stylesheets/active_admin_face/components/_popovers.scss
76
+ - app/assets/stylesheets/active_admin_face/components/_scopes.scss
77
+ - app/assets/stylesheets/active_admin_face/components/_status_tags.scss
78
+ - app/assets/stylesheets/active_admin_face/components/_table_tools.scss
79
+ - app/assets/stylesheets/active_admin_face/components/_tables.scss
80
+ - app/assets/stylesheets/active_admin_face/mixins/_all.scss
81
+ - app/assets/stylesheets/active_admin_face/mixins/_buttons.scss
82
+ - app/assets/stylesheets/active_admin_face/mixins/_gradients.scss
83
+ - app/assets/stylesheets/active_admin_face/mixins/_icons.scss
84
+ - app/assets/stylesheets/active_admin_face/mixins/_reset.scss
85
+ - app/assets/stylesheets/active_admin_face/mixins/_rounded.scss
86
+ - app/assets/stylesheets/active_admin_face/mixins/_sections.scss
87
+ - app/assets/stylesheets/active_admin_face/mixins/_select.scss
88
+ - app/assets/stylesheets/active_admin_face/mixins/_shadows.scss
89
+ - app/assets/stylesheets/active_admin_face/mixins/_utilities.scss
90
+ - app/assets/stylesheets/active_admin_face/mixins/_variables.scss
91
+ - app/assets/stylesheets/active_admin_face/pages/_logged_out.scss
92
+ - app/assets/stylesheets/active_admin_face/print.scss
93
+ - app/assets/stylesheets/active_admin_face/structure/_footer.scss
94
+ - app/assets/stylesheets/active_admin_face/structure/_main_structure.scss
95
+ - app/assets/stylesheets/active_admin_face/structure/_title_bar.scss
96
+ - config/routes.rb
97
+ - lib/active_admin_face.rb
98
+ - lib/active_admin_face/version.rb
99
+ - lib/generators/active_admin_face/variables/USAGE
100
+ - lib/generators/active_admin_face/variables/variables_generator.rb
101
+ homepage: http://github.com/kvokka/active_admin_face
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: