beyond_canvas 0.4.0.pre → 0.5.0.pre

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
  SHA256:
3
- metadata.gz: 24b87e149d3f5f2a2b06a55444ea9e426719c10cf2c86d34b9b22789128f8448
4
- data.tar.gz: 0a7282ce9e986dce507ef877dee9122a51909eccf22c5798d81d2ebfbb1cc834
3
+ metadata.gz: d23d0cda6d480b38add2bd833b05bb80b51cb2e294275d5029ddb6e40d1ed426
4
+ data.tar.gz: 31934f9c621adf023f3d376ef3fa632e070eb7c7232a9ec25113d2b20749d87c
5
5
  SHA512:
6
- metadata.gz: dbc241cfec02d3f28cecb6e470f8a7c5eb3b47e504a7b5b0ac7f800fd9951fb826bef066f649ca4bd85dcd352410ad39dfac5e35f3719d15e7fa6c33deb9760f
7
- data.tar.gz: 7bd9c72fdbf0646652a72242cb61ef43e3c3374fdedcde410356641c1e278d916938fa9e68fac0d74b5d6d4128fdbe8256da8e23b1be3357953cae1077c4c043
6
+ metadata.gz: 6b659696520c30d1f035a1136a4115fd9d7f38c473d0e187c0878da216136a424635c13e6cd68caed4ea7b79939df45928fac125b6bb94a93422c24f3a60ee54
7
+ data.tar.gz: 3af33b03026eedad093d0ce8736508e2f394915057f572c417d8502a4c3bf9fec2c6acca9eb51836ece94a429a63e48e42cb780f161daac95ef0d31b251db751
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.5.0.pre
2
+
3
+ * features
4
+ * Add select box styles
5
+
1
6
  ### v0.4.0.pre
2
7
 
3
8
  * bug-fixes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_canvas (0.4.0.pre)
4
+ beyond_canvas (0.5.0.pre)
5
5
  bourbon (~> 5.1)
6
6
  inline_svg (~> 1.5)
7
7
  neat (~> 3.0)
@@ -10,25 +10,25 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (6.0.0)
14
- actionview (= 6.0.0)
15
- activesupport (= 6.0.0)
13
+ actionpack (6.0.1)
14
+ actionview (= 6.0.1)
15
+ activesupport (= 6.0.1)
16
16
  rack (~> 2.0)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
19
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
20
- actionview (6.0.0)
21
- activesupport (= 6.0.0)
20
+ actionview (6.0.1)
21
+ activesupport (= 6.0.1)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
26
- activesupport (6.0.0)
26
+ activesupport (6.0.1)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
30
30
  tzinfo (~> 1.1)
31
- zeitwerk (~> 2.1, >= 2.1.8)
31
+ zeitwerk (~> 2.2)
32
32
  bourbon (5.1.0)
33
33
  sass (~> 3.4)
34
34
  thor (~> 0.19)
@@ -36,13 +36,13 @@ GEM
36
36
  concurrent-ruby (1.1.5)
37
37
  crass (1.0.5)
38
38
  erubi (1.9.0)
39
- ffi (1.11.1)
39
+ ffi (1.11.3)
40
40
  i18n (1.7.0)
41
41
  concurrent-ruby (~> 1.0)
42
- inline_svg (1.5.2)
42
+ inline_svg (1.6.0)
43
43
  activesupport (>= 3.0)
44
44
  nokogiri (>= 1.6)
45
- loofah (2.3.1)
45
+ loofah (2.4.0)
46
46
  crass (~> 1.0.2)
47
47
  nokogiri (>= 1.5.9)
48
48
  method_source (0.9.2)
@@ -51,7 +51,7 @@ GEM
51
51
  neat (3.0.1)
52
52
  sass (~> 3.4)
53
53
  thor (~> 0.19)
54
- nokogiri (1.10.4)
54
+ nokogiri (1.10.6)
55
55
  mini_portile2 (~> 2.4.0)
56
56
  rack (2.0.7)
57
57
  rack-test (1.1.0)
@@ -61,13 +61,13 @@ GEM
61
61
  nokogiri (>= 1.6)
62
62
  rails-html-sanitizer (1.3.0)
63
63
  loofah (~> 2.3)
64
- railties (6.0.0)
65
- actionpack (= 6.0.0)
66
- activesupport (= 6.0.0)
64
+ railties (6.0.1)
65
+ actionpack (= 6.0.1)
66
+ activesupport (= 6.0.1)
67
67
  method_source
68
68
  rake (>= 0.8.7)
69
69
  thor (>= 0.20.3, < 2.0)
70
- rake (13.0.0)
70
+ rake (13.0.1)
71
71
  rb-fsevent (0.10.3)
72
72
  rb-inotify (0.10.0)
73
73
  ffi (~> 1.0)
@@ -89,7 +89,7 @@ GEM
89
89
  tilt (2.0.10)
90
90
  tzinfo (1.2.5)
91
91
  thread_safe (~> 0.1)
92
- zeitwerk (2.2.0)
92
+ zeitwerk (2.2.2)
93
93
 
94
94
  PLATFORMS
95
95
  ruby
@@ -1,16 +1,27 @@
1
- #{$all-text-inputs}
1
+ #{$all-text-inputs},
2
+ select
2
3
  background-color: $white
3
4
  border: 1px solid $input-border-color
4
5
  border-radius: 3px
5
6
  box-sizing: border-box
6
- line-height: 1
7
7
  outline: none
8
8
  padding: 6px 8px
9
9
  width: 100%
10
10
 
11
- #{$all-text-inputs-focus}
11
+ #{$all-text-inputs}
12
+ line-height: 1
13
+
14
+ #{$all-text-inputs-focus},
15
+ select:focus
12
16
  border-color: $input-border-color-focus
13
17
 
18
+ select
19
+ +prefixer(appearance, none, ('webkit', 'moz'))
20
+ background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, $input-border-color, $input-border-color)
21
+ background-position: calc(100% - 19px) calc(1em + -1px), calc(100% - 15px) calc(1em + -1px), calc(100% - 2.5em) 0.5em
22
+ background-size: 4px 4px, 4px 4px, 0 0
23
+ background-repeat: no-repeat
24
+
14
25
  .input
15
26
 
16
27
  &__label
@@ -12,8 +12,13 @@ body, #{$all-text-inputs}, #{$all-buttons}, select
12
12
 
13
13
  body, #{$all-text-inputs}, select
14
14
  color: $main-color
15
+
16
+ body, #{$all-text-inputs}
15
17
  line-height: $main-line-height
16
18
 
19
+ select
20
+ line-height: initial
21
+
17
22
  h1, h2, h3, h4, h5, h6
18
23
  color: $headline-color
19
24
  font-weight: bold
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module BeyondCanvasHelper
2
4
  def link_to_with_icon(name = nil, options = nil, fa_icon_class = nil, html_options = nil)
3
5
  options ||= {}
@@ -15,13 +17,13 @@ module BeyondCanvasHelper
15
17
 
16
18
  def get_flash_icon(key)
17
19
  case key
18
- when 'success'
20
+ when "success"
19
21
  "fas fa-check"
20
- when 'notice'
22
+ when "notice"
21
23
  "fas fa-info"
22
- when 'warning'
24
+ when "warning"
23
25
  "fas fa-exclamation"
24
- when 'error'
26
+ when "error"
25
27
  "far fa-times-circle"
26
28
  else
27
29
  "fas fa-info"
@@ -1,3 +1,3 @@
1
1
  module BeyondCanvas
2
- VERSION = "0.4.0.pre".freeze
2
+ VERSION = "0.5.0.pre".freeze
3
3
  end
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.4.0.pre
4
+ version: 0.5.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bourbon