lion 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/bin/.DS_Store +0 -0
- data/bin/{lion-new.rb → lion-new} +15 -14
- data/bin/{lion-server.rb → lion-server} +5 -5
- data/lib/.DS_Store +0 -0
- data/lib/lion.rb +13 -11
- data/lib/lion/.DS_Store +0 -0
- data/lib/lion/installer.rb +33 -10
- data/lib/lion/version.rb +1 -1
- data/lib/src/.DS_Store +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_core.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_elements.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_mixins.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_reset.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_settings.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_typography.sassc +0 -0
- data/lib/src/.sass-cache/8e2d42a7994fef08dc4bb4dcc558988ca283abc8/style.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_alerts.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_buttons.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_classes.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_forms.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_grid.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_media_queries.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_pagination.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_tables.sassc +0 -0
- data/lib/src/gemfile +6 -0
- data/lib/src/lion.rb +4 -1
- data/lib/src/public/.DS_Store +0 -0
- data/lib/src/public/coffeescripts/spec/application.spec.coffee +4 -0
- data/lib/src/public/images/baseline_20.png +0 -0
- data/lib/src/public/javascripts/application.js +5 -0
- data/lib/src/public/stylesheets/.DS_Store +0 -0
- data/lib/src/public/stylesheets/css/.DS_Store +0 -0
- data/lib/src/public/stylesheets/css/style.css +696 -1
- data/lib/src/public/stylesheets/scss/lib/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/core.scss +32 -0
- data/lib/src/public/stylesheets/scss/lib/css3/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/background-clip.scss +4 -0
- data/lib/src/public/stylesheets/scss/lib/css3/border-radius.scss +4 -0
- data/lib/src/public/stylesheets/scss/lib/css3/box-shadow.scss +4 -0
- data/lib/src/public/{coffeescripts/spec/application.spec.js.coffee → stylesheets/scss/lib/css3/box-sizing.scss} +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/columns.scss +7 -0
- data/lib/src/public/stylesheets/scss/lib/css3/font-face.scss +7 -0
- data/lib/src/public/stylesheets/scss/lib/css3/gradient.scss +51 -0
- data/lib/src/public/stylesheets/scss/lib/css3/opacity.scss +5 -0
- data/lib/src/public/stylesheets/scss/lib/css3/rotate.scss +9 -0
- data/lib/src/public/stylesheets/scss/lib/css3/scale.scss +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/text-shadow.scss +2 -0
- data/lib/src/public/stylesheets/scss/lib/css3/transform.scss +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/transition.scss +9 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/buttons.scss +24 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/classes.scss +18 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/forms.scss +192 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/media_queries.scss +17 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/tables.scss +23 -0
- data/lib/src/public/stylesheets/scss/lib/layout/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/layout/grid.scss +30 -0
- data/lib/src/public/stylesheets/scss/lib/mixins.scss +17 -0
- data/lib/src/public/stylesheets/scss/lib/reset.scss +69 -0
- data/lib/src/public/stylesheets/scss/lib/settings.scss +31 -0
- data/lib/src/public/stylesheets/scss/lib/typography/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/typography/elements.scss +130 -0
- data/lib/src/public/stylesheets/scss/lib/typography/headings.scss +30 -0
- data/lib/src/public/stylesheets/scss/style.scss +12 -0
- data/lib/src/rakefile +19 -0
- data/lib/src/views/.DS_Store +0 -0
- data/lib/src/views/index.slim +2 -3
- data/lib/src/views/layout.slim +20 -7
- data/readme.md +29 -0
- data/todo.txt +0 -0
- metadata +71 -25
- data/lib/src/public/coffeescripts/application.js.coffee +0 -6
- data/lib/src/public/javascripts/main.js +0 -5
- data/lib/src/public/stylesheets/sass/lib/_core.sass +0 -7
- data/lib/src/public/stylesheets/sass/lib/_elements.sass +0 -100
- data/lib/src/public/stylesheets/sass/lib/_grid.sass +0 -30
- data/lib/src/public/stylesheets/sass/lib/_reset.sass +0 -84
- data/lib/src/public/stylesheets/sass/lib/_settings.sass +0 -42
- data/lib/src/public/stylesheets/sass/lib/_typography.sass +0 -45
- data/lib/src/public/stylesheets/sass/lib/helpers/_buttons.sass +0 -15
- data/lib/src/public/stylesheets/sass/lib/helpers/_classes.sass +0 -24
- data/lib/src/public/stylesheets/sass/lib/helpers/_forms.sass +0 -184
- data/lib/src/public/stylesheets/sass/lib/helpers/_media_queries.sass +0 -113
- data/lib/src/public/stylesheets/sass/lib/helpers/_mixins.sass +0 -76
- data/lib/src/public/stylesheets/sass/lib/helpers/_tables.sass +0 -29
- data/lib/src/public/stylesheets/sass/style.sass +0 -40
Binary file
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
* Gravity CSS
|
3
|
+
* Version 0.1
|
4
|
+
* Developed by: Owain Lewis
|
5
|
+
* www.owainlewis.com
|
6
|
+
* License: MIT
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
*-------------------------------------------------------------- */
|
9
|
+
|
10
|
+
//Base
|
11
|
+
@import "settings";
|
12
|
+
@import "reset";
|
13
|
+
|
14
|
+
//Mixins
|
15
|
+
@import "mixins";
|
16
|
+
|
17
|
+
//Typography
|
18
|
+
@import "typography/elements";
|
19
|
+
@import "typography/headings";
|
20
|
+
|
21
|
+
//Layout
|
22
|
+
@import "layout/grid";
|
23
|
+
|
24
|
+
//Forms
|
25
|
+
@import "helpers/forms";
|
26
|
+
|
27
|
+
//Tables
|
28
|
+
@import "helpers/tables";
|
29
|
+
|
30
|
+
//Misc
|
31
|
+
@import "helpers/buttons";
|
32
|
+
@import "helpers/classes";
|
Binary file
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
@mixin fontFace($name, $src: fonts) {
|
2
|
+
@font-face {
|
3
|
+
font-family: "FontName";
|
4
|
+
src: url("$src/$name.eot");
|
5
|
+
src: url("$src/$name.eot?iefix") format("eot"), url("$src/$name.woff") format("woff"), url("$src/$name.ttf") format("truetype"), url("$src/$name.svg#webfontZam02nTh") format("svg");
|
6
|
+
font-weight: normal;
|
7
|
+
font-style: normal; } }
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@mixin gradient($from: #111111, $to: #333333) {
|
2
|
+
background: $from;
|
3
|
+
/* for non-css3 browsers */
|
4
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
5
|
+
/* for IE */
|
6
|
+
background: -webkit-gradient(linear, left top, left bottom, from($from), to($to));
|
7
|
+
/* for webkit browsers */
|
8
|
+
background: -moz-linear-gradient(top, $from, $to);
|
9
|
+
/* for firefox 3.6+ */ }
|
10
|
+
|
11
|
+
@mixin horizontal-gradient ($startColor: #555, $endColor: #333) {
|
12
|
+
background-color: $endColor;
|
13
|
+
background-repeat: repeat-x;
|
14
|
+
background-image: -khtml-gradient(linear, left top, right top, from($startColor), to($endColor)); // Konqueror
|
15
|
+
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
16
|
+
background-image: -ms-linear-gradient(left, $startColor, $endColor); // IE10
|
17
|
+
background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, $startColor), color-stop(100%, $endColor)); // Safari 4+, Chrome 2+
|
18
|
+
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
19
|
+
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
20
|
+
background-image: linear-gradient(left, $startColor, $endColor); // Le standard
|
21
|
+
}
|
22
|
+
@mixin vertical-gradient ($startColor: #555, $endColor: #333) {
|
23
|
+
background-color: $endColor;
|
24
|
+
background-repeat: repeat-x;
|
25
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from($startColor), to($endColor)); // Konqueror
|
26
|
+
background-image: -moz-linear-gradient($startColor, $endColor); // FF 3.6+
|
27
|
+
background-image: -ms-linear-gradient($startColor, $endColor); // IE10
|
28
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $startColor), color-stop(100%, $endColor)); // Safari 4+, Chrome 2+
|
29
|
+
background-image: -webkit-linear-gradient($startColor, $endColor); // Safari 5.1+, Chrome 10+
|
30
|
+
background-image: -o-linear-gradient($startColor, $endColor); // Opera 11.10
|
31
|
+
background-image: linear-gradient($startColor, $endColor); // The standard
|
32
|
+
}
|
33
|
+
@mixin directional-graident ($startColor: #555, $endColor: #333, $deg: 45deg) {
|
34
|
+
background-color: $endColor;
|
35
|
+
background-repeat: repeat-x;
|
36
|
+
background-image: -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+
|
37
|
+
background-image: -ms-linear-gradient($deg, $startColor, $endColor); // IE10
|
38
|
+
background-image: -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
39
|
+
background-image: -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
|
40
|
+
background-image: linear-gradient($deg, $startColor, $endColor); // The standard
|
41
|
+
}
|
42
|
+
@mixin vertical-three-color-gradient($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
|
43
|
+
background-color: $endColor;
|
44
|
+
background-repeat: no-repeat;
|
45
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
|
46
|
+
background-image: -webkit-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
47
|
+
background-image: -moz-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
48
|
+
background-image: -ms-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
49
|
+
background-image: -o-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
50
|
+
background-image: linear-gradient($startColor, $midColor $colorStop, $endColor);
|
51
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
@mixin rotate($angle) {
|
2
|
+
-moz-transform: rotate($angle);
|
3
|
+
-webkit-transform: rotate($angle);
|
4
|
+
-o-transform: rotate($angle);
|
5
|
+
-ms-transform: rotate($angle);
|
6
|
+
transform: rotate($angle);
|
7
|
+
filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($angle)}, M12=-#{sin($angle)}, M21=#{sin($angle)}, M22=#{cos($angle)});
|
8
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($angle)}, M12=-#{sin($angle)}, M21=#{sin($angle)}, M22=#{cos($angle)})";
|
9
|
+
zoom: 1; }
|
File without changes
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
@mixin transition($property: all, $duration: 0.5s, $function: ease-in-out) {
|
2
|
+
-moz-transition: $property $duration $function;
|
3
|
+
/* FF3.7+ */
|
4
|
+
-o-transition: $property $duration $function;
|
5
|
+
/* Opera 10.5 */
|
6
|
+
-webkit-transition: $property $duration $function;
|
7
|
+
/* Saf3.2+, Chrome */
|
8
|
+
transition: $property $duration $function; }
|
9
|
+
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@mixin button($color: #cccccc, $text_color: #333333, $width: 80px) {
|
2
|
+
@include border-radius(4px);
|
3
|
+
@include gradient(lighten($color, 10%), $color);
|
4
|
+
cursor: pointer;
|
5
|
+
font-weight: bold;
|
6
|
+
color: $text_color;
|
7
|
+
display: inline-block;
|
8
|
+
border: 1px solid darken($color, 5%);
|
9
|
+
text-align: center;
|
10
|
+
padding: 4px 12px;
|
11
|
+
margin: 0 10px 20px 0;
|
12
|
+
@if $width {
|
13
|
+
min-width: $width; }
|
14
|
+
&:hover {
|
15
|
+
@include gradient(lighten($color, 5%), lighten($color, 10%)); } }
|
16
|
+
|
17
|
+
.button, input.button {
|
18
|
+
@include button; }
|
19
|
+
|
20
|
+
.button.main {
|
21
|
+
@include button(#049cdb, white); }
|
22
|
+
|
23
|
+
.button.delete {
|
24
|
+
@include button(#9d261d, white); }
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.wrap {
|
2
|
+
width: $width;
|
3
|
+
margin: 0 auto; }
|
4
|
+
|
5
|
+
.clear {
|
6
|
+
clear: both; }
|
7
|
+
|
8
|
+
.center {
|
9
|
+
text-align: center; }
|
10
|
+
|
11
|
+
.uppercase {
|
12
|
+
text-transform: uppercase; }
|
13
|
+
|
14
|
+
.titlecase {
|
15
|
+
text-transform: capitalize; }
|
16
|
+
|
17
|
+
.invisible {
|
18
|
+
visibility: hidden; }
|
@@ -0,0 +1,192 @@
|
|
1
|
+
//Forms
|
2
|
+
|
3
|
+
$formPadding: 5px;
|
4
|
+
|
5
|
+
::-moz-focus-inner {
|
6
|
+
border: 0;
|
7
|
+
padding: 0; }
|
8
|
+
|
9
|
+
input[type="search"]::-webkit-search-decoration {
|
10
|
+
display: none; }
|
11
|
+
|
12
|
+
form {
|
13
|
+
margin-bottom: $baseline; }
|
14
|
+
|
15
|
+
fieldset {
|
16
|
+
margin-bottom: $baseline; }
|
17
|
+
|
18
|
+
input[type="text"]:focus,
|
19
|
+
input[type="password"]:focus,
|
20
|
+
input[type="email"]:focus,
|
21
|
+
input[type="tel"]:focus,
|
22
|
+
textarea:focus {
|
23
|
+
border: 1px solid $blue;
|
24
|
+
color: #444444; }
|
25
|
+
|
26
|
+
textarea {
|
27
|
+
min-height: 100px;
|
28
|
+
resize: none;
|
29
|
+
overflow: auto;
|
30
|
+
width: 100%; }
|
31
|
+
|
32
|
+
label,
|
33
|
+
legend {
|
34
|
+
display: block;
|
35
|
+
font-weight: bold;
|
36
|
+
font-size: 13px; }
|
37
|
+
|
38
|
+
select {
|
39
|
+
width: 100%; }
|
40
|
+
|
41
|
+
input[type="checkbox"] {
|
42
|
+
display: inline; }
|
43
|
+
|
44
|
+
label span,
|
45
|
+
legend span {
|
46
|
+
font-weight: normal;
|
47
|
+
font-size: 13px;
|
48
|
+
color: #444444; }
|
49
|
+
|
50
|
+
input,
|
51
|
+
button,
|
52
|
+
select,
|
53
|
+
textarea {
|
54
|
+
vertical-align: middle;
|
55
|
+
margin-bottom: $baseline; }
|
56
|
+
|
57
|
+
input[type="radio"],
|
58
|
+
input[type="checkbox"] {
|
59
|
+
position: relative;
|
60
|
+
vertical-align: top;
|
61
|
+
top: 3px;
|
62
|
+
/* IE8, IE9, IE10 */
|
63
|
+
top: 0 \0;
|
64
|
+
/* IE7 */
|
65
|
+
*top: -3px;
|
66
|
+
margin-right: 5px; }
|
67
|
+
|
68
|
+
/* iPad */
|
69
|
+
|
70
|
+
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px) {
|
71
|
+
input[type="radio"],
|
72
|
+
input[type="checkbox"] {
|
73
|
+
vertical-align: baseline;
|
74
|
+
top: 2px; } }
|
75
|
+
|
76
|
+
/* iPhone 3 */
|
77
|
+
|
78
|
+
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
|
79
|
+
input[type="radio"],
|
80
|
+
input[type="checkbox"] {
|
81
|
+
vertical-align: baseline;
|
82
|
+
top: 0; } }
|
83
|
+
|
84
|
+
/* iPhone 4 */
|
85
|
+
|
86
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px) {
|
87
|
+
input[type="radio"],
|
88
|
+
input[type="checkbox"] {
|
89
|
+
vertical-align: baseline;
|
90
|
+
top: 0; } }
|
91
|
+
|
92
|
+
textarea,
|
93
|
+
select,
|
94
|
+
input[type="date"],
|
95
|
+
input[type="datetime"],
|
96
|
+
input[type="datetime-local"],
|
97
|
+
input[type="email"],
|
98
|
+
input[type="month"],
|
99
|
+
input[type="number"],
|
100
|
+
input[type="password"],
|
101
|
+
input[type="search"],
|
102
|
+
input[type="tel"],
|
103
|
+
input[type="text"],
|
104
|
+
input[type="time"],
|
105
|
+
input[type="url"],
|
106
|
+
input[type="week"] {
|
107
|
+
-webkit-appearance: none;
|
108
|
+
-moz-border-radius: 0;
|
109
|
+
-webkit-border-radius: 0;
|
110
|
+
border-radius: 0;
|
111
|
+
-webkit-box-sizing: border-box;
|
112
|
+
-moz-box-sizing: border-box;
|
113
|
+
box-sizing: border-box;
|
114
|
+
-moz-background-clip: padding;
|
115
|
+
-webkit-background-clip: padding;
|
116
|
+
background-clip: padding-box;
|
117
|
+
border: 1px solid $borders;
|
118
|
+
border-color: $borders $borders $borders;
|
119
|
+
color: $black;
|
120
|
+
padding: $formPadding;
|
121
|
+
outline: none;
|
122
|
+
@include border-radius(2px);
|
123
|
+
font: 12px $sans;
|
124
|
+
margin: 0 0 18px 0;
|
125
|
+
width: 100%;
|
126
|
+
display: block;
|
127
|
+
/* IE7 */
|
128
|
+
*padding-top: 2px;
|
129
|
+
*padding-bottom: 1px;
|
130
|
+
*height: auto; }
|
131
|
+
|
132
|
+
::-webkit-input-placeholder {
|
133
|
+
color: $gray; }
|
134
|
+
|
135
|
+
input:-moz-placeholder,
|
136
|
+
textarea:-moz-placeholder {
|
137
|
+
color: $gray;
|
138
|
+
font-size: 12px; }
|
139
|
+
|
140
|
+
:invalid {
|
141
|
+
-moz-box-shadow: none;
|
142
|
+
-webkit-box-shadow: none;
|
143
|
+
box-shadow: none; }
|
144
|
+
|
145
|
+
/* Tweaks for Safari + Chrome. */
|
146
|
+
|
147
|
+
@media (-webkit-min-device-pixel-ratio: 0) {
|
148
|
+
select[size],
|
149
|
+
select[multiple] {
|
150
|
+
background-image: none;
|
151
|
+
padding: 0; }
|
152
|
+
::-webkit-validation-bubble-message {
|
153
|
+
box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
|
154
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
|
155
|
+
border: $borders;
|
156
|
+
color: white;
|
157
|
+
font: $sans;
|
158
|
+
padding: 15px 15px 17px;
|
159
|
+
text-shadow: black 0 0 1px; }
|
160
|
+
::-webkit-validation-bubble-top-outer-arrow,
|
161
|
+
::-webkit-validation-bubble-top-inner-arrow {
|
162
|
+
display: none; } }
|
163
|
+
|
164
|
+
optgroup {
|
165
|
+
color: black;
|
166
|
+
font-style: normal;
|
167
|
+
font-weight: normal; }
|
168
|
+
|
169
|
+
button[type=submit], input[type='submit'] {
|
170
|
+
padding: 7px 12px;
|
171
|
+
text-align: center;
|
172
|
+
font-weight: bold;
|
173
|
+
@include border-radius(5px);
|
174
|
+
@include gradient;
|
175
|
+
border: 0;
|
176
|
+
color: white; }
|
177
|
+
|
178
|
+
.input-list {
|
179
|
+
list-style:none;
|
180
|
+
margin:0 0 $baseline 0;
|
181
|
+
li {
|
182
|
+
padding-top: 0;
|
183
|
+
list-style:none;
|
184
|
+
margin:0 0 $baseline/4 0;
|
185
|
+
input{margin-bottom:0};
|
186
|
+
label {
|
187
|
+
font-weight: normal;
|
188
|
+
padding-top: 0;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/* 768px */
|
2
|
+
|
3
|
+
@media only screen and (min-width: 768px) and (max-width: 959px) {}
|
4
|
+
|
5
|
+
/* 320px. iPhone */
|
6
|
+
|
7
|
+
@media only screen and (max-width: 767px) {
|
8
|
+
.container {
|
9
|
+
width: 300px; }
|
10
|
+
@for $i from 1 through $columns {
|
11
|
+
.span-#{$i} {
|
12
|
+
width: 280px;
|
13
|
+
margin: 0 10px; } } }
|
14
|
+
|
15
|
+
/* 480px */
|
16
|
+
|
17
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) {}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
table {
|
2
|
+
margin-bottom: $baseline;
|
3
|
+
width: 100%; }
|
4
|
+
|
5
|
+
th {
|
6
|
+
font-weight: bold;
|
7
|
+
text-align: left;
|
8
|
+
border-bottom: 4px solid $gray; }
|
9
|
+
|
10
|
+
td {
|
11
|
+
padding: 10px;border-bottom:1px solid #ddd; }
|
12
|
+
|
13
|
+
th {
|
14
|
+
padding: 10px 10px 6px 10px; }
|
15
|
+
|
16
|
+
tr:nth-child(even) {
|
17
|
+
background-color: #F9F9F9; }
|
18
|
+
|
19
|
+
tfoot {
|
20
|
+
font-style: italic; }
|
21
|
+
|
22
|
+
caption {
|
23
|
+
background: #ffffcc; }
|
Binary file
|