droidcss 1.1 → 1.1.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e592355758715e6dda9edf4f2f62cc581a59e336
|
|
4
|
+
data.tar.gz: e49bc02a36d5b1d390fd26c9f9aa5ab7a4622d93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1ab46dd9b3afd3d102dfafb66a49a76e443e321d8ef24af776b77610481117c056ce8293463bac9f9fb241e3791630ca82a66a660454c1beedb23f8e113b042
|
|
7
|
+
data.tar.gz: 32a347d08deac7b2abe7cfd54231d5269601fd4f25df7a550b8eed27cf2f5fb24b6066272e6d1cd084c525ba6b6476563cd88f2ae511e8bbfd305ec6eb815116
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
### 1.1.1 (13 December 2013)
|
|
2
|
+
* Changed font vars
|
|
3
|
+
|
|
1
4
|
### 1.1 (13 December 2013)
|
|
2
5
|
* Breaking changes! All the variables names have been changed!
|
|
3
6
|
* Improved perfomance with calculations
|
|
@@ -34,4 +37,4 @@
|
|
|
34
37
|
+ Added licence info
|
|
35
38
|
|
|
36
39
|
### 1.0.0 (06 September 2013)
|
|
37
|
-
* Initial release
|
|
40
|
+
* Initial release
|
data/README.md
CHANGED
|
@@ -58,17 +58,17 @@ Just drag&drop DroidCSS folder into the application, then point your html file t
|
|
|
58
58
|
|
|
59
59
|
All the variables can be found in partials/setup.scss file
|
|
60
60
|
|
|
61
|
-
####
|
|
61
|
+
#### assetPipeline
|
|
62
62
|
|
|
63
63
|
Set to true if you use it in your project (default to false). If don't use it or don't know what is it about, leave it as is.
|
|
64
64
|
|
|
65
|
-
$
|
|
65
|
+
$assetPipeline: false;
|
|
66
66
|
|
|
67
|
-
####
|
|
67
|
+
#### fontsPath
|
|
68
68
|
|
|
69
69
|
Include path to font files with trailing slash (default is '/assets/fonts/').
|
|
70
70
|
|
|
71
|
-
$
|
|
71
|
+
$fontsPath: '/assets/fonts/';
|
|
72
72
|
|
|
73
73
|
#### media queries
|
|
74
74
|
|
data/lib/droidcss/version.rb
CHANGED
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
$asset-pipeline: false !default; // if don't use it or don't know what is it about, leave it as is
|
|
3
|
-
$fonts-path: '/assets/fonts/' !default; // with trailing slash, please. Otherwise the fonts won't load
|
|
4
|
-
|
|
5
|
-
@mixin font-face( $font-family, $file-name, $weight: 400, $style: normal ) {
|
|
1
|
+
@mixin font-face( $fontFamily, $fileName, $weight: 400, $style: normal ) {
|
|
6
2
|
@font-face {
|
|
7
|
-
font-family: $
|
|
3
|
+
font-family: $fontFamily;
|
|
8
4
|
font-weight: #{$weight};
|
|
9
5
|
font-style: #{$style};
|
|
10
|
-
@if $
|
|
11
|
-
src: font-url('#{$
|
|
12
|
-
src: font-url('#{$
|
|
13
|
-
font-url('#{$
|
|
14
|
-
font-url('#{$
|
|
15
|
-
font-url('#{$
|
|
6
|
+
@if $assetPipeline == true {
|
|
7
|
+
src: font-url('#{$fileName}.eot');
|
|
8
|
+
src: font-url('#{$fileName}.eot?#iefix') format('embedded-opentype'),
|
|
9
|
+
font-url('#{$fileName}.woff') format('woff'),
|
|
10
|
+
font-url('#{$fileName}.ttf') format('truetype'),
|
|
11
|
+
font-url('#{$fileName}.svg##{$fontFamily}') format('svg');
|
|
16
12
|
} @else {
|
|
17
|
-
src: url('#{$
|
|
18
|
-
src: url('#{$
|
|
19
|
-
url('#{$
|
|
20
|
-
url('#{$
|
|
21
|
-
url('#{$
|
|
13
|
+
src: url('#{$fontsPath}#{$fileName}.eot');
|
|
14
|
+
src: url('#{$fontsPath}#{$fileName}.eot?#iefix') format('embedded-opentype'),
|
|
15
|
+
url('#{$fontsPath}#{$fileName}.woff') format('woff'),
|
|
16
|
+
url('#{$fontsPath}#{$fileName}.ttf') format('truetype'),
|
|
17
|
+
url('#{$fontsPath}#{$fileName}.svg##{$fontFamily}') format('svg');
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
20
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// Fonts vars
|
|
2
|
+
$assetPipeline: false !default; // if don't use it or don't know what is it about, leave it as is
|
|
3
|
+
$fontsPath: '/assets/fonts/' !default; // with trailing slash, please. Otherwise the fonts won't load
|
|
4
|
+
|
|
1
5
|
// Responsive vars
|
|
2
6
|
$mediaMobileMax: 767px !default;
|
|
3
7
|
$mediaTabletMin: 768px !default;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: droidcss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ilya Gorenburg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-12-
|
|
11
|
+
date: 2013-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sass
|
|
@@ -32,7 +32,7 @@ extensions: []
|
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
34
|
- .gitignore
|
|
35
|
-
- CHANGELOG.
|
|
35
|
+
- CHANGELOG.md
|
|
36
36
|
- LICENSE
|
|
37
37
|
- README.md
|
|
38
38
|
- Rakefile
|