active_admin_mobile 0.1.0
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.
- checksums.yaml +7 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -0
- data/README.md +26 -0
- data/Rakefile +8 -0
- data/app/assets/stylesheets/_layout.scss +124 -0
- data/lib/active_admin_mobile/version.rb +5 -0
- data/lib/active_admin_mobile.rb +8 -0
- data/sig/active_admin_mobile.rbs +4 -0
- metadata +51 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0ddea09c6697c53b7aaaa5f380f2ebcbe0d818cf0f8ed9f08b4dd00b25cadb18
|
4
|
+
data.tar.gz: 8ad2a0eb07fcd63dc70d40426db61efd0b9619f3ab7dd85efa25d14c1c523852
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9c8ae38d30ff1f34c10e2fb251a6f62b1ca6f3a7fb94bbef52945224734edd2e8df2ece275ddc0224c9523b338ee349a5272db8d686662b3f26acf0211a40650
|
7
|
+
data.tar.gz: f0e2040c7d489a9659fb49d4c03ea61945be7d69e7c687827f0e4f5f75deb8c88869869cb5ccf1dcbd388854585db544db739009cc6f4dcfa66b179e120d2b4c
|
data/.rubocop.yml
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# ActiveAdminMobile
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/active_admin_mobile`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Install the gem and add to the application's Gemfile by executing:
|
8
|
+
|
9
|
+
$ bundle add active_admin_mobile
|
10
|
+
|
11
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
12
|
+
|
13
|
+
$ gem install active_admin_mobile
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
|
18
|
+
## Development
|
19
|
+
|
20
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
21
|
+
|
22
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
|
26
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/active_admin_mobile.
|
data/Rakefile
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
body {
|
2
|
+
font-family: RobotoCondensed;
|
3
|
+
font-size: 16px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.index #wrapper {
|
7
|
+
display: grid;
|
8
|
+
grid-template-areas:
|
9
|
+
"header"
|
10
|
+
"title_bar"
|
11
|
+
"flashes"
|
12
|
+
"content"
|
13
|
+
"footer";
|
14
|
+
}
|
15
|
+
|
16
|
+
#header {
|
17
|
+
grid-area: header;
|
18
|
+
display: flex;
|
19
|
+
justify-content: space-between;
|
20
|
+
align-items: center;
|
21
|
+
gap: 2rem;
|
22
|
+
height: auto;
|
23
|
+
padding: 24px 32px 20px 32px;
|
24
|
+
background-color: $primary-800;
|
25
|
+
background-image: none;
|
26
|
+
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
|
27
|
+
text-shadow: none;
|
28
|
+
|
29
|
+
h1 {
|
30
|
+
padding: 0;
|
31
|
+
margin: 0;
|
32
|
+
line-height: 1;
|
33
|
+
|
34
|
+
img {
|
35
|
+
top: 0;
|
36
|
+
width: 98px;
|
37
|
+
padding: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
ul.tabs {
|
42
|
+
display: flex;
|
43
|
+
align-items: center;
|
44
|
+
|
45
|
+
& > li > a:hover {
|
46
|
+
background-color: $accent-400;
|
47
|
+
color: #ffffff;
|
48
|
+
text-shadow: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
& > li.current > a {
|
52
|
+
background-color: $accent-400;
|
53
|
+
color: #ffffff;
|
54
|
+
text-shadow: none;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.header-item {
|
59
|
+
top: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
#utility_nav {
|
63
|
+
display: flex;
|
64
|
+
padding: 0;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
#title_bar {
|
69
|
+
grid-area: title_bar;
|
70
|
+
background-image: none;
|
71
|
+
background-color: #ffffff;
|
72
|
+
border: none;
|
73
|
+
text-shadow: none;
|
74
|
+
text-shadow: none;
|
75
|
+
|
76
|
+
h2 {
|
77
|
+
font-size: 48px;
|
78
|
+
font-weight: normal;
|
79
|
+
font-style: normal;
|
80
|
+
line-height: normal;
|
81
|
+
letter-spacing: normal;
|
82
|
+
color: $accent-400;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.flashes {
|
87
|
+
grid-area: flashes;
|
88
|
+
}
|
89
|
+
|
90
|
+
#active_admin_content {
|
91
|
+
grid-area: content;
|
92
|
+
|
93
|
+
&.with_sidebar {
|
94
|
+
display: flex;
|
95
|
+
flex-direction: column-reverse;
|
96
|
+
gap: 2rem;
|
97
|
+
|
98
|
+
@media screen and (min-width: 1075px) {
|
99
|
+
flex-direction: row;
|
100
|
+
}
|
101
|
+
|
102
|
+
#main_content_wrapper {
|
103
|
+
float: none;
|
104
|
+
|
105
|
+
#main_content {
|
106
|
+
margin-right: 0;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
#sidebar {
|
111
|
+
float: none;
|
112
|
+
margin-left: 0;
|
113
|
+
width: 100%;
|
114
|
+
|
115
|
+
@media screen and (min-width: 1075px) {
|
116
|
+
width: 400px;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
#footer {
|
123
|
+
grid-area: footer;
|
124
|
+
}
|
metadata
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: active_admin_mobile
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- cjhutchi
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- chutchinson.252@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".rubocop.yml"
|
21
|
+
- CHANGELOG.md
|
22
|
+
- Gemfile
|
23
|
+
- README.md
|
24
|
+
- Rakefile
|
25
|
+
- app/assets/stylesheets/_layout.scss
|
26
|
+
- lib/active_admin_mobile.rb
|
27
|
+
- lib/active_admin_mobile/version.rb
|
28
|
+
- sig/active_admin_mobile.rbs
|
29
|
+
homepage: https://github.com/cjhutchi/active_admin_mobile
|
30
|
+
licenses: []
|
31
|
+
metadata: {}
|
32
|
+
post_install_message:
|
33
|
+
rdoc_options: []
|
34
|
+
require_paths:
|
35
|
+
- lib
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.6.0
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
requirements: []
|
47
|
+
rubygems_version: 3.3.26
|
48
|
+
signing_key:
|
49
|
+
specification_version: 4
|
50
|
+
summary: Write a short summary, because RubyGems requires one.
|
51
|
+
test_files: []
|