rtpl-compass 1.0
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 +7 -0
- data/README.md +102 -0
- data/lib/config.rb +5 -0
- data/lib/rtpl-compass.rb +60 -0
- data/templates/project/css/dev.css +3 -0
- data/templates/project/files/compass_watch.bat +1 -0
- data/templates/project/files/readme.txt +36 -0
- data/templates/project/ie-old/favicon.ico +0 -0
- data/templates/project/ie-old/images/as.jpg +0 -0
- data/templates/project/ie-old/images/bg_span_wol.gif +0 -0
- data/templates/project/ie-old/images/f.jpg +0 -0
- data/templates/project/ie-old/images/gc.jpg +0 -0
- data/templates/project/ie-old/images/h.jpg +0 -0
- data/templates/project/ie-old/images/ie.jpg +0 -0
- data/templates/project/ie-old/images/mf.jpg +0 -0
- data/templates/project/ie-old/images/op.jpg +0 -0
- data/templates/project/ie-old/images/td1.jpg +0 -0
- data/templates/project/ie-old/images/td2.jpg +0 -0
- data/templates/project/ie-old/images/td3.jpg +0 -0
- data/templates/project/ie-old/index.html +175 -0
- data/templates/project/images/fancyClose.png +0 -0
- data/templates/project/images/fancyNext.png +0 -0
- data/templates/project/images/fancyPrev.png +0 -0
- data/templates/project/images/favicon.png +0 -0
- data/templates/project/images/loading.gif +0 -0
- data/templates/project/images/noimg.jpg +0 -0
- data/templates/project/images/screenshot.jpg +0 -0
- data/templates/project/index.html +24 -0
- data/templates/project/index.php +79 -0
- data/templates/project/js/full/example.js +1 -0
- data/templates/project/js/full/ph.js +33 -0
- data/templates/project/js/full/rform.js +416 -0
- data/templates/project/js/full/scripts.js +1 -0
- data/templates/project/js/init.js +41 -0
- data/templates/project/js/min/head.min.js +9 -0
- data/templates/project/js/min/jquery.fancybox.min.js +46 -0
- data/templates/project/js/min/ph.min.js +2 -0
- data/templates/project/manifest.rb +96 -0
- data/templates/project/sass/index.sass +36 -0
- data/templates/project/sass/source/_buttons.sass +35 -0
- data/templates/project/sass/source/_formstyle.sass +150 -0
- data/templates/project/sass/source/_global.sass +62 -0
- data/templates/project/sass/source/_reset.sass +93 -0
- data/templates/project/sass/source/_typography.sass +111 -0
- data/templates/project/sass/source/bl/_content.sass +1 -0
- data/templates/project/sass/source/bl/_footer.sass +1 -0
- data/templates/project/sass/source/bl/_header.sass +1 -0
- data/templates/project/sass/source/lib/_default.sass +226 -0
- data/templates/project/sass/source/lib/_mixins.sass +15 -0
- data/templates/project/sass/source/lib/mixins/_animations.sass +85 -0
- data/templates/project/sass/source/lib/mixins/_background.sass +41 -0
- data/templates/project/sass/source/lib/mixins/_base.sass +158 -0
- data/templates/project/sass/source/lib/mixins/_browsers.sass +54 -0
- data/templates/project/sass/source/lib/mixins/_fonts.sass +84 -0
- data/templates/project/sass/source/lib/mixins/_forms.sass +16 -0
- data/templates/project/sass/source/lib/mixins/_gridsystem.sass +66 -0
- data/templates/project/sass/source/lib/mixins/_media.sass +209 -0
- data/templates/project/sass/source/lib/mixins/_positions.sass +42 -0
- data/templates/project/sass/source/lib/mixins/_sprites.sass +65 -0
- data/templates/project/sass/source/lib/mixins/_width.sass +27 -0
- data/templates/project/sass/source/plugins/_jquery.fancybox.sass +197 -0
- data/templates/project/sass/source/plugins/_rforms.sass +258 -0
- metadata +105 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Description
|
|
2
|
+
description "A compass template (Sass syntax) implementation of Sergii Rudchyk's"
|
|
3
|
+
|
|
4
|
+
# General File Import
|
|
5
|
+
html 'index.html', :to => "index.html"
|
|
6
|
+
html 'index.php', :to => "index.php"
|
|
7
|
+
image 'images/screenshot.jpg', :to => "../screenshot.jpg"
|
|
8
|
+
image 'images/favicon.png', :to => "favicon.png"
|
|
9
|
+
file 'files/readme.txt', :to => "readme.txt"
|
|
10
|
+
file 'files/compass_watch.bat', :to => "compass_watch.bat"
|
|
11
|
+
|
|
12
|
+
# Stylesheet Import
|
|
13
|
+
file 'css/dev.css', :to => "css/dev.css"
|
|
14
|
+
|
|
15
|
+
# Sass Import
|
|
16
|
+
# Sass bl
|
|
17
|
+
file 'sass/source/bl/_header.sass', :to => "sass/source/bl/_header.sass"
|
|
18
|
+
file 'sass/source/bl/_footer.sass', :to => "sass/source/bl/_footer.sass"
|
|
19
|
+
file 'sass/source/bl/_content.sass', :to => "sass/source/bl/_content.sass"
|
|
20
|
+
# Sass lib
|
|
21
|
+
file 'sass/source/lib/_mixins.sass', :to => "sass/source/lib/_mixins.sass"
|
|
22
|
+
file 'sass/source/lib/_default.sass', :to => "sass/source/lib/_default.sass"
|
|
23
|
+
file 'sass/source/lib/mixins/_animations.sass', :to => "sass/source/lib/mixins/_animations.sass"
|
|
24
|
+
file 'sass/source/lib/mixins/_background.sass', :to => "sass/source/lib/mixins/_background.sass"
|
|
25
|
+
file 'sass/source/lib/mixins/_base.sass', :to => "sass/source/lib/mixins/_base.sass"
|
|
26
|
+
file 'sass/source/lib/mixins/_browsers.sass', :to => "sass/source/lib/mixins/_browsers.sass"
|
|
27
|
+
file 'sass/source/lib/mixins/_fonts.sass', :to => "sass/source/lib/mixins/_fonts.sass"
|
|
28
|
+
file 'sass/source/lib/mixins/_forms.sass', :to => "sass/source/lib/mixins/_forms.sass"
|
|
29
|
+
file 'sass/source/lib/mixins/_gridsystem.sass', :to => "sass/source/lib/mixins/_gridsystem.sass"
|
|
30
|
+
file 'sass/source/lib/mixins/_media.sass', :to => "sass/source/lib/mixins/_media.sass"
|
|
31
|
+
file 'sass/source/lib/mixins/_positions.sass', :to => "sass/source/lib/mixins/_positions.sass"
|
|
32
|
+
file 'sass/source/lib/mixins/_sprites.sass', :to => "sass/source/lib/mixins/_sprites.sass"
|
|
33
|
+
file 'sass/source/lib/mixins/_width.sass', :to => "sass/source/lib/mixins/_width.sass"
|
|
34
|
+
# Sass plugins
|
|
35
|
+
file 'sass/source/plugins/_rforms.sass', :to => "sass/source/plugins/_rforms.sass"
|
|
36
|
+
file 'sass/source/plugins/_jquery.fancybox.sass', :to => "sass/source/plugins/_jquery.fancybox.sass"
|
|
37
|
+
# Sass global
|
|
38
|
+
file 'sass/source/_typography.sass', :to => "sass/source/_typography.sass"
|
|
39
|
+
file 'sass/source/_reset.sass', :to => "sass/source/_reset.sass"
|
|
40
|
+
file 'sass/source/_global.sass', :to => "sass/source/_global.sass"
|
|
41
|
+
file 'sass/source/_formstyle.sass', :to => "sass/source/_formstyle.sass"
|
|
42
|
+
file 'sass/source/_buttons.sass', :to => "sass/source/_buttons.sass"
|
|
43
|
+
# Sass index
|
|
44
|
+
file 'sass/index.sass', :to => "sass/index.sass"
|
|
45
|
+
|
|
46
|
+
# Image Import
|
|
47
|
+
image 'images/loading.gif', :to => "required/loading.gif"
|
|
48
|
+
image 'images/noimg.jpg', :to => "required/noimg.jpg"
|
|
49
|
+
image 'images/fancyClose.png', :to => "icons/fancyClose.png"
|
|
50
|
+
image 'images/fancyNext.png', :to => "icons/fancyNext.png"
|
|
51
|
+
image 'images/fancyPrev.png', :to => "icons/fancyPrev.png"
|
|
52
|
+
|
|
53
|
+
# Javascript Import
|
|
54
|
+
# JS min
|
|
55
|
+
file 'js/min/head.min.js', :like => :javascript, :to => 'min/head.min.js'
|
|
56
|
+
file 'js/min/ph.min.js', :like => :javascript, :to => 'min/ph.min.js'
|
|
57
|
+
file 'js/min/jquery.fancybox.min.js', :like => :javascript, :to => 'min/jquery.fancybox.min.js'
|
|
58
|
+
# JS full
|
|
59
|
+
file 'js/full/ph.js', :like => :javascript, :to => 'full/ph.js'
|
|
60
|
+
file 'js/full/rform.js', :like => :javascript, :to => 'full/rform.js'
|
|
61
|
+
file 'js/full/scripts.js', :like => :javascript, :to => 'full/scripts.js'
|
|
62
|
+
file 'js/full/example.js', :like => :javascript, :to => 'full/example.js'
|
|
63
|
+
# JS global
|
|
64
|
+
file 'js/init.js', :like => :javascript, :to => 'init.js'
|
|
65
|
+
|
|
66
|
+
# ie-old Import
|
|
67
|
+
image 'ie-old/favicon.ico', :to => "../ie-old/favicon.ico"
|
|
68
|
+
html 'ie-old/index.html', :to => "ie-old/index.html"
|
|
69
|
+
image 'ie-old/images/as.jpg', :to => "../ie-old/images/as.jpg"
|
|
70
|
+
image 'ie-old/images/bg_span_wol.gif', :to => "../ie-old/images/bg_span_wol.gif"
|
|
71
|
+
image 'ie-old/images/f.jpg', :to => "../ie-old/images/f.jpg"
|
|
72
|
+
image 'ie-old/images/gc.jpg', :to => "../ie-old/images/gc.jpg"
|
|
73
|
+
image 'ie-old/images/h.jpg', :to => "../ie-old/images/h.jpg"
|
|
74
|
+
image 'ie-old/images/ie.jpg', :to => "../ie-old/images/ie.jpg"
|
|
75
|
+
image 'ie-old/images/mf.jpg', :to => "../ie-old/images/mf.jpg"
|
|
76
|
+
image 'ie-old/images/op.jpg', :to => "../ie-old/images/op.jpg"
|
|
77
|
+
image 'ie-old/images/td1.jpg', :to => "../ie-old/images/td1.jpg"
|
|
78
|
+
image 'ie-old/images/td2.jpg', :to => "../ie-old/images/td2.jpg"
|
|
79
|
+
image 'ie-old/images/td3.jpg', :to => "../ie-old/images/td3.jpg"
|
|
80
|
+
|
|
81
|
+
#directories
|
|
82
|
+
directory 'fonts', :to => 'fonts'
|
|
83
|
+
directory 'bg', :to => 'images/bg'
|
|
84
|
+
directory 'temp', :to => 'images/temp'
|
|
85
|
+
directory 'svg', :to => 'images/svg'
|
|
86
|
+
|
|
87
|
+
# Compass Extension Help
|
|
88
|
+
help %Q{
|
|
89
|
+
Help for rtpl-compass
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
# Compass Extension Welcome Message
|
|
93
|
+
# Users will see this when they create a new project using this template.
|
|
94
|
+
welcome_message %Q{
|
|
95
|
+
Welcome to rtpl-compass template!
|
|
96
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Author: Sergii.Rudchyk
|
|
2
|
+
|
|
3
|
+
$units: 1px !default
|
|
4
|
+
|
|
5
|
+
@import compass/css3
|
|
6
|
+
@import compass/typography
|
|
7
|
+
|
|
8
|
+
// Core
|
|
9
|
+
@import source/lib/mixins.sass
|
|
10
|
+
|
|
11
|
+
// CSS Reset
|
|
12
|
+
@import source/reset.sass
|
|
13
|
+
// Classes library
|
|
14
|
+
@import source/lib/default.sass
|
|
15
|
+
|
|
16
|
+
// Styles
|
|
17
|
+
@import source/global.sass
|
|
18
|
+
@import source/formstyle.sass
|
|
19
|
+
@import source/buttons.sass
|
|
20
|
+
@import source/typography.sass
|
|
21
|
+
|
|
22
|
+
// Plagins
|
|
23
|
+
// @import source/plagins/jquery.fancybox.sass
|
|
24
|
+
// @import source/plagins/rforms.sass
|
|
25
|
+
|
|
26
|
+
// Blocks
|
|
27
|
+
@import source/bl/header.sass
|
|
28
|
+
@import source/bl/content.sass
|
|
29
|
+
@import source/bl/footer.sass
|
|
30
|
+
// @import bl/source/.sass
|
|
31
|
+
|
|
32
|
+
.show
|
|
33
|
+
display: block
|
|
34
|
+
|
|
35
|
+
.hide
|
|
36
|
+
display: none
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Height
|
|
2
|
+
$btnDefaultHeight: $fieldDefaultHeight
|
|
3
|
+
// Typography
|
|
4
|
+
$btnDefaultColor: #fff
|
|
5
|
+
$btnDefaultFontFamily: $baseFontFamily
|
|
6
|
+
$btnDefaultFontSize: 13px
|
|
7
|
+
// Action
|
|
8
|
+
$btnHasDisabledColor: #bdc3c7
|
|
9
|
+
|
|
10
|
+
.btn
|
|
11
|
+
@extend %cur-pointer, %anim-light, %dib, %vam
|
|
12
|
+
height: $btnDefaultHeight
|
|
13
|
+
padding: 0 10px
|
|
14
|
+
border: none
|
|
15
|
+
border-radius: 5px
|
|
16
|
+
background-color: #3498db
|
|
17
|
+
+shFont($btnDefaultFontSize, $btnDefaultFontFamily, false, $btnDefaultColor)
|
|
18
|
+
|
|
19
|
+
+h
|
|
20
|
+
background-color: #5dade2
|
|
21
|
+
|
|
22
|
+
.has-disabled &,
|
|
23
|
+
&[disabled]
|
|
24
|
+
@extend %cur-not-allowed, %no-select
|
|
25
|
+
background-color: $btnHasDisabledColor
|
|
26
|
+
|
|
27
|
+
.btn-bl
|
|
28
|
+
@extend %block, .full-width, .tac
|
|
29
|
+
padding-right: 0
|
|
30
|
+
padding-left: 0
|
|
31
|
+
|
|
32
|
+
.btn-fake
|
|
33
|
+
@extend .tac
|
|
34
|
+
line-height: $btnDefaultHeight
|
|
35
|
+
+resDec
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// Size
|
|
2
|
+
$fieldDefaultWidth: 310px
|
|
3
|
+
$fieldDefaultHeight: 34px
|
|
4
|
+
$fieldDefaultPadding: 6px 12px
|
|
5
|
+
$fieldDefaultBg: #fff
|
|
6
|
+
$fieldDefaultBdrz: 5px
|
|
7
|
+
$fieldDefaultBd: 1px solid #bdc3c7
|
|
8
|
+
|
|
9
|
+
// Style
|
|
10
|
+
$fieldHelperContainer: 30px
|
|
11
|
+
|
|
12
|
+
// Typography
|
|
13
|
+
$fieldDefaultColor: #444
|
|
14
|
+
$fieldDefaultPlaceholderColor: #777
|
|
15
|
+
$fieldDefaultFontFamily: $baseFontFamily
|
|
16
|
+
$fieldDefaultFontSize: 13px
|
|
17
|
+
|
|
18
|
+
// Active
|
|
19
|
+
$fieldHasActiveBg: #fff
|
|
20
|
+
$fieldHasActiveBorder: #3eb6e9
|
|
21
|
+
$fieldHasActiveColor: #000
|
|
22
|
+
|
|
23
|
+
// Disabled
|
|
24
|
+
$fieldHasDisabledBg: #f4f6f6
|
|
25
|
+
$fieldHasDisabledColor: #d5dbdb
|
|
26
|
+
|
|
27
|
+
// Error
|
|
28
|
+
$fieldHasErrorStyle: true
|
|
29
|
+
$fieldHasErrorColor: #e74c3c
|
|
30
|
+
|
|
31
|
+
.field-box
|
|
32
|
+
@extend %relative, %dib, %vam
|
|
33
|
+
width: $fieldDefaultWidth
|
|
34
|
+
.field
|
|
35
|
+
@extend .full-width
|
|
36
|
+
|
|
37
|
+
.field-frame
|
|
38
|
+
width: $fieldDefaultWidth
|
|
39
|
+
height: $fieldDefaultHeight
|
|
40
|
+
|
|
41
|
+
.field
|
|
42
|
+
@extend .field-frame, %anim-light, %dib, %vam
|
|
43
|
+
max-width: 100%
|
|
44
|
+
padding: $fieldDefaultPadding
|
|
45
|
+
@if $fieldDefaultBd
|
|
46
|
+
border: $fieldDefaultBd
|
|
47
|
+
@if $fieldDefaultBdrz
|
|
48
|
+
border-radius: $fieldDefaultBdrz
|
|
49
|
+
background: $fieldDefaultBg
|
|
50
|
+
+shFont($fieldDefaultFontSize, $fieldDefaultFontFamily, false, $fieldDefaultColor)
|
|
51
|
+
|
|
52
|
+
+focus
|
|
53
|
+
border-color: $fieldHasActiveBorder
|
|
54
|
+
background: $fieldHasActiveBg
|
|
55
|
+
color: $fieldHasActiveColor
|
|
56
|
+
|
|
57
|
+
.has-disabled &,
|
|
58
|
+
&[disabled]
|
|
59
|
+
@extend %no-select, %cur-not-allowed
|
|
60
|
+
border-color: $fieldHasDisabledColor !important
|
|
61
|
+
background: $fieldHasDisabledBg !important
|
|
62
|
+
color: $fieldHasDisabledColor !important
|
|
63
|
+
|
|
64
|
+
@if $fieldHasErrorStyle
|
|
65
|
+
.has-error &,
|
|
66
|
+
&.has-error
|
|
67
|
+
border-color: $fieldHasErrorColor
|
|
68
|
+
color: $fieldHasErrorColor
|
|
69
|
+
+placeholder($fieldHasErrorColor)
|
|
70
|
+
|
|
71
|
+
// .has-success &
|
|
72
|
+
|
|
73
|
+
// Placeholder
|
|
74
|
+
+placeholder($fieldDefaultPlaceholderColor)
|
|
75
|
+
|
|
76
|
+
+ie8
|
|
77
|
+
+mlh($fieldDefaultHeight, $fieldDefaultFontSize)
|
|
78
|
+
|
|
79
|
+
&.field-full
|
|
80
|
+
@extend %block, .full-width
|
|
81
|
+
|
|
82
|
+
.field-hidden
|
|
83
|
+
@extend .full-size
|
|
84
|
+
background: transparent
|
|
85
|
+
+reset-box-model
|
|
86
|
+
+reset-font
|
|
87
|
+
|
|
88
|
+
.field-has-helper
|
|
89
|
+
padding-right: $fieldHelperContainer
|
|
90
|
+
|
|
91
|
+
.field-helper
|
|
92
|
+
@extend .right-pos
|
|
93
|
+
|
|
94
|
+
select
|
|
95
|
+
&.field
|
|
96
|
+
padding-right: 0
|
|
97
|
+
&,
|
|
98
|
+
&:active,
|
|
99
|
+
&:focus
|
|
100
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
|
|
101
|
+
-webkit-focus-ring-color: rgba(0, 0, 0, 0)
|
|
102
|
+
outline: none
|
|
103
|
+
|
|
104
|
+
&[multiple].field
|
|
105
|
+
height: auto
|
|
106
|
+
|
|
107
|
+
textarea.field
|
|
108
|
+
height: auto
|
|
109
|
+
|
|
110
|
+
.field-label,
|
|
111
|
+
.field-label-bl
|
|
112
|
+
+shFont($fieldDefaultFontSize, $fieldDefaultHeight)
|
|
113
|
+
font-weight: 700
|
|
114
|
+
|
|
115
|
+
.field-label
|
|
116
|
+
@extend %dib, %vam
|
|
117
|
+
margin-right: 10px
|
|
118
|
+
|
|
119
|
+
.field-label-bl
|
|
120
|
+
@extend %block, .full-size
|
|
121
|
+
width: 100%
|
|
122
|
+
margin-bottom: 10px
|
|
123
|
+
|
|
124
|
+
.checkbox-box,
|
|
125
|
+
.radio-box
|
|
126
|
+
@extend %relative, %dib, %vam, %cur-pointer, %no-select
|
|
127
|
+
padding-left: 20px
|
|
128
|
+
|
|
129
|
+
.checkbox,
|
|
130
|
+
.radio
|
|
131
|
+
+pos("a", 50%, false, false, 0, 10)
|
|
132
|
+
margin-top: -6px
|
|
133
|
+
|
|
134
|
+
.radio-box-bl,
|
|
135
|
+
.checkbox-box-bl
|
|
136
|
+
@extend %block
|
|
137
|
+
margin-bottom: 10px
|
|
138
|
+
|
|
139
|
+
.radio-box-inline,
|
|
140
|
+
.checkbox-box-inline
|
|
141
|
+
@extend %dib, %vam
|
|
142
|
+
padding-right: 10px
|
|
143
|
+
|
|
144
|
+
.file
|
|
145
|
+
@extend %cur-pointer
|
|
146
|
+
padding: $fieldDefaultPadding
|
|
147
|
+
height: $fieldDefaultHeight
|
|
148
|
+
|
|
149
|
+
.form-row
|
|
150
|
+
margin-bottom: 10px
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Load fonts
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// **Sprites
|
|
6
|
+
$spacingDefault: 20px
|
|
7
|
+
|
|
8
|
+
// PNG sprites with padding
|
|
9
|
+
// $icons: sprite-map("icons/*.png", $spacing: $spacingDefault)
|
|
10
|
+
// %icons
|
|
11
|
+
// background: $icons no-repeat
|
|
12
|
+
|
|
13
|
+
// PNG sprites for ratio 2 with padding
|
|
14
|
+
// $icons-2x: sprite-map("icons@2x/*.png", $spacing: $spacingDefault)
|
|
15
|
+
// %icons-2x
|
|
16
|
+
// background: $icons-2x no-repeat
|
|
17
|
+
|
|
18
|
+
// SVG folder name
|
|
19
|
+
// $svg-folder: "svg"
|
|
20
|
+
|
|
21
|
+
// **Brief
|
|
22
|
+
$baseFontFamily: $Arial
|
|
23
|
+
$baseFontSize: $base-font-size
|
|
24
|
+
$baseFontColor: #444
|
|
25
|
+
$baseLinkColor: #287fc3
|
|
26
|
+
|
|
27
|
+
$size: 960
|
|
28
|
+
$grid: $size
|
|
29
|
+
|
|
30
|
+
$max: $size
|
|
31
|
+
$standard: $size
|
|
32
|
+
$min: $QVGA
|
|
33
|
+
|
|
34
|
+
$footerHeight: 50px
|
|
35
|
+
|
|
36
|
+
html
|
|
37
|
+
// min-width: $standard
|
|
38
|
+
|
|
39
|
+
body
|
|
40
|
+
@extend %relative
|
|
41
|
+
// overflow-x: hidden
|
|
42
|
+
min-height: 100%
|
|
43
|
+
padding-bottom: $footerHeight
|
|
44
|
+
background-color: #FFF
|
|
45
|
+
+shFont($baseFontSize, $baseFontFamily, 1, $baseFontColor)
|
|
46
|
+
|
|
47
|
+
.container
|
|
48
|
+
+center($standard)
|
|
49
|
+
|
|
50
|
+
.header
|
|
51
|
+
@extend %relative
|
|
52
|
+
|
|
53
|
+
.footer
|
|
54
|
+
@extend .full-width
|
|
55
|
+
+pos("a", false, false, 0, 0, 2)
|
|
56
|
+
height: $footerHeight
|
|
57
|
+
|
|
58
|
+
// Icons
|
|
59
|
+
// $iconsArr: none
|
|
60
|
+
// @each $icon in $iconsArr
|
|
61
|
+
// .#{$icon}-icon
|
|
62
|
+
// +s(#{$icon})
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// Based on Eric Meyer's reset 2.0 Global reset rules (http://meyerweb.com/eric/tools/css/reset/).
|
|
2
|
+
*
|
|
3
|
+
&,
|
|
4
|
+
&:before,
|
|
5
|
+
&:after
|
|
6
|
+
+box-sizing(border-box)
|
|
7
|
+
|
|
8
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
|
|
9
|
+
+reset-box-model // Reset the box model measurements
|
|
10
|
+
vertical-align: baseline // Reset the font and vertical alignment
|
|
11
|
+
|
|
12
|
+
// 1. Prevent iOS text size adjust after orientation change, without disabling user zoom
|
|
13
|
+
html
|
|
14
|
+
@extend .full-height
|
|
15
|
+
overflow-y: scroll
|
|
16
|
+
|
|
17
|
+
font-size: 100.01%
|
|
18
|
+
-ms-text-size-adjust: 100% 1
|
|
19
|
+
-webkit-text-size-adjust: 100% 1
|
|
20
|
+
|
|
21
|
+
body
|
|
22
|
+
line-height: 1 // Reset a body element
|
|
23
|
+
-webkit-font-smoothing: antialiased // Fix for webkit rendering
|
|
24
|
+
|
|
25
|
+
// HTML5 display-role reset for older browsers
|
|
26
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
|
|
27
|
+
display: block
|
|
28
|
+
|
|
29
|
+
// Reset the list style of an element
|
|
30
|
+
ol, ul
|
|
31
|
+
list-style: none
|
|
32
|
+
|
|
33
|
+
// Reset a table
|
|
34
|
+
table
|
|
35
|
+
border-collapse: collapse
|
|
36
|
+
border-spacing: 0
|
|
37
|
+
|
|
38
|
+
// Reset a table cell
|
|
39
|
+
caption, th, td
|
|
40
|
+
vertical-align: middle
|
|
41
|
+
|
|
42
|
+
font-weight: normal
|
|
43
|
+
text-align: left
|
|
44
|
+
|
|
45
|
+
// Reset a quotation
|
|
46
|
+
q, blockquote
|
|
47
|
+
quotes: none
|
|
48
|
+
&:before, &:after
|
|
49
|
+
content: ""
|
|
50
|
+
content: none
|
|
51
|
+
|
|
52
|
+
// Remove the gray background color from active links in IE 10.
|
|
53
|
+
a
|
|
54
|
+
background: transparent
|
|
55
|
+
|
|
56
|
+
input, textarea, select, button, a
|
|
57
|
+
&:active, &:hover, &:focus
|
|
58
|
+
outline: none
|
|
59
|
+
|
|
60
|
+
a img, img, fieldset
|
|
61
|
+
border: none // Resets the border
|
|
62
|
+
|
|
63
|
+
img
|
|
64
|
+
vertical-align: middle
|
|
65
|
+
|
|
66
|
+
color: transparent
|
|
67
|
+
font-size: 0
|
|
68
|
+
-ms-interpolation-mode: bicubic
|
|
69
|
+
|
|
70
|
+
input[type="submit"], button, label[for]
|
|
71
|
+
@extend %cur-pointer
|
|
72
|
+
|
|
73
|
+
&::-moz-focus-inner
|
|
74
|
+
+reset-box-model
|
|
75
|
+
|
|
76
|
+
textarea
|
|
77
|
+
overflow: auto
|
|
78
|
+
resize: none
|
|
79
|
+
|
|
80
|
+
// Address margins set differently in Firefox 4+, Safari 5, and Chrome
|
|
81
|
+
input, button, textarea, select
|
|
82
|
+
+reset-box-model
|
|
83
|
+
|
|
84
|
+
input,
|
|
85
|
+
textarea
|
|
86
|
+
-webkit-user-modify: read-write-plaintext-only
|
|
87
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0)
|
|
88
|
+
|
|
89
|
+
input[type="submit"], html input[type="button"], input[type="reset"], button
|
|
90
|
+
+appearance(button)
|
|
91
|
+
|
|
92
|
+
h1, h2, h3, h4, h5, h6
|
|
93
|
+
font-weight: normal
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
$alignImgSide: 16px
|
|
3
|
+
$alignImgBottom: 10px
|
|
4
|
+
|
|
5
|
+
a,
|
|
6
|
+
.link-fake
|
|
7
|
+
color: $baseLinkColor
|
|
8
|
+
text-decoration: underline
|
|
9
|
+
+h
|
|
10
|
+
text-decoration: none
|
|
11
|
+
+act
|
|
12
|
+
text-decoration: none
|
|
13
|
+
|
|
14
|
+
.link-fake
|
|
15
|
+
@extend %cur-pointer
|
|
16
|
+
|
|
17
|
+
.title
|
|
18
|
+
@extend %break
|
|
19
|
+
|
|
20
|
+
.text
|
|
21
|
+
@extend %break, .clearfix
|
|
22
|
+
line-height: normal
|
|
23
|
+
+rem($baseFontSize)
|
|
24
|
+
|
|
25
|
+
h1,
|
|
26
|
+
h2,
|
|
27
|
+
h3
|
|
28
|
+
margin: 15px 0
|
|
29
|
+
|
|
30
|
+
h4,
|
|
31
|
+
h5,
|
|
32
|
+
h6,
|
|
33
|
+
ul,
|
|
34
|
+
ol,
|
|
35
|
+
table,
|
|
36
|
+
hr
|
|
37
|
+
margin: 10px 0
|
|
38
|
+
|
|
39
|
+
h1
|
|
40
|
+
+rem(36)
|
|
41
|
+
|
|
42
|
+
h2
|
|
43
|
+
+rem(30)
|
|
44
|
+
|
|
45
|
+
h3
|
|
46
|
+
+rem(24)
|
|
47
|
+
|
|
48
|
+
ul
|
|
49
|
+
list-style: disc
|
|
50
|
+
|
|
51
|
+
ol
|
|
52
|
+
list-style: decimal
|
|
53
|
+
|
|
54
|
+
li
|
|
55
|
+
margin-left: 30px
|
|
56
|
+
|
|
57
|
+
p
|
|
58
|
+
margin-bottom: 15px
|
|
59
|
+
|
|
60
|
+
table,
|
|
61
|
+
td,
|
|
62
|
+
th
|
|
63
|
+
border: 1px solid #ccc
|
|
64
|
+
|
|
65
|
+
td,
|
|
66
|
+
th
|
|
67
|
+
padding: 5px
|
|
68
|
+
|
|
69
|
+
hr
|
|
70
|
+
clear: both
|
|
71
|
+
border-top: 1px solid #ddd
|
|
72
|
+
|
|
73
|
+
blockquote
|
|
74
|
+
padding-left: 16px
|
|
75
|
+
margin: 16px 28px 10px 16px
|
|
76
|
+
border-left: 2px solid #333
|
|
77
|
+
font-style: italic
|
|
78
|
+
|
|
79
|
+
img,
|
|
80
|
+
embed,
|
|
81
|
+
object,
|
|
82
|
+
video
|
|
83
|
+
max-width: 100%
|
|
84
|
+
height: auto
|
|
85
|
+
|
|
86
|
+
input,
|
|
87
|
+
textarea,
|
|
88
|
+
select
|
|
89
|
+
border: 1px solid #bdc3c7
|
|
90
|
+
padding: 5px
|
|
91
|
+
|
|
92
|
+
input,
|
|
93
|
+
select
|
|
94
|
+
min-height: $fieldDefaultHeight
|
|
95
|
+
|
|
96
|
+
button,
|
|
97
|
+
input[type="submit"]
|
|
98
|
+
@extend .btn
|
|
99
|
+
|
|
100
|
+
// Images
|
|
101
|
+
.aligncenter
|
|
102
|
+
@extend %block
|
|
103
|
+
margin: 0 auto 2px
|
|
104
|
+
|
|
105
|
+
.alignright
|
|
106
|
+
@extend .right
|
|
107
|
+
margin: 0 0 $alignImgBottom $alignImgSide
|
|
108
|
+
|
|
109
|
+
.alignleft
|
|
110
|
+
@extend .left
|
|
111
|
+
margin: 0 $alignImgSide $alignImgBottom 0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// .main-section
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// .logo
|