edge_framework 1.2.0 → 1.2.1
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 +8 -8
- data/README.md +3 -7
- data/assets/kitchen-sink.html +10 -9
- data/assets/sass/edge/components/_code.scss +25 -23
- data/assets/sass/edge/components/_grid.scss +4 -0
- data/assets/sass/edge/components/_typography.scss +1 -1
- data/assets/sass/edge.scss +1 -1
- data/lib/edge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDJlYTlkNzkyZTdiNzI5MTk0NDk3MDQ2ZmM1NGRlNjgxZTY3MjMwZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWUyMjUxMzdjMTNkOWI1MTkxZmY0NjdkZWMyNjhhZDQ0NzYyYmJlNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzQ5N2YxOTRhMGNjODBjYzZkZGQ5ZmE3ZDY3MmQ1NGNjNTc3NTUyZGMwNzE5
|
10
|
+
OGRhODc2Nzg4ZTAwMjI2MzBiMTZmM2JlYzIxOTgzZjQxYWVlOTcyZjBjM2Q2
|
11
|
+
NmNjMDVkZjAxNTkwNmRlYmFiZTVkZGI3YjhjOTJiOGRkYzQ1Yzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTA0OTM4ZDA2OThiNzVmZGUwZjFlMjA1MGQyMjVmMDM4NGZiNDUyNjZmZDdl
|
14
|
+
YzAzYWMyYTBmOGY4NDAwZWQ3YzI1OTU2OGUxMDRkMWY2YmE2NGVmYWRjZmU0
|
15
|
+
MjRhMjBkZThhYzgxN2Y0M2M5MDRmZmVhNGNjMjhkNWJlMDc2ZGM=
|
data/README.md
CHANGED
@@ -281,19 +281,15 @@ Generate basic template for your project. Run this command inside your project d
|
|
281
281
|
|
282
282
|
`edge create html`
|
283
283
|
|
284
|
-
2.
|
285
|
-
|
286
|
-
`edge create php`
|
287
|
-
|
288
|
-
3. Wordpress 3.8+ (Min PHP 5.3)
|
284
|
+
2. Wordpress 3.8+ (Min PHP 5.3)
|
289
285
|
|
290
286
|
`edge create wordpress`
|
291
287
|
|
292
|
-
|
288
|
+
3. Rails (run inside Rails project)
|
293
289
|
|
294
290
|
`rails g edge:install`
|
295
291
|
|
296
|
-
|
292
|
+
4. Coming soon: Sinatra and Flask
|
297
293
|
|
298
294
|
|
299
295
|
WORDPRESS
|
data/assets/kitchen-sink.html
CHANGED
@@ -294,7 +294,8 @@
|
|
294
294
|
</div>
|
295
295
|
</div> -->
|
296
296
|
|
297
|
-
<!--
|
297
|
+
<!--
|
298
|
+
<div class="row" data-page="code">
|
298
299
|
<div class="large-12 columns">
|
299
300
|
<h1>EDGE Code</h1>
|
300
301
|
<h3>Markup</h3>
|
@@ -432,7 +433,7 @@
|
|
432
433
|
</div>
|
433
434
|
</div> -->
|
434
435
|
|
435
|
-
<div class="row" data-page="grid">
|
436
|
+
<!-- <div class="row" data-page="grid">
|
436
437
|
<div class="large-12 columns">
|
437
438
|
<div class="demo-grid">
|
438
439
|
<h1>Grid</h1>
|
@@ -563,7 +564,7 @@
|
|
563
564
|
|
564
565
|
</div>
|
565
566
|
</div>
|
566
|
-
</div>
|
567
|
+
</div> -->
|
567
568
|
|
568
569
|
<!-- <section class="row" data-page="visibility">
|
569
570
|
<div class="large-12 column">
|
@@ -796,7 +797,7 @@
|
|
796
797
|
</div>
|
797
798
|
</section> -->
|
798
799
|
|
799
|
-
<section class="row" data-page="design-grid">
|
800
|
+
<!-- <section class="row" data-page="design-grid">
|
800
801
|
<div class="large-12 column demo-grid">
|
801
802
|
<h1>Demo Design Custom Grid</h1>
|
802
803
|
<h3>325 (50) 175</h3>
|
@@ -809,7 +810,7 @@
|
|
809
810
|
</div>
|
810
811
|
</div>
|
811
812
|
</div>
|
812
|
-
</section>
|
813
|
+
</section> -->
|
813
814
|
|
814
815
|
<!-- <section class="row" data-page="button">
|
815
816
|
<div class="large-4 column">
|
@@ -927,10 +928,10 @@
|
|
927
928
|
<footer id="footer">
|
928
929
|
</footer>
|
929
930
|
|
930
|
-
|
931
|
-
<script type="text/javascript" src="js/edge.js"></script>
|
931
|
+
|
932
|
+
<!-- <script type="text/javascript" src="js/edge.js"></script> -->
|
932
933
|
<script type="text/javascript" src="js/edge/edge.prism.js"></script>
|
933
|
-
<script type="text/javascript" src="js/edge/edge.animate.js"></script>
|
934
|
-
|
934
|
+
<!-- <script type="text/javascript" src="js/edge/edge.animate.js"></script> -->
|
935
|
+
|
935
936
|
</body>
|
936
937
|
</html>
|
@@ -22,8 +22,11 @@ $code-sass-color : #c6538c; // pink
|
|
22
22
|
$code-python-color : #376a94; // dark-blue
|
23
23
|
|
24
24
|
// Add decoration to the code-block
|
25
|
-
@mixin code-decor($color) {
|
25
|
+
@mixin code-decor($color, $text: "") {
|
26
26
|
&:after {
|
27
|
+
@if $text {
|
28
|
+
content: "#{$text}";
|
29
|
+
}
|
27
30
|
background: $color;
|
28
31
|
}
|
29
32
|
|
@@ -78,14 +81,12 @@ pre {
|
|
78
81
|
margin-bottom: $code-margin-bottom;
|
79
82
|
max-height: 30em;
|
80
83
|
|
81
|
-
@include code-decor($
|
84
|
+
@include code-decor($main-color);
|
82
85
|
@include box-shadow(-1px 0px 0px 0px #ddd, 0px 0px 0px 1px #ddd);
|
83
86
|
|
84
|
-
|
85
|
-
&:
|
86
|
-
|
87
|
-
opacity: 0;
|
88
|
-
}
|
87
|
+
&:hover {
|
88
|
+
&:after {
|
89
|
+
opacity: .2;
|
89
90
|
}
|
90
91
|
}
|
91
92
|
|
@@ -94,40 +95,38 @@ pre {
|
|
94
95
|
position: absolute;
|
95
96
|
top: .5em;
|
96
97
|
right: .5em;
|
97
|
-
|
98
|
-
width: 1em;
|
99
|
-
height: 1em;
|
100
|
-
|
98
|
+
|
101
99
|
background: $passive-color;
|
102
|
-
|
103
|
-
|
100
|
+
opacity: 0;
|
101
|
+
padding: 0 10px;
|
104
102
|
|
105
|
-
padding: em(5px 10px);
|
106
103
|
font-family: $code-font-family;
|
107
104
|
color: white;
|
108
|
-
text-transform: uppercase;
|
109
105
|
|
110
106
|
@include transition($g-transition);
|
111
107
|
}
|
112
|
-
|
108
|
+
|
109
|
+
&[data-lang="html"],
|
113
110
|
&[data-lang="markup"] {
|
114
|
-
@include code-decor($code-markup-color);
|
111
|
+
@include code-decor($code-markup-color, "HTML");
|
115
112
|
}
|
116
113
|
|
117
|
-
&[data-lang="css"]
|
118
|
-
|
114
|
+
&[data-lang="css"],
|
115
|
+
&[data-lang="stylesheet"] {
|
116
|
+
@include code-decor($code-css-color, "CSS");
|
119
117
|
}
|
120
118
|
|
119
|
+
&[data-lang="js"],
|
121
120
|
&[data-lang="javascript"] {
|
122
|
-
@include code-decor($code-js-color);
|
121
|
+
@include code-decor($code-js-color, "JS");
|
123
122
|
}
|
124
123
|
|
125
124
|
&[data-lang="ruby"] {
|
126
|
-
@include code-decor($code-ruby-color);
|
125
|
+
@include code-decor($code-ruby-color, "Ruby");
|
127
126
|
}
|
128
127
|
|
129
128
|
&[data-lang="python"] {
|
130
|
-
@include code-decor($code-python-color);
|
129
|
+
@include code-decor($code-python-color, "Python");
|
131
130
|
}
|
132
131
|
|
133
132
|
> code {
|
@@ -141,7 +140,10 @@ pre {
|
|
141
140
|
|
142
141
|
:not(pre) {
|
143
142
|
> code {
|
144
|
-
|
143
|
+
background-color: #f8f8f8;
|
144
|
+
border: 1px solid rgba(#ddd, .2);
|
145
|
+
padding: 3px 7px;
|
146
|
+
line-height: 1;
|
145
147
|
}
|
146
148
|
}
|
147
149
|
|
@@ -192,6 +192,10 @@ $column-gutter : 20px !default;
|
|
192
192
|
@include below(small) {
|
193
193
|
@include base-column($size:$small, $total:$total);
|
194
194
|
}
|
195
|
+
} @else { // else, become 100% width on small
|
196
|
+
@include below(small) {
|
197
|
+
@include base-column($size:$total, $total:$total);
|
198
|
+
}
|
195
199
|
}
|
196
200
|
|
197
201
|
@if $mini > 0 {
|
@@ -84,7 +84,7 @@ $ol-child-style : lower-alpha !default;
|
|
84
84
|
$line-height : $base-line-height) {
|
85
85
|
|
86
86
|
@include background(
|
87
|
-
linear-gradient(to bottom, rgba(black, 0) 95%, rgba(black, .
|
87
|
+
linear-gradient(to bottom, rgba(black, 0) 95%, rgba(black, .1) 100%)
|
88
88
|
);
|
89
89
|
background-size: 100% em($font-size * $line-height, $font-size);
|
90
90
|
}
|
data/assets/sass/edge.scss
CHANGED
data/lib/edge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edge_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henner Setyono
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|