activeadmin_dark_color_scheme 0.1.6 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d4e2a2195914f93cfcf840b5c5e3dea3669ec4755a25e95336ac3cbd047cd51
4
- data.tar.gz: c134d052ed3c6b31601ec95df0d32b14a55c3e8e63d9016d26744d11cc196266
3
+ metadata.gz: 62cb698cf248acfa702b5cd33b4115cd41e93b72fc5ad84171faf1a676573b41
4
+ data.tar.gz: cd1461c82c50f451aed75fab250e4c8bd51510e725ef70d64ae6676269ca1a4a
5
5
  SHA512:
6
- metadata.gz: 84e1f184ab395df64e8c85c076f0fc3f7601df6b88260e247d36ad385d421fa23fe395a5f57d0287411a40156bdf8e0ee532f5f309ca6effdf694fe1a7865cac
7
- data.tar.gz: 738167ba7d126afc6a3bf5ea92efbad34433a8629aa2a9a5e3d9ae82545e5083aba1c982c71c889945f6b6c278cc5575296fd5ee6de88056acce297ffd5416b6
6
+ metadata.gz: 9bd5aae0e5a6eeb543632bd130cce1b83e47eecb34f1e64c042d51d93338a20b369121d6ca4a3f586f647e6cdb7660c1f82b95eda4a1143a47784f32677afbe2
7
+ data.tar.gz: f87b872d606d954af9abda84a1a1c1a8b2a5a9063e34af6ae037db6d9ff00bec56be8206d052826702ba256a601fbf7852b5e220db7d94ecf57aa79df8651de4
data/Gemfile CHANGED
@@ -2,15 +2,4 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in moscow_metro.gemspec
6
5
  gemspec
7
-
8
- group :test do
9
- gem "pry"
10
- end
11
-
12
- group :test do
13
- # gem "coveralls", require: false
14
- gem "rake"
15
- gem "rspec"
16
- end
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeadmin_dark_color_scheme (0.1.6)
5
- sassc-rails (~> 2, >= 2.0.0)
4
+ activeadmin_dark_color_scheme (0.1.7)
5
+ railties (>= 4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -25,15 +25,11 @@ GEM
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
27
27
  tzinfo (~> 2.0)
28
- autoprefixer-rails (10.4.7.0)
29
- execjs (~> 2)
30
28
  builder (3.2.4)
31
- coderay (1.1.3)
32
29
  concurrent-ruby (1.1.10)
33
30
  crass (1.0.6)
34
31
  diff-lcs (1.5.0)
35
32
  erubi (1.10.0)
36
- execjs (2.8.1)
37
33
  ffi (1.15.5)
38
34
  i18n (1.10.0)
39
35
  concurrent-ruby (~> 1.0)
@@ -44,9 +40,6 @@ GEM
44
40
  minitest (5.15.0)
45
41
  nokogiri (1.13.6-arm64-darwin)
46
42
  racc (~> 1.4)
47
- pry (0.14.1)
48
- coderay (~> 1.1)
49
- method_source (~> 1.0)
50
43
  racc (1.6.0)
51
44
  rack (2.2.3.1)
52
45
  rack-test (1.1.0)
@@ -79,31 +72,14 @@ GEM
79
72
  rspec-support (3.11.0)
80
73
  sassc (2.4.0)
81
74
  ffi (~> 1.9)
82
- sassc-rails (2.1.2)
83
- railties (>= 4.0.0)
84
- sassc (>= 2.0)
85
- sprockets (> 3.0)
86
- sprockets-rails
87
- tilt
88
- sprockets (4.0.3)
89
- concurrent-ruby (~> 1.0)
90
- rack (> 1, < 3)
91
- sprockets-rails (3.4.2)
92
- actionpack (>= 5.2)
93
- activesupport (>= 5.2)
94
- sprockets (>= 3.0.0)
95
75
  sync (0.5.0)
96
76
  term-ansicolor (1.7.1)
97
77
  tins (~> 1.0)
98
78
  thor (1.2.1)
99
- tilt (2.0.10)
100
79
  tins (1.31.1)
101
80
  sync
102
81
  tzinfo (2.0.4)
103
82
  concurrent-ruby (~> 1.0)
104
- webrick (1.7.0)
105
- yard (0.9.28)
106
- webrick (~> 1.7.0)
107
83
  zeitwerk (2.5.4)
108
84
 
109
85
  PLATFORMS
@@ -111,12 +87,10 @@ PLATFORMS
111
87
 
112
88
  DEPENDENCIES
113
89
  activeadmin_dark_color_scheme!
114
- autoprefixer-rails (~> 10, >= 10.4.7)
115
- pry
116
- rake
117
- rspec
90
+ rake (~> 13)
91
+ rspec (~> 3)
92
+ sassc (~> 2, >= 2.0.0)
118
93
  term-ansicolor (~> 1)
119
- yard (~> 0, >= 0.9.20)
120
94
 
121
95
  BUNDLED WITH
122
96
  2.3.15
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Dark color scheme for Activeadmin
1
+ # Dark color scheme for ActiveAdmin
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/activeadmin_dark_color_scheme.svg)](https://badge.fury.io/rb/activeadmin_dark_color_scheme)
4
4
 
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
1
  require "bundler/setup"
2
2
  require "bundler/gem_tasks"
3
3
  require "rspec/core/rake_task"
4
+ require "term/ansicolor"
5
+
6
+ require "./lib/activeadmin/dark_color_scheme"
4
7
 
5
8
  RSpec::Core::RakeTask.new(:spec)
6
9
 
@@ -10,6 +13,31 @@ load "rails/tasks/statistics.rake"
10
13
 
11
14
  task default: :spec
12
15
 
16
+ desc "Dumps output to a CSS file for testing"
17
+ task :debug do
18
+ require "sassc"
19
+
20
+ path = Activeadmin::DarkColorScheme.stylesheets_path
21
+ entrypoins = %w(_activeadmin-dark-color-scheme)
22
+
23
+ entrypoins.each do |file|
24
+ css = File.read("#{path}/#{file}.sass")
25
+ engine = SassC::Engine.new(css, syntax: :sass, load_paths: [path])
26
+ out = File.join("tmp", "#{file[1..-1]}.css")
27
+ css = engine.render
28
+ File.open(out, "w+") do |f|
29
+ f << css
30
+ end
31
+ $stderr.puts Term::ANSIColor.green "Compiled #{out}"
32
+ $stderr.puts css
33
+ end
34
+ end
35
+
36
+ # desc "Publish"
37
+ # task :publish do
38
+ # puts `gem push pkg/activeadmin_dark_color_scheme-#{Activeadmin::DarkColorScheme::VERSION}.gem`
39
+ # end
40
+
13
41
  # require 'rake/testtask'
14
42
  # Rake::TestTask.new do |t|
15
43
  # t.libs << 'test'
@@ -50,30 +78,6 @@ task default: :spec
50
78
  # end
51
79
  # end
52
80
 
53
- desc "Dumps output to a CSS file for testing"
54
- task :debug do
55
- require "sassc"
56
- require "term/ansicolor"
57
- require "autoprefixer-rails"
58
- require "./lib/activeadmin/dark_color_scheme"
59
-
60
- path = Activeadmin::DarkColorScheme.stylesheets_path
61
- entrypoins = %w(_activeadmin-dark-color-scheme)
62
-
63
- entrypoins.each do |file|
64
- css = File.read("#{path}/#{file}.sass")
65
- engine = SassC::Engine.new(css, syntax: :sass, load_paths: [path])
66
- out = File.join("tmp", "#{file[1..-1]}.css")
67
- css = engine.render
68
- css = AutoprefixerRails.process(css)
69
- # File.write(out, css)
70
- File.open(out, "w+") do |f|
71
- f << css
72
- end
73
- $stderr.puts Term::ANSIColor.green "Compiled #{out}"
74
- end
75
- end
76
-
77
81
  # desc 'Start a dummy Rails app server'
78
82
  # task :rails_server do
79
83
  # require 'rack'
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
16
16
  You can override that on the browser level if you wish.
17
17
  HEREDOC
18
18
 
19
- spec.homepage = "https://github.com/sergeypedan/activeadmin-dark-color-scheme"
19
+ spec.homepage = "https://github.com/sergeypedan/#{spec.name.gsub('_', '-')}"
20
20
  spec.extra_rdoc_files = ["README.md", "CHANGELOG.md"]
21
21
  spec.rdoc_options = ["--charset=UTF-8"]
22
22
  spec.metadata = { "changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
23
23
  "documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}",
24
- "homepage_uri" => spec.homepage,
24
+ "homepage_uri" => "https://sergeypedan.ru/open_source_projects/#{spec.name.gsub('_', '-')}",
25
25
  "source_code_uri" => spec.homepage }
26
26
 
27
27
  spec.require_paths = ["app", "lib"]
@@ -34,13 +34,11 @@ Gem::Specification.new do |spec|
34
34
  .reject { |f| f.start_with? "." }
35
35
  end
36
36
 
37
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.3")
38
- # SassC requires Ruby 2.3.3+
37
+ spec.add_runtime_dependency "activeadmin", ">= 2"
38
+ spec.add_runtime_dependency "railties", ">= 4"
39
39
 
40
- spec.add_runtime_dependency "sassc-rails", "~> 2", ">= 2.0.0"
41
-
42
- spec.add_development_dependency "autoprefixer-rails", "~> 10", ">= 10.4.7"
43
- spec.add_development_dependency "rspec", "~> 3"
44
- spec.add_development_dependency "term-ansicolor", "~> 1"
45
- spec.add_development_dependency "yard", "~> 0", ">= 0.9.20"
40
+ spec.add_development_dependency "rake", "~> 13"
41
+ spec.add_development_dependency "rspec", "~> 3"
42
+ spec.add_development_dependency "sassc", "~> 2", ">= 2.0.0"
43
+ spec.add_development_dependency "term-ansicolor", "~> 1"
46
44
  end
@@ -0,0 +1,38 @@
1
+ @media (prefers-color-scheme: dark)
2
+ .xdsoft_datetimepicker
3
+ background-color: $dt-picker-bg
4
+ border-color: $dt-picker-border-color
5
+ color: white
6
+
7
+ .xdsoft_label
8
+ background-color: $dt-picker-bg
9
+
10
+ .xdsoft_calendar
11
+ th
12
+ background-color: $dt-picker-bg
13
+ border-color: $dt-picker-border-color
14
+ color: white
15
+
16
+ td
17
+ background-color: $dt-picker-bg
18
+ border-color: $dt-picker-border-color
19
+ color: white
20
+
21
+ &.xdsoft_default,
22
+ &.xdsoft_current
23
+ background-color: $dt-picker-cell-active-bg
24
+ box-shadow: $dt-picker-cell-active-box-shadow
25
+
26
+ .xdsoft_timepicker
27
+ .xdsoft_time_box
28
+ border-color: $dt-picker-border-color
29
+
30
+ > div
31
+ > div
32
+ background-color: $dt-picker-bg
33
+ border-color: $dt-picker-border-color
34
+ color: white
35
+
36
+ &.xdsoft_current
37
+ background-color: $dt-picker-cell-active-bg
38
+ box-shadow: $dt-picker-cell-active-box-shadow
@@ -0,0 +1,3 @@
1
+ @media (prefers-color-scheme: dark)
2
+ .status_tag
3
+ background-color: $status-tag-bg
@@ -0,0 +1,42 @@
1
+ @media (prefers-color-scheme: dark)
2
+ %btn-dark-inset-state
3
+ background-color: $btn-dark-1-inset-bg
4
+ background-image: linear-gradient($btn-dark-1-inset-gradient-stop-top, $btn-dark-1-inset-gradient-stop-bottom)
5
+ border-top-color: $btn-datk-1-inset-border-top-color
6
+ border-right-color: lighten($btn-dark-1-bg, 10%)
7
+ border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 10%)
8
+ border-left-color: $btn-dark-1-inset-color
9
+ box-shadow: 0 1px 3px 0 hsla(0, 0%, 0%, 0.3) inset
10
+
11
+ @mixin btn-dark-1
12
+ background-color: $btn-dark-1-bg
13
+ background-image: linear-gradient(to bottom, $btn-dark-1-gradient-stop-top, $btn-dark-1-gradient-stop-bottom)
14
+ border-top-color: lighten($btn-dark-1-gradient-stop-top, 5%)
15
+ border-right-color: lighten($btn-dark-1-bg, 10%)
16
+ border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 5%)
17
+ border-left-color: lighten($btn-dark-1-bg, 10%)
18
+ box-shadow: 0 1px 2px darken($btn-dark-1-gradient-stop-bottom, 10%)
19
+ color: $btn-dark-1-color
20
+ text-shadow: none
21
+
22
+ &:not(.disabled)
23
+ &:hover:not(:active)
24
+ background-image: linear-gradient(to bottom, lighten($btn-dark-1-gradient-stop-top, 2%), lighten($btn-dark-1-gradient-stop-bottom, 2%))
25
+
26
+ &:active
27
+ @extend %btn-dark-inset-state
28
+
29
+ &:focus, &:focus-visible
30
+ outline-color: $btn-focus-outline-color
31
+ outline-offset: $btn-focus-outline-auto-offset
32
+ outline-style: $btn-focus-outline-auto-style
33
+ outline-width: $btn-focus-outline-width
34
+
35
+
36
+ @mixin btn-dark-1-inset
37
+ color: $btn-dark-1-color
38
+ @extend %btn-dark-inset-state
39
+
40
+ &:not(.disabled)
41
+ &:hover
42
+ background-image: linear-gradient(to bottom, lighten($btn-dark-1-inset-gradient-stop-top, 2%), lighten($btn-dark-1-inset-gradient-stop-bottom, 2%))
@@ -0,0 +1,15 @@
1
+ @mixin btn-light-1
2
+ background-color: $btn-light-1-bg
3
+ background-image: linear-gradient(180deg, $btn-light-1-gradient-stop-top, $btn-light-1-gradient-stop-bottom)
4
+ color: $btn-light-1-color
5
+ text-shadow: none
6
+
7
+ &:not(.disabled)
8
+ &:hover
9
+ background-image: linear-gradient(to bottom, darken($btn-light-1-gradient-stop-top, 3%), darken($btn-light-1-gradient-stop-bottom, 3%))
10
+
11
+ &:focus, &:focus-visible
12
+ outline-color: $btn-focus-outline-color
13
+ outline-offset: $btn-focus-outline-auto-offset
14
+ outline-style: $btn-focus-outline-auto-style
15
+ outline-width: $btn-focus-outline-width
@@ -0,0 +1,4 @@
1
+ $dt-picker-bg: rgb(46, 50, 52)
2
+ $dt-picker-border-color: $dt-picker-bg
3
+ $dt-picker-cell-active-bg: hsl(205, 100%, 35%)
4
+ $dt-picker-cell-active-box-shadow: 0 1px 3px 0 darken($dt-picker-cell-active-bg, 15%) inset
@@ -0,0 +1 @@
1
+ $status-tag-bg: #3f4245 !default
@@ -1,16 +1,16 @@
1
1
  // Variables
2
- @import "./activeadmin-dark-color-scheme/variables/base"
3
2
  @import "./activeadmin-dark-color-scheme/variables/alerts"
3
+ @import "./activeadmin-dark-color-scheme/variables/base"
4
4
  @import "./activeadmin-dark-color-scheme/variables/buttons"
5
5
  @import "./activeadmin-dark-color-scheme/variables/inputs"
6
6
  @import "./activeadmin-dark-color-scheme/variables/labels"
7
7
  @import "./activeadmin-dark-color-scheme/variables/panels"
8
8
  @import "./activeadmin-dark-color-scheme/variables/select2"
9
9
  @import "./activeadmin-dark-color-scheme/variables/tables"
10
- @import "./activeadmin-dark-color-scheme/variables/toggle-bool"
11
10
 
12
11
  // Mixins
13
- @import "./activeadmin-dark-color-scheme/mixins/buttons"
12
+ @import "./activeadmin-dark-color-scheme/mixins/button-light"
13
+ @import "./activeadmin-dark-color-scheme/mixins/button-dark"
14
14
  @import "./activeadmin-dark-color-scheme/mixins/panel-heads"
15
15
 
16
16
  // Modules
@@ -30,5 +30,12 @@
30
30
  @import "./activeadmin-dark-color-scheme/modules/table-index"
31
31
  @import "./activeadmin-dark-color-scheme/modules/tabs"
32
32
  @import "./activeadmin-dark-color-scheme/modules/title-bar"
33
- @import "./activeadmin-dark-color-scheme/modules/toggle-bool-switch"
34
33
  @import "./activeadmin-dark-color-scheme/modules/top-level"
34
+
35
+ @import "./activeadmin-dark-color-scheme/variables/date-time-picker"
36
+ @import "./activeadmin-dark-color-scheme/variables/status-tag"
37
+ @import "./activeadmin-dark-color-scheme/variables/toggle-bool"
38
+
39
+ @import "./activeadmin-dark-color-scheme/addons/toggle-bool-switch"
40
+ @import "./activeadmin-dark-color-scheme/addons/status-tag"
41
+ @import "./activeadmin-dark-color-scheme/addons/date-time-picker"
@@ -1,16 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "sassc-rails"
3
+ # This is standard Rails way to autoload gem’s contents dynamically as an “engine”
4
+ # @see https://guides.rubyonrails.org/engines.html Rails guide on engines
5
+ #
6
+ require "rails"
4
7
 
5
- module FormtasticTristateRadio
6
-
7
- # This is standard Rails way to autoload gem’s contents dynamically as an “engine”
8
- # @see https://guides.rubyonrails.org/engines.html Rails guide on engines
9
- #
8
+ module Activeadmin
10
9
  class Engine < ::Rails::Engine
11
- initializer "activeadmin_dark_color_scheme.assets" do |app|
12
- app.config.assets.paths << root.join("assets", "stylesheets").to_s
13
- end
14
10
  end
15
-
16
11
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Activeadmin
2
4
  module DarkColorScheme
3
- VERSION = "0.1.6"
5
+ VERSION = "0.1.9"
4
6
  end
5
7
  end
@@ -5,20 +5,5 @@ require_relative "dark_color_scheme/engine"
5
5
 
6
6
  module Activeadmin
7
7
  module DarkColorScheme
8
- class << self
9
-
10
- def gem_path
11
- @gem_path ||= File.expand_path "../../app", File.dirname(__FILE__)
12
- end
13
-
14
- def assets_path
15
- @assets_path ||= File.join gem_path, 'assets'
16
- end
17
-
18
- def stylesheets_path
19
- File.join assets_path, 'stylesheets'
20
- end
21
-
22
- end
23
8
  end
24
9
  end
metadata CHANGED
@@ -1,55 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_dark_color_scheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Pedan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-11 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sassc-rails
14
+ name: activeadmin
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 2.0.0
19
+ version: '2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: railties
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
30
31
  - - ">="
31
32
  - !ruby/object:Gem::Version
32
- version: 2.0.0
33
+ version: '4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '4'
33
41
  - !ruby/object:Gem::Dependency
34
- name: autoprefixer-rails
42
+ name: rake
35
43
  requirement: !ruby/object:Gem::Requirement
36
44
  requirements:
37
45
  - - "~>"
38
46
  - !ruby/object:Gem::Version
39
- version: '10'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 10.4.7
47
+ version: '13'
43
48
  type: :development
44
49
  prerelease: false
45
50
  version_requirements: !ruby/object:Gem::Requirement
46
51
  requirements:
47
52
  - - "~>"
48
53
  - !ruby/object:Gem::Version
49
- version: '10'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 10.4.7
54
+ version: '13'
53
55
  - !ruby/object:Gem::Dependency
54
56
  name: rspec
55
57
  requirement: !ruby/object:Gem::Requirement
@@ -65,39 +67,39 @@ dependencies:
65
67
  - !ruby/object:Gem::Version
66
68
  version: '3'
67
69
  - !ruby/object:Gem::Dependency
68
- name: term-ansicolor
70
+ name: sassc
69
71
  requirement: !ruby/object:Gem::Requirement
70
72
  requirements:
71
73
  - - "~>"
72
74
  - !ruby/object:Gem::Version
73
- version: '1'
75
+ version: '2'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.0.0
74
79
  type: :development
75
80
  prerelease: false
76
81
  version_requirements: !ruby/object:Gem::Requirement
77
82
  requirements:
78
83
  - - "~>"
79
84
  - !ruby/object:Gem::Version
80
- version: '1'
85
+ version: '2'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.0.0
81
89
  - !ruby/object:Gem::Dependency
82
- name: yard
90
+ name: term-ansicolor
83
91
  requirement: !ruby/object:Gem::Requirement
84
92
  requirements:
85
93
  - - "~>"
86
94
  - !ruby/object:Gem::Version
87
- version: '0'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 0.9.20
95
+ version: '1'
91
96
  type: :development
92
97
  prerelease: false
93
98
  version_requirements: !ruby/object:Gem::Requirement
94
99
  requirements:
95
100
  - - "~>"
96
101
  - !ruby/object:Gem::Version
97
- version: '0'
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 0.9.20
102
+ version: '1'
101
103
  description: |
102
104
  A dark color scheme for ActiveAdmin Ruby CMS. This gem provides Sass files that you can include via Sprockets.
103
105
  The dark theme automatically switches on / off with your system’s dark / light mode.
@@ -117,8 +119,12 @@ files:
117
119
  - README.md
118
120
  - Rakefile
119
121
  - activeadmin_dark_color_scheme.gemspec
120
- - app/assets/stylesheets/_activeadmin-dark-color-scheme.sass
121
- - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_buttons.sass
122
+ - app/assets/stylesheets/activeadmin-dark-color-scheme.sass
123
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_date-time-picker.sass
124
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_status-tag.sass
125
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_toggle-bool-switch.sass
126
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-dark.sass
127
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-light.sass
122
128
  - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_panel-heads.sass
123
129
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_buttons.sass
124
130
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_fieldsets.sass
@@ -136,15 +142,16 @@ files:
136
142
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_table-index.sass
137
143
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_tabs.sass
138
144
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_title-bar.sass
139
- - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_toggle-bool-switch.sass
140
145
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_top-level.sass
141
146
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_alerts.sass
142
147
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_base.sass
143
148
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_buttons.sass
149
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_date-time-picker.sass
144
150
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_inputs.sass
145
151
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_labels.sass
146
152
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_panels.sass
147
153
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_select2.sass
154
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_status-tag.sass
148
155
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_tables.sass
149
156
  - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_toggle-bool.sass
150
157
  - lib/activeadmin/dark_color_scheme.rb
@@ -157,7 +164,7 @@ licenses:
157
164
  metadata:
158
165
  changelog_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme/blob/master/CHANGELOG.md
159
166
  documentation_uri: https://www.rubydoc.info/gems/activeadmin_dark_color_scheme
160
- homepage_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme
167
+ homepage_uri: https://sergeypedan.ru/open_source_projects/activeadmin-dark-color-scheme
161
168
  source_code_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme
162
169
  post_install_message:
163
170
  rdoc_options:
@@ -169,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
176
  requirements:
170
177
  - - ">="
171
178
  - !ruby/object:Gem::Version
172
- version: 2.3.3
179
+ version: '0'
173
180
  required_rubygems_version: !ruby/object:Gem::Requirement
174
181
  requirements:
175
182
  - - ">="
@@ -1,48 +0,0 @@
1
- @mixin btn-dark-1
2
- background-color: $btn-dark-1-bg
3
- background-image: linear-gradient(to bottom, $btn-dark-1-gradient-stop-top, $btn-dark-1-gradient-stop-bottom)
4
- border-top-color: lighten($btn-dark-1-gradient-stop-top, 5%)
5
- border-right-color: lighten($btn-dark-1-bg, 10%)
6
- border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 5%)
7
- border-left-color: lighten($btn-dark-1-bg, 10%)
8
- box-shadow: 0 1px 2px darken($btn-dark-1-gradient-stop-bottom, 10%)
9
- color: $btn-dark-1-color
10
- text-shadow: none
11
-
12
- &:not(.disabled):hover
13
- background-image: linear-gradient(to bottom, lighten($btn-dark-1-gradient-stop-top, 2%), lighten($btn-dark-1-gradient-stop-bottom, 2%))
14
-
15
- &:focus, &:focus-visible
16
- outline-color: $btn-focus-outline-color
17
- outline-offset: $btn-focus-outline-auto-offset
18
- outline-style: $btn-focus-outline-auto-style
19
- outline-width: $btn-focus-outline-width
20
-
21
- @mixin btn-dark-1-inset
22
- background-color: $btn-dark-1-inset-bg
23
- background-image: linear-gradient($btn-dark-1-inset-gradient-stop-top, $btn-dark-1-inset-gradient-stop-bottom)
24
- border-top-color: $btn-datk-1-inset-border-top-color
25
- border-right-color: lighten($btn-dark-1-bg, 10%)
26
- border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 10%)
27
- border-left-color: $btn-dark-1-inset-color
28
- box-shadow: 0 1px 3px 0 hsla(0, 0%, 0%, 0.3) inset
29
- color: $btn-dark-1-color
30
- text-shadow: none
31
-
32
- &:not(.disabled):hover
33
- background-image: linear-gradient(to bottom, lighten($btn-dark-1-inset-gradient-stop-top, 2%), lighten($btn-dark-1-inset-gradient-stop-bottom, 2%))
34
-
35
- @mixin btn-light-1
36
- background-color: $btn-light-1-bg
37
- background-image: linear-gradient(180deg, $btn-light-1-gradient-stop-top, $btn-light-1-gradient-stop-bottom)
38
- color: $btn-light-1-color
39
- text-shadow: none
40
-
41
- &:not(.disabled):hover
42
- background-image: linear-gradient(to bottom, darken($btn-light-1-gradient-stop-top, 3%), darken($btn-light-1-gradient-stop-bottom, 3%))
43
-
44
- &:focus, &:focus-visible
45
- outline-color: $btn-focus-outline-color
46
- outline-offset: $btn-focus-outline-auto-offset
47
- outline-style: $btn-focus-outline-auto-style
48
- outline-width: $btn-focus-outline-width