bedrock_sass 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@
|
|
15
15
|
@import 'components/select-box';
|
16
16
|
@import 'components/file-input';
|
17
17
|
@import 'components/seo-analysis';
|
18
|
+
@import 'components/shortcode-reveal';
|
18
19
|
|
19
20
|
@include bedrock-global-styles;
|
20
21
|
@include bedrock-prototype-classes;
|
@@ -33,3 +34,4 @@
|
|
33
34
|
@include bedrock-select-box;
|
34
35
|
@include bedrock-file-input;
|
35
36
|
@include bedrock-seo-analysis;
|
37
|
+
@include bedrock-shortcode-reveal;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
$shortcode-reveal-alt-color: $dark-gray !default;
|
2
|
+
$shortcode-reveal-alt-background: darken($reveal-background, 5) !default;
|
3
|
+
|
4
|
+
// Shortcode Reveal Mixins
|
5
|
+
|
6
|
+
@mixin shortcode-reveal {
|
7
|
+
.shortcode-reveal {
|
8
|
+
|
9
|
+
.panel-content {
|
10
|
+
position: relative;
|
11
|
+
overflow: hidden;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.shortcode-columns {
|
16
|
+
@include xy-grid;
|
17
|
+
position: absolute;
|
18
|
+
top: 0;
|
19
|
+
left: 0;
|
20
|
+
width: 100%;
|
21
|
+
height: 100%;
|
22
|
+
overflow-y: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
.shortcode-menu {
|
26
|
+
@include xy-cell(shrink, false);
|
27
|
+
background: $shortcode-reveal-alt-background;
|
28
|
+
min-height: 100%;
|
29
|
+
min-width: 12rem;
|
30
|
+
border-color: smart-scale($shortcode-reveal-alt-background, 5%);
|
31
|
+
border-style: solid;
|
32
|
+
border-width: 0 1px 0 0;
|
33
|
+
|
34
|
+
.menu {
|
35
|
+
|
36
|
+
li:not(:last-child) {
|
37
|
+
border-bottom: 1px solid smart-scale($shortcode-reveal-alt-background, 5%);
|
38
|
+
}
|
39
|
+
|
40
|
+
a {
|
41
|
+
color: $shortcode-reveal-alt-color;
|
42
|
+
padding: $global-padding;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.shortcode-form {
|
48
|
+
@include xy-cell(auto, false);
|
49
|
+
padding: $global-padding;
|
50
|
+
min-height: 100%;
|
51
|
+
}
|
52
|
+
|
53
|
+
.shortcode-preview {
|
54
|
+
@include xy-cell(auto, false);
|
55
|
+
background: $shortcode-reveal-alt-background;
|
56
|
+
padding: $global-padding;
|
57
|
+
min-height: 100%;
|
58
|
+
border-color: smart-scale($shortcode-reveal-alt-background, 5%);
|
59
|
+
border-style: solid;
|
60
|
+
border-width: 0 0 0 1px;
|
61
|
+
|
62
|
+
iframe {
|
63
|
+
height: 100%;
|
64
|
+
width: 100%;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
// Shortcode Reveal Component
|
71
|
+
|
72
|
+
@mixin bedrock-shortcode-reveal {
|
73
|
+
@include shortcode-reveal;
|
74
|
+
}
|
data/lib/bedrock_sass/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bedrock_sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -426,6 +426,7 @@ files:
|
|
426
426
|
- assets/bedrock/scss/components/reveal-panel.scss
|
427
427
|
- assets/bedrock/scss/components/select-box.scss
|
428
428
|
- assets/bedrock/scss/components/seo-analysis.scss
|
429
|
+
- assets/bedrock/scss/components/shortcode-reveal.scss
|
429
430
|
- assets/bedrock/scss/components/tiny-mce-editor.scss
|
430
431
|
- lib/bedrock_sass.rb
|
431
432
|
- lib/bedrock_sass/engine.rb
|
@@ -451,7 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
451
452
|
version: '0'
|
452
453
|
requirements: []
|
453
454
|
rubyforge_project:
|
454
|
-
rubygems_version: 2.6.
|
455
|
+
rubygems_version: 2.6.14
|
455
456
|
signing_key:
|
456
457
|
specification_version: 4
|
457
458
|
summary: Bedrock Admin HTML framework
|