dropcloth 0.1.8 → 0.2.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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTk2ZDJkYmI2NDdhNzM2MzI3ZmUxMDkyZGU5NTg4MTc2MjU0MTUxOA==
5
- data.tar.gz: !binary |-
6
- MmUyNzEwZGIxYjg0NzQ4ZTNjNDNkN2Q0MDUyMWU2OTJlN2EzMTNiYg==
2
+ SHA1:
3
+ metadata.gz: 806b8308622ed1f7124626426fb16aad613923c9
4
+ data.tar.gz: 6aa3865bd7db4ef8eb749e234545b24a74826c29
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZDM2ZjkzOTk3NzdiN2QyNzEwZjJmYWU0NGFhODdiMWU1NTQ4OGFmMzhjMGVh
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 a
4
- lightweight reset, protection for non-theme elements, and practical mixins for
5
- a cleaner Drupal theming experience. Originally designed for use with Zen,
6
- Dropcloth can be used anywhere you use sass and compass.
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
- $ sudo gem install dropcloth
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
- of your .sass or .scss files and theme with confidence!
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 support for legacy support.
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
 
@@ -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.1.8'
13
- s.date = '2013-10-20'
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/base/_reset.scss
28
- stylesheets/modules/_admin-menu.scss
29
- stylesheets/modules/_blocks.scss
30
- stylesheets/modules/_breadcrumbs.scss
31
- stylesheets/modules/_navigation.scss
32
- stylesheets/modules/_regions.scss
33
- stylesheets/dropcloth.scss
34
- templates/project/manifest.rb
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
@@ -1,3 +1,2 @@
1
1
  require 'compass'
2
- extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
- Compass::Frameworks.register('dropcloth', :path => extension_path)
2
+ Compass::Frameworks.register("dropcloth", :path => "#{File.dirname(__FILE__)}/..")
@@ -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';
@@ -0,0 +1,2 @@
1
+ @import 'compass/css3';
2
+ @import 'base/mixins';
@@ -0,0 +1,8 @@
1
+ // Drupal System Overrides
2
+
3
+ .form-item,
4
+ .form-actions,
5
+ .item-list ul,
6
+ .item-list ul li{
7
+ margin: 0;
8
+ }
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.1.8
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-10-20 00:00:00.000000000 Z
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/base/_reset.scss
52
- - stylesheets/modules/_admin-menu.scss
53
- - stylesheets/modules/_blocks.scss
54
- - stylesheets/modules/_breadcrumbs.scss
55
- - stylesheets/modules/_navigation.scss
56
- - stylesheets/modules/_regions.scss
57
- - stylesheets/dropcloth.scss
58
- - templates/project/manifest.rb
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.1.8
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
- }
@@ -1,8 +0,0 @@
1
- @import 'compass/css3';
2
- @import 'base/reset';
3
- @import 'base/mixins';
4
- @import 'modules/admin-menu';
5
- @import 'modules/blocks';
6
- @import 'modules/breadcrumbs';
7
- @import 'modules/navigation';
8
- @import 'modules/regions';
@@ -1,2 +0,0 @@
1
- # Make sure you list all the project template files here in the manifest.
2
- stylesheet 'dropcloth.scss', :media => 'screen, projection'