visagio-arctic_admin 2.0.2

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/app/assets/fonts/Lato-Bold.eot +0 -0
  3. data/app/assets/fonts/Lato-Bold.ttf +0 -0
  4. data/app/assets/fonts/Lato-Bold.woff +0 -0
  5. data/app/assets/fonts/Lato-Bold.woff2 +0 -0
  6. data/app/assets/fonts/Lato-BoldItalic.eot +0 -0
  7. data/app/assets/fonts/Lato-BoldItalic.ttf +0 -0
  8. data/app/assets/fonts/Lato-BoldItalic.woff +0 -0
  9. data/app/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  10. data/app/assets/fonts/Lato-Italic.eot +0 -0
  11. data/app/assets/fonts/Lato-Italic.ttf +0 -0
  12. data/app/assets/fonts/Lato-Italic.woff +0 -0
  13. data/app/assets/fonts/Lato-Italic.woff2 +0 -0
  14. data/app/assets/fonts/Lato-Regular.eot +0 -0
  15. data/app/assets/fonts/Lato-Regular.ttf +0 -0
  16. data/app/assets/fonts/Lato-Regular.woff +0 -0
  17. data/app/assets/fonts/Lato-Regular.woff2 +0 -0
  18. data/app/assets/javascripts/arctic_admin/base.js +79 -0
  19. data/app/assets/stylesheets/arctic_admin/_base.scss +34 -0
  20. data/app/assets/stylesheets/arctic_admin/_common.scss +27 -0
  21. data/app/assets/stylesheets/arctic_admin/_fonts.scss +47 -0
  22. data/app/assets/stylesheets/arctic_admin/_grid.scss +4 -0
  23. data/app/assets/stylesheets/arctic_admin/_reset.scss +41 -0
  24. data/app/assets/stylesheets/arctic_admin/components/_columns.scss +4 -0
  25. data/app/assets/stylesheets/arctic_admin/components/_comments.scss +54 -0
  26. data/app/assets/stylesheets/arctic_admin/components/_components.scss +12 -0
  27. data/app/assets/stylesheets/arctic_admin/components/_date_picker.scss +38 -0
  28. data/app/assets/stylesheets/arctic_admin/components/_dialogs.scss +23 -0
  29. data/app/assets/stylesheets/arctic_admin/components/_flash.scss +27 -0
  30. data/app/assets/stylesheets/arctic_admin/components/_form.scss +65 -0
  31. data/app/assets/stylesheets/arctic_admin/components/_inputs.scss +109 -0
  32. data/app/assets/stylesheets/arctic_admin/components/_pagination.scss +25 -0
  33. data/app/assets/stylesheets/arctic_admin/components/_panel_contents.scss +14 -0
  34. data/app/assets/stylesheets/arctic_admin/components/_status_tag.scss +17 -0
  35. data/app/assets/stylesheets/arctic_admin/components/_tables.scss +66 -0
  36. data/app/assets/stylesheets/arctic_admin/components/_tabs.scss +33 -0
  37. data/app/assets/stylesheets/arctic_admin/layouts/_filter.scss +64 -0
  38. data/app/assets/stylesheets/arctic_admin/layouts/_footer.scss +4 -0
  39. data/app/assets/stylesheets/arctic_admin/layouts/_header.scss +237 -0
  40. data/app/assets/stylesheets/arctic_admin/layouts/_main_content.scss +44 -0
  41. data/app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss +104 -0
  42. data/app/assets/stylesheets/arctic_admin/mixins/_buttons_mixins.scss +120 -0
  43. data/app/assets/stylesheets/arctic_admin/mixins/_mixins.scss +2 -0
  44. data/app/assets/stylesheets/arctic_admin/mixins/_prefix_mixins.scss +63 -0
  45. data/app/assets/stylesheets/arctic_admin/pages/_form.scss +114 -0
  46. data/app/assets/stylesheets/arctic_admin/pages/_index.scss +115 -0
  47. data/app/assets/stylesheets/arctic_admin/pages/_login.scss +65 -0
  48. data/app/assets/stylesheets/arctic_admin/pages/_show.scss +24 -0
  49. data/app/assets/stylesheets/arctic_admin/variables/_colors.scss +49 -0
  50. data/app/assets/stylesheets/arctic_admin/variables/_media_queries.scss +10 -0
  51. data/app/assets/stylesheets/arctic_admin/variables/_size.scss +9 -0
  52. data/app/assets/stylesheets/arctic_admin/variables/_variables.scss +5 -0
  53. data/lib/arctic_admin.rb +9 -0
  54. data/lib/arctic_admin/version.rb +3 -0
  55. metadata +166 -0
@@ -0,0 +1,115 @@
1
+ body.index {
2
+
3
+ .resource_selection_toggle_cell, .resource_selection_cell {
4
+ display: flex;
5
+ }
6
+
7
+ .table_tools {
8
+ margin-bottom: 20px;
9
+ font-size: 14px;
10
+
11
+ &:after {
12
+ content: '';
13
+ display: block;
14
+ clear: both;
15
+ }
16
+
17
+ input[type='checkbox'] {
18
+ display: flex;
19
+ }
20
+
21
+ .collection_selection_toggle_all {
22
+ display: flex !important;
23
+ }
24
+
25
+ .batch_actions_selector {
26
+ display: inline-block;
27
+ }
28
+
29
+ .dropdown_menu_button{
30
+ @include secondary-dropdown($primary-color);
31
+ }
32
+
33
+ .dropdown_menu_list {
34
+ background-color: #fff;
35
+ padding: 10px 15px;
36
+ border-radius: $border-radius;
37
+ @include box-shadow($box-shadow);
38
+ display: inline-block;
39
+ position: absolute;
40
+ z-index: 1;
41
+ }
42
+ }
43
+
44
+ .paginated_collection_contents {
45
+ margin-bottom: 20px;
46
+ }
47
+
48
+ #index_footer {
49
+ font-size: 14px;
50
+ }
51
+
52
+ .sortable {
53
+ position: relative;
54
+
55
+ &:after {
56
+ @include icon("\f0dc");
57
+ font-size: 12px;
58
+ position: absolute;
59
+ top: 50%;
60
+ right: 5px;
61
+ @include transform(translateY(-50%));
62
+
63
+ @media screen and (min-width: $md-width) {
64
+ font-size: 14px/1;
65
+ }
66
+ }
67
+
68
+ &.sorted-desc:after {
69
+ content: "\f0dd";
70
+ }
71
+
72
+ &.sorted-asc:after {
73
+ content: "\f0de";
74
+ }
75
+ }
76
+
77
+ .table_actions {
78
+ .member_link {
79
+ @include primary-button($primary-color, white);
80
+ padding: 2px 9px;
81
+ margin-right: 4px;
82
+ }
83
+ }
84
+
85
+ .scopes {
86
+ .scope {
87
+ @include group-button($primary-color);
88
+ }
89
+ }
90
+
91
+ #sidebar {
92
+ position: fixed;
93
+ right: - $filter-width;
94
+
95
+ @media screen and (min-width: $x-lg-width) {
96
+ right: - $lg-filter-width;
97
+ }
98
+
99
+ &:before {
100
+ cursor: pointer;
101
+ position: absolute;
102
+ top: 30px;
103
+ left: -40px;
104
+ width: 40px;
105
+ height: 50px;
106
+ background-color: #fff;
107
+ @include box-shadow(-1px 0 4px 0 rgba(0,0,0,.04));
108
+ border-top-left-radius: $border-radius;
109
+ border-bottom-left-radius: $border-radius;
110
+ @include icon("\f0b0");
111
+ font-size: 20px;
112
+ padding: 15px 10px;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,65 @@
1
+ body.logged_out {
2
+ .flash {
3
+ position: fixed;
4
+ }
5
+
6
+ #active_admin_content {
7
+ height: 100vh;
8
+ width: 100%;
9
+ display: flex;
10
+ align-items: center;
11
+ }
12
+ }
13
+
14
+ #login {
15
+ width: 100%;
16
+ margin: auto;
17
+ background-color: white;
18
+ border-top: $border-radius solid $primary-color;
19
+ @include box-shadow($box-shadow);
20
+ color: $text-color;
21
+ padding: 20px;
22
+
23
+ @media screen and (min-width: 400px) {
24
+ border-radius: $border-radius;
25
+ width: 400px;
26
+ padding: 30px;
27
+ }
28
+
29
+ h2 {
30
+ text-align: center;
31
+ }
32
+
33
+ .label {
34
+ display: inline-block;
35
+ max-width: 100%;
36
+ margin-bottom: 5px;
37
+ }
38
+
39
+ .input.boolean {
40
+ @include disable-user-select();
41
+ label {
42
+ font-size: 15px;
43
+ cursor: pointer;
44
+ padding: 5px 5px 5px 0;
45
+ }
46
+
47
+ input[type='checkbox'] {
48
+ width: 15px;
49
+ margin: 0 5px -2px 0;
50
+ }
51
+ }
52
+
53
+ a {
54
+ margin-top: 10px;
55
+ display: inline-block;
56
+ }
57
+
58
+ .input_action {
59
+ min-width: 50%;
60
+ }
61
+
62
+ input[type="submit"] {
63
+ line-height: 43px;
64
+ }
65
+ }
@@ -0,0 +1,24 @@
1
+ body.show {
2
+ #active_admin_content.with_sidebar {
3
+ #main_content_wrapper {
4
+ width: $screen-filter-width;
5
+
6
+ @media screen and (min-width: $sm-width) {
7
+ padding-right: 10px;
8
+ }
9
+
10
+ @media screen and (min-width: $lg-width) {
11
+ padding-right: 0;
12
+ width: $lg-screen-filter-width;
13
+ }
14
+ }
15
+
16
+ #sidebar {
17
+ display: inline-block;
18
+
19
+ tr:hover {
20
+ background: rgba(243, 247, 249, 0.3);
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,49 @@
1
+ // BASIC COLOR
2
+ $red: #B02B2C;
3
+ $green: #00897B;
4
+ $blue: #4bacfe;
5
+ $black: #36393D;
6
+ $grey: #76838f;
7
+
8
+ // flash
9
+ $error: #dc4747 !default;
10
+ $warning: #f2a654 !default;
11
+ $success: #46be8a !default;
12
+ $info: #57c7d4 !default;
13
+ $flash-text-color: #fff !default;
14
+ $flash-background-color: $grey !default;
15
+
16
+ // status_tag
17
+ $status-tag-text-color: #fff !default;
18
+ $status-tag-background-color: #cacaca !default;
19
+ $status-tag-background-valid-color: $success !default;
20
+ $status-tag-background-error-color: $error !default;
21
+
22
+ $border-color: #e4eaec;
23
+
24
+
25
+ // body
26
+ $body-background: #eee !default;
27
+
28
+ // header
29
+ $header-border-color: #e6e6e6 !default;
30
+ $header-background: #fff !default;
31
+
32
+ // nav action
33
+ $header-nav-action-hover-background: #f5f5f5 !default;
34
+ $header-nav-action-active-background: #f0f0f0 !default;
35
+
36
+ //sidebar
37
+ $sidebar-border-color: $header-border-color !default;
38
+ $sidebar-background: #f5f5f5 !default;
39
+
40
+ $sidebar-item-hover-background: #f0f0f0 !default;
41
+ $sidebar-nested-item-hover-background: #e7e7e7 !default;
42
+
43
+ // text
44
+ $text-color: #5a5a5a !default;
45
+ $text-color-important: #526069 !default;
46
+
47
+ $box-shadow: 0 0 4px 0 rgba(0,0,0,0.1) !default;
48
+
49
+ $primary-color: $blue !default;
@@ -0,0 +1,10 @@
1
+ $sm-width: 576px !default;
2
+ $md-width: 768px !default;
3
+ $lg-width: 992px !default;
4
+ $x-lg-width: 1400px !default;
5
+
6
+ // <576px Extra small
7
+ // ≥576px Small
8
+ // ≥768px Medium
9
+ // ≥992px Large
10
+ // ≥1400px Extra large
@@ -0,0 +1,9 @@
1
+ $header-width: 200px !default;
2
+ $screen-header-width: calc(100% - 200px) !default;
3
+ $lg-header-width: 250px !default;
4
+ $lg-screen-header-width: calc(100% - 250px) !default;
5
+
6
+ $filter-width: 230px !default;
7
+ $screen-filter-width: calc(100% - 230px) !default;
8
+ $lg-filter-width: 270px !default;
9
+ $lg-screen-filter-width: calc(100% - 270px) !default;
@@ -0,0 +1,5 @@
1
+ @import "colors";
2
+ @import "size";
3
+ @import "media_queries";
4
+
5
+ $border-radius: 3px !default;
@@ -0,0 +1,9 @@
1
+ require "arctic_admin/version"
2
+ require 'font-awesome-rails'
3
+
4
+ module ArcticAdmin
5
+ module Rails
6
+ class Engine < ::Rails::Engine
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module ArcticAdmin
2
+ VERSION = "2.0.2"
3
+ end
metadata ADDED
@@ -0,0 +1,166 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: visagio-arctic_admin
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Clément Prod'homme
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-07-18 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
+ - !ruby/object:Gem::Dependency
42
+ name: activeadmin
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.0.alpha
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0.alpha
55
+ - !ruby/object:Gem::Dependency
56
+ name: jquery-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: font-awesome-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: A responsive theme for Active Admin
84
+ email:
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - app/assets/fonts/Lato-Bold.eot
90
+ - app/assets/fonts/Lato-Bold.ttf
91
+ - app/assets/fonts/Lato-Bold.woff
92
+ - app/assets/fonts/Lato-Bold.woff2
93
+ - app/assets/fonts/Lato-BoldItalic.eot
94
+ - app/assets/fonts/Lato-BoldItalic.ttf
95
+ - app/assets/fonts/Lato-BoldItalic.woff
96
+ - app/assets/fonts/Lato-BoldItalic.woff2
97
+ - app/assets/fonts/Lato-Italic.eot
98
+ - app/assets/fonts/Lato-Italic.ttf
99
+ - app/assets/fonts/Lato-Italic.woff
100
+ - app/assets/fonts/Lato-Italic.woff2
101
+ - app/assets/fonts/Lato-Regular.eot
102
+ - app/assets/fonts/Lato-Regular.ttf
103
+ - app/assets/fonts/Lato-Regular.woff
104
+ - app/assets/fonts/Lato-Regular.woff2
105
+ - app/assets/javascripts/arctic_admin/base.js
106
+ - app/assets/stylesheets/arctic_admin/_base.scss
107
+ - app/assets/stylesheets/arctic_admin/_common.scss
108
+ - app/assets/stylesheets/arctic_admin/_fonts.scss
109
+ - app/assets/stylesheets/arctic_admin/_grid.scss
110
+ - app/assets/stylesheets/arctic_admin/_reset.scss
111
+ - app/assets/stylesheets/arctic_admin/components/_columns.scss
112
+ - app/assets/stylesheets/arctic_admin/components/_comments.scss
113
+ - app/assets/stylesheets/arctic_admin/components/_components.scss
114
+ - app/assets/stylesheets/arctic_admin/components/_date_picker.scss
115
+ - app/assets/stylesheets/arctic_admin/components/_dialogs.scss
116
+ - app/assets/stylesheets/arctic_admin/components/_flash.scss
117
+ - app/assets/stylesheets/arctic_admin/components/_form.scss
118
+ - app/assets/stylesheets/arctic_admin/components/_inputs.scss
119
+ - app/assets/stylesheets/arctic_admin/components/_pagination.scss
120
+ - app/assets/stylesheets/arctic_admin/components/_panel_contents.scss
121
+ - app/assets/stylesheets/arctic_admin/components/_status_tag.scss
122
+ - app/assets/stylesheets/arctic_admin/components/_tables.scss
123
+ - app/assets/stylesheets/arctic_admin/components/_tabs.scss
124
+ - app/assets/stylesheets/arctic_admin/layouts/_filter.scss
125
+ - app/assets/stylesheets/arctic_admin/layouts/_footer.scss
126
+ - app/assets/stylesheets/arctic_admin/layouts/_header.scss
127
+ - app/assets/stylesheets/arctic_admin/layouts/_main_content.scss
128
+ - app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss
129
+ - app/assets/stylesheets/arctic_admin/mixins/_buttons_mixins.scss
130
+ - app/assets/stylesheets/arctic_admin/mixins/_mixins.scss
131
+ - app/assets/stylesheets/arctic_admin/mixins/_prefix_mixins.scss
132
+ - app/assets/stylesheets/arctic_admin/pages/_form.scss
133
+ - app/assets/stylesheets/arctic_admin/pages/_index.scss
134
+ - app/assets/stylesheets/arctic_admin/pages/_login.scss
135
+ - app/assets/stylesheets/arctic_admin/pages/_show.scss
136
+ - app/assets/stylesheets/arctic_admin/variables/_colors.scss
137
+ - app/assets/stylesheets/arctic_admin/variables/_media_queries.scss
138
+ - app/assets/stylesheets/arctic_admin/variables/_size.scss
139
+ - app/assets/stylesheets/arctic_admin/variables/_variables.scss
140
+ - lib/arctic_admin.rb
141
+ - lib/arctic_admin/version.rb
142
+ homepage: https://github.com/cle61/arctic_admin
143
+ licenses:
144
+ - MIT
145
+ metadata: {}
146
+ post_install_message:
147
+ rdoc_options: []
148
+ require_paths:
149
+ - lib
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ requirements: []
161
+ rubyforge_project:
162
+ rubygems_version: 2.5.1
163
+ signing_key:
164
+ specification_version: 4
165
+ summary: Arctic Admin theme for ActiveAdmin
166
+ test_files: []