basicss-rails 0.1.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/basicss.gemspec +19 -1
- data/config/environments/production.rb +1 -0
- data/config/initializers/assets.rb +1 -0
- data/lib/assets/stylesheets/basicss/class.sass +12 -0
- data/lib/assets/stylesheets/basicss/index.sass +2 -0
- data/lib/assets/stylesheets/basicss/mixins.sass +0 -20
- data/lib/assets/stylesheets/basicss/samples/menus.sass +34 -56
- data/lib/assets/stylesheets/basicss/tabs.sass +0 -0
- data/lib/basicss/rails/version.rb +1 -1
- metadata +22 -8
- data/README.rdoc +0 -3
- data/lib/assets/stylesheets/basicss.sass +0 -1
- data/lib/assets/stylesheets/basicss/layout.sass +0 -28
- data/lib/assets/stylesheets/basicss/variables.sass +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fc47cc1e21339cd24c0b637e17c44512dd85dd5
|
4
|
+
data.tar.gz: 42987c1f3b409b97fd76a384568140eceeac0941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
@@ -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
|
1
|
+
@import ../mixins
|
2
2
|
|
3
3
|
|
4
|
-
.basicss
|
5
|
-
|
4
|
+
.basicss nav,
|
5
|
+
nav.basicss
|
6
6
|
|
7
|
-
&.
|
8
|
-
&.sub-menu
|
7
|
+
&.horizontal
|
9
8
|
|
10
|
-
|
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
|
-
|
32
|
-
|
33
|
-
|
18
|
+
li
|
19
|
+
text-align: center
|
20
|
+
position: relative
|
34
21
|
|
35
|
-
|
36
|
-
|
22
|
+
&:hover
|
23
|
+
cursor: default
|
37
24
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
-
|
44
|
-
|
30
|
+
a
|
31
|
+
display: block
|
45
32
|
|
46
|
-
ul
|
47
|
-
&.sub-menu,
|
48
33
|
ul
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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
|
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.
|
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:
|
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
|
-
-
|
39
|
+
- config/environments/production.rb
|
40
|
+
- config/initializers/assets.rb
|
27
41
|
- lib/assets/stylesheets/basicss/class.sass
|
28
|
-
- lib/assets/stylesheets/basicss/
|
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.
|
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 +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
|