compass-vikingR-template 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +97 -0
  3. data/lib/compass-vikingR-template.rb +60 -0
  4. data/lib/config.rb +8 -0
  5. data/templates/project/css/dev.css +3 -0
  6. data/templates/project/files/compass_watch.bat +1 -0
  7. data/templates/project/files/readme.txt +31 -0
  8. data/templates/project/files/screenshot.jpg +0 -0
  9. data/templates/project/ie-old/favicon.ico +0 -0
  10. data/templates/project/ie-old/images/as.jpg +0 -0
  11. data/templates/project/ie-old/images/bg_span_wol.gif +0 -0
  12. data/templates/project/ie-old/images/f.jpg +0 -0
  13. data/templates/project/ie-old/images/gc.jpg +0 -0
  14. data/templates/project/ie-old/images/h.jpg +0 -0
  15. data/templates/project/ie-old/images/ie.jpg +0 -0
  16. data/templates/project/ie-old/images/mf.jpg +0 -0
  17. data/templates/project/ie-old/images/op.jpg +0 -0
  18. data/templates/project/ie-old/images/td1.jpg +0 -0
  19. data/templates/project/ie-old/images/td2.jpg +0 -0
  20. data/templates/project/ie-old/images/td3.jpg +0 -0
  21. data/templates/project/ie-old/index.html +175 -0
  22. data/templates/project/images/favicon.png +0 -0
  23. data/templates/project/images/loading.gif +0 -0
  24. data/templates/project/images/noimg.jpg +0 -0
  25. data/templates/project/index.html +29 -0
  26. data/templates/project/index.php +79 -0
  27. data/templates/project/js/example.js +3 -0
  28. data/templates/project/js/head.min.js +9 -0
  29. data/templates/project/js/init.js +49 -0
  30. data/templates/project/js/ph.js +33 -0
  31. data/templates/project/js/ph.min.js +2 -0
  32. data/templates/project/js/rform.js +228 -0
  33. data/templates/project/js/scripts.js +3 -0
  34. data/templates/project/manifest.rb +78 -0
  35. data/templates/project/sass/_all.scss +1 -0
  36. data/templates/project/sass/_browsers.scss +49 -0
  37. data/templates/project/sass/_buttons.scss +54 -0
  38. data/templates/project/sass/_content.scss +7 -0
  39. data/templates/project/sass/_default.scss +252 -0
  40. data/templates/project/sass/_footer.scss +5 -0
  41. data/templates/project/sass/_formstyle.scss +130 -0
  42. data/templates/project/sass/_global.scss +38 -0
  43. data/templates/project/sass/_header.scss +5 -0
  44. data/templates/project/sass/_icons.scss +40 -0
  45. data/templates/project/sass/_layout.scss +3 -0
  46. data/templates/project/sass/_mixins.scss +318 -0
  47. data/templates/project/sass/_reset.scss +455 -0
  48. data/templates/project/sass/_responsive.scss +25 -0
  49. data/templates/project/sass/_rforms.scss +213 -0
  50. data/templates/project/sass/_typography.scss +105 -0
  51. data/templates/project/sass/_variables.scss +69 -0
  52. data/templates/project/sass/index.scss +35 -0
  53. metadata +95 -0
@@ -0,0 +1,252 @@
1
+ // Default
2
+
3
+ .relative,
4
+ .has-ps-icon,
5
+ .has-icon,
6
+ .field-box{
7
+ position: relative;
8
+ }
9
+
10
+ .absolute{
11
+ position: absolute;
12
+ }
13
+
14
+ .fixed{
15
+ position: fixed;
16
+ }
17
+
18
+ // Box-sizing
19
+ .box,
20
+ .wrapper,
21
+ .field,
22
+ .btn,
23
+ .footer{
24
+ @include box-sizing(border-box);
25
+ }
26
+
27
+ // Display
28
+
29
+ .dib,
30
+ .icon,
31
+ .btn,
32
+ .field,
33
+ .wrapper,
34
+ .el{
35
+ display: inline-block;
36
+ }
37
+
38
+ .table{
39
+ display: table;
40
+ }
41
+
42
+ .row{
43
+ display: table-row;
44
+ }
45
+
46
+ .cell{
47
+ display: table-cell;
48
+ }
49
+
50
+ .block,
51
+ .show{
52
+ display: block;
53
+ }
54
+
55
+ .none,
56
+ .hide{
57
+ display: none;
58
+ }
59
+
60
+ // Vertical-align
61
+ .dib{
62
+ vertical-align: top;
63
+ }
64
+
65
+ .icon,
66
+ .btn,
67
+ .field,
68
+ .el{
69
+ vertical-align: middle;
70
+ }
71
+
72
+ // Float
73
+ .left{
74
+ float: left;
75
+ }
76
+
77
+ .right{
78
+ float: right;
79
+ }
80
+
81
+ // Width
82
+ .full,
83
+ .table,
84
+ .wrapper,
85
+ .footer{
86
+ width: 100%;
87
+ }
88
+
89
+ .full-size{
90
+ @extend .full;
91
+ height: 100%;
92
+ }
93
+
94
+ // Animation
95
+ .light-animation,
96
+ .btn,
97
+ .field{
98
+ @include transition(all .25s ease);
99
+ }
100
+
101
+ // Text-align
102
+ .tac{
103
+ text-align: center;
104
+ }
105
+
106
+ .tal{
107
+ text-align: left;
108
+ }
109
+
110
+ .tar{
111
+ text-align: right;
112
+ }
113
+
114
+ // Alignment Blocks In Width
115
+ .jbox{
116
+ line-height: 0;
117
+ text-align: justify;
118
+ @include legacy-pie-clearfix;
119
+
120
+ .dib{
121
+ line-height: normal;
122
+ }
123
+ }
124
+
125
+ // Other
126
+ .clear{
127
+ clear: both;
128
+ }
129
+
130
+ .clearfix{
131
+ @include pie-clearfix;
132
+ }
133
+
134
+ .no-select{
135
+ @include user-select(none);
136
+ }
137
+
138
+ // --Typography--
139
+ .ellipsis{
140
+ @include ellipsis(no-wrap);
141
+ }
142
+
143
+ .break{
144
+ word-wrap: break-word;
145
+ }
146
+
147
+ // --Images--
148
+
149
+ .loading{
150
+ background: #fff url(../images/required/loading.gif) no-repeat center;
151
+ }
152
+
153
+ .img-rwd{
154
+ @extend .block;
155
+ max-width: 100%;
156
+ height: auto;
157
+ }
158
+
159
+ // --Form--
160
+
161
+ .cur-pointer,
162
+ .link{
163
+ cursor: pointer;
164
+ }
165
+ .cur-default{
166
+ cursor: default;
167
+ }
168
+ .cur-help{
169
+ cursor: help;
170
+ }
171
+
172
+ // --Position--
173
+
174
+ .aborted{
175
+ @include pos(absolute, false, false, false, -10000px, false);
176
+
177
+ opacity: 0;
178
+ visibility: hidden;
179
+ }
180
+ .ceiling-pos{
181
+ @include pos(absolute, 0, false, false, 0, false);
182
+ }
183
+ .abs-icon{
184
+ @include pos(absolute, false, false, false, false, 1);
185
+ }
186
+ .left-icon{
187
+ top: 50%;
188
+ left: 0;
189
+ }
190
+ .right-icon{
191
+ top: 50%;
192
+ right: 0;
193
+ }
194
+ .top-icon{
195
+ top: 0;
196
+ left: 50%;
197
+ }
198
+ .bottom-icon{
199
+ left: 50%;
200
+ bottom: 0;
201
+ }
202
+ .center-icon{
203
+ top: 0;
204
+ right: 0;
205
+ bottom: 0;
206
+ left: 0;
207
+ margin: auto;
208
+ }
209
+ .has-ps-icon{
210
+ &:before{
211
+ @extend .absolute;
212
+
213
+ content: '';
214
+ }
215
+ }
216
+ .has-ps-left-icon{
217
+ &:before{
218
+ @extend .left-icon;
219
+ }
220
+ }
221
+ .has-ps-right-icon{
222
+ &:before{
223
+ @extend .right-icon;
224
+ }
225
+ }
226
+ .has-ps-top-icon{
227
+ &:before{
228
+ @extend .top-icon;
229
+ }
230
+ }
231
+ .has-ps-bottom-icon{
232
+ &:before{
233
+ @extend .bottom-icon;
234
+ }
235
+ }
236
+ .has-ps-center-icon{
237
+ &:before{
238
+ @extend .center-icon;
239
+ }
240
+ }
241
+
242
+ // --Styles--
243
+
244
+ .circle{
245
+ border-radius: 50%;
246
+ }
247
+
248
+ .default-scroll{
249
+ overflow: auto;
250
+ -webkit-overflow-scrolling: touch;
251
+ }
252
+
@@ -0,0 +1,5 @@
1
+ // Footer
2
+
3
+ .footer{
4
+ height: $footerHeight;
5
+ }
@@ -0,0 +1,130 @@
1
+ // Form style
2
+
3
+ // --fields--
4
+ // Size
5
+ $fieldDefaultWidth: 100%;
6
+ $fieldDefaultHeight: 30px;
7
+ $fieldDefaultPaddingSide: 10px;
8
+ $fieldDefaultBorder: 1px solid #bdc3c7;
9
+ $fieldDefaultBorderRadius: 5px;
10
+ $fieldDefaultBg: #fff;
11
+
12
+ // Style
13
+ $fieldHelperContainer: 30px;
14
+ // Typography
15
+ $fieldDefaultColor: #444;
16
+ $fieldDefaultPlaceholderColor: #777;
17
+ $fieldDefaultFontFamily: $baseFontFamily;
18
+ $fieldDefaultFontSize: rem-font-size(13px);
19
+
20
+ // Action
21
+ // Value
22
+ $fieldHasValueBg: #ecf9ff;
23
+ $fieldHasValueBorder: #3eb6e9;
24
+ $fieldHasValueColor: #000;
25
+ // Active
26
+ $fieldHasActiveBg: #fff;
27
+ $fieldHasActiveBorder: $fieldHasValueBorder;
28
+ $fieldHasActiveColor: $fieldHasValueColor;
29
+ // Error
30
+ $fieldHasErrorColor: #e74c3c;
31
+ // Success
32
+ $fieldHasSuccessColor: #2ecc71;
33
+ // Disabled
34
+ $fieldHasDisabledBg: #f4f6f6;
35
+ $fieldHasDisabledColor: #d5dbdb;
36
+
37
+ // field style
38
+
39
+ .field-box{}
40
+
41
+ .field-frame{
42
+ width: $fieldDefaultWidth;
43
+ height: $fieldDefaultHeight;
44
+ }
45
+
46
+ .field{
47
+ @extend .field-frame;
48
+ max-width: 100%;
49
+ padding: 0 $fieldDefaultPaddingSide;
50
+
51
+ border: $fieldDefaultBorder;
52
+ border-radius: $fieldDefaultBorderRadius;
53
+ background: $fieldDefaultBg;
54
+
55
+ color: $fieldDefaultColor;
56
+ font: $fieldDefaultFontSize $fieldDefaultFontFamily;
57
+
58
+ // Action
59
+ // .has-value &{
60
+ // // border, background, color
61
+ // @include fieldEvent($fieldHasValueBorder, $fieldHasValueBg, $fieldHasValueColor);
62
+ // }
63
+ // .has-active &,
64
+ // &:focus{
65
+ // // border, background, color
66
+ // @include fieldEvent($fieldHasActiveBorder, $fieldHasActiveBg, $fieldHasActiveColor);
67
+ // }
68
+ .has-error &{
69
+ // border, background, color
70
+ @include fieldEvent($fieldHasErrorColor, $fieldDefaultBg, $fieldHasErrorColor);
71
+ }
72
+ // .has-success &{
73
+ // // border, background, color
74
+ // @include fieldEvent($fieldHasSuccessColor, $fieldDefaultBg, $fieldHasSuccessColor);
75
+ // }
76
+ .has-disabled &,
77
+ &[disabled]{
78
+ @extend .cur-default;
79
+ @extend .no-select;
80
+ @include fieldEvent($fieldHasDisabledColor, $fieldHasDisabledBg, $fieldHasDisabledColor);
81
+ }
82
+
83
+ // Placeholder
84
+ @each $prefixPlaceholder in $prefixPlaceholders {
85
+ @include placeholder($prefixPlaceholder, $fieldDefaultPlaceholderColor);
86
+ }
87
+ }
88
+
89
+ .field-fake{
90
+ position: relative;
91
+
92
+ @extend .ellipsis;
93
+
94
+ line-height: $fieldDefaultHeight;
95
+ }
96
+
97
+ .field-hidden{
98
+ @extend .full-size;
99
+
100
+ background: transparent;
101
+
102
+ @include box-sizing(border-box);
103
+ @include reset-box-model;
104
+ @include reset-font;
105
+ }
106
+
107
+ .field-has-helper{
108
+ padding-right: $fieldHelperContainer;
109
+ }
110
+
111
+ .field-helper{
112
+ @extend .abs-icon;
113
+
114
+ @extend .right-icon;
115
+ }
116
+
117
+ select.field{
118
+ padding-right: 0;
119
+ &,
120
+ &:active,
121
+ &:focus {
122
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
123
+ -webkit-focus-ring-color: rgba(0, 0, 0, 0);
124
+ outline: none;
125
+ }
126
+ }
127
+
128
+ textarea.field{
129
+ min-height: 60px;
130
+ }
@@ -0,0 +1,38 @@
1
+ // Global
2
+
3
+ html {
4
+ // min-width: $standard;
5
+ >body{
6
+ .container-wrap{
7
+ height: auto;
8
+ min-height: 100%;
9
+ }
10
+ }
11
+ }
12
+
13
+ body{
14
+ background-color: #FFF;
15
+
16
+ color: $baseFontColor;
17
+ font: $baseFontSize+unquote('/')+1 $baseFontFamily;
18
+ }
19
+
20
+ .container{
21
+ @include centerBlock($standard);
22
+ }
23
+
24
+ // .grid{
25
+ // @include grids; // vaues: $numberOfColumns: 12, $gutterWidth: 20, $fullWidth: 960;
26
+ // }
27
+
28
+ .container-wrap{
29
+ @extend .relative;
30
+
31
+ // overflow-x: hidden;
32
+ }
33
+
34
+ .footer{
35
+ @include pos(absolute, false, false, 0, 0, 2);
36
+ }
37
+
38
+
@@ -0,0 +1,5 @@
1
+ // Header
2
+
3
+ .header{}
4
+
5
+ .logo{}
@@ -0,0 +1,40 @@
1
+ //icons
2
+
3
+ // @each $icon in $icons {
4
+ // .#{$icon}-icon{
5
+ // @include icons(#{$icon});
6
+ // }
7
+ // }
8
+
9
+ //blockIcons
10
+
11
+ // @each $blockIcon in $blockIcons {
12
+ // .#{$blockIcon}{
13
+ // @include icons(#{$blockIcon});
14
+ // }
15
+ // }
16
+
17
+ //icons pseudo
18
+
19
+ // @each $before in $befores {
20
+ // .#{$before}:before{
21
+ // @include icons(#{$before});
22
+ // }
23
+ // }
24
+
25
+ // @each $after in $afters {
26
+ // .#{$after}:after{
27
+ // @include icons(#{$after});
28
+ // }
29
+ // }
30
+
31
+ //buttons
32
+
33
+ // @each $button in $buttons {
34
+ // .#{$button}{
35
+ // @include icons(#{$button});
36
+ // &:hover{
37
+ // @include icons-sprite(#{$button}_hover);
38
+ // }
39
+ // }
40
+ // }
@@ -0,0 +1,3 @@
1
+ // Pages
2
+
3
+ // .home{}