rails_layout 0.5.2 → 0.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8336166b138c352157298ba8261163e8ea20af3
|
4
|
+
data.tar.gz: 4f8a9a31cbac1f6723f7cc622f3b1e945e070280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4c4ea4bbf9334ff73f64485ab2aaf1865208a4ef7cd3640b07b27eefaa43c0c18aac61ac8bc77d419b83defeeb05339fa330c93d18e085158502373c936fff
|
7
|
+
data.tar.gz: d10ac335334a5c54169f0a8d647aa6d6b5cfcff81b0d6134ebd57ca51736225c8525d8e029bfbc8f5499f5a6f2c8ad814b5b3d409f979ebdd99e54242e279896
|
data/CHANGELOG.textile
CHANGED
@@ -1,29 +1,19 @@
|
|
1
1
|
// import the CSS framework
|
2
2
|
@import "bootstrap";
|
3
3
|
|
4
|
-
// override for the 'Home' navigation link
|
5
|
-
.navbar-brand {
|
6
|
-
font-size: inherit;
|
7
|
-
}
|
8
4
|
// make all images responsive by default
|
9
5
|
img {
|
10
6
|
@extend .img-responsive;
|
11
7
|
margin: 0 auto;
|
12
8
|
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
main {
|
17
|
-
@extend .container;
|
18
|
-
background-color: #eee;
|
19
|
-
padding-bottom: 80px;
|
20
|
-
width: 100%;
|
21
|
-
margin-top: 51px; // accommodate the navbar
|
22
|
-
}
|
23
|
-
section {
|
24
|
-
@extend .row;
|
25
|
-
margin-top: 20px;
|
9
|
+
// override for the 'Home' navigation link
|
10
|
+
.navbar-brand {
|
11
|
+
font-size: inherit;
|
26
12
|
}
|
13
|
+
|
14
|
+
// THESE ARE EXAMPLES YOU CAN MODIFY
|
15
|
+
// create your own classes
|
16
|
+
// to make views framework-neutral
|
27
17
|
.column {
|
28
18
|
@extend .col-md-6;
|
29
19
|
@extend .text-center;
|
@@ -40,3 +30,16 @@ section {
|
|
40
30
|
@extend .btn-primary;
|
41
31
|
@extend .btn-lg;
|
42
32
|
}
|
33
|
+
// apply styles to HTML elements
|
34
|
+
// to make views framework-neutral
|
35
|
+
main {
|
36
|
+
@extend .container;
|
37
|
+
background-color: #eee;
|
38
|
+
padding-bottom: 80px;
|
39
|
+
width: 100%;
|
40
|
+
margin-top: 51px; // accommodate the navbar
|
41
|
+
}
|
42
|
+
section {
|
43
|
+
@extend .row;
|
44
|
+
margin-top: 20px;
|
45
|
+
}
|
@@ -10,8 +10,8 @@
|
|
10
10
|
color: white;
|
11
11
|
padding: 0 15px; }
|
12
12
|
|
13
|
-
//
|
14
|
-
//
|
13
|
+
// THESE ARE EXAMPLES YOU CAN MODIFY
|
14
|
+
// create mixins using Foundation classes
|
15
15
|
@mixin twelve-columns {
|
16
16
|
@extend .small-12;
|
17
17
|
@extend .columns;
|
@@ -21,14 +21,8 @@
|
|
21
21
|
@extend .columns;
|
22
22
|
@extend .text-center;
|
23
23
|
}
|
24
|
-
|
25
|
-
|
26
|
-
background-color: #eee;
|
27
|
-
}
|
28
|
-
section {
|
29
|
-
@extend .row;
|
30
|
-
margin-top: 20px;
|
31
|
-
}
|
24
|
+
// create your own classes
|
25
|
+
// to make views framework-neutral
|
32
26
|
.column {
|
33
27
|
@include six-columns-centered;
|
34
28
|
}
|
@@ -42,3 +36,13 @@ section {
|
|
42
36
|
@extend .button;
|
43
37
|
@extend .radius;
|
44
38
|
}
|
39
|
+
// apply styles to HTML elements
|
40
|
+
// to make views framework-neutral
|
41
|
+
main {
|
42
|
+
@include twelve-columns;
|
43
|
+
background-color: #eee;
|
44
|
+
}
|
45
|
+
section {
|
46
|
+
@extend .row;
|
47
|
+
margin-top: 20px;
|
48
|
+
}
|
data/lib/rails_layout/version.rb
CHANGED