mice 0.0.1 → 0.0.3

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: 4a93596e085fe2152c31cf7d85a90601335932dd
4
- data.tar.gz: 24ce6f593116207dba4acebe9e816d0e87a5d58b
3
+ metadata.gz: 2fc4d900f40938847a84a1eb823d9b6afecd8e95
4
+ data.tar.gz: 587ca13b932dc85e2a20ba79969c5c364c4a76a5
5
5
  SHA512:
6
- metadata.gz: 7054d0457af118d38552254833abb57b9c35d954568780d4bfcd833ba501232b6f914eafdca9179d14477d26cebeb45e17265f7549d64deb04252c5b4c5f01d6
7
- data.tar.gz: 0bd561298702081e6732936d892f1d89ad70fc8bd264096a042050e660ef51e06e459200a101bdf7742e5a2046071a12dd272988e74ea494e3bcb08f20b04434
6
+ metadata.gz: 7e70582db27c3b12b65a75538b42622a7c2f33d8f2138e92da9b06a8af5a65dcd7f1bed69b6b8a3479b08b68f571545261595ecda61159e40c99346ccd70a1d8
7
+ data.tar.gz: c4e49c7fa22055f6946ea5e04619e9d843c26254e87e558b568979bb1cddb65ff864bef7d74c58073b2877acc08e4113a0784fa0a3744ce8597691215f2e028e
@@ -1,3 +1,3 @@
1
1
  module Mice
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -7,4 +7,5 @@
7
7
 
8
8
  // Base CSS
9
9
  @import "mice/scaffolding";
10
- @import "mice/typography";
10
+ @import "mice/typography";
11
+ @import "mice/grid";
@@ -0,0 +1,114 @@
1
+ //
2
+ // Grid system
3
+ // --------------------------------------------------
4
+
5
+ .container {
6
+ margin-right: auto;
7
+ margin-left: auto;
8
+ // padding-left: ($grid-gutter-width / 2);
9
+ // padding-right: ($grid-gutter-width / 2);
10
+ @include clearfix();
11
+
12
+ @media (min-width: 768px) {
13
+ width: 750px;
14
+ }
15
+ @media (min-width: 992px) {
16
+ width: 970px;
17
+ }
18
+ @media (min-width: 1200px) {
19
+ width: 1170px;
20
+ }
21
+ }
22
+
23
+ // GRID COLUMN SETUP
24
+ // -------------------------
25
+
26
+ .grid{
27
+ @include clearfix();
28
+
29
+ .column {
30
+ display: block;
31
+ float: left;
32
+
33
+ &:first-child {
34
+ margin-left: 0;
35
+ }
36
+ }
37
+ }
38
+
39
+
40
+ @mixin column-child($value) {
41
+ > .column {
42
+ width: $value;
43
+ }
44
+ }
45
+
46
+ @mixin column-self($value) {
47
+ &.column {
48
+ width: $value;
49
+ }
50
+ }
51
+
52
+
53
+ .grid.two{
54
+ @include column-child(50%);
55
+ }
56
+
57
+ .grid.three{
58
+ @include column-child(33.3333333%);
59
+ }
60
+
61
+ .grid.four{
62
+ @include column-child(25%);
63
+ }
64
+
65
+ .grid.five{
66
+ @include column-child(20%);
67
+ }
68
+
69
+ .grid.six{
70
+ @include column-child(16.6666667%);
71
+ }
72
+
73
+ .grid.seven{
74
+ @include column-child(14.2857143%);
75
+ }
76
+
77
+ .grid.eight{
78
+ @include column-child(12.5%);
79
+ }
80
+
81
+ .grid.nine{
82
+ @include column-child(11.1111111%);
83
+ }
84
+
85
+ .grid.ten{
86
+ @include column-child(10%);
87
+ }
88
+
89
+ .grid.eleven{
90
+ @include column-child(9.09090909%);
91
+ }
92
+
93
+ .grid.twelve{
94
+ @include column-child(8.33333333%);
95
+ .four{
96
+ @include column-self(33.3333333%);
97
+ }
98
+ .eight{
99
+ @include column-self(66.6666667%);
100
+ }
101
+ }
102
+
103
+
104
+ // Go full width at less than 480px
105
+ @media only screen and (max-width: 480px) {
106
+ .grid{
107
+ &.two, &.three, &.four, &.five, &.six, &.seven, &.eight, &.nine, &.ten, &.eleven, &.twelve{
108
+ @include column-child(100%);
109
+ }
110
+ }
111
+ }
112
+
113
+
114
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - miclle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-09 00:00:00.000000000 Z
11
+ date: 2014-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,12 +42,13 @@ files:
42
42
  - vendor/assets/javascripts/mice.js
43
43
  - vendor/assets/javascripts/mice/jquery.email-autocomplete.js
44
44
  - vendor/assets/stylesheets/mice.scss
45
+ - vendor/assets/stylesheets/mice/_grid.scss
45
46
  - vendor/assets/stylesheets/mice/_mixins.scss
46
47
  - vendor/assets/stylesheets/mice/_normalize.scss
47
48
  - vendor/assets/stylesheets/mice/_scaffolding.scss
48
49
  - vendor/assets/stylesheets/mice/_typography.scss
49
50
  - vendor/assets/stylesheets/mice/_variables.scss
50
- homepage: http://miclle.com
51
+ homepage: https://github.com/miclle/mice
51
52
  licenses:
52
53
  - MIT
53
54
  metadata: {}