nfg_ui 0.11.18 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_badge.scss +2 -2
  3. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_buttons.scss +24 -1
  4. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_custom-forms.scss +8 -2
  5. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_forms.scss +4 -1
  6. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_nav.scss +6 -2
  7. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/custom/_nav_step.scss +2 -2
  8. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_select2.scss +8 -30
  9. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/{_backgrounds.scss → _background.scss} +6 -0
  10. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_grid.scss +1 -1
  11. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss +21 -16
  12. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_navbar.scss +69 -109
  13. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_activity_feed.scss +2 -2
  14. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_builder_layout.scss +10 -9
  15. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_gallery.scss +1 -1
  16. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss +2 -2
  17. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_tile.scss +1 -0
  18. data/app/assets/stylesheets/nfg_ui/network_for_good/core/_variables.scss +128 -109
  19. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_badge.scss +2 -3
  20. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss +10 -5
  21. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_custom-forms.scss +9 -5
  22. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_forms.scss +6 -2
  23. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_nav.scss +6 -3
  24. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/custom/_nav_step.scss +1 -1
  25. data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_select2.scss +8 -11
  26. data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/_variables.scss +1 -1
  27. data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_modal.scss +1 -1
  28. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_alert.scss +6 -0
  29. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_badge.scss +15 -3
  30. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_button-group.scss +2 -1
  31. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_buttons.scss +38 -4
  32. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_card.scss +1 -1
  33. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom-forms.scss +17 -5
  34. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss +14 -11
  35. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_forms.scss +14 -7
  36. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_modal.scss +3 -0
  37. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_nav.scss +14 -4
  38. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_tooltip.scss +2 -2
  39. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_type.scss +13 -9
  40. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_avatar.scss +9 -8
  41. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_device_preview.scss +1 -1
  42. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_icon.scss +2 -2
  43. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_illustration.scss +4 -3
  44. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_nav_step.scss +4 -3
  45. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_slat.scss +5 -5
  46. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_social_share.scss +9 -8
  47. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_ticket.scss +2 -5
  48. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_tile.scss +10 -11
  49. data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datetimepicker.scss +20 -23
  50. data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_select2.scss +38 -28
  51. data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_twitter_typeahead.scss +5 -7
  52. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_nav.scss +16 -3
  53. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_navbar.scss +6 -6
  54. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_event.scss +1 -1
  55. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_default.scss +1 -1
  56. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_page_header.scss +4 -8
  57. data/lib/nfg_ui/components/patterns/page_header.rb +2 -2
  58. data/lib/nfg_ui/components/patterns/tile_header.rb +2 -2
  59. data/lib/nfg_ui/components/utilities/disable_withable.rb +1 -1
  60. data/lib/nfg_ui/version.rb +1 -1
  61. metadata +3 -3
@@ -1,6 +1,5 @@
1
1
  // Specific styles for entity branding
2
-
3
2
  .badge-primary {
4
- color: color-yiq($primary);
5
- background-color: $primary;
3
+ background: scale-color($primary, $lightness: 80%);
4
+ border-color: $primary;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  // Specific styles for entity branding
2
-
3
2
  .btn-primary {
4
3
  color: color-yiq($primary);
5
4
  background-color: $primary;
@@ -9,23 +8,29 @@
9
8
  background-color: darken($primary, 10%);
10
9
  border-color: darken($primary, 10%);
11
10
  }
12
- &.disabled,
13
- &:disabled,
11
+ &:focus,
12
+ &.focus {
13
+ box-shadow: 0 0 0 $input-btn-focus-width transparentize($primary, 0.8);
14
+ }
14
15
  &:not(:disabled):not(.disabled):active,
15
16
  &:not(:disabled):not(.disabled).active,
16
17
  .show > &.dropdown-toggle {
17
18
  color: color-yiq($primary);
18
19
  background-color: $primary;
19
20
  border-color: $primary;
21
+ box-shadow: 0 0 0 $input-btn-focus-width transparentize($primary, 0.8);
22
+ &:focus { box-shadow: 0 0 0 $input-btn-focus-width transparentize($primary, 0.8); }
20
23
  }
21
24
  }
22
25
 
23
- .btn-outline-secondary {
26
+ .btn-secondary, .btn-outline-secondary {
24
27
  color: color-yiq($primary, $yiq-text-dark, $primary);
25
28
  &:hover { color: color-yiq($primary, $yiq-text-dark, $primary) !important; }
26
29
  &:not(:disabled):not(.disabled):active,
27
30
  &:not(:disabled):not(.disabled).active,
28
- .show > &.dropdown-toggle { color: color-yiq($primary, $yiq-text-dark, $primary) !important; }
31
+ .show > &.dropdown-toggle {
32
+ color: color-yiq($primary, $yiq-text-dark, $primary) !important;
33
+ }
29
34
  }
30
35
 
31
36
  .btn-link {
@@ -4,21 +4,25 @@
4
4
  .custom-control-input {
5
5
  &:checked {
6
6
  ~ .custom-control-label, ~ .custom-control-label::before { border-color: $primary; }
7
- ~ .custom-control-label::before { background-color: $primary; }
7
+ ~ .custom-control-label::before {
8
+ background-color: $primary;
9
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
10
+ }
8
11
  }
9
12
  &:not(:disabled):active ~ .custom-control-label::before {
10
13
  background-color: lighten($primary, 35%);
11
14
  border-color: lighten($primary, 35%);
12
15
  }
13
16
  }
17
+ &.custom-control-block {
18
+ .custom-control-input:checked ~ .custom-control-label { box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8); }
19
+ }
14
20
  }
15
21
 
16
22
  .custom-select {
17
- color: color-yiq($primary, $yiq-text-dark, $primary);
18
- background-image: $custom-select-indicator;
19
- &:focus {
23
+ &:active, &:focus {
20
24
  border-color: $primary;
21
- &::-ms-value { color: $primary; }
25
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
22
26
  }
23
27
  }
24
28
 
@@ -1,6 +1,10 @@
1
1
  // Specific styles for entity branding
2
-
3
- .form-control:focus { border-color: $primary; }
2
+ .form-control {
3
+ &:focus {
4
+ border-color: $primary;
5
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
6
+ }
7
+ }
4
8
 
5
9
 
6
10
  // Styles needed to override :valid success styles provided by bootstrap... this is for server side forms only
@@ -1,14 +1,17 @@
1
1
  // Specific styles for entity branding
2
-
3
2
  .nav {
4
3
  &.flex-column {
5
4
  .nav-link {
6
- &.active { border-color: $primary; }
5
+ &:hover, &.active {
6
+ &:after { background: $primary; }
7
+ }
7
8
  }
8
9
  }
9
10
  }
10
11
  .nav-tabs {
11
12
  .nav-link {
12
- &:hover, &.active { border-color: $primary; }
13
+ &:hover, &.active {
14
+ &:after { background: $primary; }
15
+ }
13
16
  }
14
17
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .step-indicator {
17
- &::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.5); }
17
+ &::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.8); }
18
18
  }
19
19
  }
20
20
  }
@@ -1,16 +1,13 @@
1
1
  // Specific styles for entity branding
2
2
 
3
3
  .select2-container--default {
4
- .select2-selection--single {
5
- color: color-yiq($primary) !important;
6
- background-image: $custom-select-indicator;
7
- &,
8
- .select2-selection__placeholder,
9
- .select2-selection__choice__remove,
10
- .select2-selection__rendered,
11
- .select2-selection__rendered .select2-selection__choice { color: color-yiq($primary, $yiq-text-dark, $primary) !important; }
12
- }
13
4
  &.select2-container--focus .select2-selection--multiple,
14
- &.select2-container--open .select2-selection--single { border-color: $primary !important; }
15
- .select2-search--dropdown .select2-search__field:focus { border-color: $primary !important; }
5
+ &.select2-container--open .select2-selection--single {
6
+ border-color: $primary !important;
7
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
8
+ }
9
+ .select2-search--dropdown .select2-search__field:focus {
10
+ border-color: $primary !important;
11
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
12
+ }
16
13
  }
@@ -1,5 +1,5 @@
1
1
  // These variables are neeeded to ensure the grid and breakpoints work within the legacy_browser_support directory
2
- $spacer: 2.4rem;
2
+ $spacer: 3.2rem;
3
3
 
4
4
  $grid-breakpoints: (
5
5
  xs: 0,
@@ -24,5 +24,5 @@
24
24
  .modal-footer {
25
25
  display: -ms-flexbox;
26
26
  -ms-flex-align: center;
27
- -ms-flex-pack: end;
27
+ -ms-flex-pack: start;
28
28
  }
@@ -6,6 +6,12 @@
6
6
  &:hover, &:active { text-decoration: none; }
7
7
  }
8
8
  }
9
+
10
+ @each $color, $value in $theme-colors {
11
+ .alert-#{$color} {
12
+ background: scale-color($value, $lightness: 80%);
13
+ }
14
+ }
9
15
  .alert-success a:not(.btn) { color: $success !important; }
10
16
  .alert-info a:not(.btn) { color: $info !important; }
11
17
  .alert-warning a:not(.btn) { color: $warning !important; }
@@ -1,3 +1,15 @@
1
- // overrides color contrast settings
2
- .badge-secondary { color: $white !important; }
3
- .badge-warning { color: $white !important; }
1
+ .badge {
2
+ color: $body-color;
3
+ border: $border-width solid transparent;
4
+ }
5
+
6
+
7
+ // Colors
8
+ //
9
+ // Contextual variations (linked badges get darker on :hover).
10
+ @each $color, $value in $theme-colors {
11
+ .badge-#{$color} {
12
+ background: scale-color($value, $lightness: 80%);
13
+ border-color: $value;
14
+ }
15
+ }
@@ -3,7 +3,7 @@
3
3
  > .btn-primary:not(:first-child),
4
4
  > .btn-group:not(:first-child) > .btn-primary {
5
5
  margin-left: 0;
6
- border-left-color: rgba(0,0,0,.15);
6
+ border-left: $border-width solid transparentize($black, .8);
7
7
  }
8
8
  }
9
9
 
@@ -24,6 +24,7 @@
24
24
  // Buttons on quick add modal in DMS
25
25
  .btn-group-quick-add {
26
26
  .col-4 {
27
+ padding: 0;
27
28
  &:nth-child(1n) { border-left: $border-width solid $border-color; }
28
29
  @include media-breakpoint-down(sm) {
29
30
  &:first-child { border-left: none; }
@@ -1,9 +1,40 @@
1
+ // Sets box-shadow interaction to override bootstrap's defaults
2
+ @each $color, $value in $theme-colors {
3
+ .btn-#{$color}, .btn-outline-#{$color} {
4
+ &:focus,
5
+ &.focus {
6
+ @include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width transparentize($value, 0.8));
7
+ }
8
+ &:not(:disabled):not(.disabled):active,
9
+ &:not(:disabled):not(.disabled).active,
10
+ .show > &.dropdown-toggle {
11
+ @include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width transparentize($value, 0.8));
12
+ &:focus { @include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width transparentize($value, 0.8)); }
13
+ }
14
+ }
15
+ }
16
+
17
+
1
18
  // Custom secondary button usage
2
- .btn-outline-secondary {
19
+ [class*='btn-outline'], .btn-secondary {
20
+ padding-top: $input-btn-padding-y;
21
+ padding-bottom: $input-btn-padding-y;
22
+ border-width: $border-width;
23
+ box-shadow: transparentize($black, 0.9) 0px 1px 0px 0px;
24
+ &.btn-sm {
25
+ padding-top: $input-btn-padding-y-sm;
26
+ padding-bottom: $input-btn-padding-y-sm;
27
+ }
28
+ &.btn-lg {
29
+ padding-top: $input-btn-padding-y-lg;
30
+ padding-bottom: $input-btn-padding-y-lg;
31
+ }
32
+ }
33
+ .btn-secondary, .btn-outline-secondary {
3
34
  color: $primary;
4
35
  background-color: $white;
5
- border-color: $border-color;
6
- @include hover {
36
+ border: $border-width solid $border-color;
37
+ @include hover-focus {
7
38
  color: $body-color !important;
8
39
  background-color: $body-bg;
9
40
  }
@@ -14,7 +45,10 @@
14
45
  background-color: $body-bg;
15
46
  }
16
47
  }
17
- .btn-link { font-weight: $btn-font-weight; }
48
+ .btn-link {
49
+ font-weight: $btn-font-weight;
50
+ &:hover { text-decoration: underline; }
51
+ }
18
52
 
19
53
  // overrides color contrast settings
20
54
  .btn-warning { color: $white !important; }
@@ -16,7 +16,7 @@
16
16
  .card-img-overlay {
17
17
  top: auto; // makes the overlay gradient and container "stick" to bottom of parent container
18
18
  min-height: ($spacer * 2);
19
- @include gradient-y(transparentize($black, 1), transparentize($black, .5));
19
+ @include gradient-y(transparentize($gray-900, 1), transparentize($gray-900, .5));
20
20
  }
21
21
 
22
22
  .card-img { @include border-radius(0); }
@@ -7,10 +7,18 @@
7
7
  .custom-control-input {
8
8
  &:checked {
9
9
  ~ .custom-control-label,
10
- ~ .custom-control-label::before { border-color: $input-focus-border-color; }
10
+ ~ .custom-control-label::before {
11
+ border-color: $input-focus-border-color;
12
+ }
13
+ ~ .custom-control-label::before {
14
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
15
+ }
11
16
  }
12
17
  &:focus:not(:checked) ~ .custom-control-label::before { border-color: $input-border-color; }
13
18
  }
19
+ &.custom-control-block {
20
+ .custom-control-input:checked ~ .custom-control-label { box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8); }
21
+ }
14
22
  + .custom-control:not(.custom-control-inline) { margin-top: ($spacer * .25); }
15
23
  }
16
24
  .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
@@ -40,7 +48,7 @@
40
48
  // Tweak just a few things for radios.
41
49
 
42
50
  .custom-radio {
43
- .custom-control-label::after { background-size: 45% 45%; }
51
+ .custom-control-label::after { background-size: 50% 50%; }
44
52
  }
45
53
 
46
54
  // Select
@@ -53,9 +61,13 @@
53
61
  display: block;
54
62
  width: auto;
55
63
  max-width: 100%;
56
- font-weight: $btn-font-weight;
57
64
  cursor: pointer;
58
65
  box-shadow: none;
66
+ &:focus { border-color: $border-color; } // if focus has a color other than the original, it shows the new border color after user selects item in select
67
+ &:active, &:focus {
68
+ border-color: $input-focus-border-color;
69
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8); // adds box-shadow for active only
70
+ }
59
71
  }
60
72
 
61
73
  // File
@@ -80,7 +92,7 @@
80
92
  padding: 0;
81
93
  .custom-control-label {
82
94
  margin-bottom: 0;
83
- padding: ($spacer * 1.5) $spacer ($spacer * 2);
95
+ padding: $spacer $spacer ($spacer * 1.75);
84
96
  border: $border-width solid $border-color;
85
97
  border-radius: $border-radius;
86
98
  cursor: pointer;
@@ -123,7 +135,7 @@
123
135
  background-color: $body-bg;
124
136
  }
125
137
  &::after {
126
- top: 0;
138
+ top: 1px;
127
139
  background-color: $white;
128
140
  border: $border-width solid $border-color;
129
141
  border-radius: 50%;
@@ -1,37 +1,40 @@
1
1
  .dropdown-toggle::after { content: none; }
2
2
 
3
3
 
4
+ // The dropdown menu
5
+ .dropdown-menu { padding: $dropdown-padding-y $dropdown-padding-x; }
6
+
7
+
4
8
  // Links, buttons, and more within the dropdown menu
5
9
  .dropdown-item {
6
- + .dropdown-item { border-top: $border-width solid $border-color; }
10
+ border-radius: $dropdown-inner-border-radius;
7
11
  &.disabled, &:disabled {
8
- background-color: $body-bg;
12
+ color: $dropdown-link-disabled-color !important;
13
+ background-color: $input-disabled-bg;
9
14
  cursor: default;
10
15
  pointer-events: none;
11
16
  }
12
- &:not(.text-danger) { color: inherit !important; }
17
+ &:not(.text-danger):not(.disabled) { color: inherit !important; }
13
18
  }
14
19
 
15
-
16
20
  // Dropdown section headers
17
21
  .dropdown-header {
18
- padding-top: ($spacer * .5);
19
- padding-bottom: ($spacer * .5);
20
- + .dropdown-item { border-top: $border-width solid $border-color; }
22
+ padding-top: ($spacer * .25);
23
+ padding-bottom: ($spacer * .25);
24
+ font-size: $font-size-base;
21
25
  }
22
26
 
23
27
 
24
28
  // Sizing
25
- .dropdown-menu-md, .dropdown-menu-lg { min-width: ($spacer * 10); }
29
+ .dropdown-menu-md, .dropdown-menu-lg { min-width: ($spacer * 8); }
26
30
  .dropdown-menu-md {
27
- @include media-breakpoint-up(sm) { min-width: ($spacer * 12); }
31
+ @include media-breakpoint-up(sm) { min-width: ($spacer * 10); }
28
32
  }
29
33
  .dropdown-menu-lg {
30
- @include media-breakpoint-up(sm) { min-width: ($spacer * 24); }
34
+ @include media-breakpoint-up(sm) { min-width: ($spacer * 20); }
31
35
  }
32
36
 
33
37
 
34
-
35
38
  // Styles for wider "My Tools" dropdown in top nav
36
39
  #my_tools_dropdown {
37
40
  @include media-breakpoint-down(sm) { max-width: 100vw; }
@@ -1,13 +1,20 @@
1
+ .form-control {
2
+ &:focus {
3
+ box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
4
+ }
5
+ }
6
+
7
+
1
8
  // Required styles
2
9
  label {
3
10
  font-weight: $font-weight-bold;
4
11
  &.required {
5
- padding-left: ($spacer * .5);
12
+ padding-left: ($spacer * .25);
6
13
  &::before{
7
14
  content: '*';
8
15
  color: theme-color("danger");
9
- margin-left: -($spacer * .5);
10
- padding-right: ($spacer * .25);
16
+ margin-left: -($spacer * .25);
17
+ padding-right: ($spacer * .125);
11
18
  }
12
19
  }
13
20
  .required, abbr[title='required'] {
@@ -18,7 +25,7 @@ label {
18
25
  }
19
26
  }
20
27
 
21
- textarea.form-control { min-height: ($spacer * 6); }
28
+ textarea.form-control { min-height: ($spacer * 5); }
22
29
 
23
30
  // Form groups
24
31
  //
@@ -27,7 +34,7 @@ textarea.form-control { min-height: ($spacer * 6); }
27
34
 
28
35
  .form-text {
29
36
  font-size: $font-size-sm;
30
- line-height: 1.3;
37
+ line-height: 1.428;
31
38
  }
32
39
 
33
40
  // Checkboxes and radios
@@ -47,14 +54,14 @@ textarea.form-control { min-height: ($spacer * 6); }
47
54
 
48
55
  .valid-feedback,
49
56
  .invalid-feedback {
50
- line-height: 1.3;
57
+ line-height: 1.428;
51
58
  }
52
59
  .valid-tooltip,
53
60
  .invalid-tooltip {
54
61
  padding: $tooltip-padding-y $tooltip-padding-x;
55
62
  font-size: $tooltip-font-size;
56
63
  font-weight: $font-weight-bold;
57
- line-height: 1.3;
64
+ line-height: 1.428;
58
65
  border-radius: $tooltip-border-radius;
59
66
  }
60
67