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,3 +1,6 @@
1
+ // Footer (for actions)
2
+ .modal-footer { justify-content: flex-start; } // Left align buttons which overrides bootstrap's default of right aligned
3
+
1
4
  // Full page cover modal option
2
5
  .modal-cover {
3
6
  margin: 0;
@@ -3,24 +3,34 @@
3
3
  //
4
4
  .nav-tabs {
5
5
  border-width: $border-width;
6
-
7
6
  .nav-item {
8
7
  margin-bottom: -$border-width;
9
8
  font-weight: $font-weight-bold;
10
9
  font-size: $font-size-base;
11
10
  }
12
-
13
11
  .nav-link {
12
+ position: relative;
14
13
  color: $text-muted !important;
15
14
  border: none;
16
- border-bottom: $nav-tabs-border-width solid transparent;
15
+ &:after {
16
+ position: absolute;
17
+ bottom: 0;
18
+ left: 0;
19
+ right: 0;
20
+ height: $nav-tabs-border-width;
21
+ border-radius: ($nav-tabs-border-width / 2);
22
+ background: transparent;
23
+ transition: $btn-transition;
24
+ content: '';
25
+ }
17
26
  @include hover-focus {
18
27
  color: $nav-tabs-link-active-color !important;
19
- border-color: $nav-tabs-link-hover-border-color;
28
+ &:after { background: $nav-tabs-link-hover-border-color; }
20
29
  }
21
30
  }
22
31
  .nav-link.active,
23
32
  .nav-item.show .nav-link {
24
33
  color: $nav-tabs-link-active-color !important;
34
+ &:after { background: $nav-tabs-link-hover-border-color; }
25
35
  }
26
36
  }
@@ -1,5 +1,5 @@
1
1
  // Setting line-height
2
2
  .tooltip {
3
3
  font-weight: $font-weight-bold;
4
- line-height: 1.3;
5
- }
4
+ line-height: 1.428;
5
+ }
@@ -1,25 +1,29 @@
1
1
  //
2
2
  // Headings
3
3
  //
4
- h1, .h1 { line-height: 1; }
5
- h2, .h2 { line-height: 1.15; }
6
- h3, .h3 { line-height: 1.1; }
7
- h4, .h4 { line-height: 1; }
8
- h5, .h5 { line-height: 1.2; }
4
+ // h1, .h1 { line-height: 1.2; } // commented out because it uses $headings-line-height
5
+ h2, .h2 { line-height: 1.25; }
6
+ h3, .h3 { line-height: 1.143; }
7
+ h4, .h4 { line-height: 1.333; }
8
+ // h5, .h5 { line-height: 1.2; } // commented out because it uses $headings-line-height
9
9
  h6, .h6 { line-height: 1.5; }
10
10
 
11
11
  // Type display classes
12
+ .display-1 { line-height: 1.1667; }
13
+ // .display-2 { line-height: 1.2; } // commented out because it uses $display-line-height
14
+ .display-3 { line-height: 1.125; }
12
15
  .display-4 {
13
- line-height: 1.3;
16
+ line-height: 1.5;
14
17
  color: $text-muted;
15
18
  text-transform: uppercase;
19
+ letter-spacing: .5px;
16
20
  }
17
21
 
18
22
  // Adjust heading sizes on smaller devices
19
23
  @include media-breakpoint-down(md) {
20
24
  h1, .h1, h2, .h2, h3, .h3 {
21
25
  font-size: $h4-font-size;
22
- line-height: 1;
26
+ line-height: 1.333;
23
27
  }
24
28
  }
25
29
 
@@ -29,12 +33,13 @@ h6, .h6 { line-height: 1.5; }
29
33
  .font-size-base { font-size: $font-size-base !important; }
30
34
  .font-size-sm {
31
35
  font-size: $font-size-sm !important;
32
- line-height: 1.3;
36
+ line-height: 1.428;
33
37
  }
34
38
  .font-size-lg { font-size: $font-size-lg !important; }
35
39
  .line-height-sm { line-height: $line-height-sm; }
36
40
  .line-height { line-height: 1.5; }
37
41
  .line-height-lg { line-height: $line-height-lg; }
42
+ .lead { line-height: 1.778; }
38
43
 
39
44
  strong, .strong, b, .b { font-weight: $font-weight-bold; }
40
45
 
@@ -52,7 +57,6 @@ a.no-link-color {
52
57
  @include text-emphasis-variant(".text-#{$color}", $value);
53
58
  }
54
59
 
55
-
56
60
  // Adds a background divider to word
57
61
  .text-divider {
58
62
  position: relative;
@@ -4,8 +4,8 @@
4
4
  align-items: center;
5
5
  justify-content: center;
6
6
  vertical-align: middle;
7
- width: ($spacer * 2);
8
- height: ($spacer * 2);
7
+ width: ($spacer * 1.25);
8
+ height: ($spacer * 1.25);
9
9
  color: $body-color;
10
10
  background-color: $border-color;
11
11
  border-radius: 50%;
@@ -32,22 +32,23 @@
32
32
  &.avatar-sm {
33
33
  width: $spacer;
34
34
  height: $spacer;
35
- .avatar-text { font-size: ($font-size-base * .625); }
35
+ .avatar-text { font-size: $font-size-sm; }
36
36
  }
37
37
  &.avatar-lg {
38
- width: ($spacer * 4);
39
- height: ($spacer * 4);
40
- .avatar-text { font-size: $font-size-lg; }
38
+ width: ($spacer * 3);
39
+ height: ($spacer * 3);
40
+ .avatar-text { font-size: $h3-font-size; }
41
41
  }
42
42
  &.avatar-xl {
43
- width: ($spacer * 5);
44
- height: ($spacer * 5);
43
+ width: ($spacer * 4.5);
44
+ height: ($spacer * 4.5);
45
45
  .avatar-text { font-size: $h1-font-size; }
46
46
  }
47
47
  }
48
48
 
49
49
  // Avatar as a link
50
50
  a.avatar {
51
+ color: inherit !important;
51
52
  opacity: 1;
52
53
  transition: $transition-fade;
53
54
  &:hover, &:active { opacity: $btn-disabled-opacity; }
@@ -18,7 +18,7 @@
18
18
  display: block;
19
19
  content: '';
20
20
  transform: translate(-50%, -50%);
21
- border: 1px solid $border-color;
21
+ border: $border-width solid $border-color;
22
22
  }
23
23
  &::before {
24
24
  top: -30px;
@@ -7,8 +7,8 @@
7
7
  align-items: center;
8
8
  justify-content: center;
9
9
  vertical-align: middle;
10
- width: ($spacer * 1.5);
11
- height: ($spacer * 1.5);
10
+ width: ($spacer * 1.25);
11
+ height: ($spacer * 1.25);
12
12
  font-size: $font-size-base;
13
13
  background-color: $border-color;
14
14
  border-radius: 50%;
@@ -1,7 +1,8 @@
1
1
  .illustration {
2
2
  max-width: 100%;
3
3
  height: auto;
4
- max-height: ($spacer * 6);
4
+ max-height: ($spacer * 4.5);
5
5
  }
6
- .illustration-sm { max-height: ($spacer * 4); }
7
- .illustration-lg { max-height: ($spacer * 10); }
6
+ .illustration-xs { max-height: ($spacer * 1.5); }
7
+ .illustration-sm { max-height: ($spacer * 3); }
8
+ .illustration-lg { max-height: ($spacer * 7.5); }
@@ -4,7 +4,7 @@
4
4
  .nav-steps {
5
5
  .nav-item {
6
6
  position: relative;
7
-
7
+ line-height: 1;
8
8
 
9
9
  // Background connector bar between items
10
10
  &::before {
@@ -43,7 +43,7 @@
43
43
  .step-indicator {
44
44
  background-color: $secondary;
45
45
  border-color: $secondary;
46
- &::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($secondary, 0.5); };
46
+ &::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($secondary, 0.8); }
47
47
  }
48
48
  }
49
49
  }
@@ -97,12 +97,13 @@
97
97
  width: 100%;
98
98
  height: 100%;
99
99
  border-radius: 50%;
100
- box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.5);
100
+ box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.8);
101
101
  transition: $transition-fade;
102
102
  opacity: 0;
103
103
  content: '';
104
104
  }
105
105
  }
106
+ .step-text { line-height: 1.143; }
106
107
  }
107
108
 
108
109
 
@@ -86,11 +86,11 @@ $slat-actions-lg-width: 108px;
86
86
  .slat-actions {
87
87
  flex-grow: 0;
88
88
  flex-shrink: 0;
89
- flex-basis: ($spacer * 2.5);
89
+ flex-basis: ($spacer * 2.25);
90
90
  text-align: right;
91
- @include media-breakpoint-up(md) { flex-basis: ($spacer * 5.5); }
92
- .slat-actions-sm & { flex-basis: ($spacer * 2.5); }
93
- .slat-actions-lg & { flex-basis: ($spacer * 5.5); }
91
+ @include media-breakpoint-up(md) { flex-basis: ($spacer * 4.375); }
92
+ .slat-actions-sm & { flex-basis: ($spacer * 2.25); }
93
+ .slat-actions-lg & { flex-basis: ($spacer * 4.375); }
94
94
  }
95
95
 
96
96
 
@@ -112,7 +112,7 @@ $slat-actions-lg-width: 108px;
112
112
 
113
113
  // Slat header
114
114
  .slat-header {
115
- padding-bottom: ($spacer * .5);
115
+ padding-bottom: ($spacer * .25);
116
116
  border-bottom: $border-width solid $border-color;
117
117
  .slat { padding: 0 !important; }
118
118
  .slat-body { align-items: center; }
@@ -21,26 +21,27 @@ $social-media-colors: map-merge(
21
21
 
22
22
 
23
23
  // Buttons
24
- @each $color, $value in $social-media-colors {
25
- .btn-#{$color} {
24
+ @each $social-media, $value in $social-media-colors {
25
+ .btn-#{$social-media} {
26
+ color: $white !important;
26
27
  @include button-variant($value, $value);
27
28
  }
28
29
  }
29
30
 
30
- @each $color, $value in $social-media-colors {
31
- .btn-outline-#{$color} {
31
+ @each $social-media, $value in $social-media-colors {
32
+ .btn-outline-#{$social-media} {
32
33
  @include button-outline-variant($value);
33
34
  }
34
35
  }
35
36
 
36
37
 
37
38
  // Text
38
- @each $color, $value in $social-media-colors {
39
- @include text-emphasis-variant(".text-#{$color}", $value);
39
+ @each $social-media, $value in $social-media-colors {
40
+ @include text-emphasis-variant(".text-#{$social-media}", $value);
40
41
  }
41
42
 
42
43
 
43
44
  // Backgrounds
44
- @each $color, $value in $social-media-colors {
45
- @include bg-variant(".bg-#{$color}", $value);
45
+ @each $social-media, $value in $social-media-colors {
46
+ @include bg-variant(".bg-#{$social-media}", $value);
46
47
  }
@@ -1,12 +1,9 @@
1
1
  // Styles specific to the ticket experience
2
2
  .ticket-guest {
3
- padding: $spacer ($spacer * .5);
4
- border-radius: $border-radius;
5
- box-shadow: $box-shadow-sm;
6
- @include transition(box-shadow .4s ease-in-out, padding .3s ease-in-out); // animation for active/inactive ticket guest rows
3
+ padding-bottom: $spacer;
4
+ transition: $transition-base;
7
5
  &.disabled {
8
6
  opacity: .4;
9
7
  pointer-events: none;
10
8
  }
11
9
  }
12
- .ticket-guest-row { @include transition(box-shadow .1s ease-in-out, padding .3s ease-in-out); } // corresponding animation for active/inactive ticket guest rows
@@ -1,7 +1,6 @@
1
1
  //
2
2
  // Base styles
3
3
  //
4
-
5
4
  .tile {
6
5
  display: block;
7
6
  margin-right: auto;
@@ -9,36 +8,36 @@
9
8
  word-wrap: break-word;
10
9
  background-color: $white;
11
10
  border: $border-width solid $border-color;
11
+ border-radius: $border-radius-lg;
12
12
  + .tile { margin-top: $spacer; }
13
13
  }
14
-
15
14
  .tile-body {
16
- padding: $grid-gutter-width;
17
- @include media-breakpoint-up(sm) { padding: ($grid-gutter-width * 1.5); }
15
+ padding: $grid-gutter-width ($grid-gutter-width * .75);
16
+ @include media-breakpoint-up(sm) { padding: ($grid-gutter-width * 1.25) $grid-gutter-width; }
18
17
  }
19
18
 
19
+
20
20
  // Sections within a tile used to separate groups of content
21
21
  .tile-section {
22
22
  display: block;
23
23
  margin-right: auto;
24
24
  margin-left: auto;
25
- @include media-breakpoint-down(sm) { padding-bottom: ($grid-gutter-width * 1.5); }
25
+ @include media-breakpoint-down(sm) { padding-bottom: $grid-gutter-width; }
26
26
  @include media-breakpoint-up(sm) { padding-bottom: ($grid-gutter-width * 2); }
27
27
  &:last-child { padding-bottom: 0; }
28
28
  + .tile-section {
29
29
  border-top: $border-width solid $border-color;
30
- @include media-breakpoint-down(sm) { padding-top: ($grid-gutter-width * 1.5); }
30
+ @include media-breakpoint-down(sm) { padding-top: $grid-gutter-width; }
31
31
  @include media-breakpoint-up(sm) { padding-top: ($grid-gutter-width * 2); }
32
32
  }
33
33
  }
34
34
 
35
+
35
36
  //
36
37
  // Optional textual caps
37
38
  //
38
-
39
39
  .tile-header, .tile-footer {
40
- padding: ($grid-gutter-width / 2) $grid-gutter-width;
41
- background-color: $white;
40
+ padding: ($grid-gutter-width * .75);
42
41
  @include media-breakpoint-up(sm) { padding: $grid-gutter-width; }
43
42
  }
44
43
  .tile-header {
@@ -49,13 +48,13 @@
49
48
  }
50
49
  .tile-body + .tile-footer { border-top: $border-width solid $border-color; }
51
50
 
51
+
52
52
  //
53
53
  // Header navs
54
54
  //
55
-
56
55
  .tile-header-tabs {
57
56
  margin-right: -$grid-gutter-width;
58
- margin-bottom: -($grid-gutter-width / 2);
57
+ margin-bottom: -($grid-gutter-width * .75);
59
58
  margin-left: -$grid-gutter-width;
60
59
  border-bottom: 0;
61
60
  @include media-breakpoint-up(sm) { margin-bottom: -$grid-gutter-width; }
@@ -14,12 +14,9 @@
14
14
  .bootstrap-datetimepicker-widget {
15
15
  display: block;
16
16
  top: 0 !important;
17
- padding: 0;
18
- min-width: ($spacer * 14);
19
- max-width: ($spacer * 14);
17
+ min-width: ($spacer * 10.5);
18
+ max-width: ($spacer * 10.5);
20
19
  background-color: $white;
21
- border: $border-width solid $border-color;
22
- border-radius: 0;
23
20
  z-index: 110;
24
21
 
25
22
  &.dropdown-menu {
@@ -127,8 +124,8 @@
127
124
  //** Default sizing for select cells
128
125
  [data-action^='select'] {
129
126
  display: inline-block;
130
- height: ($spacer * 3);
131
- line-height: ($spacer * 3);
127
+ height: ($spacer * 2.25);
128
+ line-height: ($spacer * 2.25);
132
129
  }
133
130
  }
134
131
 
@@ -137,8 +134,8 @@
137
134
 
138
135
  //** Top picker switcher for month, year, decade
139
136
  [data-action^='picker'] {
140
- padding-top: ($spacer / 2);
141
- padding-bottom: ($spacer / 2);
137
+ padding-top: ($spacer * .25);
138
+ padding-bottom: ($spacer * .25);
142
139
  width: ($spacer * 10);
143
140
  border-right: $border-width solid $border-color;
144
141
  border-left: $border-width solid $border-color;
@@ -147,7 +144,7 @@
147
144
 
148
145
  //** Day of the week
149
146
  .dow {
150
- padding: ($spacer / 4);
147
+ padding: ($spacer * .25);
151
148
  font-weight: $font-weight-bold;
152
149
  font-size: $font-size-base;
153
150
  border-top: $border-width solid $border-color;
@@ -156,7 +153,7 @@
156
153
  //** Previous/Next buttons
157
154
  .prev, .next {
158
155
  color: $link-color;
159
- width: ($spacer * 2);
156
+ width: ($spacer * 1.5);
160
157
  height: 100%;
161
158
  }
162
159
 
@@ -164,8 +161,8 @@
164
161
  .datepicker-days {
165
162
  [data-action^='select'] {
166
163
  display: table-cell;
167
- width: ($spacer * 2);
168
- height: ($spacer * 2);
164
+ width: ($spacer * 1.5);
165
+ height: ($spacer * 1.5);
169
166
  line-height: 1;
170
167
  &:first-child { border-left: none; }
171
168
  }
@@ -193,21 +190,21 @@
193
190
 
194
191
  //** Timepicker picker section
195
192
  .timepicker-picker {
196
- padding-right: ($spacer / 2);
193
+ padding-right: ($spacer * .5);
197
194
  td {
198
195
  width: 35%;
199
- &:nth-child(2) { width: ($spacer / 2); }
196
+ &:nth-child(2) { width: ($spacer * .5); }
200
197
  &:nth-child(4) {
201
- padding-left: ($spacer / 2);
202
- width: ($spacer * 2);
198
+ padding-left: ($spacer * .5);
199
+ width: ($spacer * 1.5);
203
200
  }
204
201
  a { color: $link-color; }
205
202
  }
206
203
  [class^='timepicker-'] {
207
204
  display: block;
208
205
  width: 100%;
209
- height: ($spacer * 2);
210
- line-height: ($spacer * 2);
206
+ height: ($spacer * 1.5);
207
+ line-height: ($spacer * 1.5);
211
208
  font-weight: $font-weight-bold;
212
209
  font-size: $font-size-lg;
213
210
  cursor: pointer;
@@ -217,9 +214,9 @@
217
214
  .btn {
218
215
  position: relative;
219
216
  display: block;
220
- padding: ($spacer / 2) 0;
217
+ padding: ($spacer * .5) 0;
221
218
  width: 100%;
222
- height: ($spacer * 2);
219
+ height: ($spacer * 1.5);
223
220
  }
224
221
  }
225
222
 
@@ -227,8 +224,8 @@
227
224
  .picker-switch.accordion-toggle {
228
225
  a {
229
226
  display: block;
230
- padding-top: ($spacer / 2);
231
- padding-bottom: ($spacer / 2);
227
+ padding-top: ($spacer * .5);
228
+ padding-bottom: ($spacer * .5);
232
229
  color: $link-color;
233
230
  background-color: $white;
234
231
  cursor: pointer;