dropcloth 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +25 -8
- data/dropcloth.gemspec +11 -11
- data/lib/dropcloth.rb +1 -2
- data/stylesheets/_dropcloth.scss +7 -0
- data/stylesheets/dropcloth/_light.scss +2 -0
- data/stylesheets/{base → dropcloth/base}/_mixins.scss +0 -0
- data/stylesheets/{modules → dropcloth/modules}/_admin-menu.scss +0 -0
- data/stylesheets/{modules → dropcloth/modules}/_blocks.scss +0 -0
- data/stylesheets/{modules → dropcloth/modules}/_breadcrumbs.scss +0 -0
- data/stylesheets/dropcloth/modules/_elements.scss +8 -0
- data/stylesheets/{modules → dropcloth/modules}/_navigation.scss +0 -0
- data/stylesheets/{modules → dropcloth/modules}/_regions.scss +0 -0
- metadata +12 -12
- data/stylesheets/base/_reset.scss +0 -106
- data/stylesheets/dropcloth.scss +0 -8
- data/templates/project/manifest.rb +0 -2
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MmUyNzEwZGIxYjg0NzQ4ZTNjNDNkN2Q0MDUyMWU2OTJlN2EzMTNiYg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 806b8308622ed1f7124626426fb16aad613923c9
|
4
|
+
data.tar.gz: 6aa3865bd7db4ef8eb749e234545b24a74826c29
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NGRhOWUxMTY3Yzc1NDNhMDZiM2EzMjQ5MTU0MzEyYjEyOGY3MDY5NjkwODE0
|
11
|
-
YzhjMDgxZDg4YjEyYTJlZWYxZGY0MTU5OTBmYWM4ZDhjZDllZDY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OWIyOTJkMDYxZDFhMmEyNzQ0ZGI5MjI0YTUwOGU4OWRmYmFkMzEzYTQzNjYz
|
14
|
-
YzM3YzZkMGE5YTA4ZWQxNDUxMzUyMDE5YzdlZGVmNDlhMTQ5MDY3NDM5NzJi
|
15
|
-
N2NkYTAyNTZmM2Q5ZGZhYmI4ZTVmN2ZhZTRjNWRkZjllM2MxZmM=
|
6
|
+
metadata.gz: 6b6efbae30cdac86a932cedc9f515e86ab02e635ac7ddb53a7ed220df9f5a3bd75064b5650a94b3befdace706e6943eb9926b6835d34711dfba7ad09dff5f5ce
|
7
|
+
data.tar.gz: e9f8fc38d41d96d163f48196b3c279d659b8d5aa4420e0c3c5abbd2e749b75edb9cb5d9912b983149b708312ae30366ca678aa473d414325b47f6c7c69685fb8
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Dropcloth
|
2
2
|
=========
|
3
|
-
Dropcloth is a compass plugin and css neutralizer for Drupal. It provides
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
Dropcloth is a compass plugin and css neutralizer for Drupal. It provides
|
4
|
+
protection for non-theme elements and practical mixins for a cleaner Drupal
|
5
|
+
theming experience. Originally designed for use with Zen, Dropcloth can be used
|
6
|
+
anywhere you use sass and compass.
|
7
7
|
|
8
8
|
|
9
9
|
Install
|
@@ -11,7 +11,7 @@ Install
|
|
11
11
|
|
12
12
|
Dropcloth is distributed as a Ruby Gem. On your computer, simply run:
|
13
13
|
|
14
|
-
$
|
14
|
+
$ gem install dropcloth
|
15
15
|
|
16
16
|
|
17
17
|
Use
|
@@ -23,11 +23,28 @@ line:
|
|
23
23
|
|
24
24
|
require "dropcloth"
|
25
25
|
|
26
|
-
You can then start using Dropcloth in your theme. Just add this line to one
|
27
|
-
|
26
|
+
You can then start using Dropcloth in your theme. Just add this line to one of
|
27
|
+
your .sass or .scss files and theme with confidence!
|
28
28
|
|
29
29
|
@import "dropcloth";
|
30
30
|
|
31
|
+
Want only the mixins and placeholders without all the Drupal-specific stuff?
|
32
|
+
|
33
|
+
@import "dropcloth/light";
|
34
|
+
|
35
|
+
|
36
|
+
Upgrading to v0.2.0 or higher
|
37
|
+
-----------------------------
|
38
|
+
|
39
|
+
Up until version 0.2.0, Dropcloth came bundled with a css reset. We decided that
|
40
|
+
you should not be locked into a css reset thus, as of v0.2.0, Dropcloth no
|
41
|
+
longer provides a css reset. Fear not, there are plenty great alternatives out
|
42
|
+
there:
|
43
|
+
|
44
|
+
* If you enjoyed the reset that was previously bundled with Dropcloth, check out reset-css, the gem that resulted from this decision.
|
45
|
+
|
46
|
+
* Something more traditional, perhaps? Check out [meyer-reset](https://rubygems.org/gems/meyer-reset).
|
47
|
+
|
31
48
|
|
32
49
|
Sass Mixins & Placeholders
|
33
50
|
--------------------------
|
@@ -39,7 +56,7 @@ Sass Mixins & Placeholders
|
|
39
56
|
|
40
57
|
### @include placeholder($opacity: 1) { @content; }
|
41
58
|
|
42
|
-
* Styles HTML5 placeholder attributes with .placeholder class
|
59
|
+
* Styles HTML5 placeholder attributes with .placeholder class for legacy support.
|
43
60
|
|
44
61
|
* *@param (float) $opacity* -- A floating decimal to be passed as the element's opacity (default: 1).
|
45
62
|
|
data/dropcloth.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = 'https://github.com/kaidjohnson/dropcloth'
|
10
10
|
s.rubyforge_project =
|
11
11
|
|
12
|
-
s.version = '0.
|
13
|
-
s.date = '2013-
|
12
|
+
s.version = '0.2.0'
|
13
|
+
s.date = '2013-11-14'
|
14
14
|
s.license = 'GPL-2'
|
15
15
|
|
16
16
|
s.authors = ['Kai Johnson']
|
@@ -23,15 +23,15 @@ Gem::Specification.new do |s|
|
|
23
23
|
LICENSE.txt
|
24
24
|
README.md
|
25
25
|
lib/dropcloth.rb
|
26
|
-
stylesheets/base/_mixins.scss
|
27
|
-
stylesheets/
|
28
|
-
stylesheets/modules/
|
29
|
-
stylesheets/modules/
|
30
|
-
stylesheets/modules/
|
31
|
-
stylesheets/modules/_navigation.scss
|
32
|
-
stylesheets/modules/_regions.scss
|
33
|
-
stylesheets/dropcloth.scss
|
34
|
-
|
26
|
+
stylesheets/dropcloth/base/_mixins.scss
|
27
|
+
stylesheets/dropcloth/modules/_admin-menu.scss
|
28
|
+
stylesheets/dropcloth/modules/_blocks.scss
|
29
|
+
stylesheets/dropcloth/modules/_breadcrumbs.scss
|
30
|
+
stylesheets/dropcloth/modules/_elements.scss
|
31
|
+
stylesheets/dropcloth/modules/_navigation.scss
|
32
|
+
stylesheets/dropcloth/modules/_regions.scss
|
33
|
+
stylesheets/dropcloth/_light.scss
|
34
|
+
stylesheets/_dropcloth.scss
|
35
35
|
dropcloth.gemspec
|
36
36
|
]
|
37
37
|
end
|
data/lib/dropcloth.rb
CHANGED
@@ -0,0 +1,7 @@
|
|
1
|
+
@import 'dropcloth/light';
|
2
|
+
@import 'dropcloth/modules/admin-menu';
|
3
|
+
@import 'dropcloth/modules/blocks';
|
4
|
+
@import 'dropcloth/modules/breadcrumbs';
|
5
|
+
@import 'dropcloth/modules/elements';
|
6
|
+
@import 'dropcloth/modules/navigation';
|
7
|
+
@import 'dropcloth/modules/regions';
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropcloth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kai Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -47,15 +47,15 @@ files:
|
|
47
47
|
- LICENSE.txt
|
48
48
|
- README.md
|
49
49
|
- lib/dropcloth.rb
|
50
|
-
- stylesheets/base/_mixins.scss
|
51
|
-
- stylesheets/
|
52
|
-
- stylesheets/modules/
|
53
|
-
- stylesheets/modules/
|
54
|
-
- stylesheets/modules/
|
55
|
-
- stylesheets/modules/_navigation.scss
|
56
|
-
- stylesheets/modules/_regions.scss
|
57
|
-
- stylesheets/dropcloth.scss
|
58
|
-
-
|
50
|
+
- stylesheets/dropcloth/base/_mixins.scss
|
51
|
+
- stylesheets/dropcloth/modules/_admin-menu.scss
|
52
|
+
- stylesheets/dropcloth/modules/_blocks.scss
|
53
|
+
- stylesheets/dropcloth/modules/_breadcrumbs.scss
|
54
|
+
- stylesheets/dropcloth/modules/_elements.scss
|
55
|
+
- stylesheets/dropcloth/modules/_navigation.scss
|
56
|
+
- stylesheets/dropcloth/modules/_regions.scss
|
57
|
+
- stylesheets/dropcloth/_light.scss
|
58
|
+
- stylesheets/_dropcloth.scss
|
59
59
|
- dropcloth.gemspec
|
60
60
|
homepage: https://github.com/kaidjohnson/dropcloth
|
61
61
|
licenses:
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubyforge_project: 0.
|
79
|
+
rubyforge_project: 0.2.0
|
80
80
|
rubygems_version: 2.1.5
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
@@ -1,106 +0,0 @@
|
|
1
|
-
* {
|
2
|
-
margin: 0;
|
3
|
-
padding: 0;
|
4
|
-
border: 0;
|
5
|
-
outline: none;
|
6
|
-
box-shadow: none;
|
7
|
-
vertical-align: baseline;
|
8
|
-
font: inherit;
|
9
|
-
}
|
10
|
-
html {
|
11
|
-
position: relative;
|
12
|
-
overflow-y: scroll;
|
13
|
-
}
|
14
|
-
body {
|
15
|
-
font-size: 16px;
|
16
|
-
line-height: 1;
|
17
|
-
}
|
18
|
-
html, body {
|
19
|
-
min-height: 100%;
|
20
|
-
}
|
21
|
-
ul {
|
22
|
-
list-style: none;
|
23
|
-
}
|
24
|
-
q,
|
25
|
-
blockquote {
|
26
|
-
quotes: none;
|
27
|
-
}
|
28
|
-
blockquote:before, blockquote:after,
|
29
|
-
q:before, q:after {
|
30
|
-
content: '';
|
31
|
-
content: none;
|
32
|
-
}
|
33
|
-
ins {
|
34
|
-
text-decoration: none;
|
35
|
-
}
|
36
|
-
del {
|
37
|
-
text-decoration: line-through;
|
38
|
-
}
|
39
|
-
table { // Tables still need 'cellspacing="0"' in the markup.
|
40
|
-
border-collapse: collapse;
|
41
|
-
border-spacing: 0;
|
42
|
-
}
|
43
|
-
textarea {
|
44
|
-
resize: none;
|
45
|
-
overflow: auto
|
46
|
-
}
|
47
|
-
input, select, button {
|
48
|
-
line-height: 1;
|
49
|
-
vertical-align: middle;
|
50
|
-
}
|
51
|
-
input[type="submit"],
|
52
|
-
input[type="button"],
|
53
|
-
button,
|
54
|
-
button * {
|
55
|
-
cursor: pointer;
|
56
|
-
-webkit-appearance: none;
|
57
|
-
}
|
58
|
-
[hidden] {
|
59
|
-
display: none;
|
60
|
-
}
|
61
|
-
|
62
|
-
// HTML5
|
63
|
-
|
64
|
-
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
|
65
|
-
section, summary {
|
66
|
-
display: block;
|
67
|
-
}
|
68
|
-
i, cite, var, address, dfn{
|
69
|
-
font-style: normal;
|
70
|
-
}
|
71
|
-
audio, canvas, video {
|
72
|
-
display: inline-block;
|
73
|
-
*display: inline;
|
74
|
-
*zoom: 1;
|
75
|
-
}
|
76
|
-
audio:not([controls]) {
|
77
|
-
display: none;
|
78
|
-
height: 0;
|
79
|
-
}
|
80
|
-
|
81
|
-
// Images
|
82
|
-
|
83
|
-
img {
|
84
|
-
-ms-interpolation-mode: bicubic;
|
85
|
-
}
|
86
|
-
svg:not(:root) {
|
87
|
-
overflow: hidden;
|
88
|
-
}
|
89
|
-
|
90
|
-
// Firefox
|
91
|
-
|
92
|
-
input[type="submit"]::-moz-focus-inner,
|
93
|
-
input[type="button"]::-moz-focus-inner,
|
94
|
-
button::-moz-focus-inner {
|
95
|
-
border: 0;
|
96
|
-
padding: 0;
|
97
|
-
}
|
98
|
-
|
99
|
-
// Drupal Overrides
|
100
|
-
|
101
|
-
.form-item,
|
102
|
-
.form-actions,
|
103
|
-
.item-list ul,
|
104
|
-
.item-list ul li{
|
105
|
-
margin: 0;
|
106
|
-
}
|
data/stylesheets/dropcloth.scss
DELETED