base.sass 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e8a81cd86edf44de9f9bfb4c88f217fbd3b8223
4
- data.tar.gz: 4c59210344625f926ffa88972a30e9e0493a4926
3
+ metadata.gz: 8d5ea5503119d79f8492aedee5d38a09dd374442
4
+ data.tar.gz: 2f114fc0afd65c95047e65ea82d0554588aa863f
5
5
  SHA512:
6
- metadata.gz: 3cf57ab67112e89b38a9e4799c493742b1f80f64c022759006a844786a8500b68362889407af26ad2f81afef3920191e43e0512f502cd6398e4a0912fc62833b
7
- data.tar.gz: 785bfc25bd68063aa57c619b28d290b6a2b7db81cbe2e60283982deb12cbb59b283baae1e1f1ed27cb84b966fcfc196f5f8934dea0e303b65aa30c0c68c3af10
6
+ metadata.gz: 4a29ec247c6b8a76c0d41028fc869b802b34b5cfb89d3690d4f3ff64b62c3ef0af2b6799e811c2372e1e051d942a79160553292b0dfcabc611003b250c86a38b
7
+ data.tar.gz: 0b3aa8fa9b127c0e8a6178dd982b13e4090459dadba66a65781d81a7c7585f5faefe0e02b85cf652acbe04d3f09778a333e2a4ac4196568cfb30a71622c69fe0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.6.0
4
+
5
+ ### Update browser data
6
+ ### Add 2 mixins: `img-retina` and `img-responsive`
7
+
3
8
  ## v1.5.1
4
9
 
5
10
  ### Update browser data
data/Readme.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  > Requires Sass >= 3.3
7
7
 
8
- [![SassMeister](http://ww3.sinaimg.cn/large/624f9842jw1ejz905ocbhj21kw0nvdlc.jpg)](http://sassmeister.com/)
8
+ [![SassMeister](http://ww3.sinaimg.cn/large/624f9842jw1ekgg6t0a5dj214g0hotbs.jpg)](http://sassmeister.com/)
9
9
 
10
10
  ## Installation
11
11
 
@@ -1 +1 @@
1
- {"chrome":{"prefix":"-webkit-","versions":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"future":[39,40,41]},"safari":{"prefix":"-webkit-","versions":[3.1,3.2,4,5,5.1,6,6.1,7,7.1,8]},"opera":{"prefix":"-webkit-","versions":[9.5,9.6,10,10.1,10.5,10.6,11,11.1,11.5,11.6,12,12.1,15,16,17,18,19,20,21,22,23,24,25],"future":[26,27],"presto":12.1},"ios":{"prefix":"-webkit-","versions":[3.2,4,4.1,4.2,4.3,5,5.1,6,6.1,7,7.1,8,8.1]},"android":{"prefix":"-webkit-","versions":[2.1,2.2,2.3,3,4,4.1,4.2,4.3,4.4,4.4,4.4],"future":[37]},"firefox":{"prefix":"-moz-","versions":[2,3,3.5,3.6,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"future":[34,35,36]},"ie":{"prefix":"-ms-","versions":[5.5,6,7,8,9,10,11]}}
1
+ {"chrome":{"prefix":"-webkit-","versions":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"future":[40,41,42]},"safari":{"prefix":"-webkit-","versions":[3.1,3.2,4,5,5.1,6,6.1,7,7.1,8]},"opera":{"prefix":"-webkit-","versions":[9.5,9.6,10,10.1,10.5,10.6,11,11.1,11.5,11.6,12,12.1,15,16,17,18,19,20,21,22,23,24,25],"future":[26,27],"presto":12.1},"ios":{"prefix":"-webkit-","versions":[3.2,4,4.1,4.2,4.3,5,5.1,6,6.1,7,7.1,8,8.1]},"android":{"prefix":"-webkit-","versions":[2.1,2.2,2.3,3,4,4.1,4.2,4.3,4.4,37]},"firefox":{"prefix":"-moz-","versions":[2,3,3.5,3.6,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"future":[34,35,36]},"ie":{"prefix":"-ms-","versions":[5.5,6,7,8,9,10,11]}}
@@ -3,6 +3,7 @@
3
3
  @import 'mixins/placeholder-wrapper';
4
4
  @import 'mixins/clearfix';
5
5
  @import 'mixins/ellipsis-overflow';
6
+ @import 'mixins/float';
6
7
  @import 'mixins/font-face';
8
+ @import 'mixins/image';
7
9
  @import 'mixins/inline-block';
8
- @import 'mixins/float';
@@ -0,0 +1,19 @@
1
+ @mixin img-retina {
2
+ @media
3
+ only screen and (-webkit-min-device-pixel-ratio: 2),
4
+ only screen and ( min--moz-device-pixel-ratio: 2),
5
+ only screen and ( -o-min-device-pixel-ratio: 2/1),
6
+ only screen and ( min-device-pixel-ratio: 2),
7
+ only screen and ( min-resolution: 192dpi),
8
+ only screen and ( min-resolution: 2dppx) {
9
+ @content;
10
+ }
11
+ }
12
+
13
+ @mixin img-responsive($display: block) {
14
+ @include placeholder-wrapper('img-responsive', $display) {
15
+ display: $display;
16
+ max-width: 100%;
17
+ height: auto;
18
+ }
19
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base.sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - junjun.zhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-14 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -57,6 +57,7 @@ files:
57
57
  - stylesheets/base.sass/mixins/_ellipsis-overflow.scss
58
58
  - stylesheets/base.sass/mixins/_float.scss
59
59
  - stylesheets/base.sass/mixins/_font-face.scss
60
+ - stylesheets/base.sass/mixins/_image.scss
60
61
  - stylesheets/base.sass/mixins/_inline-block.scss
61
62
  - stylesheets/base.sass/mixins/_placeholder-wrapper.scss
62
63
  homepage: https://github.com/jsw0528/base.sass