basicss-rails 0.1.4 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2fbc5dfcbe2f043477a738c2a67ea7d74cbba28
4
- data.tar.gz: 0077ea8f94bed33cf122ababc247476e496ec123
3
+ metadata.gz: 5fc47cc1e21339cd24c0b637e17c44512dd85dd5
4
+ data.tar.gz: 42987c1f3b409b97fd76a384568140eceeac0941
5
5
  SHA512:
6
- metadata.gz: 3eea54add9de86259af3e489124e0d6fdb1b19e5f2bf30051be816e19b8dd8d5d68119763a833c0a3932745e7b75cee23c5bcad9b13d5a357379472fbe5b3218
7
- data.tar.gz: 392ee4f560fe1df8ad42d3421d87d1abed5e391bdbed89ae7ed880893d45318b52e86b5c41a68f253b9fb612f599a01dcaa864ea43b05bcb6aeaa797db609c62
6
+ metadata.gz: 2b314fc301f65b442161166fbab89d3ecfedb9065bd9951dc843c61ddb6b90a2e2bc4522998a554fade97d69c4ec780e9f0cbe9436b82fb5e4b4df3aaa6d93c6
7
+ data.tar.gz: 93030b3d143c4efb1056604ff1be8ba36862df8ca4c0a9d06e143cee1f4442f6c3f69ca0a390f423a4d66729624fc637a7b853da584af278edfad30a595b1db8
data/basicss.gemspec CHANGED
@@ -13,6 +13,24 @@ Gem::Specification.new do |s|
13
13
  s.license = "MIT"
14
14
  s.test_files = Dir["test/**/*"]
15
15
 
16
- s.files = Dir["{bin,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc", "basicss.gemspec"]
16
+ s.files = Dir["{bin,config,lib,vendor}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "basicss.gemspec"]
17
+ s.require_paths = %w{lib vendor}
18
+
19
+ # needs to work like "rake"
20
+ BASICSS_RUNTIME_DEPENDENCIES = {
21
+ }
22
+
23
+ # needs to run a specific task
24
+ BASICSS_DEPENDENCIES = {
25
+ "sass-rails": ">= 0"
26
+ }
27
+
28
+ BASICSS_RUNTIME_DEPENDENCIES.each do |pkg, v|
29
+ s.add_runtime_dependency pkg.to_s, v
30
+ end
31
+
32
+ BASICSS_DEPENDENCIES.each do |pkg, v|
33
+ s.add_development_dependency pkg.to_s, v
34
+ end
17
35
 
18
36
  end
@@ -0,0 +1 @@
1
+ Rails.application.config.assets.precompile += %w( basicss.css )
@@ -0,0 +1 @@
1
+ Rails.application.config.assets.precompile += %w( basicss.css )
@@ -23,6 +23,10 @@
23
23
  +text-overflow(ellipsis)
24
24
  display: block
25
25
 
26
+ .left,
27
+ &.left,
28
+ text-align: left
29
+
26
30
  .right,
27
31
  &.right,
28
32
  text-align: right
@@ -54,3 +58,11 @@
54
58
  .centralized,
55
59
  &.centralized
56
60
  text-align: center
61
+
62
+ .bold,
63
+ &.bold
64
+ font-weight: bold
65
+
66
+ .uppercase,
67
+ &.uppercase
68
+ text-transform: uppercase
@@ -0,0 +1,2 @@
1
+ //= require_directory .
2
+ //= require_tree .
@@ -50,14 +50,6 @@
50
50
  text-align: center
51
51
  text-decoration: none
52
52
 
53
- &.new
54
- &:before
55
- content: "+ "
56
-
57
- &.remove,
58
- &.close
59
- &:after
60
- content: "× "
61
53
 
62
54
  @mixin button
63
55
  padding: 7px 15px
@@ -67,18 +59,6 @@
67
59
  position: absolute
68
60
  bottom: 0
69
61
 
70
-
71
- @mixin dl-with-inline-elements
72
-
73
- dt, dd
74
- +inline
75
-
76
- &:last-of-type
77
- div
78
- &:last-child
79
- margin-bottom: 0
80
-
81
-
82
62
  @mixin sprite-icon-position($x, $y)
83
63
  background:
84
64
  position: $x $y
@@ -1,73 +1,51 @@
1
- @import ../mixins, ../variables
1
+ @import ../mixins
2
2
 
3
3
 
4
- .basicss ul,
5
- ul.basicss
4
+ .basicss nav,
5
+ nav.basicss
6
6
 
7
- &.menu,
8
- &.sub-menu
7
+ &.horizontal
9
8
 
10
- li
11
- list-style: none
12
-
13
- &.menu
14
-
15
- &.horizontal
9
+ ul
16
10
  display: inline-block
17
11
 
18
12
  > li
19
- //+inline
20
- //margin-left: -3px
21
-
22
13
  float: left
23
- margin-left: 1px
24
-
25
- &:first-of-type
26
- margin-left: initial !important
27
14
 
28
15
  &.with-anchor
29
16
  padding: initial !important
30
17
 
31
- li
32
- text-align: center
33
- position: relative
18
+ li
19
+ text-align: center
20
+ position: relative
34
21
 
35
- &:hover
36
- cursor: default
22
+ &:hover
23
+ cursor: default
37
24
 
38
- // first child only
39
- //o ul nÃo pode ter overflow-x pois suprimirá os uls filhos
40
- > ul
41
- display: block !important
25
+ // first child only
26
+ //o ul nÃo pode ter overflow-x pois suprimirá os uls filhos
27
+ > ul
28
+ display: block !important
42
29
 
43
- a
44
- display: block
30
+ a
31
+ display: block
45
32
 
46
- ul
47
- &.sub-menu,
48
33
  ul
49
-
50
- display: none
51
- position: absolute
52
- z-index: 1
53
-
54
- li
55
- ul
56
- top: 1px
57
-
58
- &.sub-menu
59
- li
60
- ul
61
- // if don’t set border-color, the assumed color will be of the color attribute
62
- border-left: 1px solid transparent
63
-
64
- li
65
- &:nth-of-type(2)
66
- border-top: 0 !important
67
-
68
- &:first-of-type
69
- border-top: initial !important
70
- background: transparent
71
-
72
- &:hover
73
- background: transparent !important
34
+ &.sub-menu,
35
+ ul
36
+
37
+ display: none
38
+ position: absolute
39
+ z-index: 1
40
+
41
+ &.sub-menu
42
+ li
43
+ ul
44
+ li
45
+ &:first-of-type
46
+ background: transparent
47
+ // if don’t set border-color, the assumed color will be of the color attribute
48
+ border-top: transparent
49
+
50
+ &:hover
51
+ background: initial !important
File without changes
@@ -1,5 +1,5 @@
1
1
  module Basicss
2
2
  module Rails
3
- VERSION = "0.1.4"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basicss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rplaurindo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-15 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2017-08-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sass-rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: It's a lib written in sass that defines standard propridades to the basic
14
28
  structure of HTML, and facilitates the use of sass providing mixins.
15
29
  email:
@@ -19,18 +33,17 @@ extensions: []
19
33
  extra_rdoc_files: []
20
34
  files:
21
35
  - MIT-LICENSE
22
- - README.rdoc
23
36
  - Rakefile
24
37
  - basicss.gemspec
25
38
  - bin/rails
26
- - lib/assets/stylesheets/basicss.sass
39
+ - config/environments/production.rb
40
+ - config/initializers/assets.rb
27
41
  - lib/assets/stylesheets/basicss/class.sass
28
- - lib/assets/stylesheets/basicss/layout.sass
42
+ - lib/assets/stylesheets/basicss/index.sass
29
43
  - lib/assets/stylesheets/basicss/mixins.sass
30
44
  - lib/assets/stylesheets/basicss/samples/menus.sass
31
45
  - lib/assets/stylesheets/basicss/tables.sass
32
46
  - lib/assets/stylesheets/basicss/tabs.sass
33
- - lib/assets/stylesheets/basicss/variables.sass
34
47
  - lib/basicss-rails.rb
35
48
  - lib/basicss/rails.rb
36
49
  - lib/basicss/rails/engine.rb
@@ -43,6 +56,7 @@ post_install_message:
43
56
  rdoc_options: []
44
57
  require_paths:
45
58
  - lib
59
+ - vendor
46
60
  required_ruby_version: !ruby/object:Gem::Requirement
47
61
  requirements:
48
62
  - - ">="
@@ -55,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
69
  version: '0'
56
70
  requirements: []
57
71
  rubyforge_project:
58
- rubygems_version: 2.5.1
72
+ rubygems_version: 2.6.12
59
73
  signing_key:
60
74
  specification_version: 4
61
75
  summary: Summary of Do
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = basicss-rails
2
-
3
- This project rocks and uses MIT-LICENSE.
@@ -1 +0,0 @@
1
- //= require_tree .
@@ -1,28 +0,0 @@
1
- @import mixins
2
-
3
-
4
- body
5
-
6
- ul
7
- list-style-type: none
8
-
9
- main
10
-
11
- span
12
- &.option,
13
- &.options
14
- a
15
- margin-left: -1px !important
16
-
17
- .basicss
18
- .line,
19
- &.line
20
- margin-bottom: 20px
21
-
22
- .indented,
23
- &.indented
24
- text-indent: 20px
25
-
26
- .line
27
- &:last-of-type
28
- margin-bottom: 0
@@ -1,2 +0,0 @@
1
- $basicss-vertical-menu-main-width: 160px
2
- $basicss-vertical-menu-width: 200px