framed-scss 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/lib/framed-scss.rb +2 -0
- data/stylesheets/_framed-scss.scss +1 -0
- data/stylesheets/framed-scss/_structure.scss +99 -0
- data/templates/project/_framed-scss.scss +4 -0
- data/templates/project/manifest.rb +15 -0
- metadata +66 -0
data/README.md
ADDED
data/lib/framed-scss.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import "framed-scss/structure";
|
@@ -0,0 +1,99 @@
|
|
1
|
+
@import "compass/utilities/general/clearfix";
|
2
|
+
|
3
|
+
|
4
|
+
// Basics
|
5
|
+
body {
|
6
|
+
-webkit-text-size-adjust: 100%;
|
7
|
+
-ms-text-size-adjust: none;
|
8
|
+
margin: 0;
|
9
|
+
min-height: 100%;
|
10
|
+
}
|
11
|
+
|
12
|
+
div[data-role="page"] {
|
13
|
+
margin: 0;
|
14
|
+
max-width: 960px;
|
15
|
+
overflow: hidden;
|
16
|
+
@media screen and (min-width: 960px) {
|
17
|
+
margin: 0 auto;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
img {
|
22
|
+
display: block;
|
23
|
+
width: 100%;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
// Layout Foundations
|
28
|
+
.row {
|
29
|
+
@include pie-clearfix;
|
30
|
+
display: block;
|
31
|
+
margin: 0;
|
32
|
+
padding: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
.column {
|
36
|
+
display: inline-block;
|
37
|
+
float: left;
|
38
|
+
margin: 0;
|
39
|
+
padding: 0;
|
40
|
+
width: 100%;
|
41
|
+
}
|
42
|
+
|
43
|
+
.x100 { width: 100%; }
|
44
|
+
.x75 { width: 75%; }
|
45
|
+
.x66 { width: 66.667%; }
|
46
|
+
.x50 { width: 50%; }
|
47
|
+
.x33 { width: 33.333%; }
|
48
|
+
.x25 { width: 25%; }
|
49
|
+
.x20 { width: 20%; }
|
50
|
+
|
51
|
+
.element { margin: 0 4px 0 0; }
|
52
|
+
.column:first-child .element { margin-left: 4px; }
|
53
|
+
.column:last-child .element { margin-right: 4px; }
|
54
|
+
|
55
|
+
// Responsive Mutations
|
56
|
+
.row.collapse .column { float: none; width: 100%; }
|
57
|
+
@media screen and (max-width:1024px) {
|
58
|
+
.row.collapse-1024 > .column { float: none; width: 100%; }
|
59
|
+
.show-over-1024 { display: none; }
|
60
|
+
}
|
61
|
+
@media screen and (max-width:768px) {
|
62
|
+
.row.collapse-768 > .column { float: none; width: 100%; }
|
63
|
+
.show-over-768 { display: none; }
|
64
|
+
}
|
65
|
+
@media screen and (max-width:600px) {
|
66
|
+
.row.collapse-600 > .column { float: none; width: 100%; }
|
67
|
+
.show-over-600 { display: none; }
|
68
|
+
}
|
69
|
+
@media screen and (max-width:480px) {
|
70
|
+
.row.collapse-480 > .column { float: none; width: 100%; }
|
71
|
+
.show-over-480 { display: none; }
|
72
|
+
}
|
73
|
+
|
74
|
+
@media screen and (min-width:1025px) {
|
75
|
+
.show-under-1024 { display: none; }
|
76
|
+
}
|
77
|
+
@media screen and (min-width:769px) {
|
78
|
+
.show-under-768 { display: none; }
|
79
|
+
}
|
80
|
+
@media screen and (min-width:601px) {
|
81
|
+
.show-under-600 { display: none; }
|
82
|
+
}
|
83
|
+
@media screen and (min-width:481px) {
|
84
|
+
.show-under-480 { display: none; }
|
85
|
+
}
|
86
|
+
|
87
|
+
// Media Blocks
|
88
|
+
.media { margin-bottom: 0; overflow:hidden; *overflow:visible; zoom:1; }
|
89
|
+
.media, .bd { overflow:hidden; _overflow:visible; zoom:1; }
|
90
|
+
.media .img { float:left; margin-right: 8px; }
|
91
|
+
.media .img img { display:block; }
|
92
|
+
.media .imgExt { float:right; margin-left: 8px; }
|
93
|
+
|
94
|
+
|
95
|
+
/* Useless illustrative styles. */
|
96
|
+
.row { background: transparentize(#008f58,0.9) #008f58; }
|
97
|
+
.column { background: transparentize(#00558e,0.9); }
|
98
|
+
.element { background: transparentize(#541e8d,0.9); }
|
99
|
+
.element > p:only-child { text-align: center; }
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
# Make sure you list all the project template files here in the manifest.
|
4
|
+
stylesheet '_framed-scss.scss', :media => 'screen, projection'
|
5
|
+
# html 'framed.html'
|
6
|
+
|
7
|
+
description "structural foundations."
|
8
|
+
|
9
|
+
help %Q{
|
10
|
+
Framed, SCSS version.
|
11
|
+
}
|
12
|
+
|
13
|
+
welcome_message %Q{
|
14
|
+
Framed, SCSS version.
|
15
|
+
}
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: framed-scss
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Darcy Murphy
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-08-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: compass
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.12'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.12'
|
30
|
+
description: framings for a responsive web design
|
31
|
+
email: darcy.murphy@me.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- README.md
|
37
|
+
- lib/framed-scss.rb
|
38
|
+
- stylesheets/_framed-scss.scss
|
39
|
+
- stylesheets/framed-scss/_structure.scss
|
40
|
+
- templates/project/_framed-scss.scss
|
41
|
+
- templates/project/manifest.rb
|
42
|
+
homepage: http://www.mrdarcymurphy.com/
|
43
|
+
licenses: []
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 1.8.24
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: framings for a responsive web design
|
66
|
+
test_files: []
|