rails_admin_rst_theme 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d0c0a55183b24d7bfb62844d619a3e277ebb5e10
4
+ data.tar.gz: a33faa236c90b760d385f40b1b89f7d00feea607
5
+ SHA512:
6
+ metadata.gz: 3ff8fb404f75bbc915d441b5037a46c339d9ad0678c71f705accd427f1f23b6ae62129598694b787053bee9b4231b92e168f07769ace0ab908f02a13e301fafa
7
+ data.tar.gz: cc79c058f6e8cddcf60dd588c0ae8e5e876dd19b03c0abcdc107ad2322ff430ae3658bddffb3a1d0aff1277dcff66a350e990202e5eab6c776f05ca545df5c38
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2015 Wojciech Krysiak
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.md ADDED
@@ -0,0 +1,19 @@
1
+ RailsAdminRstTheme
2
+ ===================================================
3
+
4
+ This project rocks and uses MIT-LICENSE.
5
+
6
+ Use a theme
7
+ ---------------------------------------------------
8
+
9
+ In your Gemfile:
10
+
11
+ ```
12
+ gem 'rails_admin_rst_theme', :git => 'git@github.com:rstgroup/rails_admin_rst_theme.git'
13
+ ```
14
+
15
+ Inside config/application.rb, just after Bundler.require:
16
+
17
+ ```
18
+ ENV['RAILS_ADMIN_THEME'] = 'rst_theme'
19
+ ```
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 = 'RailsAdminRstTheme'
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,4 @@
1
+ require 'rails_admin_rst_theme/engine'
2
+
3
+ module RailsAdminRstTheme
4
+ end
@@ -0,0 +1,4 @@
1
+ module RailsAdminRstTheme
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module RailsAdminRstTheme
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,8 @@
1
+ /*
2
+ Customize Sass mixins from Twitter-Bootstrap/RailsAdmin theme or add new ones for your own use.
3
+
4
+ Available mixins to use/override:
5
+
6
+ https://github.com/twbs/bootstrap-sass/tree/master/assets/stylesheets/bootstrap/mixins
7
+ https://github.com/sferik/rails_admin/blob/master/app/assets/stylesheets/rails_admin/base/mixins.scss
8
+ */
@@ -0,0 +1,9 @@
1
+ @import './theming/layout'
2
+ @import './theming/content'
3
+ @import './theming/headers'
4
+ @import './theming/tables'
5
+ @import './theming/stats'
6
+ @import './theming/progress'
7
+ @import './theming/list'
8
+ @import './theming/buttons'
9
+ @import './theming/forms'
@@ -0,0 +1,15 @@
1
+ .btn
2
+ text-transform: uppercase
3
+ background: transparent
4
+ color: $orange
5
+ &.btn-info
6
+ background: transparent
7
+ border-color: transparent
8
+ color: $orange
9
+ border: none 0px
10
+ i.icon-white
11
+ color: $orange
12
+ &.btn-primary
13
+ background-color: $orange
14
+ border-color: $orange
15
+ color: #fff
@@ -0,0 +1,63 @@
1
+ .content
2
+ position: relative
3
+ ol.breadcrumb
4
+ position: absolute
5
+ top: 20px
6
+ left: 0
7
+ right: 0
8
+ background: transparent
9
+ font-size: 12px
10
+ font-weight: 600
11
+ text-transform: uppercase
12
+ color: $cloudyBlue
13
+ padding-left: 0
14
+ a, .active
15
+ color: $cloudyBlue
16
+ .page-header
17
+ padding-top: 50px
18
+
19
+ ul.nav.nav-tabs
20
+ background: $grayLight
21
+ border: none
22
+ box-shadow: 0px 0px 10px #ccc
23
+ z-index: 1
24
+ li
25
+ margin: 0 9px
26
+ a
27
+ color: $gray
28
+ padding-top: 15px
29
+ padding-bottom: 15px
30
+ text-transform: uppercase
31
+ i
32
+ display: none
33
+ &:hover
34
+ background: none
35
+ border-color: transparent
36
+ &.active a
37
+ background: none
38
+ border-style: none none solid
39
+ border-color: $orange
40
+ border-width: 4px
41
+
42
+ & > .fieldset, & > form
43
+ background: #fff
44
+ box-shadow: 0px 5px 10px #ccc
45
+ z-index: 2
46
+ padding: 15px
47
+ #list
48
+ background: #fff
49
+ box-shadow: 0px 5px 10px #ccc
50
+ z-index: 2
51
+ padding: 15px
52
+ .well
53
+ padding: 0
54
+ background: transparent
55
+ border: none
56
+ box-shadow: none
57
+
58
+ .page
59
+ background: #fff
60
+ box-shadow: 0px 5px 10px #ccc
61
+ z-index: 2
62
+ padding: 15px
63
+ margin-bottom: 30px
@@ -0,0 +1,2 @@
1
+ body.rails_admin .form-horizontal.denser
2
+ margin-top: 0
@@ -0,0 +1,10 @@
1
+ h1
2
+ font-size: 36px
3
+ color: $gray
4
+ font-weight: 300
5
+ h2
6
+ font-size: 28px
7
+ color: $gray
8
+ font-weight: 300
9
+ margin-top: 30px
10
+ margin-bottom: 20px
@@ -0,0 +1,42 @@
1
+ @import url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700')
2
+
3
+ body.rails_admin
4
+ font-family: 'Source Sans Pro', sans-serif
5
+ background: $grayBck
6
+
7
+ body.rails_admin
8
+ .navbar.navbar-default
9
+ background: $orange
10
+ a.navbar-brand
11
+ color: #a6310f
12
+
13
+ .navbar-nav > li > a
14
+ color: #fff
15
+
16
+
17
+ .nav.nav-tabs
18
+ margin-bottom: 0px
19
+
20
+ .sidebar-nav
21
+ background: $grayBck
22
+ .dropdown-header
23
+ font-size: 12px
24
+ font-weight: 600
25
+ margin: 20px 0
26
+ text-transform: uppercase
27
+ color: $cloudyBlue
28
+ padding-left: 15px
29
+
30
+ .nav-pills > li
31
+ a
32
+ color: $gray
33
+ font-size: 14px
34
+ i
35
+ display: none
36
+ &.active > a,
37
+ &:hover > a
38
+ background: none
39
+ color: $orange
40
+
41
+ .container-fluid
42
+ margin-right: 30px
@@ -0,0 +1,5 @@
1
+ #list
2
+ & > form.form
3
+ margin: 0 -15px
4
+ .total-count
5
+ margin-left: 15px
@@ -0,0 +1,3 @@
1
+ .progress
2
+ .progress-bar-info
3
+ background-color: $orange
@@ -0,0 +1,12 @@
1
+ .stat-box
2
+ background: #f5f7f8
3
+ padding: 10px
4
+ color: $gray
5
+ border-bottom: 3px $orange solid
6
+ h3
7
+ font-weight: 300
8
+ font-size: 38px
9
+
10
+ &.success
11
+ background: $orange
12
+ color: #fff
@@ -0,0 +1,21 @@
1
+ body.rails_admin .table
2
+ thead
3
+ border-bottom: #f5f7f9 2px solid
4
+ background: #fff
5
+ td
6
+ padding: 20px
7
+ border: none
8
+ th
9
+ padding: 20px
10
+ color: rgba(90, 97, 102, 0.5)
11
+ font-size: 12px
12
+ td.links
13
+ a
14
+ i
15
+ font-size: 130%
16
+ color: $iconMuted
17
+ &:hover i
18
+ color: $orange
19
+
20
+ .table-striped > tbody > tr:nth-child(odd) > td
21
+ background: #f9fafb
@@ -0,0 +1,6 @@
1
+ $orange: #f2882e
2
+ $grayBck: #ebeff2
3
+ $gray: #5a6166
4
+ $grayLight: #f5f7f8
5
+ $cloudyBlue: #b1bfca
6
+ $iconMuted: #b9bcbe
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_admin_rst_theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Wojciech Krysiak
8
+ - Kuba Stanek
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-11-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 4.2.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 4.2.0
28
+ description: Rails Admin theme used by RST-IT company.
29
+ email:
30
+ - wojciech.krysiak@rst-it.com
31
+ - kuba.stanek@rst-it.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - MIT-LICENSE
37
+ - README.md
38
+ - Rakefile
39
+ - lib/rails_admin_rst_theme.rb
40
+ - lib/rails_admin_rst_theme/engine.rb
41
+ - lib/rails_admin_rst_theme/version.rb
42
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/mixins.scss
43
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming.sass
44
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/buttons.sass
45
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/content.sass
46
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/forms.sass
47
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/headers.sass
48
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/layout.sass
49
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/list.sass
50
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/progress.sass
51
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/stats.sass
52
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/theming/tables.sass
53
+ - vendor/assets/stylesheets/rails_admin/themes/rst_theme/variables.sass
54
+ homepage: https://github.com/rstgroup/rails_admin_rst_theme
55
+ licenses:
56
+ - MIT
57
+ metadata: {}
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project:
74
+ rubygems_version: 2.2.2
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: Rails Admin theme used by RST-IT company.
78
+ test_files: []