redframework 0.0.1.01
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 +4 -0
- data/lib/redframework.rb +3 -0
- data/stylesheets/_normalize.scss +400 -0
- data/stylesheets/_redframework.scss +57 -0
- data/stylesheets/redframework/_defaults.scss +119 -0
- data/stylesheets/redframework/_variables.scss +69 -0
- data/stylesheets/redframework/animate/_animate.scss +28 -0
- data/stylesheets/redframework/animate/_easings.scss +37 -0
- data/stylesheets/redframework/animate/fades/_in.scss +9 -0
- data/stylesheets/redframework/animate/fades/_out.scss +9 -0
- data/stylesheets/redframework/animate/scales/_in.scss +19 -0
- data/stylesheets/redframework/animate/scales/_out.scss +9 -0
- data/stylesheets/redframework/animate/slide-fades/_in.scss +15 -0
- data/stylesheets/redframework/animate/slide-fades/_out.scss +15 -0
- data/stylesheets/redframework/animate/slides/_in.scss +39 -0
- data/stylesheets/redframework/animate/slides/_out.scss +39 -0
- data/stylesheets/redframework/base/_alignment.scss +11 -0
- data/stylesheets/redframework/base/_animate.scss +6 -0
- data/stylesheets/redframework/base/_body.scss +29 -0
- data/stylesheets/redframework/base/_code.scss +63 -0
- data/stylesheets/redframework/base/_emphasis.scss +18 -0
- data/stylesheets/redframework/base/_forms.scss +174 -0
- data/stylesheets/redframework/base/_headings.scss +59 -0
- data/stylesheets/redframework/base/_images.scss +111 -0
- data/stylesheets/redframework/base/_lists.scss +16 -0
- data/stylesheets/redframework/base/_main.scss +16 -0
- data/stylesheets/redframework/base/_paragraphs.scss +4 -0
- data/stylesheets/redframework/base/_quotes.scss +78 -0
- data/stylesheets/redframework/base/_section.scss +45 -0
- data/stylesheets/redframework/base/_smallprint.scss +13 -0
- data/stylesheets/redframework/base/_tables.scss +163 -0
- data/stylesheets/redframework/general/_brand.scss +12 -0
- data/stylesheets/redframework/general/_clearfix.scss +7 -0
- data/stylesheets/redframework/general/_debug.scss +168 -0
- data/stylesheets/redframework/general/_helpers.scss +3 -0
- data/stylesheets/redframework/general/_mixins.scss +281 -0
- data/stylesheets/redframework/general/_reset.scss +80 -0
- data/stylesheets/redframework/general/_shared.scss +61 -0
- data/stylesheets/redframework/general/_widths.scss +162 -0
- data/stylesheets/redframework/objects/_breadcrumb.scss +15 -0
- data/stylesheets/redframework/objects/_buttons.scss +94 -0
- data/stylesheets/redframework/objects/_circle.scss +37 -0
- data/stylesheets/redframework/objects/_flag.scss +38 -0
- data/stylesheets/redframework/objects/_island.scss +11 -0
- data/stylesheets/redframework/objects/_navigation.scss +62 -0
- data/stylesheets/redframework/objects/_product-listing.scss +162 -0
- data/stylesheets/redframework/objects/_quantity.scss +30 -0
- data/stylesheets/redframework/objects/_search.scss +44 -0
- data/stylesheets/redframework/objects/_searchresults.scss +5 -0
- data/stylesheets/redframework/objects/_well.scss +16 -0
- data/stylesheets/redframework/views/_collectionview.scss +0 -0
- data/stylesheets/redframework/views/_tableview.scss +15 -0
- data/templates/project/manifest.rb +22 -0
- data/templates/project/screen.scss +2 -0
- data/templates/project/scss/app.scss +4 -0
- metadata +111 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
@mixin option-size($namespace, $size) {
|
2
|
+
.option--#{$namespace}{
|
3
|
+
width: $size;
|
4
|
+
height: $size;
|
5
|
+
line-height: $size - ($options-selector__option--border-size * 2) + 1;
|
6
|
+
font-size:$size/2.5;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.option-selector {
|
11
|
+
margin-bottom:1.5rem;
|
12
|
+
}
|
13
|
+
.option {
|
14
|
+
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
|
15
|
+
border-radius:$options-selector__option--border-radius;
|
16
|
+
border: $options-selector__option--border-size solid $options-selector__option--border-color;
|
17
|
+
color: $options-selector__option--color;
|
18
|
+
@include box-shadow($options-selector__option--shadow);
|
19
|
+
text-shadow: $options-selector__option--text-shadow;
|
20
|
+
cursor:pointer;
|
21
|
+
text-align:center;
|
22
|
+
width: $options-selector__option--default-size;
|
23
|
+
height:$options-selector__option--default-size;
|
24
|
+
font-size:$options-selector__option--font-size;
|
25
|
+
line-height:$options-selector__option--default-size - ($options-selector__option--border-size * 2);
|
26
|
+
display:inline-block;
|
27
|
+
margin-right: .5rem;
|
28
|
+
margin-bottom: .5rem;
|
29
|
+
&.selected {
|
30
|
+
color:$options-selector__option--color--selected;
|
31
|
+
border-color: $options-selector__option--border-color--selected;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@include option-size("xsmall", $options-selector__option--xsmall-size);
|
36
|
+
@include option-size("small", $options-selector__option--small-size);
|
37
|
+
@include option-size("large", $options-selector__option--large-size);
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.flag {
|
2
|
+
display: table;
|
3
|
+
width: 100%;
|
4
|
+
}
|
5
|
+
|
6
|
+
.flag__image,
|
7
|
+
.flag__body {
|
8
|
+
display: table-cell;
|
9
|
+
vertical-align: middle;
|
10
|
+
|
11
|
+
.flag--top & {
|
12
|
+
vertical-align: top;
|
13
|
+
}
|
14
|
+
|
15
|
+
.flag--bottom & {
|
16
|
+
vertical-align: bottom;
|
17
|
+
}
|
18
|
+
|
19
|
+
}
|
20
|
+
|
21
|
+
.flag__image {
|
22
|
+
padding-right: 10px;
|
23
|
+
|
24
|
+
> img {
|
25
|
+
display: block;
|
26
|
+
max-width: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
.flag--rev & {
|
30
|
+
padding-right: 0;
|
31
|
+
padding-left: 10px;
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|
35
|
+
|
36
|
+
.flag__body {
|
37
|
+
width: 100%;
|
38
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
.nav{
|
2
|
+
list-style:none;
|
3
|
+
margin-left:0;
|
4
|
+
@extend .cf;
|
5
|
+
> li{
|
6
|
+
&,
|
7
|
+
> a{
|
8
|
+
display:inline-block;
|
9
|
+
*display:inline;
|
10
|
+
zoom:1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.nav--stacked{
|
16
|
+
> li{
|
17
|
+
display:list-item;
|
18
|
+
> a{
|
19
|
+
display:block;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.nav--banner{
|
25
|
+
text-align:center;
|
26
|
+
}
|
27
|
+
|
28
|
+
.nav--block{
|
29
|
+
line-height:1;
|
30
|
+
letter-spacing:-0.31em;
|
31
|
+
word-spacing:-0.43em;
|
32
|
+
white-space:nowrap;
|
33
|
+
> li{
|
34
|
+
letter-spacing:normal;
|
35
|
+
word-spacing:normal;
|
36
|
+
> a{
|
37
|
+
padding:$half-spacing-unit;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.nav--fit{
|
43
|
+
display:table;
|
44
|
+
width:100%;
|
45
|
+
> li{
|
46
|
+
display:table-cell;
|
47
|
+
> a{
|
48
|
+
display:block;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.nav--keywords{
|
54
|
+
> li{
|
55
|
+
&:after{
|
56
|
+
content:"\002C" "\00A0";
|
57
|
+
}
|
58
|
+
&:last-child:after{
|
59
|
+
display:none;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
.application .products.view-style--grid {
|
2
|
+
ul {
|
3
|
+
text-align:center;
|
4
|
+
li {
|
5
|
+
position:relative;
|
6
|
+
width:245px;
|
7
|
+
height:300px;
|
8
|
+
border:1px solid #efefef;
|
9
|
+
border-bottom:none;
|
10
|
+
display:inline-block;
|
11
|
+
margin:10px;
|
12
|
+
background:#fff;
|
13
|
+
overflow:hidden;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.product__body {
|
17
|
+
position:absolute;
|
18
|
+
bottom:0;
|
19
|
+
float:left;
|
20
|
+
width: 100%;
|
21
|
+
height:82px;
|
22
|
+
background:#c11324;
|
23
|
+
text-align:left;
|
24
|
+
padding:10px;
|
25
|
+
border-bottom:4px solid darken(#c11324, 20%);
|
26
|
+
z-index: 1;
|
27
|
+
h2 {
|
28
|
+
color:#fff;
|
29
|
+
font-size:13px;
|
30
|
+
font-weight: normal;
|
31
|
+
text-overflow: ellipsis;
|
32
|
+
word-wrap: break-word;
|
33
|
+
overflow: hidden;
|
34
|
+
max-height: 3.6em;
|
35
|
+
line-height: 1.1em;
|
36
|
+
margin:0;
|
37
|
+
}
|
38
|
+
.product__price {
|
39
|
+
color:#fff;
|
40
|
+
font-size: 16px
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.product__image {
|
45
|
+
height:217px;
|
46
|
+
img {
|
47
|
+
height:100%;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.product__productId, .nav, .product__stock, .breadcrumb { display:none}
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
.application .products.view-style--list {
|
57
|
+
padding:1rem;
|
58
|
+
> div > ul {
|
59
|
+
list-style:none;
|
60
|
+
padding:0;
|
61
|
+
margin:0;
|
62
|
+
> li {
|
63
|
+
width: 100%;
|
64
|
+
border:1px solid #ccc;
|
65
|
+
margin-bottom:1rem;
|
66
|
+
position:relative;
|
67
|
+
background:white;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.product__image {
|
72
|
+
width:90px;
|
73
|
+
height:100%;
|
74
|
+
position:absolute;
|
75
|
+
top:0;
|
76
|
+
left:0;
|
77
|
+
overflow:hidden;
|
78
|
+
border-right:1px solid #e7e7e7;
|
79
|
+
text-align:center;
|
80
|
+
img {
|
81
|
+
width:90px;
|
82
|
+
height:auto;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.product__body {
|
87
|
+
padding:15px;
|
88
|
+
padding-left: 100px;
|
89
|
+
height:100%;
|
90
|
+
h2 {
|
91
|
+
font-size:14px;
|
92
|
+
line-height:1.2;
|
93
|
+
font-family: helvetica;
|
94
|
+
margin:0 0 10px 0;
|
95
|
+
small {
|
96
|
+
padding-left:5px;
|
97
|
+
font-size:70%;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
.product__details-wrapper {
|
101
|
+
overflow:hidden;
|
102
|
+
}
|
103
|
+
.details {
|
104
|
+
margin:0;
|
105
|
+
float:left
|
106
|
+
}
|
107
|
+
.product__stock {
|
108
|
+
float:right;
|
109
|
+
width:95px;
|
110
|
+
.btn { float: right;}
|
111
|
+
.stock {
|
112
|
+
&:last-child { margin-top: 8px; }
|
113
|
+
width:29px;
|
114
|
+
float:left;
|
115
|
+
i {
|
116
|
+
width: 24px;
|
117
|
+
height: 24px;
|
118
|
+
display:block;
|
119
|
+
float:left;
|
120
|
+
background:#e7e7e7;
|
121
|
+
line-height: 24px;
|
122
|
+
font-size: 23px;
|
123
|
+
margin: 0;
|
124
|
+
}
|
125
|
+
div.level {
|
126
|
+
background:#ccc;
|
127
|
+
height:24px;
|
128
|
+
width:5px;
|
129
|
+
position:relative;
|
130
|
+
bottom:0;
|
131
|
+
float:right;
|
132
|
+
.bar {
|
133
|
+
position:absolute;
|
134
|
+
bottom:0;
|
135
|
+
height: 12px;
|
136
|
+
width:5px;
|
137
|
+
content: '';
|
138
|
+
background:#f0a438;
|
139
|
+
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
.add {
|
144
|
+
margin:0;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
.breadcrumb {
|
148
|
+
margin:0;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.product__price {
|
153
|
+
font-size:21px;
|
154
|
+
line-height:1;
|
155
|
+
margin:0;
|
156
|
+
}
|
157
|
+
.product__productId {
|
158
|
+
margin:0;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.quantity {
|
2
|
+
margin-bottom:1.5rem;
|
3
|
+
overflow:hidden;
|
4
|
+
}
|
5
|
+
.quantity__button {
|
6
|
+
width:48px;
|
7
|
+
height:48px;
|
8
|
+
text-align:center;
|
9
|
+
line-height: 42px;
|
10
|
+
font-size:22px;
|
11
|
+
background:$quantity__button--color;
|
12
|
+
color:#e7e7e7;
|
13
|
+
float:left;
|
14
|
+
&.quantity--minus {
|
15
|
+
}
|
16
|
+
&.quantity--plus {
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.quantity__value {
|
21
|
+
float:left;
|
22
|
+
height:48px;
|
23
|
+
width:70px;
|
24
|
+
text-align:center;
|
25
|
+
background:rgba(white, .1);
|
26
|
+
border:1px solid $quantity__value--border-color;
|
27
|
+
color: $quantity__value--color;
|
28
|
+
line-height:46px;
|
29
|
+
font-size:22px
|
30
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.search {
|
2
|
+
background:#e7e7e7;
|
3
|
+
padding:8px;
|
4
|
+
.search--field {
|
5
|
+
width:60%;
|
6
|
+
margin:0 auto;
|
7
|
+
border-radius:15px;
|
8
|
+
border:1px solid #dbdbdb;
|
9
|
+
position: relative;
|
10
|
+
overflow: hidden;
|
11
|
+
@include box-shadow(0px 0px 5px rgba(0,0,0,0.05));
|
12
|
+
.search--input {
|
13
|
+
min-height:38px;
|
14
|
+
padding:0 25px 0 50px;
|
15
|
+
width:100%;
|
16
|
+
}
|
17
|
+
.search--label {
|
18
|
+
position:absolute;
|
19
|
+
top:0;
|
20
|
+
left:0;
|
21
|
+
text-align: center;
|
22
|
+
width:48px;
|
23
|
+
line-height: 38px;
|
24
|
+
font-size:40px;
|
25
|
+
margin:0;
|
26
|
+
i {
|
27
|
+
position: absolute;
|
28
|
+
top:0;
|
29
|
+
left:0;
|
30
|
+
width:48px;
|
31
|
+
line-height:40px;
|
32
|
+
font-size:24px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@media screen and (max-width:600px) {
|
39
|
+
.search {
|
40
|
+
.search--field {
|
41
|
+
width:100%;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
description 'Red Framework Compass Gem'
|
2
|
+
|
3
|
+
# Sass Files
|
4
|
+
stylesheet '../../stylesheets/normalize.scss', :to => '_normalize.scss'
|
5
|
+
stylesheet '../../stylesheets/redframework/_variables.scss', :to => '_settings.scss'
|
6
|
+
stylesheet 'scss/app.scss', :to => 'app.scss', :media => "screen, projector, print"
|
7
|
+
|
8
|
+
|
9
|
+
help %Q{
|
10
|
+
|
11
|
+
If you need help, email us at redframework@redant.com or visit redframework.com"
|
12
|
+
|
13
|
+
}
|
14
|
+
|
15
|
+
welcome_message %Q{
|
16
|
+
|
17
|
+
Woohoo! You're using RedFramework, now go forth and multiply!
|
18
|
+
|
19
|
+
}
|
20
|
+
|
21
|
+
# file 'config.rb'
|
22
|
+
|
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redframework
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.01
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Steven Burrows
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: compass
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.11'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.11'
|
27
|
+
description: a compass extenstion of Redframework
|
28
|
+
email: steven.burrows@redant.com
|
29
|
+
executables: []
|
30
|
+
extensions: []
|
31
|
+
extra_rdoc_files: []
|
32
|
+
files:
|
33
|
+
- README.md
|
34
|
+
- lib/redframework.rb
|
35
|
+
- stylesheets/_normalize.scss
|
36
|
+
- stylesheets/_redframework.scss
|
37
|
+
- stylesheets/redframework/_defaults.scss
|
38
|
+
- stylesheets/redframework/_variables.scss
|
39
|
+
- stylesheets/redframework/animate/_animate.scss
|
40
|
+
- stylesheets/redframework/animate/_easings.scss
|
41
|
+
- stylesheets/redframework/animate/fades/_in.scss
|
42
|
+
- stylesheets/redframework/animate/fades/_out.scss
|
43
|
+
- stylesheets/redframework/animate/scales/_in.scss
|
44
|
+
- stylesheets/redframework/animate/scales/_out.scss
|
45
|
+
- stylesheets/redframework/animate/slide-fades/_in.scss
|
46
|
+
- stylesheets/redframework/animate/slide-fades/_out.scss
|
47
|
+
- stylesheets/redframework/animate/slides/_in.scss
|
48
|
+
- stylesheets/redframework/animate/slides/_out.scss
|
49
|
+
- stylesheets/redframework/base/_alignment.scss
|
50
|
+
- stylesheets/redframework/base/_animate.scss
|
51
|
+
- stylesheets/redframework/base/_body.scss
|
52
|
+
- stylesheets/redframework/base/_code.scss
|
53
|
+
- stylesheets/redframework/base/_emphasis.scss
|
54
|
+
- stylesheets/redframework/base/_forms.scss
|
55
|
+
- stylesheets/redframework/base/_headings.scss
|
56
|
+
- stylesheets/redframework/base/_images.scss
|
57
|
+
- stylesheets/redframework/base/_lists.scss
|
58
|
+
- stylesheets/redframework/base/_main.scss
|
59
|
+
- stylesheets/redframework/base/_paragraphs.scss
|
60
|
+
- stylesheets/redframework/base/_quotes.scss
|
61
|
+
- stylesheets/redframework/base/_section.scss
|
62
|
+
- stylesheets/redframework/base/_smallprint.scss
|
63
|
+
- stylesheets/redframework/base/_tables.scss
|
64
|
+
- stylesheets/redframework/general/_brand.scss
|
65
|
+
- stylesheets/redframework/general/_clearfix.scss
|
66
|
+
- stylesheets/redframework/general/_debug.scss
|
67
|
+
- stylesheets/redframework/general/_helpers.scss
|
68
|
+
- stylesheets/redframework/general/_mixins.scss
|
69
|
+
- stylesheets/redframework/general/_reset.scss
|
70
|
+
- stylesheets/redframework/general/_shared.scss
|
71
|
+
- stylesheets/redframework/general/_widths.scss
|
72
|
+
- stylesheets/redframework/objects/_breadcrumb.scss
|
73
|
+
- stylesheets/redframework/objects/_buttons.scss
|
74
|
+
- stylesheets/redframework/objects/_circle.scss
|
75
|
+
- stylesheets/redframework/objects/_flag.scss
|
76
|
+
- stylesheets/redframework/objects/_island.scss
|
77
|
+
- stylesheets/redframework/objects/_navigation.scss
|
78
|
+
- stylesheets/redframework/objects/_product-listing.scss
|
79
|
+
- stylesheets/redframework/objects/_quantity.scss
|
80
|
+
- stylesheets/redframework/objects/_search.scss
|
81
|
+
- stylesheets/redframework/objects/_searchresults.scss
|
82
|
+
- stylesheets/redframework/objects/_well.scss
|
83
|
+
- stylesheets/redframework/views/_collectionview.scss
|
84
|
+
- stylesheets/redframework/views/_tableview.scss
|
85
|
+
- templates/project/manifest.rb
|
86
|
+
- templates/project/screen.scss
|
87
|
+
- templates/project/scss/app.scss
|
88
|
+
homepage: ''
|
89
|
+
licenses: []
|
90
|
+
metadata: {}
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options: []
|
93
|
+
require_paths:
|
94
|
+
- lib
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements: []
|
106
|
+
rubyforge_project:
|
107
|
+
rubygems_version: 2.0.3
|
108
|
+
signing_key:
|
109
|
+
specification_version: 4
|
110
|
+
summary: a compass extenstion of Redframework
|
111
|
+
test_files: []
|