beyond_canvas 0.16.0.pre → 0.16.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/app/assets/stylesheets/beyond_canvas/settings/_breakpoints.scss +6 -6
- data/app/assets/stylesheets/beyond_canvas/settings/_variables.scss +13 -13
- data/lib/beyond_canvas.rb +0 -4
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.scss +153 -0
- metadata +7 -7
- data/lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.sass +0 -123
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ae7a444d16c34398e75a22c36d1e55a7719992cec9189ddfdaa69ed7a0fbd9b
|
4
|
+
data.tar.gz: e3ec8d991899a6726577cf97f15986c047600d63e71311f94a2e2c28f537d26a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 381c257b4203a454d23161e21df2a5ac26aa69cc056b3ef082a9ce88aa761349eae5b0660c0fdbc5290e4844f388aae5744519bcb73ac2ef4b051182337da676
|
7
|
+
data.tar.gz: 97b2bc12fdbc661ce8e2abcdf2984ac85d8f6109dff9c72ee1309e5a9ba565c68e5115ad05d5d0f3a5ce25bd607ef1e3f6f66ed5c5205b8f1034736c4e841294
|
data/Rakefile
CHANGED
@@ -35,13 +35,13 @@ require 'colorize'
|
|
35
35
|
namespace :release do
|
36
36
|
desc 'Update beyond_canvas_custom_styles.sass generator template to latest version'
|
37
37
|
task :custom_styles do |_task, _args|
|
38
|
-
ORIG = 'app/assets/stylesheets/beyond_canvas/settings/_variables.
|
39
|
-
DEST = 'lib/generators/templates/beyond_canvas_custom_styles.
|
38
|
+
ORIG = 'app/assets/stylesheets/beyond_canvas/settings/_variables.scss'
|
39
|
+
DEST = 'lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.scss'
|
40
40
|
|
41
41
|
dest_file = File.open(DEST, 'w')
|
42
42
|
|
43
43
|
File.open(ORIG, 'r').each do |line|
|
44
|
-
next if line.include?('!
|
44
|
+
next if line.start_with?('$') && !line.include?('!default')
|
45
45
|
|
46
46
|
line.start_with?('$') ? dest_file.print('// ' + line.gsub(' !default', '')) : dest_file.print(line)
|
47
47
|
end
|
@@ -1,6 +1,6 @@
|
|
1
|
-
$mobile-s: 321px
|
2
|
-
$mobile-m: 376px
|
3
|
-
$mobile-l: 426px
|
4
|
-
$tablet: 769px
|
5
|
-
$laptop: 1025px
|
6
|
-
$laptop-l: 1441px
|
1
|
+
$mobile-s: 321px;
|
2
|
+
$mobile-m: 376px;
|
3
|
+
$mobile-l: 426px;
|
4
|
+
$tablet: 769px;
|
5
|
+
$laptop: 1025px;
|
6
|
+
$laptop-l: 1441px;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
// Colors
|
3
3
|
// ************************************************************
|
4
4
|
|
5
|
-
$white: rgb(255, 255, 255)
|
6
|
-
$black: rgb(0, 0, 0)
|
5
|
+
$white: rgb(255, 255, 255);
|
6
|
+
$black: rgb(0, 0, 0);
|
7
7
|
$palette-primary: rgb(78, 183, 168) !default;
|
8
8
|
$palette-secondary: rgb(28, 53, 69) !default;
|
9
9
|
$palette-cancel: rgb(153, 153, 153) !default;
|
@@ -14,23 +14,23 @@ $palette-danger: rgb(218, 60, 60) !default;
|
|
14
14
|
// ************************************************************
|
15
15
|
|
16
16
|
$main-background: rgb(233, 232, 220) !default;
|
17
|
-
$main-transition: 0.125s ease-in
|
17
|
+
$main-transition: 0.125s ease-in;
|
18
18
|
|
19
19
|
// ************************************************************
|
20
20
|
// Typography
|
21
21
|
// ************************************************************
|
22
22
|
|
23
|
-
$main-font-family: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif'
|
23
|
+
$main-font-family: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif';
|
24
24
|
$main-color: rgb(62, 62, 62) !default;
|
25
|
-
$main-line-height: 1.5
|
26
|
-
$main-font-size: 14px
|
25
|
+
$main-line-height: 1.5;
|
26
|
+
$main-font-size: 14px;
|
27
27
|
|
28
28
|
// ************************************************************
|
29
29
|
// Headlines
|
30
30
|
// ************************************************************
|
31
31
|
|
32
32
|
$headline-color: rgb(122, 118, 76) !default;
|
33
|
-
$headline-line-height: 1
|
33
|
+
$headline-line-height: 1;
|
34
34
|
|
35
35
|
// ************************************************************
|
36
36
|
// Links
|
@@ -55,8 +55,8 @@ $button-danger-color: $white !default;
|
|
55
55
|
|
56
56
|
$button-border-radius: 3px !default;
|
57
57
|
$button-box-shadow: true !default;
|
58
|
-
$button-font-weight: 700
|
59
|
-
$button-padding: 6px 12px 7px
|
58
|
+
$button-font-weight: 700;
|
59
|
+
$button-padding: 6px 12px 7px;
|
60
60
|
|
61
61
|
// ************************************************************
|
62
62
|
// Cards
|
@@ -64,17 +64,17 @@ $button-padding: 6px 12px 7px !global;
|
|
64
64
|
|
65
65
|
$card-border-radius: 3px !default;
|
66
66
|
$card-box-shadow: 0 2px 7px rgba($black, 0.2) !default;
|
67
|
-
$card-padding: 40px
|
68
|
-
$card-margin: 30px
|
67
|
+
$card-padding: 40px;
|
68
|
+
$card-margin: 30px;
|
69
69
|
$card-separator-color: rgb(222, 222, 222) !default;
|
70
|
-
$card-separator-spacing: 50px
|
70
|
+
$card-separator-spacing: 50px;
|
71
71
|
$card-title-color: rgb(247, 133, 96) !default;
|
72
72
|
|
73
73
|
// ************************************************************
|
74
74
|
// Containers
|
75
75
|
// ************************************************************
|
76
76
|
|
77
|
-
$container-spacing: 30px
|
77
|
+
$container-spacing: 30px;
|
78
78
|
|
79
79
|
// ************************************************************
|
80
80
|
// Labels
|
data/lib/beyond_canvas.rb
CHANGED
@@ -33,10 +33,6 @@ module BeyondCanvas # :nodoc:
|
|
33
33
|
mattr_accessor :auth_model
|
34
34
|
@@auth_model = 'shop' # rubocop:disable Style/ClassVars
|
35
35
|
|
36
|
-
def self.use_rails_app_controller=(value)
|
37
|
-
@use_rails_app_controller = value
|
38
|
-
end
|
39
|
-
|
40
36
|
class << self
|
41
37
|
def configuration
|
42
38
|
@configuration ||= ::BeyondCanvas::Configuration.new
|
@@ -0,0 +1,153 @@
|
|
1
|
+
// ************************************************************
|
2
|
+
// Colors
|
3
|
+
// ************************************************************
|
4
|
+
|
5
|
+
// $palette-primary: rgb(78, 183, 168);
|
6
|
+
// $palette-secondary: rgb(28, 53, 69);
|
7
|
+
// $palette-cancel: rgb(153, 153, 153);
|
8
|
+
// $palette-danger: rgb(218, 60, 60);
|
9
|
+
|
10
|
+
// ************************************************************
|
11
|
+
// General styles
|
12
|
+
// ************************************************************
|
13
|
+
|
14
|
+
// $main-background: rgb(233, 232, 220);
|
15
|
+
|
16
|
+
// ************************************************************
|
17
|
+
// Typography
|
18
|
+
// ************************************************************
|
19
|
+
|
20
|
+
// $main-color: rgb(62, 62, 62);
|
21
|
+
|
22
|
+
// ************************************************************
|
23
|
+
// Headlines
|
24
|
+
// ************************************************************
|
25
|
+
|
26
|
+
// $headline-color: rgb(122, 118, 76);
|
27
|
+
|
28
|
+
// ************************************************************
|
29
|
+
// Links
|
30
|
+
// ************************************************************
|
31
|
+
|
32
|
+
// $link-primary-color: darken($palette-primary, 10%);
|
33
|
+
// $link-secondary-color: darken($palette-cancel, 10%);
|
34
|
+
// $link-danger-color: darken($palette-danger, 10%);
|
35
|
+
|
36
|
+
// ************************************************************
|
37
|
+
// Buttons
|
38
|
+
// ************************************************************
|
39
|
+
|
40
|
+
// $button-primary-background: $palette-primary;
|
41
|
+
// $button-primary-color: $white;
|
42
|
+
|
43
|
+
// $button-secondary-background: $palette-cancel;
|
44
|
+
// $button-secondary-color: $white;
|
45
|
+
|
46
|
+
// $button-danger-background: $palette-danger;
|
47
|
+
// $button-danger-color: $white;
|
48
|
+
|
49
|
+
// $button-border-radius: 3px;
|
50
|
+
// $button-box-shadow: true;
|
51
|
+
|
52
|
+
// ************************************************************
|
53
|
+
// Cards
|
54
|
+
// ************************************************************
|
55
|
+
|
56
|
+
// $card-border-radius: 3px;
|
57
|
+
// $card-box-shadow: 0 2px 7px rgba($black, 0.2);
|
58
|
+
// $card-separator-color: rgb(222, 222, 222);
|
59
|
+
// $card-title-color: rgb(247, 133, 96);
|
60
|
+
|
61
|
+
// ************************************************************
|
62
|
+
// Containers
|
63
|
+
// ************************************************************
|
64
|
+
|
65
|
+
|
66
|
+
// ************************************************************
|
67
|
+
// Labels
|
68
|
+
// ************************************************************
|
69
|
+
|
70
|
+
// $label-color: rgb(128, 128, 128);
|
71
|
+
|
72
|
+
// ************************************************************
|
73
|
+
// Inputs
|
74
|
+
// ************************************************************
|
75
|
+
|
76
|
+
// $input-border-color: rgb(217, 216, 195);
|
77
|
+
// $input-border-color-focus: $palette-primary;
|
78
|
+
// $input-errors-color: $palette-danger;
|
79
|
+
|
80
|
+
// ************************************************************
|
81
|
+
// Checkboxes
|
82
|
+
// ************************************************************
|
83
|
+
|
84
|
+
// $checkbox-checked-color: #97C344;
|
85
|
+
// $checkbox-checked-background: #ffffff;
|
86
|
+
// $checkbox-unchecked-color: #C2BF9D;
|
87
|
+
// $checkbox-unchecked-background: #ffffff;
|
88
|
+
|
89
|
+
// ************************************************************
|
90
|
+
// Radiobuttons
|
91
|
+
// ************************************************************
|
92
|
+
|
93
|
+
// $radio-checked-color: #97C344;
|
94
|
+
// $radio-checked-background: #ffffff;
|
95
|
+
// $radio-unchecked-color: #C2BF9D;
|
96
|
+
// $radio-unchecked-background: #ffffff;
|
97
|
+
|
98
|
+
// ************************************************************
|
99
|
+
// Hints
|
100
|
+
// ************************************************************
|
101
|
+
|
102
|
+
// $hint-color: rgb(158, 158, 158);
|
103
|
+
|
104
|
+
// ************************************************************
|
105
|
+
// Logo
|
106
|
+
// ************************************************************
|
107
|
+
|
108
|
+
// $logo-margin-top-public: 0;
|
109
|
+
// $logo-margin-bottom-public: 34px;
|
110
|
+
|
111
|
+
// ************************************************************
|
112
|
+
// Flash
|
113
|
+
// ************************************************************
|
114
|
+
|
115
|
+
// $flash-success: rgb(123, 170, 81);
|
116
|
+
// $flash-notice: rgb(123, 170, 81);
|
117
|
+
// $flash-info: rgb(153, 153, 153);
|
118
|
+
// $flash-warning: rgb(243, 181, 71);
|
119
|
+
// $flash-error: rgb(218, 60, 60);
|
120
|
+
// $flash-border-radius: 4px;
|
121
|
+
// $flash-box-shadow: 0 1px 2px 0 rgba($black, 0.2);
|
122
|
+
// $flash-color: rgb(128, 128, 128);
|
123
|
+
|
124
|
+
// ************************************************************
|
125
|
+
// Tables
|
126
|
+
// ************************************************************
|
127
|
+
|
128
|
+
// $table-header-background: rgb(243, 242, 236);
|
129
|
+
// $table-border-color: rgb(233, 232, 220);
|
130
|
+
|
131
|
+
// ************************************************************
|
132
|
+
// Comments
|
133
|
+
// ************************************************************
|
134
|
+
|
135
|
+
// $comment-background: rgb(246, 246, 243);
|
136
|
+
// $comment-color: rgb(170, 169, 156);
|
137
|
+
|
138
|
+
// ************************************************************
|
139
|
+
// Notices
|
140
|
+
// ************************************************************
|
141
|
+
|
142
|
+
// $notice-success-background: rgb(123, 170, 81);
|
143
|
+
// $notice-notice-background: rgb(123, 170, 81);
|
144
|
+
// $notice-info-background: rgb(153, 153, 153);
|
145
|
+
// $notice-warning-background: rgb(243, 181, 71);
|
146
|
+
// $notice-error-background: rgb(218, 60, 60);
|
147
|
+
// $notice-border-radius: 4px;
|
148
|
+
// $notice-color: rgb(153, 153, 153);
|
149
|
+
|
150
|
+
// ************************************************************
|
151
|
+
// Markdown
|
152
|
+
// ************************************************************
|
153
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attr_encrypted
|
@@ -286,7 +286,7 @@ files:
|
|
286
286
|
- lib/generators/beyond_canvas/controller/controller_generator.rb
|
287
287
|
- lib/generators/beyond_canvas/controller/templates/controller.erb
|
288
288
|
- lib/generators/beyond_canvas/custom_styles/custom_styles_generator.rb
|
289
|
-
- lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.
|
289
|
+
- lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.scss
|
290
290
|
- lib/generators/beyond_canvas/install/install_generator.rb
|
291
291
|
- lib/generators/beyond_canvas/install/templates/beyond_canvas.rb.erb
|
292
292
|
- lib/generators/beyond_canvas/views/views_generator.rb
|
@@ -298,7 +298,7 @@ homepage: https://github.com/ePages-de/beyond_canvas
|
|
298
298
|
licenses:
|
299
299
|
- MIT
|
300
300
|
metadata: {}
|
301
|
-
post_install_message:
|
301
|
+
post_install_message:
|
302
302
|
rdoc_options: []
|
303
303
|
require_paths:
|
304
304
|
- lib
|
@@ -313,8 +313,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: 1.3.1
|
315
315
|
requirements: []
|
316
|
-
rubygems_version: 3.
|
317
|
-
signing_key:
|
316
|
+
rubygems_version: 3.1.2
|
317
|
+
signing_key:
|
318
318
|
specification_version: 4
|
319
319
|
summary: Open-source framework that provides CSS styles
|
320
320
|
test_files: []
|
@@ -1,123 +0,0 @@
|
|
1
|
-
// ************************************************************
|
2
|
-
// Colors
|
3
|
-
// ************************************************************
|
4
|
-
|
5
|
-
// $palette-primary: rgb(78, 183, 168)
|
6
|
-
// $palette-secondary: rgb(28, 53, 69)
|
7
|
-
// $palette-cancel: rgb(153, 153, 153)
|
8
|
-
// $palette-danger: rgb(218, 60, 60)
|
9
|
-
|
10
|
-
// ************************************************************
|
11
|
-
// General styles
|
12
|
-
// ************************************************************
|
13
|
-
|
14
|
-
// $main-background: rgb(233, 232, 220)
|
15
|
-
|
16
|
-
// ************************************************************
|
17
|
-
// Typography
|
18
|
-
// ************************************************************
|
19
|
-
|
20
|
-
// $main-color: rgb(62, 62, 62)
|
21
|
-
|
22
|
-
// ************************************************************
|
23
|
-
// Headlines
|
24
|
-
// ************************************************************
|
25
|
-
|
26
|
-
// $headline-color: rgb(122, 118, 76)
|
27
|
-
|
28
|
-
// ************************************************************
|
29
|
-
// Links
|
30
|
-
// ************************************************************
|
31
|
-
|
32
|
-
// $link-primary-color: darken($palette-primary, 10%)
|
33
|
-
// $link-secondary-color: darken($palette-cancel, 10%)
|
34
|
-
// $link-danger-color: darken($palette-danger, 10%)
|
35
|
-
|
36
|
-
// ************************************************************
|
37
|
-
// Buttons
|
38
|
-
// ************************************************************
|
39
|
-
|
40
|
-
// $button-primary-background: $palette-primary
|
41
|
-
// $button-primary-color: $white
|
42
|
-
|
43
|
-
// $button-secondary-background: $palette-cancel
|
44
|
-
// $button-secondary-color: $white
|
45
|
-
|
46
|
-
// $button-danger-background: $palette-danger
|
47
|
-
// $button-danger-color: $white
|
48
|
-
|
49
|
-
// $button-border-radius: 3px
|
50
|
-
// $button-box-shadow: true
|
51
|
-
|
52
|
-
// ************************************************************
|
53
|
-
// Cards
|
54
|
-
// ************************************************************
|
55
|
-
|
56
|
-
// $card-border-radius: 3px
|
57
|
-
// $card-box-shadow: 0 2px 7px rgba($black, .2)
|
58
|
-
// $card-separator-color: rgb(222, 222, 222)
|
59
|
-
// $card-title-color: rgb(247, 133, 96)
|
60
|
-
|
61
|
-
// ************************************************************
|
62
|
-
// Labels
|
63
|
-
// ************************************************************
|
64
|
-
|
65
|
-
// $label-color: rgb(128, 128, 128)
|
66
|
-
|
67
|
-
// ************************************************************
|
68
|
-
// Inputs
|
69
|
-
// ************************************************************
|
70
|
-
|
71
|
-
// $input-border-color: rgb(217, 216, 195)
|
72
|
-
// $input-border-color-focus: $palette-primary
|
73
|
-
// $input-errors-color: $palette-danger
|
74
|
-
|
75
|
-
// ************************************************************
|
76
|
-
// Hints
|
77
|
-
// ************************************************************
|
78
|
-
|
79
|
-
// $hint-color: rgb(158, 158, 158)
|
80
|
-
|
81
|
-
// ************************************************************
|
82
|
-
// Logo
|
83
|
-
// ************************************************************
|
84
|
-
|
85
|
-
// $logo-margin-top-public: 0
|
86
|
-
// $logo-margin-bottom-public: 34px
|
87
|
-
|
88
|
-
// ************************************************************
|
89
|
-
// Flash
|
90
|
-
// ************************************************************
|
91
|
-
|
92
|
-
// $flash-success: rgb(123, 170, 81)
|
93
|
-
// $flash-info: rgb(90, 129, 171)
|
94
|
-
// $flash-warning: rgb(193, 179, 26)
|
95
|
-
// $flash-error: rgb(162, 66, 60)
|
96
|
-
// $flash-border-radius: 4px
|
97
|
-
// $flash-box-shadow: 0 1px 2px 0 rgba($black, 0.2)
|
98
|
-
// $flash-color: rgb(128, 128, 128)
|
99
|
-
|
100
|
-
// ************************************************************
|
101
|
-
// Tables
|
102
|
-
// ************************************************************
|
103
|
-
|
104
|
-
// $table-header-background: rgb(243, 242, 236)
|
105
|
-
// $table-border-color: rgb(233, 232, 220)
|
106
|
-
|
107
|
-
// ************************************************************
|
108
|
-
// Comments
|
109
|
-
// ************************************************************
|
110
|
-
|
111
|
-
// $comment-background: rgb(246, 246, 243)
|
112
|
-
// $comment-color: rgb(170, 169, 156)
|
113
|
-
|
114
|
-
// ************************************************************
|
115
|
-
// Notices
|
116
|
-
// ************************************************************
|
117
|
-
|
118
|
-
// $notice-success-background: rgb(123, 170, 81)
|
119
|
-
// $notice-info-background: rgb(90, 129, 171)
|
120
|
-
// $notice-warning-background: rgb(193, 179, 26)
|
121
|
-
// $notice-error-background: rgb(162, 66, 60)
|
122
|
-
// $notice-border-radius: 4px
|
123
|
-
// $notice-color: rgb(255, 255, 255)
|