nfg_ui 0.12.3 → 0.12.4

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: b45c3d32a180df2da86ae37f687850785b8a5c22833c4b70b0e0371f48e1b3cc
4
- data.tar.gz: ab34a149c78bf3b596ddc5ea990ab3bd27372fd340166908b47aefe5df519d85
3
+ metadata.gz: 40569cc7dc02fb3dc270f37b4b90e4b2eb094630a00538be57354e09bedb9258
4
+ data.tar.gz: 5be6e2cb820eac1a40da4df26e1ec9518aab7580073664e9ee6daaf07145aa41
5
5
  SHA512:
6
- metadata.gz: 44f3894e5054710f58a2198ca37c0a5ffbdb6e1a96c6c90d7d71363afbbd70ebee58b6d855b55ef0fcf90c03c5af04df8f2ecd5fe2dd401cf6223b168183d25f
7
- data.tar.gz: b3dc49d58c96fe8ee3020d561c27d93950513c862b15174f92b1a45ec197af8d803691bf48eab1b948e06aec10ebe62b7247874feefbddbe9a9b3b11ade5cc8f
6
+ metadata.gz: 2645cc8d2743636e1fc02511a21a5df83d067d0e42131562c4779c15580fe1b05acb66569901a75106f84be6ba0e61d52009f85a92ddfeef6dc7c725088353b9
7
+ data.tar.gz: c084418fa8b0fede0aaa8015b2f211bae1952837b14e3e3872e41a967099568d72b8f3f0b9c683873aeba689097a29fc14c7fedda2ce31a66b2ebbdfc83df180
@@ -8,6 +8,7 @@
8
8
 
9
9
  // Plugins
10
10
  @import 'nfg_ui/network_for_good/core/plugins/intercom';
11
+ @import 'nfg_ui/network_for_good/core/plugins/multi';
11
12
  @import 'nfg_ui/network_for_good/core/plugins/turbolinks';
12
13
  @import 'nfg_ui/network_for_good/core/plugins/twitter_typeahead';
13
14
 
@@ -0,0 +1,64 @@
1
+ //** Multi plugin used in export contacts/donations modal in DM
2
+
3
+ .multi-wrapper {
4
+ border: $border-width solid $border-color;
5
+ border-radius: $border-radius;
6
+ width: 100%;
7
+ .search-input {
8
+ border: 0;
9
+ border-bottom: $border-width solid $border-color;
10
+ border-radius: 0;
11
+ display: block;
12
+ font-size: $font-size-base;
13
+ margin: 0;
14
+ outline: 0;
15
+ padding: $input-btn-padding-y $input-btn-padding-x;
16
+ width: 100%;
17
+ box-sizing: border-box;
18
+ }
19
+ .item {
20
+ cursor: pointer;
21
+ display: block;
22
+ position: relative;
23
+ padding: ($spacer * .25);
24
+ border-radius: $border-radius;
25
+ &:hover { background: $gray-200; }
26
+ }
27
+ .non-selected-wrapper, .selected-wrapper {
28
+ box-sizing: border-box;
29
+ display: inline-block;
30
+ height: ($spacer * 8);
31
+ overflow-y: scroll;
32
+ padding: ($spacer * .5);
33
+ vertical-align: top;
34
+ width: 50%;
35
+ }
36
+ .non-selected-wrapper {
37
+ background: $body-bg;
38
+ border-right: $border-width solid $border-color;
39
+ .item.selected {
40
+ padding-right: $spacer;
41
+ color: inherit;
42
+ background: $gray-200;
43
+ opacity: 0.5;
44
+ &:hover {
45
+ background: $gray-200;
46
+ cursor: inherit;
47
+ }
48
+ &:after {
49
+ position: absolute;
50
+ top: ($spacer * .25);
51
+ right: 0;
52
+ width: $spacer;
53
+ font-family: "FontAwesome";
54
+ font-size: $font-size-base;
55
+ line-height: 1.5;
56
+ color: inherit;
57
+ text-align: center;
58
+ content: '\f00c';
59
+ z-index: 5;
60
+ }
61
+ }
62
+ }
63
+ .selected-wrapper { background: $white; }
64
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '0.12.3'
4
+ VERSION = '0.12.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfg_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Roehm
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-07-07 00:00:00.000000000 Z
12
+ date: 2021-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap
@@ -530,6 +530,7 @@ files:
530
530
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datepicker.scss
531
531
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datetimepicker.scss
532
532
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_intercom.scss
533
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_multi.scss
533
534
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_select2.scss
534
535
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_sticky_div.scss
535
536
  - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_turbolinks.scss