nfg_ui 0.12.12 → 0.12.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/nfg_ui/clouds-gray-lg.png +0 -0
- data/app/assets/images/nfg_ui/clouds-white-lg.png +0 -0
- data/app/assets/images/nfg_ui/engagement_banners/arrows-bg.png +0 -0
- data/app/assets/images/nfg_ui/engagement_banners/flowers-bg.png +0 -0
- data/app/assets/images/nfg_ui/engagement_banners/hearts-bg.gif +0 -0
- data/app/assets/images/nfg_ui/engagement_banners/snow-bg.gif +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_jumbotron.scss +10 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_content_section.scss +12 -12
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_engagement_banners.scss +23 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_free_trial.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/_variables.scss +13 -13
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_redactor.scss +9 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/application.scss +24 -11
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_alignment.scss +16 -23
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_button.scss +1 -55
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_grid.scss +224 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_typography.scss +228 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_backgrounds.scss +8 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_borders.scss +2 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_content_sections.scss +10 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_layout.scss +9 -11
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_spacers.scss +25 -49
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_text_colors.scss +26 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_typography.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/email/settings/_settings.scss +31 -31
- data/lib/nfg_ui/version.rb +1 -1
- metadata +17 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_redacted_text.scss +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4cea3d2799cbb858d6c47ae922ac963674a7739e8d10ca0019f57b739f2ff3
|
4
|
+
data.tar.gz: 6ec0cdedc2db4dc0297e233ea259299e676124d07fcecaa86f06060a83b0c96e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe6ab62c43eb5b7dcbb99d97ae6c89343c243c6b5b9b6014e9ae39eda332808310fbe68a4f3ad2962adcc705b02b9cb96cbc7ee15b7ce84f672b2039cea6ec60
|
7
|
+
data.tar.gz: 06a649cc5652f1de76ac8a3f9303f9e70f86dbc7136499be4b0bf5016724f1d5e75613661f8d4e21441d092398f5ff0943a59363aaa9787b3a23d34a69138b37
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -8,6 +8,7 @@
|
|
8
8
|
@import 'custom/custom_questions_questionnaire';
|
9
9
|
@import 'custom/custom_receipt_language';
|
10
10
|
@import 'custom/email_preview';
|
11
|
+
@import 'custom/engagement_banners';
|
11
12
|
@import 'custom/free_trial';
|
12
13
|
@import 'custom/gallery';
|
13
14
|
@import 'custom/icomoon';
|
@@ -15,7 +16,6 @@
|
|
15
16
|
@import 'custom/mailings';
|
16
17
|
@import 'custom/page_header';
|
17
18
|
@import 'custom/readmore';
|
18
|
-
@import 'custom/redacted_text';
|
19
19
|
@import 'custom/share_dropdown';
|
20
20
|
@import 'custom/sortable';
|
21
21
|
@import 'custom/status_indicator';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Cloud jumbotron
|
2
|
+
.jumbotron-clouds-white, .jumbotron-clouds-gray {
|
3
|
+
padding-bottom: 10%;
|
4
|
+
background-position: 50% 100%;
|
5
|
+
background-repeat: no-repeat;
|
6
|
+
background-size: 100% auto;
|
7
|
+
}
|
8
|
+
|
9
|
+
.jumbotron-clouds-gray { background-image: image-url("nfg_ui/clouds-gray-lg.png"); }
|
10
|
+
.jumbotron-clouds-white { background-image: image-url("nfg_ui/clouds-white-lg.png"); }
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_content_section.scss
CHANGED
@@ -38,10 +38,10 @@
|
|
38
38
|
bottom: 100%;
|
39
39
|
margin-bottom: ($spacer * .5);
|
40
40
|
min-width: 200px;
|
41
|
+
max-width: 100%;
|
41
42
|
width: 430px;
|
42
43
|
text-align: center;
|
43
44
|
z-index: 120;
|
44
|
-
@include media-breakpoint-down(xs) { max-width: 100%; }
|
45
45
|
&[data-for='header_text'] {
|
46
46
|
top: 100%;
|
47
47
|
bottom: auto;
|
@@ -55,24 +55,24 @@
|
|
55
55
|
z-index: 100;
|
56
56
|
a {
|
57
57
|
display: inline-block;
|
58
|
-
padding: $btn-padding-y $btn-padding-x;
|
59
|
-
font-size: $btn-font-size;
|
60
|
-
line-height: $btn-line-height;
|
61
|
-
color: $body-color;
|
58
|
+
padding: $btn-padding-y $btn-padding-x !important;
|
59
|
+
font-size: $btn-font-size !important;
|
60
|
+
line-height: $btn-line-height !important;
|
61
|
+
color: $body-color !important;
|
62
62
|
text-align: center;
|
63
|
-
background-color: $white;
|
63
|
+
background-color: $white !important;
|
64
64
|
border: $border-width solid $border-color;
|
65
65
|
border-bottom: 0;
|
66
|
-
text-decoration: none;
|
66
|
+
text-decoration: none !important;
|
67
67
|
border-radius: $btn-border-radius $btn-border-radius 0 0;
|
68
|
-
|
69
|
-
color: $white;
|
70
|
-
background: $primary;
|
68
|
+
&:hover, &:focus, &:active {
|
69
|
+
color: $white !important;
|
70
|
+
background: $primary !important;
|
71
71
|
}
|
72
72
|
i.fa { margin-right: ($spacer * .25); }
|
73
73
|
&.cs-html-editor-save {
|
74
|
-
color: $white;
|
75
|
-
background-color: $primary;
|
74
|
+
color: $white !important;
|
75
|
+
background-color: $primary !important;
|
76
76
|
}
|
77
77
|
+ a[class^='cs-html-editor-'] { margin-left: ($spacer * .25); }
|
78
78
|
}
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_engagement_banners.scss
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
// Holiday themed version for engagement banner
|
2
|
+
.snowflake-bg, .hearts-bg, .arrows-bg, .flowers-bg {
|
3
|
+
position: absolute;
|
4
|
+
top: 0; right: 0; bottom: 0; left: 0;
|
5
|
+
width: 100%;
|
6
|
+
z-index: 0;
|
7
|
+
}
|
8
|
+
.snowflakes-bg {
|
9
|
+
background: transparent image-url('nfg_ui/engagement_banners/snow-bg.gif') 0 0 repeat;
|
10
|
+
opacity: 0.5;
|
11
|
+
}
|
12
|
+
.hearts-bg {
|
13
|
+
background: transparent image-url('nfg_ui/engagement_banners/hearts-bg.gif') 0 0 repeat;
|
14
|
+
opacity: 0.1;
|
15
|
+
}
|
16
|
+
.arrows-bg {
|
17
|
+
background: transparent image-url('nfg_ui/engagement_banners/arrows-bg.png') 50% 50% no-repeat;
|
18
|
+
background-size: cover;
|
19
|
+
}
|
20
|
+
.flowers-bg {
|
21
|
+
background: transparent image-url('nfg_ui/engagement_banners/flowers-bg.png') 0 0 repeat;
|
22
|
+
opacity: 0.1;
|
23
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Free trial styles for DMS
|
2
2
|
|
3
3
|
// Height of banner
|
4
|
-
$free_trial_banner_height:
|
4
|
+
$free_trial_banner_height: 7.4rem;
|
5
5
|
|
6
6
|
// Styles for container elements when body tag is using .has-free-trial
|
7
7
|
body.has-free-trial.nfg_ui {
|
@@ -15,7 +15,7 @@ body.has-free-trial.nfg_ui {
|
|
15
15
|
@include media-breakpoint-up(xl) {
|
16
16
|
.site-nav {
|
17
17
|
top: $free_trial_banner_height;
|
18
|
-
height: calc(100% -
|
18
|
+
height: calc(100% - 74px);
|
19
19
|
}
|
20
20
|
.full_width_layout { padding-top: ($spacer * 3); }
|
21
21
|
.container-wrap { padding-top: ($spacer * 2) + $free_trial_banner_height; }
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
// Color system
|
7
7
|
|
8
|
-
$white: #
|
8
|
+
$white: #ffffff;
|
9
9
|
$gray-100: #F3F6F8;
|
10
10
|
$gray-200: #E2E7EA;
|
11
11
|
$gray-300: #C9CED1;
|
@@ -15,7 +15,7 @@ $gray-600: #70787C;
|
|
15
15
|
$gray-700: #5B6367; // not used in our theme
|
16
16
|
$gray-800: #313A3E;
|
17
17
|
$gray-900: #1D262B;
|
18
|
-
$black: #
|
18
|
+
$black: #000000;
|
19
19
|
|
20
20
|
// $grays: () !default;
|
21
21
|
// stylelint-disable-next-line scss/dollar-variable-default
|
@@ -403,8 +403,8 @@ $table-dark-color: theme-color("light");
|
|
403
403
|
$input-btn-padding-y: .7rem;
|
404
404
|
$input-btn-padding-x: ($spacer * .25) + ($spacer * .125);
|
405
405
|
// $input-btn-font-family: null !default;
|
406
|
-
|
407
|
-
|
406
|
+
$input-btn-font-size: $font-size-base;
|
407
|
+
$input-btn-line-height: $line-height-base;
|
408
408
|
|
409
409
|
$input-btn-focus-width: ($spacer * .125);
|
410
410
|
$input-btn-focus-color: transparentize($primary, 0.8);
|
@@ -430,8 +430,8 @@ $input-btn-padding-x-lg: ($spacer * .75) - ($spacer * .125);
|
|
430
430
|
$btn-padding-y: ($input-btn-padding-y + .1rem);
|
431
431
|
$btn-padding-x: ($spacer * .5);
|
432
432
|
// $btn-font-family: $input-btn-font-family !default;
|
433
|
-
|
434
|
-
|
433
|
+
$btn-font-size: $input-btn-font-size;
|
434
|
+
$btn-line-height: $input-btn-line-height;
|
435
435
|
|
436
436
|
$btn-padding-y-sm: ($input-btn-padding-y-sm + .1rem);
|
437
437
|
// $btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
@@ -695,13 +695,13 @@ $form-validation-states: map-merge(
|
|
695
695
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
696
696
|
// of components dependent on the z-axis and are designed to all work together.
|
697
697
|
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
698
|
+
$zindex-dropdown: 1000;
|
699
|
+
$zindex-sticky: 1020;
|
700
|
+
$zindex-fixed: 1030;
|
701
|
+
$zindex-modal-backdrop: 1040;
|
702
|
+
$zindex-modal: 1050;
|
703
|
+
$zindex-popover: 1060;
|
704
|
+
$zindex-tooltip: 1070;
|
705
705
|
|
706
706
|
|
707
707
|
// Navs
|
@@ -9,7 +9,7 @@
|
|
9
9
|
}
|
10
10
|
.redactor-toolbar {
|
11
11
|
position: relative;
|
12
|
-
background-color: $
|
12
|
+
background-color: $white;
|
13
13
|
box-shadow: none;
|
14
14
|
border-bottom: $border-width solid $border-color;
|
15
15
|
&.redactor-toolbar-external {
|
@@ -29,7 +29,7 @@
|
|
29
29
|
}
|
30
30
|
&:after {
|
31
31
|
border-color: rgba(255, 255, 255, 0);
|
32
|
-
border-top-color: $
|
32
|
+
border-top-color: $white;
|
33
33
|
border-width: 6px;
|
34
34
|
margin-left: -6px;
|
35
35
|
}
|
@@ -41,17 +41,21 @@
|
|
41
41
|
}
|
42
42
|
}
|
43
43
|
li a {
|
44
|
-
color:
|
44
|
+
color: $body-color !important;
|
45
45
|
&.re-icon {
|
46
46
|
.body-text { font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important; }
|
47
47
|
}
|
48
|
-
|
48
|
+
&:hover, &:focus, &:active {
|
49
49
|
color: $white !important;
|
50
50
|
background-color: $primary;
|
51
51
|
}
|
52
52
|
}
|
53
53
|
}
|
54
54
|
.redactor-editor, .redactor-box, .redactor-box textarea { z-index: auto; }
|
55
|
+
.redactor-editor {
|
56
|
+
min-height: ($spacer * 5);
|
57
|
+
border: none;
|
58
|
+
}
|
55
59
|
.redactor-box .redactor-toolbar { z-index: $zindex-dropdown - 10 !important; }
|
56
60
|
#redactor-modal-close {
|
57
61
|
border: none;
|
@@ -68,7 +72,7 @@ body.modal-open {
|
|
68
72
|
z-index: $zindex-modal + 1 !important;
|
69
73
|
a[class^="redactor-dropdown-"] {
|
70
74
|
color: $body-color;
|
71
|
-
|
75
|
+
&:hover, &:focus, &:active {
|
72
76
|
color: $white;
|
73
77
|
background-color: $primary;
|
74
78
|
}
|
@@ -1,30 +1,43 @@
|
|
1
|
+
//** Email Styles **//
|
2
|
+
|
3
|
+
// Variables from core
|
4
|
+
@import 'nfg_ui/network_for_good/core/variables';
|
5
|
+
|
6
|
+
// Redactor styles
|
7
|
+
@import 'nfg_ui/network_for_good/core/nfg_theme/custom/redactor.scss';
|
8
|
+
@import 'nfg_ui/network_for_good/admin/nfg_theme/custom/content_section.scss';
|
9
|
+
|
10
|
+
// Foundation email styles
|
1
11
|
@import "settings/settings";
|
2
12
|
@import "foundation-emails";
|
3
13
|
@import "foundation_emails/alignment";
|
4
14
|
@import "foundation_emails/button";
|
15
|
+
@import "foundation_emails/typography";
|
5
16
|
|
6
17
|
// NFG Theme specific
|
7
|
-
@import "nfg_theme/
|
18
|
+
@import "nfg_theme/backgrounds";
|
19
|
+
@import "nfg_theme/borders";
|
20
|
+
@import "nfg_theme/content_sections";
|
8
21
|
@import "nfg_theme/layout";
|
9
22
|
@import "nfg_theme/rainbow_bar";
|
23
|
+
@import "nfg_theme/spacers";
|
24
|
+
@import "foundation_emails/grid"; // listed after spacers to utilize variables
|
25
|
+
@import "nfg_theme/text_colors";
|
10
26
|
@import "nfg_theme/typography";
|
11
|
-
@import "nfg_theme/backgrounds";
|
12
|
-
|
13
27
|
|
14
28
|
// App Utilities
|
15
29
|
// i18n translation missing visual to help find missing t('')s...
|
16
|
-
.translation_missing{
|
17
|
-
background-color:
|
30
|
+
.translation_missing {
|
31
|
+
background-color: $danger;
|
18
32
|
display: inline-block;
|
19
|
-
border: solid 3px darken(
|
20
|
-
padding:10px;
|
21
|
-
color
|
33
|
+
border: solid 3px darken($danger, 15%);
|
34
|
+
padding: 10px;
|
35
|
+
color: #fff;
|
22
36
|
position: relative;
|
23
|
-
|
24
|
-
&:before{
|
37
|
+
&:before {
|
25
38
|
content: "Translation Missing:";
|
26
39
|
position: absolute;
|
27
|
-
background-color: darken(
|
40
|
+
background-color: darken($danger, 15%);
|
28
41
|
display: inline-block;
|
29
42
|
width: 110px;
|
30
43
|
left: 50%;
|
@@ -6,29 +6,22 @@
|
|
6
6
|
/// @group alignment
|
7
7
|
////
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
// text-align: left;
|
26
|
-
// }
|
27
|
-
|
28
|
-
// &.text-right {
|
29
|
-
// text-align: right;
|
30
|
-
// }
|
31
|
-
// }
|
9
|
+
div,
|
10
|
+
table,
|
11
|
+
th,
|
12
|
+
td,
|
13
|
+
h1,
|
14
|
+
h2,
|
15
|
+
h3,
|
16
|
+
h4,
|
17
|
+
h5,
|
18
|
+
h6,
|
19
|
+
p,
|
20
|
+
span {
|
21
|
+
&.text-center { text-align: center; }
|
22
|
+
&.text-left { text-align: left; }
|
23
|
+
&.text-right { text-align: right; }
|
24
|
+
}
|
32
25
|
.text-center { text-align: center; }
|
33
26
|
.text-left { text-align: left; }
|
34
27
|
.text-right { text-align: right; }
|
@@ -2,60 +2,6 @@
|
|
2
2
|
// zurb.com/ink/
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
////
|
6
|
-
/// @group button
|
7
|
-
////
|
8
|
-
|
9
|
-
// /// Padding inside buttons at various sizes.
|
10
|
-
// /// @type Map
|
11
|
-
// $button-padding: (
|
12
|
-
// tiny: 4px 8px 4px 8px,
|
13
|
-
// small: 5px 10px 5px 10px,
|
14
|
-
// default: 8px 16px 8px 16px,
|
15
|
-
// large: 10px 20px 10px 20px,
|
16
|
-
// ) !default;
|
17
|
-
|
18
|
-
// /// Font sizes of buttons at various sizes.
|
19
|
-
// /// @type Map
|
20
|
-
// $button-font-size: (
|
21
|
-
// tiny: 10px,
|
22
|
-
// small: 12px,
|
23
|
-
// default: 16px,
|
24
|
-
// large: 20px,
|
25
|
-
// ) !default;
|
26
|
-
|
27
|
-
// /// Text color of buttons.
|
28
|
-
// /// @type Color
|
29
|
-
// $button-color: $white !default;
|
30
|
-
|
31
|
-
// /// Text color of buttons with a light background.
|
32
|
-
// /// @type Color
|
33
|
-
// $button-color-alt: $medium-gray !default;
|
34
|
-
|
35
|
-
// /// Font weight of buttons.
|
36
|
-
// /// @type Weight
|
37
|
-
// $button-font-weight: bold !default;
|
38
|
-
|
39
|
-
// /// Margin around buttons.
|
40
|
-
// /// @type List
|
41
|
-
// $button-margin: 0 0 $global-margin 0 !default;
|
42
|
-
|
43
|
-
// /// Background color of buttons.
|
44
|
-
// /// @type Color
|
45
|
-
// $button-background: $primary-color !default;
|
46
|
-
|
47
|
-
// /// Border around buttons.
|
48
|
-
// /// @type Border
|
49
|
-
// $button-border: 2px solid $button-background !default;
|
50
|
-
|
51
|
-
// /// Border radius of buttons. Not supported by all email clients.
|
52
|
-
// /// @type Number
|
53
|
-
// $button-radius: $global-radius !default;
|
54
|
-
|
55
|
-
// /// Border radius of rounded buttons. Not supported by all email clients.
|
56
|
-
// /// @type Number
|
57
|
-
// $button-rounded: $global-rounded !default;
|
58
|
-
|
59
5
|
table.button {
|
60
6
|
// width: auto;
|
61
7
|
// margin: $button-margin;
|
@@ -157,7 +103,7 @@ table.button.inverse {
|
|
157
103
|
td {
|
158
104
|
background: transparent;
|
159
105
|
color: $white;
|
160
|
-
border:
|
106
|
+
border: $border-width solid $white;
|
161
107
|
}
|
162
108
|
a {
|
163
109
|
color: $white;
|
@@ -0,0 +1,224 @@
|
|
1
|
+
// Foundation for Emails by ZURB
|
2
|
+
// zurb.com/ink/
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group grid
|
7
|
+
////
|
8
|
+
|
9
|
+
// For viewing email in browser
|
10
|
+
@media only screen {
|
11
|
+
html {
|
12
|
+
min-height: 100%;
|
13
|
+
background: $body-background;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
table {
|
18
|
+
&.body {
|
19
|
+
background: $body-background;
|
20
|
+
// height: 100%;
|
21
|
+
// width: 100%;
|
22
|
+
}
|
23
|
+
|
24
|
+
&.container {
|
25
|
+
// background: $container-background;
|
26
|
+
width: $global-width;
|
27
|
+
// margin: 0 auto;
|
28
|
+
// Margin: 0 auto;
|
29
|
+
// text-align: inherit;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.row {
|
33
|
+
margin: 0;
|
34
|
+
// padding: 0;
|
35
|
+
// width: 100%;
|
36
|
+
// position: relative;
|
37
|
+
flex-wrap: initial; // clears flex-wrap property in DMS BS4 .row styles
|
38
|
+
}
|
39
|
+
|
40
|
+
// &.spacer {
|
41
|
+
// width: 100%;
|
42
|
+
// td {
|
43
|
+
// mso-line-height-rule: exactly;
|
44
|
+
// }
|
45
|
+
// }
|
46
|
+
}
|
47
|
+
|
48
|
+
// table.container table.row {
|
49
|
+
// display: table;
|
50
|
+
// }
|
51
|
+
|
52
|
+
td.columns,
|
53
|
+
td.column,
|
54
|
+
th.columns,
|
55
|
+
th.column {
|
56
|
+
// margin: 0 auto;
|
57
|
+
// Margin: 0 auto;
|
58
|
+
// padding-left: $global-gutter;
|
59
|
+
// padding-bottom: $column-padding-bottom;
|
60
|
+
|
61
|
+
// // Prevents Nested columns from double the padding
|
62
|
+
// .column,
|
63
|
+
// .columns {
|
64
|
+
// padding-left: 0 !important;
|
65
|
+
// padding-right: 0 !important;
|
66
|
+
|
67
|
+
// center {
|
68
|
+
// min-width: none !important;
|
69
|
+
// }
|
70
|
+
// }
|
71
|
+
|
72
|
+
@each $prop, $abbrev in (margin: m, padding: p) {
|
73
|
+
@each $size, $length in $spacers {
|
74
|
+
&.#{$abbrev}-all-#{$size} { #{$prop}: $length !important; } // a = All sides
|
75
|
+
&.#{$abbrev}-top-#{$size} { #{$prop}-top: $length !important; }
|
76
|
+
&.#{$abbrev}-right-#{$size} { #{$prop}-right: $length !important; }
|
77
|
+
&.#{$abbrev}-bottom-#{$size} { #{$prop}-bottom: $length !important; }
|
78
|
+
&.#{$abbrev}-left-#{$size} { #{$prop}-left: $length !important; }
|
79
|
+
|
80
|
+
// Axes
|
81
|
+
&.#{$abbrev}-x-axis-#{$size} {
|
82
|
+
#{$prop}-right: $length !important;
|
83
|
+
#{$prop}-left: $length !important;
|
84
|
+
}
|
85
|
+
&.#{$abbrev}-y-axis-#{$size} {
|
86
|
+
#{$prop}-top: $length !important;
|
87
|
+
#{$prop}-bottom: $length !important;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// td.columns.last,
|
94
|
+
// td.column.last,
|
95
|
+
// th.columns.last,
|
96
|
+
// th.column.last {
|
97
|
+
// padding-right: $global-gutter;
|
98
|
+
// }
|
99
|
+
|
100
|
+
// //makes sure nested tables are 100% width
|
101
|
+
// td.columns,
|
102
|
+
// td.column,
|
103
|
+
// th.columns,
|
104
|
+
// th.column {
|
105
|
+
// table:not(.button) {
|
106
|
+
// width: 100%;
|
107
|
+
// }
|
108
|
+
// }
|
109
|
+
|
110
|
+
@for $i from 1 through $grid-column-count {
|
111
|
+
// td.large-#{$i},
|
112
|
+
// th.large-#{$i} {
|
113
|
+
// width: -zf-grid-calc-px($i, $grid-column-count, $global-width);
|
114
|
+
// padding-left: $global-gutter / 2;
|
115
|
+
// padding-right: $global-gutter / 2;
|
116
|
+
// }
|
117
|
+
|
118
|
+
// td.large-#{$i}.first,
|
119
|
+
// th.large-#{$i}.first {
|
120
|
+
// padding-left: $global-gutter;
|
121
|
+
// }
|
122
|
+
|
123
|
+
// td.large-#{$i}.last,
|
124
|
+
// th.large-#{$i}.last {
|
125
|
+
// padding-right: $global-gutter;
|
126
|
+
// }
|
127
|
+
|
128
|
+
// Collapsed logic
|
129
|
+
.collapse {
|
130
|
+
> tbody > tr > td.large-#{$i},
|
131
|
+
> tbody > tr > th.large-#{$i} {
|
132
|
+
padding-right: 0;
|
133
|
+
padding-left: 0;
|
134
|
+
width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $global-gutter;
|
135
|
+
}
|
136
|
+
|
137
|
+
//Gotta give it that extra love for the first and last columns.
|
138
|
+
td.large-#{$i}.first,
|
139
|
+
th.large-#{$i}.first,
|
140
|
+
td.large-#{$i}.last,
|
141
|
+
th.large-#{$i}.last {
|
142
|
+
width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + ($global-gutter * 1.5);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
// Expanded logic
|
147
|
+
.expanded {
|
148
|
+
> tbody > tr {
|
149
|
+
> td.large-#{$i}.first,
|
150
|
+
> th.large-#{$i}.first {
|
151
|
+
padding-left: 0 !important;
|
152
|
+
width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + ($global-gutter * 1.5);
|
153
|
+
@media only screen and (max-width: 624px) { padding-right: 0 !important; }
|
154
|
+
}
|
155
|
+
> td.large-#{$i}.last,
|
156
|
+
> th.large-#{$i}.last {
|
157
|
+
padding-right: 0 !important;
|
158
|
+
width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + ($global-gutter * 1.5);
|
159
|
+
@media only screen and (max-width: 624px) { padding-left: 0 !important; }
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
// Nested columns need gutters
|
164
|
+
td.columns,
|
165
|
+
td.column,
|
166
|
+
th.columns,
|
167
|
+
th.column {
|
168
|
+
.column,
|
169
|
+
.columns {
|
170
|
+
padding-left: $global-gutter !important;
|
171
|
+
padding-right: $global-gutter !important;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
}
|
176
|
+
|
177
|
+
// td.large-#{$i} center,
|
178
|
+
// th.large-#{$i} center {
|
179
|
+
// min-width: -zf-grid-calc-px($i, $grid-column-count, $global-width) - ($global-gutter * 2);
|
180
|
+
// }
|
181
|
+
|
182
|
+
// .body .columns td.large-#{$i},
|
183
|
+
// .body .column td.large-#{$i},
|
184
|
+
// .body .columns th.large-#{$i},
|
185
|
+
// .body .column th.large-#{$i} {
|
186
|
+
// width: -zf-grid-calc-pct($i, $grid-column-count);
|
187
|
+
// }
|
188
|
+
}
|
189
|
+
|
190
|
+
// @for $i from 1 through ($grid-column-count - 1) {
|
191
|
+
// td.large-offset-#{$i},
|
192
|
+
// td.large-offset-#{$i}.first,
|
193
|
+
// td.large-offset-#{$i}.last,
|
194
|
+
// th.large-offset-#{$i},
|
195
|
+
// th.large-offset-#{$i}.first,
|
196
|
+
// th.large-offset-#{$i}.last {
|
197
|
+
// //1.5 takes in effect a whole empty cell.
|
198
|
+
// padding-left: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $global-gutter * 2;
|
199
|
+
// }
|
200
|
+
// }
|
201
|
+
|
202
|
+
// td.expander,
|
203
|
+
// th.expander {
|
204
|
+
// visibility: hidden;
|
205
|
+
// width: 0;
|
206
|
+
// padding: 0 !important;
|
207
|
+
// }
|
208
|
+
|
209
|
+
// // adds radius to container
|
210
|
+
// table.container.radius {
|
211
|
+
// border-radius: $container-radius;
|
212
|
+
// border-collapse: separate;
|
213
|
+
// }
|
214
|
+
|
215
|
+
// Specific calendar table on layout_12 (event - 2)
|
216
|
+
.calendar {
|
217
|
+
td.columns,
|
218
|
+
td.column,
|
219
|
+
th.columns,
|
220
|
+
th.column {
|
221
|
+
padding-left: $global-gutter !important;
|
222
|
+
padding-right: $global-gutter !important;
|
223
|
+
}
|
224
|
+
}
|
@@ -0,0 +1,228 @@
|
|
1
|
+
// Foundation for Emails by ZURB
|
2
|
+
// zurb.com/ink/
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
body,
|
6
|
+
table.body,
|
7
|
+
h1,
|
8
|
+
h2,
|
9
|
+
h3,
|
10
|
+
h4,
|
11
|
+
h5,
|
12
|
+
h6,
|
13
|
+
p,
|
14
|
+
td,
|
15
|
+
th {
|
16
|
+
color: $global-font-color;
|
17
|
+
font-family: $body-font-family;
|
18
|
+
font-weight: $global-font-weight;
|
19
|
+
// padding-top: 0;
|
20
|
+
// padding-right: 0;
|
21
|
+
// padding-bottom: 0;
|
22
|
+
// padding-left: 0;
|
23
|
+
// margin: 0;
|
24
|
+
// Margin: 0;
|
25
|
+
// text-align: left;
|
26
|
+
line-height: $global-line-height;
|
27
|
+
}
|
28
|
+
|
29
|
+
h1,
|
30
|
+
h2,
|
31
|
+
h3,
|
32
|
+
h4,
|
33
|
+
h5,
|
34
|
+
h6 {
|
35
|
+
color: $header-color;
|
36
|
+
// word-wrap: normal;
|
37
|
+
font-family: $header-font-family;
|
38
|
+
font-weight: $header-font-weight;
|
39
|
+
margin-bottom: $header-margin-bottom;
|
40
|
+
Margin-bottom: $header-margin-bottom;
|
41
|
+
}
|
42
|
+
|
43
|
+
h1 {
|
44
|
+
font-size: $h1-font-size;
|
45
|
+
}
|
46
|
+
|
47
|
+
h2 {
|
48
|
+
font-size: $h2-font-size;
|
49
|
+
}
|
50
|
+
|
51
|
+
h3 {
|
52
|
+
font-size: $h3-font-size;
|
53
|
+
}
|
54
|
+
|
55
|
+
h4 {
|
56
|
+
font-size: $h4-font-size;
|
57
|
+
}
|
58
|
+
|
59
|
+
h5 {
|
60
|
+
font-size: $h5-font-size;
|
61
|
+
}
|
62
|
+
|
63
|
+
h6 {
|
64
|
+
font-size: $h6-font-size;
|
65
|
+
}
|
66
|
+
|
67
|
+
body,
|
68
|
+
table.body,
|
69
|
+
p,
|
70
|
+
td,
|
71
|
+
th {
|
72
|
+
font-size: $global-font-size;
|
73
|
+
line-height: $body-line-height;
|
74
|
+
}
|
75
|
+
|
76
|
+
p {
|
77
|
+
margin-bottom: $paragraph-margin-bottom;
|
78
|
+
Margin-bottom: $paragraph-margin-bottom;
|
79
|
+
|
80
|
+
&.lead {
|
81
|
+
font-size: $lead-font-size;
|
82
|
+
line-height: $lead-line-height;
|
83
|
+
}
|
84
|
+
|
85
|
+
&.subheader {
|
86
|
+
margin-top: $subheader-margin-top;
|
87
|
+
margin-bottom: $subheader-margin-bottom;
|
88
|
+
Margin-top: $subheader-margin-top;
|
89
|
+
Margin-bottom: $subheader-margin-bottom;
|
90
|
+
font-weight: $subheader-font-weight;
|
91
|
+
line-height: $subheader-lineheight;
|
92
|
+
color: $subheader-color;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
small, .small{
|
97
|
+
font-size: $small-font-size;
|
98
|
+
color: inherit;
|
99
|
+
line-height: inherit;
|
100
|
+
}
|
101
|
+
|
102
|
+
a {
|
103
|
+
color: $anchor-color;
|
104
|
+
text-decoration: $anchor-text-decoration;
|
105
|
+
font-family: $body-font-family;
|
106
|
+
font-weight: $global-font-weight;
|
107
|
+
// padding: 0;
|
108
|
+
// text-align: left;
|
109
|
+
line-height: $global-line-height;
|
110
|
+
|
111
|
+
&:hover {
|
112
|
+
color: $anchor-color-hover;
|
113
|
+
}
|
114
|
+
|
115
|
+
&:active {
|
116
|
+
color: $anchor-color-active;
|
117
|
+
}
|
118
|
+
|
119
|
+
&:visited {
|
120
|
+
color: $anchor-color-visited;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
h1 a,
|
125
|
+
h1 a:visited,
|
126
|
+
h2 a,
|
127
|
+
h2 a:visited,
|
128
|
+
h3 a,
|
129
|
+
h3 a:visited,
|
130
|
+
h4 a,
|
131
|
+
h4 a:visited,
|
132
|
+
h5 a,
|
133
|
+
h5 a:visited,
|
134
|
+
h6 a,
|
135
|
+
h6 a:visited {
|
136
|
+
color: $anchor-color;
|
137
|
+
}
|
138
|
+
|
139
|
+
pre {
|
140
|
+
background: $light-gray;
|
141
|
+
// margin: 30px 0;
|
142
|
+
// Margin: 30px 0;
|
143
|
+
|
144
|
+
code {
|
145
|
+
color: $medium-gray;
|
146
|
+
|
147
|
+
span.callout {
|
148
|
+
color: $dark-gray;
|
149
|
+
// font-weight: bold;
|
150
|
+
}
|
151
|
+
|
152
|
+
span.callout-strong {
|
153
|
+
color: $pre-color;
|
154
|
+
// font-weight: bold;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
// Horizontal rule -- used for a break and division between content sections
|
160
|
+
table.hr {
|
161
|
+
// width: 100%;
|
162
|
+
|
163
|
+
th {
|
164
|
+
height: 1px;
|
165
|
+
max-width: $hr-width;
|
166
|
+
// border-top: 0;
|
167
|
+
// border-right: 0;
|
168
|
+
border-bottom: $hr-border;
|
169
|
+
// border-left: 0;
|
170
|
+
// margin: $hr-margin;
|
171
|
+
// Margin: $hr-margin;
|
172
|
+
// clear: both;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
// // Use to style a large number to display a statistic
|
180
|
+
.stat {
|
181
|
+
font-size: $stat-font-size;
|
182
|
+
// line-height: 1;
|
183
|
+
|
184
|
+
// p + & {
|
185
|
+
// margin-top: -16px;
|
186
|
+
// Margin-top: -16px;
|
187
|
+
// }
|
188
|
+
}
|
189
|
+
|
190
|
+
// // preheader styles
|
191
|
+
span.preheader {
|
192
|
+
// display: none !important;
|
193
|
+
// visibility: hidden;
|
194
|
+
// mso-hide: all !important;
|
195
|
+
// font-size: 1px;
|
196
|
+
color: $body-background; // needs to match background color of it's container
|
197
|
+
// line-height: 1px;
|
198
|
+
// max-height: 0px;
|
199
|
+
// max-width: 0px;
|
200
|
+
// opacity: 0;
|
201
|
+
// overflow: hidden;
|
202
|
+
}
|
203
|
+
|
204
|
+
ul, ol{
|
205
|
+
margin-top: 0;
|
206
|
+
margin-bottom: $paragraph-margin-bottom;
|
207
|
+
}
|
208
|
+
|
209
|
+
blockquote{
|
210
|
+
margin-left: $paragraph-margin-bottom;
|
211
|
+
color: $global-font-color;
|
212
|
+
font-style: italic;
|
213
|
+
}
|
214
|
+
|
215
|
+
// // Removing the iOS colors put in for telephone and addresses
|
216
|
+
// @if $remove-ios-blue {
|
217
|
+
// // Wrapping in a media only screen to have inline-css respect the styling
|
218
|
+
// @media only screen {
|
219
|
+
// a[x-apple-data-detectors] {
|
220
|
+
// color: inherit !important;
|
221
|
+
// text-decoration: none !important;
|
222
|
+
// font-size: inherit !important;
|
223
|
+
// font-family: inherit !important;
|
224
|
+
// font-weight: inherit !important;
|
225
|
+
// line-height: inherit !important;
|
226
|
+
// }
|
227
|
+
// }
|
228
|
+
// }
|
@@ -3,7 +3,15 @@
|
|
3
3
|
.bg-success { background-color: $success-color; }
|
4
4
|
.bg-warning { background-color: $warning-color; }
|
5
5
|
.bg-alert { background-color: $alert-color; }
|
6
|
+
.bg-white { background: $white !important; }
|
7
|
+
.bg-secondary { background: $medium-gray !important; }
|
8
|
+
.bg-tertiary { background: $dark-gray !important; }
|
6
9
|
.bg-light-gray { background-color: $light-gray !important; }
|
10
|
+
.bg-transparent { background: transparent !important; }
|
11
|
+
.bg-black {
|
12
|
+
background: $black !important;
|
13
|
+
color: inherit;
|
14
|
+
}
|
7
15
|
|
8
16
|
// Images
|
9
17
|
.bg-image {
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Styles specific for content section links
|
2
|
+
.cs-edit, .cs-rm-group, .cs-add-group {
|
3
|
+
padding: 0.5rem 0.8rem !important;
|
4
|
+
font-weight: $bold-font-weight;
|
5
|
+
font-size: 14px !important;
|
6
|
+
line-height: 1;
|
7
|
+
}
|
8
|
+
|
9
|
+
// Override white text
|
10
|
+
.redactor-box .text-white { color: $global-font-color !important; }
|
@@ -1,14 +1,12 @@
|
|
1
1
|
// Extra layout styles
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
.wrapper-inner {
|
11
|
-
@media only screen and (max-width: #{$global-breakpoint}) { padding: 24px !important; }
|
2
|
+
.wrapper {
|
3
|
+
&.strict { // Strict mode: Wrap with zero impact on nested components
|
4
|
+
width: 100% !important;
|
5
|
+
padding: 0 !important;
|
6
|
+
.wrapper-inner {
|
7
|
+
width: 100% !important;
|
8
|
+
padding: 0 !important;
|
9
|
+
}
|
12
10
|
}
|
13
11
|
}
|
14
12
|
|
@@ -21,7 +19,7 @@
|
|
21
19
|
th.column {
|
22
20
|
padding-top: 12px;
|
23
21
|
padding-bottom: 12px;
|
24
|
-
border-top:
|
22
|
+
border-top: $border-width solid $border-color;
|
25
23
|
}
|
26
24
|
}
|
27
25
|
|
@@ -1,60 +1,36 @@
|
|
1
|
-
$spacer
|
2
|
-
$
|
3
|
-
|
4
|
-
$spacers: (
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
$spacer: 24px;
|
2
|
+
$spacers: ();
|
3
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
4
|
+
$spacers: map-merge(
|
5
|
+
(
|
6
|
+
0: 0,
|
7
|
+
quarter: ($spacer * .25),
|
8
|
+
half: ($spacer * .5),
|
9
|
+
base: $spacer,
|
10
|
+
base-half: ($spacer * 1.5),
|
11
|
+
double: ($spacer * 2),
|
12
|
+
double-half: ($spacer * 2.5),
|
13
|
+
triple: ($spacer * 3)
|
8
14
|
),
|
9
|
-
|
10
|
-
x : ($spacer-x * 0.25),
|
11
|
-
y : ($spacer-y * 0.25)
|
12
|
-
),
|
13
|
-
half: (
|
14
|
-
x : ($spacer-x * 0.5),
|
15
|
-
y : ($spacer-y * 0.5)
|
16
|
-
),
|
17
|
-
base: (
|
18
|
-
x : $spacer-x,
|
19
|
-
y : $spacer-y
|
20
|
-
),
|
21
|
-
base-half: (
|
22
|
-
x : $spacer-x * 1.5,
|
23
|
-
y : $spacer-y * 1.5
|
24
|
-
),
|
25
|
-
double: (
|
26
|
-
x : ($spacer-x * 2),
|
27
|
-
y : ($spacer-y * 2)
|
28
|
-
),
|
29
|
-
double-half: (
|
30
|
-
x : ($spacer-x * 2.5),
|
31
|
-
y : ($spacer-y * 2.5)
|
32
|
-
),
|
33
|
-
triple: (
|
34
|
-
x : ($spacer-x * 3),
|
35
|
-
y : ($spacer-y * 3)
|
36
|
-
)
|
15
|
+
$spacers
|
37
16
|
);
|
38
17
|
|
39
18
|
@each $prop, $abbrev in (margin: m, padding: p) {
|
40
|
-
@each $size, $
|
41
|
-
$
|
42
|
-
$
|
43
|
-
|
44
|
-
.#{$abbrev}-
|
45
|
-
.#{$abbrev}-
|
46
|
-
.#{$abbrev}-r-#{$size} { #{$prop}-right: $length-x !important; }
|
47
|
-
.#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length-y !important; }
|
48
|
-
.#{$abbrev}-l-#{$size} { #{$prop}-left: $length-x !important; }
|
19
|
+
@each $size, $length in $spacers {
|
20
|
+
.#{$abbrev}-a-#{$size} { #{$prop}: $length !important; } // a = All sides
|
21
|
+
.#{$abbrev}-t-#{$size} { #{$prop}-top: $length !important; }
|
22
|
+
.#{$abbrev}-r-#{$size} { #{$prop}-right: $length !important; }
|
23
|
+
.#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length !important; }
|
24
|
+
.#{$abbrev}-l-#{$size} { #{$prop}-left: $length !important; }
|
49
25
|
|
50
26
|
// Axes
|
51
27
|
.#{$abbrev}-x-#{$size} {
|
52
|
-
#{$prop}-right: $length
|
53
|
-
#{$prop}-left: $length
|
28
|
+
#{$prop}-right: $length !important;
|
29
|
+
#{$prop}-left: $length !important;
|
54
30
|
}
|
55
31
|
.#{$abbrev}-y-#{$size} {
|
56
|
-
#{$prop}-top: $length
|
57
|
-
#{$prop}-bottom: $length
|
32
|
+
#{$prop}-top: $length !important;
|
33
|
+
#{$prop}-bottom: $length !important;
|
58
34
|
}
|
59
35
|
}
|
60
|
-
}
|
36
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@mixin text-color-variant($color){
|
2
|
+
&h1,
|
3
|
+
&h2,
|
4
|
+
&h3,
|
5
|
+
&h4,
|
6
|
+
&h5,
|
7
|
+
&h6,
|
8
|
+
&p,
|
9
|
+
&td,
|
10
|
+
&th,
|
11
|
+
&small,
|
12
|
+
& h1,
|
13
|
+
& h2,
|
14
|
+
& h3,
|
15
|
+
& h4,
|
16
|
+
& h5,
|
17
|
+
& h6,
|
18
|
+
& p,
|
19
|
+
& td,
|
20
|
+
& th,
|
21
|
+
& small {
|
22
|
+
color: $color !important;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.text-black { @include text-color-variant($black); }
|
@@ -16,25 +16,25 @@
|
|
16
16
|
// 1. Global
|
17
17
|
// ---------
|
18
18
|
|
19
|
-
$primary-color:
|
20
|
-
$secondary-color:
|
21
|
-
$success-color:
|
22
|
-
$warning-color:
|
23
|
-
$alert-color:
|
24
|
-
$light-gray:
|
25
|
-
$medium-gray:
|
26
|
-
$dark-gray:
|
27
|
-
$black:
|
28
|
-
$white:
|
29
|
-
$pre-color:
|
19
|
+
$primary-color: $primary;
|
20
|
+
$secondary-color: $gray-600;
|
21
|
+
$success-color: $success;
|
22
|
+
$warning-color: $warning;
|
23
|
+
$alert-color: $danger;
|
24
|
+
$light-gray: $gray-100;
|
25
|
+
$medium-gray: $gray-300;
|
26
|
+
$dark-gray: $gray-800;
|
27
|
+
$black: $black;
|
28
|
+
$white: $white;
|
29
|
+
$pre-color: $gray-800;
|
30
30
|
$global-width: 580px;
|
31
31
|
$global-width-small: 100%;
|
32
32
|
$global-gutter: 24px;
|
33
|
-
$body-background: $
|
33
|
+
$body-background: $body-bg;
|
34
34
|
$container-background: $white;
|
35
35
|
$global-padding: 12px;
|
36
36
|
$global-margin: 12px;
|
37
|
-
$global-radius:
|
37
|
+
$global-radius: $border-radius;
|
38
38
|
$global-rounded: 500px;
|
39
39
|
$global-breakpoint: $global-width + $global-gutter;
|
40
40
|
|
@@ -57,19 +57,19 @@ $block-grid-gutter: $global-gutter;
|
|
57
57
|
$global-font-color: $dark-gray;
|
58
58
|
$body-font-family: Helvetica, Arial, sans-serif;
|
59
59
|
$global-font-weight: normal;
|
60
|
-
$bold-font-weight:
|
60
|
+
$bold-font-weight: $font-weight-bold;
|
61
61
|
$header-color: inherit;
|
62
|
-
$global-line-height:
|
63
|
-
$global-font-size:
|
62
|
+
$global-line-height: $line-height-base;
|
63
|
+
$global-font-size: 16px;
|
64
64
|
$body-line-height: $global-line-height;
|
65
65
|
$header-font-family: Helvetica, Arial, sans-serif;
|
66
66
|
$header-font-weight: $bold-font-weight;
|
67
|
-
$h1-font-size:
|
68
|
-
$h2-font-size:
|
69
|
-
$h3-font-size:
|
70
|
-
$h4-font-size:
|
71
|
-
$h5-font-size:
|
72
|
-
$h6-font-size:
|
67
|
+
$h1-font-size: 40px;
|
68
|
+
$h2-font-size: 32px;
|
69
|
+
$h3-font-size: 28px;
|
70
|
+
$h4-font-size: 24px;
|
71
|
+
$h5-font-size: 20px;
|
72
|
+
$h6-font-size: 16px;
|
73
73
|
$header-margin-bottom: 12px;
|
74
74
|
$paragraph-margin-bottom: 12px;
|
75
75
|
$small-font-size: 80%;
|
@@ -83,7 +83,7 @@ $subheader-font-weight: $global-font-weight;
|
|
83
83
|
$subheader-margin-top: 4px;
|
84
84
|
$subheader-margin-bottom: 8px;
|
85
85
|
$hr-width: $global-width;
|
86
|
-
$hr-border:
|
86
|
+
$hr-border: $border-width solid $border-color;
|
87
87
|
$hr-margin: 24px auto;
|
88
88
|
$anchor-text-decoration: underline;
|
89
89
|
$anchor-color: $primary-color;
|
@@ -102,10 +102,10 @@ $button-padding: (
|
|
102
102
|
large: 10px 12px 10px 12px,
|
103
103
|
);
|
104
104
|
$button-font-size: (
|
105
|
-
tiny:
|
105
|
+
tiny: 14px,
|
106
106
|
small: 14px,
|
107
|
-
default:
|
108
|
-
large:
|
107
|
+
default: 16px,
|
108
|
+
large: 20px,
|
109
109
|
);
|
110
110
|
$button-color: $white;
|
111
111
|
$button-color-alt: $medium-gray;
|
@@ -123,11 +123,11 @@ $callout-background: #e5f5fd;
|
|
123
123
|
$callout-background-fade: 88%;
|
124
124
|
$callout-padding: 12px;
|
125
125
|
$callout-margin-bottom: $global-margin;
|
126
|
-
$callout-border:
|
127
|
-
$callout-border-secondary:
|
128
|
-
$callout-border-success:
|
129
|
-
$callout-border-warning:
|
130
|
-
$callout-border-alert:
|
126
|
+
$callout-border: $border-width solid $primary-color;
|
127
|
+
$callout-border-secondary: $border-width solid $secondary-color;
|
128
|
+
$callout-border-success: $border-width solid $success-color;
|
129
|
+
$callout-border-warning: $border-width solid $warning-color;
|
130
|
+
$callout-border-alert: $border-width solid $alert-color;
|
131
131
|
|
132
132
|
// 7. Menu
|
133
133
|
// -------
|
data/lib/nfg_ui/version.rb
CHANGED
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.
|
4
|
+
version: 0.12.16
|
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-
|
12
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bootstrap
|
@@ -149,14 +149,14 @@ dependencies:
|
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.12.5
|
153
153
|
type: :runtime
|
154
154
|
prerelease: false
|
155
155
|
version_requirements: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
159
|
+
version: 1.12.5
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: browser
|
162
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -372,6 +372,8 @@ files:
|
|
372
372
|
- app/assets/images/nfg_ui/app_icon/mstile-150x150.png
|
373
373
|
- app/assets/images/nfg_ui/app_icon/safari-pinned-tab.svg
|
374
374
|
- app/assets/images/nfg_ui/app_icon/site.webmanifest.erb
|
375
|
+
- app/assets/images/nfg_ui/clouds-gray-lg.png
|
376
|
+
- app/assets/images/nfg_ui/clouds-white-lg.png
|
375
377
|
- app/assets/images/nfg_ui/email/icons/fa-caret-right.png
|
376
378
|
- app/assets/images/nfg_ui/email/icons/fa-check-circle-o-success.png
|
377
379
|
- app/assets/images/nfg_ui/email/icons/fa-check-circle-success.png
|
@@ -380,6 +382,10 @@ files:
|
|
380
382
|
- app/assets/images/nfg_ui/email/icons/fa-twitter.png
|
381
383
|
- app/assets/images/nfg_ui/email/icons/fa-youtube.png
|
382
384
|
- app/assets/images/nfg_ui/email/nfg-logo.png
|
385
|
+
- app/assets/images/nfg_ui/engagement_banners/arrows-bg.png
|
386
|
+
- app/assets/images/nfg_ui/engagement_banners/flowers-bg.png
|
387
|
+
- app/assets/images/nfg_ui/engagement_banners/hearts-bg.gif
|
388
|
+
- app/assets/images/nfg_ui/engagement_banners/snow-bg.gif
|
383
389
|
- app/assets/javascripts/nfg_ui/application.coffee
|
384
390
|
- app/assets/javascripts/nfg_ui/collapsible_toggle.coffee
|
385
391
|
- app/assets/javascripts/nfg_ui/datepicker.coffee
|
@@ -416,6 +422,7 @@ files:
|
|
416
422
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_background.scss
|
417
423
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom.scss
|
418
424
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_grid.scss
|
425
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_jumbotron.scss
|
419
426
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_media.scss
|
420
427
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_modal.scss
|
421
428
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss
|
@@ -431,6 +438,7 @@ files:
|
|
431
438
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_custom_questions_questionnaire.scss
|
432
439
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_custom_receipt_language.scss
|
433
440
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_email_preview.scss
|
441
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_engagement_banners.scss
|
434
442
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_free_trial.scss
|
435
443
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_gallery.scss
|
436
444
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_icomoon.scss
|
@@ -438,7 +446,6 @@ files:
|
|
438
446
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_mailings.scss
|
439
447
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_page_header.scss
|
440
448
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_readmore.scss
|
441
|
-
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_redacted_text.scss
|
442
449
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_share_dropdown.scss
|
443
450
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_sortable.scss
|
444
451
|
- app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss
|
@@ -542,10 +549,15 @@ files:
|
|
542
549
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/application.scss
|
543
550
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_alignment.scss
|
544
551
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_button.scss
|
552
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_grid.scss
|
553
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_typography.scss
|
545
554
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_backgrounds.scss
|
555
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_borders.scss
|
556
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_content_sections.scss
|
546
557
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_layout.scss
|
547
558
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_rainbow_bar.scss
|
548
559
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_spacers.scss
|
560
|
+
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_text_colors.scss
|
549
561
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_typography.scss
|
550
562
|
- app/assets/stylesheets/nfg_ui/network_for_good/email/settings/_settings.scss
|
551
563
|
- app/assets/stylesheets/nfg_ui/network_for_good/public/application.scss
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_redacted_text.scss
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
// Empty state blocker with blokk font-family replacement
|
2
|
-
|
3
|
-
// Import redacted-style "blokk" font for empty states
|
4
|
-
// Needs to be outside of the namespace for valid CSS output (particularly important for Internet Explorer)
|
5
|
-
@font-face {
|
6
|
-
font-family: 'BLOKK';
|
7
|
-
src: asset-url('admin/blokk/BLOKKNeue-Regular.eot');
|
8
|
-
src: asset-url('admin/blokk/BLOKKNeue-Regular.eot?#iefix') format('embedded-opentype'),
|
9
|
-
asset-url('admin/blokk/BLOKKNeue-Regular.woff2') format('woff2'),
|
10
|
-
asset-url('admin/blokk/BLOKKNeue-Regular.woff') format('woff'),
|
11
|
-
asset-url('admin/blokk/BLOKKNeue-Regular.otf') format('opentype'),
|
12
|
-
asset-url('admin/blokk/BLOKKNeue-Regular.ttf') format('truetype'),
|
13
|
-
asset-url('admin/blokk/BLOKKNeue-Regular.svg#BLOKKRegular') format('svg');
|
14
|
-
font-weight: normal;
|
15
|
-
font-style: normal;
|
16
|
-
}
|
17
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
18
|
-
@font-face {
|
19
|
-
font-family: 'BLOKK';
|
20
|
-
src: asset-url('admin/blokk/BLOKKNeue-Regular.svg') format('svg');
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
$redacted-font-family: "BLOKK";
|
25
|
-
|
26
|
-
// Overlay styles
|
27
|
-
.redacted-text {
|
28
|
-
font-family: $redacted-font-family !important;
|
29
|
-
letter-spacing: -3px;
|
30
|
-
word-spacing: -3px;
|
31
|
-
.card-img-overlay { background: none; }
|
32
|
-
}
|