nfg_ui 0.11.7 → 0.11.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25be62c4490a2e758f4a9163d6955c7a7a42afe7023cba02cfbb2288a5b11a30
4
- data.tar.gz: 0b5da4a8e9d44c8fa8b1c0df33d26aac74d77d204919140ad541fba75e8e8b52
3
+ metadata.gz: c56c2858567b7c68a6b4eb28d7c37e91e0e266733bbdc04c56244894b4f7386f
4
+ data.tar.gz: 3969770fbb29fba8da5a50325f7ee5c563a3e659e427c9c96785f08b732c986e
5
5
  SHA512:
6
- metadata.gz: ba0eb2b78b235995105c2d54601fb3dd51f2ef8f1d5d15b6af0d245dc209597ef25fa3a088b8ca44d9439a6083faf3e7371f7e7ebfffad1c612706b08a7afccb
7
- data.tar.gz: 3614b0132a97c5f9989898a85aa12ec5a98f185dfa3ae1d65738be2a961093d0b406d9aac4cfbfc83cf447f7ba2b973c2869e4eb6ce2d188d260d317bc812de9
6
+ metadata.gz: 05e1339fde85266bec3c65e0b008abce02553f895cfcda836c25d8eb2e1b1ae725d3c01b833302da7d929d1e4852e1a738754919f76570dcf4fd3ca0f376f764
7
+ data.tar.gz: c8e586bd2b28d7ea9dfa24a5a036c76afa465cd6bad269962b9c6c4b74ce5998479e053d68edb165e1c67386f97dc9fb4c98003e5dbdfb22b469a809083def0c
@@ -1,5 +1,6 @@
1
1
  // Our custom styles
2
2
  @import 'custom/activity_feed';
3
+ @import 'custom/bee';
3
4
  @import 'custom/builder_layout';
4
5
  @import 'custom/campaign_card';
5
6
  @import 'custom/campaign_preview';
@@ -13,6 +14,7 @@
13
14
  @import 'custom/interaction';
14
15
  @import 'custom/overlay_blocker';
15
16
  @import 'custom/page_header';
17
+ @import 'custom/readmore';
16
18
  @import 'custom/share_dropdown';
17
19
  @import 'custom/sortable';
18
20
  @import 'custom/status_indicator';
@@ -0,0 +1,15 @@
1
+ #bee_plugin_container {
2
+ height: 600px; // fallback value if calc() isn't supported
3
+ border-top: 1px solid $border-color;
4
+ border-bottom: 1px solid $border-color;
5
+ }
6
+
7
+ // Height if just the builder-header is present
8
+ .builder-header + .builder-container {
9
+ #bee_plugin_container { height: calc(100vh - 72px); }
10
+ }
11
+
12
+ // Height if both builder-header and builder-nav are present (typical in onboarder)
13
+ .builder-header + .builder-nav + .builder-container {
14
+ #bee_plugin_container { height: calc(100vh - 180px); }
15
+ }
@@ -0,0 +1,24 @@
1
+ // Powers the readmore.js plugin
2
+ .expandable,
3
+ .readmore-js-section {
4
+ position: relative;
5
+ z-index: 10;
6
+ transition: $transition-collapse;
7
+ &.readmore-js-collapsed { overflow: hidden; }
8
+ &.readmore-js-expanded { overflow: visible; }
9
+ }
10
+ .readmore-js-collapsed:after {
11
+ position: absolute;
12
+ bottom: 0;
13
+ left: 0;
14
+ width: 100%;
15
+ height: ($spacer * 1.5);
16
+ @include gradient-y(transparentize($white, 1), transparentize($white, 0));
17
+ content: '';
18
+ z-index: 20;
19
+ }
20
+ .readmore-js-toggle {
21
+ padding-top: ($spacer * .5);
22
+ padding-bottom: ($spacer * .5);
23
+ z-index: 30;
24
+ }
@@ -17,4 +17,4 @@
17
17
  .btn-link { font-weight: $btn-font-weight; }
18
18
 
19
19
  // overrides color contrast settings
20
- .btn-warning { color: $white !important; }
20
+ .btn-warning { color: $white !important; }
@@ -13,6 +13,7 @@
13
13
  }
14
14
  + .custom-control:not(.custom-control-inline) { margin-top: ($spacer * .25); }
15
15
  }
16
+ .custom-checkbox, .custom-radio { min-width: $custom-control-gutter + $custom-control-indicator-size; } // sets minimum width to have space even if custom-control-label isn't there
16
17
 
17
18
  // Custom control indicators
18
19
  //
@@ -8,7 +8,7 @@ $slat-actions-lg-width: 108px;
8
8
  flex-flow: column nowrap;
9
9
 
10
10
  // Nowrap version -- used when the goal is to have all slat-item columns on the same line in smaller screens
11
- :not(.slats-nowrap) { // noting the :not() psuedo-class meaning all slats that don't have this class get these styles
11
+ &:not(.slats-nowrap) { // noting the :not() psuedo-class meaning all slats that don't have this class get these styles
12
12
  .slat-body {
13
13
  @include media-breakpoint-down(sm) { flex-direction: column; }
14
14
  }
@@ -36,6 +36,9 @@ $slat-actions-lg-width: 108px;
36
36
  padding-top: ($spacer * 1.5);
37
37
  padding-bottom: ($spacer * 1.5);
38
38
  }
39
+
40
+ // Status
41
+ &.pending { background-color: #fff5e0; }
39
42
  }
40
43
 
41
44
 
@@ -10,7 +10,6 @@ module NfgUi
10
10
  heading
11
11
  subheading
12
12
  title
13
- muted
14
13
  truncate].freeze
15
14
 
16
15
  def body_trait
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '0.11.7'
4
+ VERSION = '0.11.8'
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.11.7
4
+ version: 0.11.8
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: 2020-11-23 00:00:00.000000000 Z
12
+ date: 2020-12-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap
@@ -421,6 +421,7 @@ files:
421
421
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_navbar.scss
422
422
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_tables.scss
423
423
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_activity_feed.scss
424
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_bee.scss
424
425
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_builder_layout.scss
425
426
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_campaign_card.scss
426
427
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_campaign_preview.scss
@@ -434,6 +435,7 @@ files:
434
435
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_interaction.scss
435
436
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_overlay_blocker.scss
436
437
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_page_header.scss
438
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_readmore.scss
437
439
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_share_dropdown.scss
438
440
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_sortable.scss
439
441
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss