compass_extension 0.1.4 → 0.1.5
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.
- data/templates/project/files/about.html +123 -0
- data/templates/project/files/blog.html +195 -0
- data/templates/project/files/contact.html +186 -0
- data/templates/project/files/dummy-full.png +0 -0
- data/templates/project/files/inc/breadcrumb.html +5 -0
- data/templates/project/files/inc/footer.html +35 -0
- data/templates/project/files/inc/header.html +37 -0
- data/templates/project/files/inc/main-nav.html +7 -0
- data/templates/project/files/index.html +157 -0
- data/templates/project/files/logo.png +0 -0
- data/templates/project/files/logo@2x.png +0 -0
- data/templates/project/files/products.html +107 -0
- data/templates/project/files/services.html +107 -0
- data/templates/project/index.html +154 -0
- data/templates/project/javascripts/{jquery-1.7.2.js → libs/jquery-1.7.2.js} +0 -0
- data/templates/project/javascripts/{jquery-1.7.2.min.js → libs/jquery-1.7.2.min.js} +0 -0
- data/templates/project/javascripts/{jquery-ui-1.8.22.min.js → libs/jquery-ui-1.8.22.min.js} +0 -0
- data/templates/project/javascripts/{modernizr-2.5.3.min.js → libs/modernizr-2.5.3.min.js} +0 -0
- data/templates/project/javascripts/{respond.min.js → libs/respond.min.js} +0 -0
- data/templates/project/javascripts/libs/selectivizr.js +560 -0
- data/templates/project/manifest.rb +59 -39
- data/templates/project/partials/_debug.scss +114 -0
- data/templates/project/partials/_functions.scss +10 -0
- data/templates/project/partials/_helpers.scss +86 -0
- data/templates/project/partials/_layout.scss +177 -0
- data/templates/project/partials/_media.scss +166 -20
- data/templates/project/partials/_misc.scss +103 -0
- data/templates/project/partials/_mixins.scss +85 -0
- data/templates/project/partials/_mods.scss +65 -0
- data/templates/project/partials/_normalize.scss +36 -0
- data/templates/project/partials/_print.scss +71 -0
- data/templates/project/partials/_type.scss +320 -0
- data/templates/project/partials/_vars.scss +117 -0
- data/templates/project/partials/mods/_mod-block.scss +95 -0
- data/templates/project/partials/mods/_mod-breadcrumb.scss +130 -0
- data/templates/project/partials/mods/_mod-carousel.scss +106 -0
- data/templates/project/partials/mods/_mod-footer.scss +144 -0
- data/templates/project/partials/mods/_mod-form.scss +269 -0
- data/templates/project/partials/mods/_mod-header.scss +203 -0
- data/templates/project/partials/mods/_mod-intro.scss +95 -0
- data/templates/project/partials/mods/_mod-main-nav.scss +139 -0
- data/templates/project/partials/mods/_mod-map.scss +107 -0
- data/templates/project/partials/mods/_mod-paging.scss +101 -0
- data/templates/project/partials/mods/_mod-strip.scss +120 -0
- data/templates/project/partials/mods/_mod-table.scss +118 -0
- data/templates/project/partials/sass-template.scss +103 -0
- data/templates/project/screen.scss +55 -0
- metadata +49 -26
- data/templates/project/partials/SCSS_template.scss +0 -83
- data/templates/project/partials/_base.scss +0 -198
- data/templates/project/partials/_fonts.scss +0 -4
- data/templates/project/partials/_footer.scss +0 -83
- data/templates/project/partials/_header.scss +0 -83
- data/templates/project/partials/_modules.scss +0 -19
- data/templates/project/partials/_overrides.scss +0 -47
- data/templates/project/partials/_page.scss +0 -126
- data/templates/project/partials/modules/_mod-breadcrumb.scss +0 -83
- data/templates/project/partials/modules/_mod-carousels.scss +0 -83
- data/templates/project/partials/modules/_mod-default.scss +0 -83
- data/templates/project/partials/modules/_mod-form.scss +0 -83
- data/templates/project/partials/modules/_mod-login.scss +0 -83
- data/templates/project/partials/modules/_mod-pagination.scss +0 -83
- data/templates/project/partials/modules/_mod-subnav.scss +0 -83
- data/templates/project/partials/modules/_mod-widget.scss +0 -83
- data/templates/project/style.scss +0 -28
@@ -1,24 +1,32 @@
|
|
1
|
-
description "Compass extension for
|
1
|
+
description "Compass extension for Skyron projects using HTML5 html5-boilerplate templates"
|
2
2
|
|
3
|
-
stylesheet '
|
4
|
-
stylesheet 'partials/
|
5
|
-
stylesheet 'partials/
|
6
|
-
stylesheet 'partials/
|
7
|
-
stylesheet 'partials/
|
8
|
-
stylesheet 'partials/_modules.scss'
|
9
|
-
stylesheet 'partials/_overrides.scss'
|
10
|
-
stylesheet 'partials/_page.scss'
|
3
|
+
stylesheet 'screen.scss', :media => 'all'
|
4
|
+
stylesheet 'partials/_debug.scss'
|
5
|
+
stylesheet 'partials/_functions.scss'
|
6
|
+
stylesheet 'partials/_helpers.scss'
|
7
|
+
stylesheet 'partials/_layout.scss'
|
11
8
|
stylesheet 'partials/_media.scss'
|
12
|
-
stylesheet 'partials/
|
9
|
+
stylesheet 'partials/_misc.scss'
|
10
|
+
stylesheet 'partials/_mixins.scss'
|
11
|
+
stylesheet 'partials/_mods.scss'
|
12
|
+
stylesheet 'partials/_normalize.scss'
|
13
|
+
stylesheet 'partials/_print.scss'
|
14
|
+
stylesheet 'partials/_type.scss'
|
15
|
+
stylesheet 'partials/_vars.scss'
|
16
|
+
stylesheet 'partials/sass-template.scss'
|
13
17
|
|
14
|
-
stylesheet 'partials/
|
15
|
-
stylesheet 'partials/
|
16
|
-
stylesheet 'partials/
|
17
|
-
stylesheet 'partials/
|
18
|
-
stylesheet 'partials/
|
19
|
-
stylesheet 'partials/
|
20
|
-
stylesheet 'partials/
|
21
|
-
stylesheet 'partials/
|
18
|
+
stylesheet 'partials/mods/_mod-block.scss'
|
19
|
+
stylesheet 'partials/mods/_mod-breadcrumb.scss'
|
20
|
+
stylesheet 'partials/mods/_mod-carousel.scss'
|
21
|
+
stylesheet 'partials/mods/_mod-footer.scss'
|
22
|
+
stylesheet 'partials/mods/_mod-form.scss'
|
23
|
+
stylesheet 'partials/mods/_mod-header.scss'
|
24
|
+
stylesheet 'partials/mods/_mod-intro.scss'
|
25
|
+
stylesheet 'partials/mods/_mod-main-nav.scss'
|
26
|
+
stylesheet 'partials/mods/_mod-map.scss'
|
27
|
+
stylesheet 'partials/mods/_mod-paging.scss'
|
28
|
+
stylesheet 'partials/mods/_mod-strip.scss'
|
29
|
+
stylesheet 'partials/mods/_mod-table.scss'
|
22
30
|
|
23
31
|
|
24
32
|
if Compass.configuration.project_type == :rails
|
@@ -30,30 +38,44 @@ if Compass.configuration.project_type == :rails
|
|
30
38
|
file '_javascripts.html.haml', :to => 'app/views/layouts/_javascripts.html.haml'
|
31
39
|
file '_stylesheets.html.haml', :to => 'app/views/layouts/_stylesheets.html.haml'
|
32
40
|
file 'files/google.yml', :to => 'config/google.yml'
|
33
|
-
javascript 'javascripts/jquery-1.7.2.js', :to => 'jquery.js'
|
34
|
-
javascript 'javascripts/jquery-1.7.2.min.js', :to => 'jquery.min.js'
|
35
|
-
javascript 'javascripts/jquery-ui-1.8.22.min.js', :to => 'jquery-ui-1.8.22.min.js'
|
36
|
-
javascript 'javascripts/modernizr-2.5.3.min.js', :to => 'modernizr.min.js'
|
37
|
-
javascript 'javascripts/respond.min.js', :to => 'respond.min.js'
|
41
|
+
javascript 'javascripts/libs/jquery-1.7.2.js', :to => 'libs/jquery.js'
|
42
|
+
javascript 'javascripts/libs/jquery-1.7.2.min.js', :to => 'libs/jquery.min.js'
|
43
|
+
javascript 'javascripts/libs/jquery-ui-1.8.22.min.js', :to => 'libs/jquery-ui-1.8.22.min.js'
|
44
|
+
javascript 'javascripts/libs/modernizr-2.5.3.min.js', :to => 'libs/modernizr.min.js'
|
45
|
+
javascript 'javascripts/libs/respond.min.js', :to => 'libs/respond.min.js'
|
46
|
+
javascript 'javascripts/libs/selectivizr.js', :to => 'libs/selectivizr.js'
|
38
47
|
javascript 'javascripts/plugins.js', :to => 'plugins.js'
|
39
48
|
javascript 'javascripts/rails.js', :to => 'rails.js'
|
40
49
|
else
|
41
|
-
html 'index.html
|
42
|
-
file 'index.html.haml'
|
43
|
-
javascript 'javascripts/jquery-1.7.2.js', :to => 'jquery-1.7.2.js'
|
44
|
-
javascript 'javascripts/jquery-1.7.2.min.js', :to => 'jquery-1.7.2.min.js'
|
45
|
-
javascript 'javascripts/jquery-ui-1.8.22.min.js', :to => 'jquery-ui-1.8.22.min.js'
|
46
|
-
javascript 'javascripts/modernizr-2.5.3.min.js', :to => 'modernizr-2.5.3.min.js'
|
47
|
-
javascript 'javascripts/respond.min.js', :to => 'respond.min.js'
|
50
|
+
html 'index.html'
|
51
|
+
#file 'index.html.haml'
|
52
|
+
javascript 'javascripts/libs/jquery-1.7.2.js', :to => 'libs/jquery-1.7.2.js'
|
53
|
+
javascript 'javascripts/libs/jquery-1.7.2.min.js', :to => 'libs/jquery-1.7.2.min.js'
|
54
|
+
javascript 'javascripts/libs/jquery-ui-1.8.22.min.js', :to => 'libs/jquery-ui-1.8.22.min.js'
|
55
|
+
javascript 'javascripts/libs/modernizr-2.5.3.min.js', :to => 'libs/modernizr-2.5.3.min.js'
|
56
|
+
javascript 'javascripts/libs/respond.min.js', :to => 'libs/respond.min.js'
|
57
|
+
javascript 'javascripts/libs/selectivizr.js', :to => 'libs/selectivizr.js'
|
48
58
|
javascript 'javascripts/plugins.js', :to => 'plugins.js'
|
49
59
|
javascript 'javascripts/script.js', :to => 'script.js'
|
50
60
|
end
|
61
|
+
html 'files/about.html', :to => 'about.html'
|
62
|
+
html 'files/blog.html', :to => 'blog.html'
|
63
|
+
html 'files/contact.html', :to => 'contact.html'
|
64
|
+
html 'files/products.html', :to => 'products.html'
|
65
|
+
html 'files/services.html', :to => 'services.html'
|
66
|
+
#html 'files/htaccess', :to => '.htaccess'
|
51
67
|
html 'files/404.html', :to => '404.html'
|
68
|
+
html 'files/inc/breadcrumb.html', :to => 'inc/breadcrumb.html'
|
69
|
+
html 'files/inc/footer.html', :to => 'inc/footer.html'
|
70
|
+
html 'files/inc/header.html', :to => 'inc/header.html'
|
71
|
+
html 'files/inc/main-nav.html', :to => 'inc/main-nav.html'
|
52
72
|
html 'files/crossdomain.xml', :to => 'crossdomain.xml'
|
53
73
|
html 'files/robots.txt', :to => 'robots.txt'
|
54
74
|
html 'files/humans.txt', :to => 'humans.txt'
|
75
|
+
image 'files/dummy-full.png', :to => 'dummy-full.png'
|
76
|
+
image 'files/logo.png', :to => 'logo.png'
|
77
|
+
image 'files/logo@x2.png', :to => 'logo@x2.png'
|
55
78
|
html 'files/apple-touch-icon.png', :to => 'apple-touch-icon.png'
|
56
|
-
image 'files/apple-touch-icon-57x57-precomposed.png', :to => 'apple-touch-icon-57x57-precomposed.png'
|
57
79
|
html 'files/apple-touch-icon-57x57-precomposed.png', :to => 'apple-touch-icon-57x57-precomposed.png'
|
58
80
|
html 'files/apple-touch-icon-72x72-precomposed.png', :to => 'apple-touch-icon-72x72-precomposed.png'
|
59
81
|
html 'files/apple-touch-icon-114x114-precomposed.png', :to => 'apple-touch-icon-114x114-precomposed.png'
|
@@ -61,24 +83,22 @@ html 'files/apple-touch-icon-precomposed.png', :to => 'apple-touch-icon-precompo
|
|
61
83
|
html 'files/favicon.png', :to => 'favicon.png'
|
62
84
|
|
63
85
|
help %Q{
|
64
|
-
This is a Compass extension for
|
65
|
-
(See full docs at: http://github.com/sporkd/compass-html5-boilerplate)
|
66
|
-
Updated for Skyron ltd needs
|
86
|
+
This is a Compass extension for Skyron using html5-boilerplate templates
|
67
87
|
|
68
88
|
Rails Installation
|
69
89
|
========================
|
70
|
-
$ gem install
|
71
|
-
$ cd
|
72
|
-
$ compass init rails -r
|
90
|
+
$ gem install compass_extension
|
91
|
+
$ cd my_project
|
92
|
+
$ compass init rails -r compass_extension -u compass_extension --force
|
73
93
|
|
74
94
|
Stand Alone Installation
|
75
95
|
========================
|
76
96
|
$ gem install html5-boilerplate
|
77
|
-
$ compass create my_project -r
|
97
|
+
$ compass create <my_project> -r compass_extension -u compass_extension --javascripts-dir js --css-dir css --images-dir css
|
78
98
|
|
79
99
|
}
|
80
100
|
|
81
101
|
welcome_message %Q{
|
82
|
-
You've installed HTML5
|
102
|
+
You've installed HTML5 Skyframe . Lucky you! ;)
|
83
103
|
|
84
104
|
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
/*
|
2
|
+
------------------------------------------------------------------------------
|
3
|
+
888888 Yb dP 888888 888888 88b 88 8888b.
|
4
|
+
88__ YbdP 88 88__ 88Yb88 8I Yb
|
5
|
+
88"" dPYb 88 88"" 88 Y88 8I dY
|
6
|
+
888888 dP Yb 88 888888 88 Y8 8888Y"
|
7
|
+
------------------------------------------------------------------------------
|
8
|
+
Extend classes. These are classes should not in your HTML markup.
|
9
|
+
These class should be reused in this module for neatness.
|
10
|
+
------------------------------------------------------------------------------
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* =============================================================================
|
14
|
+
Comment
|
15
|
+
========================================================================== */
|
16
|
+
|
17
|
+
|
18
|
+
/*
|
19
|
+
------------------------------------------------------------------------------
|
20
|
+
8888b. 888888 888888 db 88 88 88 888888 .dP"Y8 888888 Yb dP 88 888888 .dP"Y8
|
21
|
+
8I Yb 88__ 88__ dPYb 88 88 88 88 `Ybo." 88 YbdP 88 88__ `Ybo."
|
22
|
+
8I dY 88"" 88"" dP__Yb Y8 8P 88 .o 88 o.`Y8b 88 8P 88 .o 88"" o.`Y8b
|
23
|
+
8888Y" 888888 88 dP""""Yb `YbodP' 88ood8 88 8bodP' 88 dP 88ood8 888888 8bodP'
|
24
|
+
------------------------------------------------------------------------------
|
25
|
+
Default style
|
26
|
+
------------------------------------------------------------------------------
|
27
|
+
*/
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
/*
|
32
|
+
------------------------------------------------------------------------------
|
33
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8b d8 dP"Yb 88""Yb 88 88 888888
|
34
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88b d88 dP Yb 88__dP 88 88 88__
|
35
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88YbdP88 Yb dP 88""Yb 88 88 .o 88""
|
36
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 YY 88 YbodP 88oodP 88 88ood8 888888
|
37
|
+
------------------------------------------------------------------------------
|
38
|
+
Mobile
|
39
|
+
------------------------------------------------------------------------------
|
40
|
+
*/
|
41
|
+
@media only screen and (min-width: $mq-mob-min) and (max-width: $mq-mob-max){
|
42
|
+
|
43
|
+
body{
|
44
|
+
@if($DEBUG == true){
|
45
|
+
@include debug-mq("MOBILE", rgba(255,0,0,0.3));
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
}// /@media mob
|
50
|
+
|
51
|
+
|
52
|
+
/*
|
53
|
+
------------------------------------------------------------------------------
|
54
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 888888 db 88""Yb 88 888888 888888
|
55
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88 dPYb 88__dP 88 88__ 88
|
56
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88 dP__Yb 88""Yb 88 .o 88"" 88
|
57
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 dP""""Yb 88oodP 88ood8 888888 88
|
58
|
+
------------------------------------------------------------------------------
|
59
|
+
Tablet
|
60
|
+
------------------------------------------------------------------------------
|
61
|
+
*/
|
62
|
+
@media only screen and (min-width: $mq-tab-min) and (max-width: $mq-tab-max){
|
63
|
+
|
64
|
+
body{
|
65
|
+
@if($DEBUG == true){
|
66
|
+
@include debug-mq("TABLET", rgba(0,255,0,0.3));
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
}// /@media tab
|
71
|
+
|
72
|
+
/*
|
73
|
+
------------------------------------------------------------------------------
|
74
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8888b. 888888 .dP"Y8 88 dP 888888 dP"Yb 88""Yb
|
75
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 8I Yb 88__ `Ybo." 88odP 88 dP Yb 88__dP
|
76
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 8I dY 88"" o.`Y8b 88"Yb 88 Yb dP 88"""
|
77
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 8888Y" 888888 8bodP' 88 Yb 88 YbodP 88
|
78
|
+
------------------------------------------------------------------------------
|
79
|
+
Desktop
|
80
|
+
------------------------------------------------------------------------------
|
81
|
+
*/
|
82
|
+
@media only screen and (min-width: $mq-dsk-min){
|
83
|
+
|
84
|
+
body{
|
85
|
+
@if($DEBUG == true){
|
86
|
+
@include debug-mq("DESKTOP", rgba(0,0,255,0.3));
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
}// /@media dsk
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
/*
|
95
|
+
------------------------------------------------------------------------------
|
96
|
+
88""Yb 888888 888888 88 88b 88 db
|
97
|
+
88__dP 88__ 88 88 88Yb88 dPYb
|
98
|
+
88"Yb 88"" 88 88 88 Y88 dP__Yb
|
99
|
+
88 Yb 888888 88 88 88 Y8 dP""""Yb
|
100
|
+
------------------------------------------------------------------------------
|
101
|
+
Retina
|
102
|
+
------------------------------------------------------------------------------
|
103
|
+
*/
|
104
|
+
|
105
|
+
@media only screen and (-webkit-min-device-pixel-ratio: $pixel-ratio-min),
|
106
|
+
only screen and (min-device-pixel-ratio: $pixel-ratio-min) {
|
107
|
+
|
108
|
+
body{
|
109
|
+
@if($DEBUG == true){
|
110
|
+
@include debug-mq("RETINA", rgba(255,0,255,0.3) );
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
------------------------------------------------------------------------------
|
3
|
+
888888 88 88 88b 88 dP""b8 888888 88 dP"Yb 88b 88 .dP"Y8
|
4
|
+
88__ 88 88 88Yb88 dP `" 88 88 dP Yb 88Yb88 `Ybo."
|
5
|
+
88"" Y8 8P 88 Y88 Yb 88 88 Yb dP 88 Y88 o.`Y8b
|
6
|
+
88 `YbodP' 88 Y8 YboodP 88 88 YbodP 88 Y8 8bodP'
|
7
|
+
------------------------------------------------------------------------------
|
8
|
+
Functions
|
9
|
+
------------------------------------------------------------------------------
|
10
|
+
*/
|
@@ -0,0 +1,86 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
H5BP Helper classes
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
* Image replacement
|
7
|
+
*/
|
8
|
+
|
9
|
+
.ir {
|
10
|
+
border: 0;
|
11
|
+
font: 0/0 a;
|
12
|
+
text-shadow: none;
|
13
|
+
color: transparent;
|
14
|
+
background-color: transparent;
|
15
|
+
}
|
16
|
+
|
17
|
+
/*
|
18
|
+
* Hide from both screenreaders and browsers: h5bp.com/u
|
19
|
+
*/
|
20
|
+
|
21
|
+
.hidden {
|
22
|
+
display: none !important;
|
23
|
+
visibility: hidden;
|
24
|
+
}
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Hide only visually, but have it available for screenreaders: h5bp.com/v
|
28
|
+
*/
|
29
|
+
|
30
|
+
.visuallyhidden {
|
31
|
+
border: 0;
|
32
|
+
clip: rect(0 0 0 0);
|
33
|
+
height: 1px;
|
34
|
+
margin: -1px;
|
35
|
+
overflow: hidden;
|
36
|
+
padding: 0;
|
37
|
+
position: absolute;
|
38
|
+
width: 1px;
|
39
|
+
}
|
40
|
+
|
41
|
+
/*
|
42
|
+
* Extends the .visuallyhidden class to allow the element to be focusable
|
43
|
+
* when navigated to via the keyboard: h5bp.com/p
|
44
|
+
*/
|
45
|
+
|
46
|
+
.visuallyhidden.focusable:active,
|
47
|
+
.visuallyhidden.focusable:focus {
|
48
|
+
clip: auto;
|
49
|
+
height: auto;
|
50
|
+
margin: 0;
|
51
|
+
overflow: visible;
|
52
|
+
position: static;
|
53
|
+
width: auto;
|
54
|
+
}
|
55
|
+
|
56
|
+
/*
|
57
|
+
* Hide visually and from screenreaders, but maintain layout
|
58
|
+
*/
|
59
|
+
|
60
|
+
.invisible {
|
61
|
+
visibility: hidden;
|
62
|
+
}
|
63
|
+
|
64
|
+
/**
|
65
|
+
* Clearfix helper
|
66
|
+
* Used to contain floats: h5bp.com/q
|
67
|
+
*/
|
68
|
+
|
69
|
+
.clearfix:before,
|
70
|
+
.clearfix:after {
|
71
|
+
content: "";
|
72
|
+
display: table;
|
73
|
+
}
|
74
|
+
|
75
|
+
.clearfix:after {
|
76
|
+
clear: both;
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
* For IE 6/7 only
|
81
|
+
* Include this rule to trigger hasLayout and contain floats.
|
82
|
+
*/
|
83
|
+
|
84
|
+
.clearfix {
|
85
|
+
*zoom: 1;
|
86
|
+
}
|
@@ -0,0 +1,177 @@
|
|
1
|
+
/*
|
2
|
+
------------------------------------------------------------------------------
|
3
|
+
888888 Yb dP 888888 888888 88b 88 8888b.
|
4
|
+
88__ YbdP 88 88__ 88Yb88 8I Yb
|
5
|
+
88"" dPYb 88 88"" 88 Y88 8I dY
|
6
|
+
888888 dP Yb 88 888888 88 Y8 8888Y"
|
7
|
+
------------------------------------------------------------------------------
|
8
|
+
Extend classes. These are classes should not in your HTML markup.
|
9
|
+
These class should be reused in this module for neatness.
|
10
|
+
------------------------------------------------------------------------------
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* =============================================================================
|
14
|
+
Comment
|
15
|
+
========================================================================== */
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
/*
|
20
|
+
------------------------------------------------------------------------------
|
21
|
+
8888b. 888888 888888 db 88 88 88 888888 .dP"Y8 888888 Yb dP 88 888888 .dP"Y8
|
22
|
+
8I Yb 88__ 88__ dPYb 88 88 88 88 `Ybo." 88 YbdP 88 88__ `Ybo."
|
23
|
+
8I dY 88"" 88"" dP__Yb Y8 8P 88 .o 88 o.`Y8b 88 8P 88 .o 88"" o.`Y8b
|
24
|
+
8888Y" 888888 88 dP""""Yb `YbodP' 88ood8 88 8bodP' 88 dP 88ood8 888888 8bodP'
|
25
|
+
------------------------------------------------------------------------------
|
26
|
+
Default style
|
27
|
+
------------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
|
30
|
+
/* =============================================================================
|
31
|
+
Comment
|
32
|
+
========================================================================== */
|
33
|
+
.l-main,
|
34
|
+
.l-main-side,
|
35
|
+
.l-side-main,
|
36
|
+
.l-side-main-side{
|
37
|
+
//background:$col-light-gray;
|
38
|
+
//border-bottom:1px solid $col-dark-gray;
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
/*
|
44
|
+
------------------------------------------------------------------------------
|
45
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8b d8 dP"Yb 88""Yb 88 88 888888
|
46
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88b d88 dP Yb 88__dP 88 88 88__
|
47
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88YbdP88 Yb dP 88""Yb 88 88 .o 88""
|
48
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 YY 88 YbodP 88oodP 88 88ood8 888888
|
49
|
+
------------------------------------------------------------------------------
|
50
|
+
Mobile
|
51
|
+
------------------------------------------------------------------------------
|
52
|
+
*/
|
53
|
+
@media only screen and (min-width: $mq-mob-min) and (max-width: $mq-mob-max){
|
54
|
+
|
55
|
+
/* =============================================================================
|
56
|
+
Comment
|
57
|
+
========================================================================== */
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
}// /@media mob
|
62
|
+
|
63
|
+
|
64
|
+
/*
|
65
|
+
------------------------------------------------------------------------------
|
66
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 888888 db 88""Yb 88 888888 888888
|
67
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 88 dPYb 88__dP 88 88__ 88
|
68
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 88 dP__Yb 88""Yb 88 .o 88"" 88
|
69
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 88 dP""""Yb 88oodP 88ood8 888888 88
|
70
|
+
------------------------------------------------------------------------------
|
71
|
+
Tablet
|
72
|
+
------------------------------------------------------------------------------
|
73
|
+
*/
|
74
|
+
@media only screen and (min-width: $mq-tab-min) and (max-width: $mq-tab-max){
|
75
|
+
|
76
|
+
/* =============================================================================
|
77
|
+
Comment
|
78
|
+
========================================================================== */
|
79
|
+
|
80
|
+
|
81
|
+
}// /@media tab
|
82
|
+
|
83
|
+
/*
|
84
|
+
------------------------------------------------------------------------------
|
85
|
+
8b d8 888888 8888b. 88 db dP"Yb 88 88 888888 88""Yb Yb dP 8888b. 888888 .dP"Y8 88 dP 888888 dP"Yb 88""Yb
|
86
|
+
88b d88 88__ 8I Yb 88 dPYb dP Yb 88 88 88__ 88__dP YbdP ________ 8I Yb 88__ `Ybo." 88odP 88 dP Yb 88__dP
|
87
|
+
88YbdP88 88"" 8I dY 88 dP__Yb Yb b dP Y8 8P 88"" 88"Yb 8P """""""" 8I dY 88"" o.`Y8b 88"Yb 88 Yb dP 88"""
|
88
|
+
88 YY 88 888888 8888Y" 88 dP""""Yb `"YoYo `YbodP' 888888 88 Yb dP 8888Y" 888888 8bodP' 88 Yb 88 YbodP 88
|
89
|
+
------------------------------------------------------------------------------
|
90
|
+
Desktop
|
91
|
+
------------------------------------------------------------------------------
|
92
|
+
*/
|
93
|
+
@media only screen and (min-width: $mq-dsk-min){
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
/* =============================================================================
|
98
|
+
Layout: Main
|
99
|
+
========================================================================== */
|
100
|
+
.l-main{
|
101
|
+
@include legacy-pie-clearfix;
|
102
|
+
|
103
|
+
.mod-content{
|
104
|
+
@include span-columns(12, 12);
|
105
|
+
|
106
|
+
}// /.mod-content
|
107
|
+
|
108
|
+
}// /.l-main
|
109
|
+
|
110
|
+
|
111
|
+
/* =============================================================================
|
112
|
+
Layout: Main Side
|
113
|
+
========================================================================== */
|
114
|
+
.l-main-side{
|
115
|
+
@include legacy-pie-clearfix;
|
116
|
+
|
117
|
+
.mod-sidebar{
|
118
|
+
@include span-columns(3, 12);
|
119
|
+
|
120
|
+
|
121
|
+
&:last-child{
|
122
|
+
@include omega;
|
123
|
+
}
|
124
|
+
}// /.mod-sidebar
|
125
|
+
|
126
|
+
.mod-content{
|
127
|
+
@include span-columns(9, 12);
|
128
|
+
|
129
|
+
}// /.mod-content
|
130
|
+
|
131
|
+
}// /.l-main-side
|
132
|
+
|
133
|
+
|
134
|
+
/* =============================================================================
|
135
|
+
Layout: Side Main
|
136
|
+
========================================================================== */
|
137
|
+
.l-side-main{
|
138
|
+
@include legacy-pie-clearfix;
|
139
|
+
|
140
|
+
.mod-sidebar{
|
141
|
+
@include span-columns(3, 12);
|
142
|
+
}// /.mod-sidebar
|
143
|
+
|
144
|
+
.mod-content{
|
145
|
+
@include span-columns(9 omega, 12);
|
146
|
+
|
147
|
+
}// /.mod-content
|
148
|
+
|
149
|
+
}// /.l-main-side
|
150
|
+
|
151
|
+
|
152
|
+
/* =============================================================================
|
153
|
+
Layout: Side Main Side
|
154
|
+
========================================================================== */
|
155
|
+
.l-side-main-side{
|
156
|
+
@include legacy-pie-clearfix;
|
157
|
+
|
158
|
+
.mod-sidebar{
|
159
|
+
@include span-columns(3, 12);
|
160
|
+
|
161
|
+
&:last-child{
|
162
|
+
@include omega;
|
163
|
+
}
|
164
|
+
}// /.mod-sidebar
|
165
|
+
|
166
|
+
.mod-content{
|
167
|
+
@include span-columns(6, 12);
|
168
|
+
|
169
|
+
}// /.mod-content
|
170
|
+
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
}// /@media dsk
|
175
|
+
|
176
|
+
|
177
|
+
|