spectre_scss 0.5.8.0 → 0.5.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a2a1b78938a3ef3bd20462be191890e09934d014da1c9913c7883665352e981
4
- data.tar.gz: e00fec47b168461fe5591fa1b8254ba2e117afa1b64cf0223dd063c4daef9b16
3
+ metadata.gz: 694fe09aeac1d4531090f7f279431cf76e109780fb287f24d32df8cf7d52784d
4
+ data.tar.gz: bc892992b592360b1ba1418ef1b561075985f0252ab8dc0c8543a29929c93374
5
5
  SHA512:
6
- metadata.gz: 9cc4c10e101bbb3f98bfa683539b173a745c00cb8a34b55c34fe9f0afb7674860830c57d6f6151e5309fbc075ef05ffbd62ad7724c2d56c8751724a269b04d26
7
- data.tar.gz: 6ab7810ff02a0dd02d536902d965ccfd75fa064a49991015fcba8eac65afd724d720e978ef58ac558d6001c4b083d5d2bb9bdb91eba934ccaa7ae6622269dc4f
6
+ metadata.gz: 8a8ff7db1cb6b8e6ab6c581ac3af64c8c0f027837ba1fa8387ff4cf453ed59ffb49c706fce045d9b815435227c783c1ff1226affb98e989b4f58e852075d9a3b
7
+ data.tar.gz: 7cb5c2a74d2a3736394f3bd51e569c1e0d06ce6af84654a571b77f51cb0a2efa646911e62f8be01f6eee5090f8114d30f3d2976b16b556170139786671ebf1c0
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Zoran Pesic
3
+ Copyright (c) 2020 Zoran Pesic
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SpectreScss
2
4
  class Engine < Rails::Engine
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SpectreScss
2
- VERSION = '0.5.8.0'
4
+ VERSION = '0.5.9.1'
3
5
  end
data/lib/spectre_scss.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spectre_scss/version'
2
4
  require 'spectre_scss/engine' if (defined?(Rails) && defined?(Rails::Engine))
3
5
 
@@ -2,8 +2,8 @@
2
2
  .accordion {
3
3
  input:checked ~,
4
4
  &[open] {
5
- & .accordion-header {
6
- .icon {
5
+ & .accordion-header > {
6
+ .icon:first-child {
7
7
  transform: rotate(90deg);
8
8
  }
9
9
  }
@@ -58,6 +58,7 @@
58
58
  color: $light-color;
59
59
  content: "";
60
60
  height: 3px;
61
+ pointer-events: none;
61
62
  position: absolute;
62
63
  right: $unit-2;
63
64
  top: 50%;
@@ -39,6 +39,7 @@
39
39
  }
40
40
 
41
41
  // Responsive grid system
42
+ .cols,
42
43
  .columns {
43
44
  display: flex;
44
45
  flex-wrap: wrap;
@@ -59,6 +60,7 @@
59
60
  overflow-x: auto;
60
61
  }
61
62
  }
63
+ [class~="col-"],
62
64
  .column {
63
65
  flex: 1;
64
66
  max-width: 100%;
@@ -1,5 +1,5 @@
1
1
  // Core variables
2
- $version: "0.5.8";
2
+ $version: "0.5.9";
3
3
 
4
4
  // Core features
5
5
  $rtl: false !default;
@@ -6,6 +6,7 @@
6
6
  position: relative;
7
7
  &::after {
8
8
  animation: loading 500ms infinite linear;
9
+ background: transparent;
9
10
  border: $border-width-lg solid $primary-color;
10
11
  border-radius: 50%;
11
12
  border-right-color: transparent;
@@ -16,6 +17,8 @@
16
17
  left: 50%;
17
18
  margin-left: -$unit-2;
18
19
  margin-top: -$unit-2;
20
+ opacity: 1;
21
+ padding: 0;
19
22
  position: absolute;
20
23
  top: 50%;
21
24
  width: $unit-4;
@@ -46,6 +46,18 @@
46
46
  font-size: 1.2em;
47
47
  }
48
48
 
49
+ .text-small {
50
+ font-size: .9em;
51
+ }
52
+
53
+ .text-tiny {
54
+ font-size: .8em;
55
+ }
56
+
57
+ .text-muted {
58
+ opacity: .8;
59
+ }
60
+
49
61
  // Text overflow utilities
50
62
  .text-ellipsis {
51
63
  @include text-ellipsis();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectre_scss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8.0
4
+ version: 0.5.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
- autorequire:
9
- bindir: exe
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-02 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.15'
19
+ version: 2.1.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.15'
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,25 +52,17 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description:
56
- email:
55
+ description:
56
+ email:
57
57
  executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
- - ".gitignore"
62
- - ".rspec"
63
- - ".travis.yml"
64
- - Gemfile
65
61
  - LICENSE.txt
66
62
  - README.md
67
- - Rakefile
68
- - bin/console
69
- - bin/setup
70
63
  - lib/spectre_scss.rb
71
64
  - lib/spectre_scss/engine.rb
72
65
  - lib/spectre_scss/version.rb
73
- - spectre_scss.gemspec
74
66
  - vendor/assets/stylesheets/spectre.scss
75
67
  - vendor/assets/stylesheets/spectre/_accordions.scss
76
68
  - vendor/assets/stylesheets/spectre/_animations.scss
@@ -150,7 +142,7 @@ homepage: https://github.com/zokioki/spectre_scss
150
142
  licenses:
151
143
  - MIT
152
144
  metadata: {}
153
- post_install_message:
145
+ post_install_message:
154
146
  rdoc_options: []
155
147
  require_paths:
156
148
  - lib
@@ -165,9 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
157
  - !ruby/object:Gem::Version
166
158
  version: '0'
167
159
  requirements: []
168
- rubyforge_project:
169
- rubygems_version: 2.7.6
170
- signing_key:
160
+ rubygems_version: 3.4.3
161
+ signing_key:
171
162
  specification_version: 4
172
163
  summary: Spectre is a lightweight, responsive and modern CSS framework.
173
164
  test_files: []
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /spectre_source/
11
-
12
- # rspec failure tracking
13
- .rspec_status
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.4.1
5
- before_install: gem install bundler -v 1.15.4
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in spectre_scss.gemspec
6
- gemspec
data/Rakefile DELETED
@@ -1,33 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
- require 'spectre_scss/version'
4
-
5
- RSpec::Core::RakeTask.new(:spec)
6
-
7
- task :default => :spec
8
-
9
- namespace :spectre_scss do
10
- namespace :assets do
11
- desc 'Update Spectre\'s assets.'
12
- task update: :clean do
13
- version = ARGV[1] || "v#{SpectreScss::VERSION.sub(/.\d+$/, '')}"
14
-
15
- sh 'git clone git@github.com:picturepan2/spectre.git spectre_source'
16
- sh "cd spectre_source && git checkout tags/#{version}"
17
- sh 'cp -R spectre_source/src/ vendor/assets/stylesheets/spectre/'
18
-
19
- File.open('vendor/assets/stylesheets/spectre.scss', 'w') do |f|
20
- f.write('@import "spectre/spectre.scss";')
21
- end
22
-
23
- puts "\n=*=*=*=*=*=*=*=*=*=*\n=* ASSETS UPDATED! *=\n=*=*=*=*=*=*=*=*=*=*\n"
24
- end
25
-
26
- desc 'Remove previous Spectre assets.'
27
- task :clean do
28
- sh 'rm -rf vendor'
29
- sh 'rm -rf spectre_source'
30
- sh 'mkdir -p vendor/assets/stylesheets/'
31
- end
32
- end
33
- end
data/bin/console DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'spectre_scss'
5
-
6
- require 'irb'
7
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
data/spectre_scss.gemspec DELETED
@@ -1,25 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'spectre_scss/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'spectre_scss'
8
- spec.version = SpectreScss::VERSION
9
- spec.authors = ['Zoran']
10
-
11
- spec.summary = 'Spectre is a lightweight, responsive and modern CSS framework.'
12
- spec.homepage = 'https://github.com/zokioki/spectre_scss'
13
- spec.license = 'MIT'
14
-
15
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
- f.match(%r{^(test|spec|features)/})
17
- end
18
- spec.bindir = 'exe'
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = ['lib']
21
-
22
- spec.add_development_dependency 'bundler', '~> 1.15'
23
- spec.add_development_dependency 'rake', '~> 10.0'
24
- spec.add_development_dependency 'rspec', '~> 3.0'
25
- end