rails_admin_material_theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +24 -0
- data/lib/rails_admin_material_theme.rb +4 -0
- data/lib/rails_admin_material_theme/engine.rb +4 -0
- data/lib/rails_admin_material_theme/version.rb +3 -0
- data/vendor/assets/stylesheets/rails_admin/themes/material_theme/mixins.scss +1 -0
- data/vendor/assets/stylesheets/rails_admin/themes/material_theme/theming.scss +135 -0
- data/vendor/assets/stylesheets/rails_admin/themes/material_theme/variables.scss +21 -0
- metadata +67 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1b4762ccfeb020628e697860676d266eeb5c330b
|
4
|
+
data.tar.gz: 2431825b98fbd1be0f6c099d69abb665ec03502b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 76923c9318e104d677f0c5fcc1d1b0048c876a571a6fc067e8e218e2418b9a6c6704aa7b732194278adf5f9a280bc4c9a3bfc3706b39074698f7731bc63fea81
|
7
|
+
data.tar.gz: d9ef90976351a17d18016d819cc588b9020d8feb23849d95255c2c7cbacc8ca35dbfd7f810e3bb765a22c895f43c0b28be2b924ac078a0e69eef9b280f3a4ae0
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2016 Guanting Chen
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
11
|
+
rdoc.title = 'RailsAdminMaterialTheme'
|
12
|
+
rdoc.options << '--line-numbers'
|
13
|
+
rdoc.rdoc_files.include('README.rdoc')
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
+
end
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
load 'rails/tasks/statistics.rake'
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
Bundler::GemHelper.install_tasks
|
24
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
/* ignore */
|
@@ -0,0 +1,135 @@
|
|
1
|
+
@import url(https://fonts.googleapis.com/css?family=Roboto:300,700);
|
2
|
+
|
3
|
+
// Animation Setting
|
4
|
+
// ====
|
5
|
+
a, .btn, small {
|
6
|
+
transition: background-color 0.2s ease,
|
7
|
+
color 0.2s ease !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
//
|
11
|
+
// Style Setting
|
12
|
+
// ====
|
13
|
+
a {
|
14
|
+
color: $link-text-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
body {
|
18
|
+
font-family: Roboto;
|
19
|
+
font-weight: 300;
|
20
|
+
font-size: 14px;
|
21
|
+
background-color: $body-bg-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
.nav-pills {
|
25
|
+
li.active {
|
26
|
+
& > a,
|
27
|
+
& > a:focus
|
28
|
+
& > a:hover {
|
29
|
+
background-color: $sidebar-nav-link-text-focus-color !important;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.sidebar-nav {
|
35
|
+
color: $sidebar-nav-text-color;
|
36
|
+
background-color: $sidebar-nav-bg-color !important;
|
37
|
+
font-size: 13px;
|
38
|
+
|
39
|
+
.dropdown-header {
|
40
|
+
color: fade-out($sidebar-nav-text-color, 0.5) !important;
|
41
|
+
font-weight: 300 !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
a {
|
45
|
+
color: $sidebar-nav-link-text-color;
|
46
|
+
font-weight: normal !important;
|
47
|
+
|
48
|
+
&:hover {
|
49
|
+
color: $sidebar-nav-link-text-hover-color;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.navbar-nav {
|
55
|
+
a {
|
56
|
+
color: $navbar-nav-link-color !important;
|
57
|
+
|
58
|
+
&:hover {
|
59
|
+
color: fade-out($navbar-nav-link-color, 0.5) !important;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.navbar-default {
|
65
|
+
background-color: $navbar-bg-color !important;
|
66
|
+
border-width: 0 !important;
|
67
|
+
|
68
|
+
.navbar-brand {
|
69
|
+
color: $navbar-brand-link-color !important;
|
70
|
+
|
71
|
+
&:hover {
|
72
|
+
color: fade-out($navbar-brand-link-color, 0.5) !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
small {
|
76
|
+
color: $navbar-brand-small-text-color !important;
|
77
|
+
|
78
|
+
&:hover {
|
79
|
+
color: fade-out($navbar-brand-small-text-color, 0.5) !important;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
input {
|
86
|
+
outline: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
input[type="search"] {
|
90
|
+
border-width: 0 !important;
|
91
|
+
}
|
92
|
+
|
93
|
+
.label, .control-label {
|
94
|
+
font-weight: 300 !important;
|
95
|
+
}
|
96
|
+
|
97
|
+
.btn-primary {
|
98
|
+
background-color: $btn-primany-bg-color;
|
99
|
+
|
100
|
+
&:hover {
|
101
|
+
background-color: fade-out($btn-primany-bg-color, 0.5);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.table > thead > tr > th,
|
106
|
+
.table > thead > tr > td,
|
107
|
+
.table > tbody > tr > th,
|
108
|
+
.table > tbody > tr > td,
|
109
|
+
.table > tfoot > tr > th,
|
110
|
+
.table > tfoot > tr > td {
|
111
|
+
line-height: 1.5em;
|
112
|
+
border-top: 1px solid fade-out($cell-border-color, 0.5);
|
113
|
+
}
|
114
|
+
|
115
|
+
.content {
|
116
|
+
padding: 1em;
|
117
|
+
}
|
118
|
+
|
119
|
+
// Reset radius
|
120
|
+
// ====
|
121
|
+
.btn, .well, .label {
|
122
|
+
border-width: 0 !important;
|
123
|
+
border-radius: 0 !important;
|
124
|
+
}
|
125
|
+
|
126
|
+
.nav-tabs {
|
127
|
+
a {
|
128
|
+
border-top-left-radius: 0 !important;
|
129
|
+
border-top-right-radius: 0 !important;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
.form-control, .progress {
|
134
|
+
border-radius: 0 !important;
|
135
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$body-bg-color: #FAFAFA;
|
2
|
+
|
3
|
+
$link-text-color: #039BE5;
|
4
|
+
|
5
|
+
$sidebar-nav-text-color: white;
|
6
|
+
$sidebar-nav-bg-color: #212121;
|
7
|
+
|
8
|
+
$sidebar-nav-link-text-color: white;
|
9
|
+
$sidebar-nav-link-text-hover-color: #455A64;
|
10
|
+
$sidebar-nav-link-text-focus-color: #455A64;
|
11
|
+
|
12
|
+
$navbar-bg-color: #333333;
|
13
|
+
|
14
|
+
$navbar-nav-link-color: white;
|
15
|
+
|
16
|
+
$navbar-brand-link-color: #CFD8DC;
|
17
|
+
$navbar-brand-small-text-color: white;
|
18
|
+
|
19
|
+
$btn-primany-bg-color: #0288D1;
|
20
|
+
|
21
|
+
$cell-border-color: #DDDDDD;
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails_admin_material_theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guanting Chen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-06-13 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: '4.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.2'
|
27
|
+
description: Material Theme for Rails Admin ( alpha version )
|
28
|
+
email:
|
29
|
+
- cgt886@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- MIT-LICENSE
|
35
|
+
- README.rdoc
|
36
|
+
- Rakefile
|
37
|
+
- lib/rails_admin_material_theme.rb
|
38
|
+
- lib/rails_admin_material_theme/engine.rb
|
39
|
+
- lib/rails_admin_material_theme/version.rb
|
40
|
+
- vendor/assets/stylesheets/rails_admin/themes/material_theme/mixins.scss
|
41
|
+
- vendor/assets/stylesheets/rails_admin/themes/material_theme/theming.scss
|
42
|
+
- vendor/assets/stylesheets/rails_admin/themes/material_theme/variables.scss
|
43
|
+
homepage: http://guanting.io
|
44
|
+
licenses:
|
45
|
+
- MIT
|
46
|
+
metadata: {}
|
47
|
+
post_install_message:
|
48
|
+
rdoc_options: []
|
49
|
+
require_paths:
|
50
|
+
- lib
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
requirements: []
|
62
|
+
rubyforge_project:
|
63
|
+
rubygems_version: 2.5.1
|
64
|
+
signing_key:
|
65
|
+
specification_version: 4
|
66
|
+
summary: Material Theme for Rails Admin
|
67
|
+
test_files: []
|