middleman-sculptor 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f53ac2f1dcfc1db2c3aa7e7de42d1eb2e0be04d6
4
- data.tar.gz: 26a7671ea6325254006e0ba0133f582af6d1359b
3
+ metadata.gz: 1d71471a4587329d31fbd3dc7dd1497e7cad724f
4
+ data.tar.gz: 5f0362ea67ec541e9fd8a66f90c758bb598f4b8e
5
5
  SHA512:
6
- metadata.gz: 68704c891fdc197d14c0a39740547b7ea66f5191d1e8b04e7c37103c70b1668412de42b41b95f44ff47abae5004378f49c491ebf7b48916973355373338547a9
7
- data.tar.gz: a15c14865160ae10190143a511675a1dfa3a2b7d5100eed1d8dbe585d74f721de0971270fa44d53aac79d443181979d8a4b28edd9bf886ba0c5afe3a3dbc9074
6
+ metadata.gz: 131d0a2a1f41fd964ef7d80d503a163abb72861fba02c96c2b4b1054debd08cb95bd41de9a82f74da10604ed6b0d245742abe604018e4770a54eb556eedc29ef
7
+ data.tar.gz: 38295171d2e2b9d9a850370572463c983064d6ed450e9bb11fad3c0113f03b8f0666e02c3e90e654813a71dda8e5703eeec7573056cb3a9ee980357197adce49
@@ -25,7 +25,7 @@ button {
25
25
 
26
26
  .glyptotheque {
27
27
  position: relative;
28
- padding: 40px 20px;
28
+ padding: 40px 30px;
29
29
  min-height: 100%;
30
30
  overflow: hidden;
31
31
  background: white;
@@ -34,9 +34,9 @@ button {
34
34
  }
35
35
 
36
36
  .glypto-section {
37
- margin: 0 -20px 40px;
38
- padding: 0 20px 40px;
39
- border-bottom: 2px solid $dark-grey;
37
+ margin: 0 -30px 40px;
38
+ padding: 0 30px 40px;
39
+ border-bottom: 2px solid lighten($dark-grey, 20);
40
40
  box-shadow: 0 1px rgba(white, .4);
41
41
 
42
42
  &:last-child {
@@ -46,6 +46,14 @@ button {
46
46
  }
47
47
  }
48
48
 
49
+ .glyptotheque,
50
+ .glypto-section {
51
+ > h2 {
52
+ margin: 1.6em 0 .5em;
53
+ font-size: 28px;
54
+ }
55
+ }
56
+
49
57
  .glypto-title {
50
58
  font-size: 48px;
51
59
  margin: 0 0 40px;
@@ -1,10 +1,22 @@
1
1
  @import 'pygments/github';
2
2
 
3
3
  .glypto-model {
4
- margin: 20px 0;
4
+ margin: 40px 0 20px;
5
5
  border: 1px solid $light-grey;
6
6
  box-shadow: 0 0 0 3px #f6f6f6;
7
7
 
8
+ &:before {
9
+ content: 'EXAMPLE';
10
+ position: absolute;
11
+ margin-top: -19px;
12
+ margin-left: -4px;
13
+ font-size: 12px;
14
+ line-height: 12px;
15
+ color: #aaa;
16
+ background: #f6f6f6;
17
+ padding: 3px 10px;
18
+ }
19
+
8
20
  &:last-child {
9
21
  margin-bottom: 0;
10
22
  }
@@ -13,10 +25,24 @@
13
25
  position: relative;
14
26
  padding: 1px;
15
27
 
28
+ &:before {
29
+ @include position(absolute, 0 0 0 0);
30
+ @include size(100px 12px);
31
+ content: 'Loading…';
32
+ line-height: 12px;
33
+ font-size: 12px;
34
+ text-transform: uppercase;
35
+ text-indent: 1em;
36
+ color: #ddd;
37
+ margin: auto;
38
+ }
39
+
16
40
  > figure,
17
41
  > iframe {
42
+ position: relative;
18
43
  display: block;
19
44
  margin: 0;
45
+ background: white;
20
46
  }
21
47
 
22
48
  > figure {
@@ -24,6 +50,17 @@
24
50
  padding: 10px;
25
51
  }
26
52
 
53
+ > iframe {
54
+ transition: 200ms ease-out;
55
+ width: 100%;
56
+ height: 60px;
57
+ opacity: 0;
58
+
59
+ &[style*="height"] {
60
+ opacity: 1;
61
+ }
62
+ }
63
+
27
64
  ._component {
28
65
  transition: 200ms max-width;
29
66
  overflow: hidden;
@@ -76,7 +76,7 @@
76
76
 
77
77
  > .glypto-nav-toggle {
78
78
  @include size(25px);
79
- transition: margin 100ms;
79
+ transition: margin 360ms;
80
80
  padding: 0;
81
81
  background: none;
82
82
  border: 0;
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Sculptor
3
- VERSION = "0.7"
3
+ VERSION = "0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-sculptor
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyom Semonov