@leapdev/gui 0.2.228 → 0.2.233

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.
Files changed (35) hide show
  1. package/dist/css/4d-bylawyers.css +1 -1
  2. package/dist/css/4d-lawconnect.css +1 -1
  3. package/dist/css/4d-leap-web.css +1 -1
  4. package/dist/css/4d-leap.css +1 -1
  5. package/dist/css/xsf-crx-lawconnect.css +1 -1
  6. package/dist/css/xsf-crx-leap.css +1 -1
  7. package/dist/index.html +2 -2
  8. package/dist/scss/4d/_base.scss +2 -0
  9. package/dist/scss/4d/_content-app.scss +4 -4
  10. package/dist/scss/4d/_variables-bylawyers.scss +37 -123
  11. package/dist/scss/4d/_variables-web.scss +37 -21
  12. package/dist/scss/4d/_variables.scss +35 -18
  13. package/dist/scss/4d/components/datepicker.scss +3 -0
  14. package/dist/scss/4d/components/page.scss +5 -1
  15. package/dist/scss/4d/components/responsive-table.scss +50 -0
  16. package/dist/scss/4d/components/section.scss +4 -0
  17. package/dist/scss/4d/mixins/_all.scss +2 -1
  18. package/dist/scss/4d/mixins/_mobile-device.scss +8 -0
  19. package/dist/scss/4d/overrides/buttons/buttons.scss +20 -0
  20. package/dist/scss/4d/overrides/forms/form-group.scss +13 -0
  21. package/dist/scss/4d/overrides/forms/forms.scss +0 -1
  22. package/dist/scss/4d/overrides/forms/input-group.scss +14 -0
  23. package/dist/scss/4d/overrides/forms/input-options.scss +46 -12
  24. package/dist/scss/4d/overrides/forms/input-select.scss +73 -5
  25. package/dist/scss/4d/overrides/forms/input-text.scss +6 -0
  26. package/dist/scss/4d/overrides/grid/_grid.scss +13 -0
  27. package/dist/scss/4d/overrides/nav/navbar.scss +82 -3
  28. package/dist/scss/4d/overrides/product/_bylawyers.scss +17 -10
  29. package/dist/scss/4d/overrides/product/_leapweb.scss +13 -56
  30. package/dist/scss/4d/overrides/typography/page-header.scss +31 -0
  31. package/dist/scss/xsf-crx/components/_custom-tabs.scss +5 -2
  32. package/dist/scss/xsf-crx/sites/sf-lawconnect/_variables.scss +1 -0
  33. package/dist/scss/xsf-crx/sites/sf-leap/_variables.scss +1 -0
  34. package/package.json +1 -1
  35. package/dist/scss/4d/overrides/forms/input-range.scss +0 -0
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // Quickly modify global styling by enabling or disabling optional features.
4
4
 
5
- $is-sirius: true !default;
5
+ $is-sirius: false !default;
6
6
  $is-dark-theme: false !default;
7
7
  $enable-navbar-fixed-top: true;
8
8
  $enable-transitions: false;
@@ -91,7 +91,7 @@ $grid-gutter-width: 2rem;
91
91
  // stylelint-disable value-keyword-case
92
92
  $font-family-base:
93
93
  //TitleX Default Fonts
94
- 'Open Sans',
94
+ // 'Open Sans',
95
95
  // Safari for OS X and iOS (San Francisco)
96
96
  -apple-system,
97
97
  // Chrome < 56 for OS X (San Francisco)
@@ -109,7 +109,7 @@ $font-family-base:
109
109
  // Font Sizes
110
110
  //
111
111
  $font-size-lg: 0.875rem; //14px
112
- $font-size-base: 0.75rem; //12px
112
+ $font-size-base: 0.8125rem; //13px
113
113
  $font-size-sm: 0.687rem; //11px
114
114
  $font-size-xs: 0.687rem !default; //11px
115
115
 
@@ -174,7 +174,10 @@ $icons-path: "~ag-grid-community/src/styles/ag-theme-material/i
174
174
 
175
175
  // Buttons + Forms
176
176
  //
177
+ $label-font-size: 0.8125rem !default;
177
178
  $label-margin-bottom: 0.313rem !default;
179
+ $label-font-weight: 400 !default;
180
+ $label-font-color: $body-color !default;
178
181
  $form-group-margin-bottom: 0.750rem !default;
179
182
 
180
183
  // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
@@ -184,8 +187,8 @@ $input-border-color: $gray-var-9 !default;
184
187
  $input-focus-border-color: $blue-var-3 !default;
185
188
  $input-readonly-border-color: $gray-var-7 !default;
186
189
 
187
- $input-padding-x: 0.250rem;
188
- $input-padding-y: 0.125rem;
190
+ $input-padding-x: 0.1rem;
191
+ $input-padding-y: 0.1rem;
189
192
 
190
193
  $input-padding-y-lg: 0.6875rem !default;
191
194
  $input-padding-x-lg: 0.8125rem !default;
@@ -209,8 +212,8 @@ $input-btn-padding-x-sm: 1.000rem;
209
212
  $input-btn-padding-y-lg: 0.38rem;
210
213
  $input-btn-padding-x-lg: 0.8125rem;
211
214
 
212
- $input-line-height: 1.750;
213
- $input-height: 1.750rem !default;
215
+ $input-line-height: 1.371;
216
+ $input-height: calc(1.371em + 0.2rem + 4px) !default;
214
217
  $input-height-lg: 2.25rem !default;
215
218
 
216
219
  $input-btn-focus-width: 0;
@@ -230,6 +233,7 @@ $custom-select-box-shadow: $input-box-shadow;
230
233
  //
231
234
  $select-bg: $gray-var-4 !default;
232
235
  $select-border-color: $gray-var-8 !default;
236
+ $select-shadow-focus-color: transparent;
233
237
 
234
238
  // Default Range and Custom Range
235
239
  //
@@ -373,7 +377,7 @@ $custom-select-chevron-color: $gray-var-11;
373
377
 
374
378
  $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect fill='#{$custom-checkbox-indicator-indeterminate-color}' x='3' y='7' width='10' height='2'/%3E%3C/svg%3E"), "#", "%23");
375
379
 
376
- $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=uft8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolygon fill='#{$custom-checkbox-indicator-indeterminate-color}' points='4 6 7 9 12 4 12 7 7 12 4 9'%3E%3C/polygon%3E%3C/svg%3E"), "#","%23");
380
+ $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=uft8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'><path fill='#{$gray-var-11}' fill-rule='evenodd' d='M5.725 9.635 11.715 4l-.685-.728-5.985 5.63-2.72-2.928-.733.68 2.724 2.933-.001.002.214.227.466.502.003-.003.002.002.335-.315.393-.365-.003-.002Z' clip-rule='evenodd'/></svg%3E"), "#","%23");
377
381
 
378
382
  $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=uft8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle fill='#{$custom-checkbox-indicator-indeterminate-color}' cx='8' cy='8' r='3'%3E%3C/circle%3E%3C/svg%3E"), "#","%23");
379
383
 
@@ -383,22 +387,26 @@ $custom-select-focus-box-shadow: $input-btn-focus-box-shadow;
383
387
  $custom-select-disabled-bg: $input-disabled-bg;
384
388
 
385
389
  // Windows Native Option Controls
386
- $input-4d-options-dimension: 0.812rem;
387
- $input-4d-options-top: 0.07rem;
390
+ $input-4d-options-dimension: 0.8125rem;
391
+ $input-4d-options-top: 0.1875rem;
388
392
  $input-4d-options-border-width: 1px;
389
393
  $input-4d-options-to-text-whitespace: $input-4d-options-dimension + 0.2;
394
+ $input-4d-checkbox-border-radius: 0 !default;
390
395
  $input-4d-checkbox-default-border-color: $gray-var-11;
396
+ $input-4d-checkbox-hover-boxshadow: none;
391
397
  $input-4d-checkbox-hover-border-color: $blue-var-3;
392
398
  $input-4d-checkbox-hover-text-color: $blue-var-3;
399
+ $input-4d-checkbox-checked-bg-color: white !default;
400
+ $input-4d-checkbox-checked-border-color: $gray-var-11;
393
401
  $input-4d-checkbox-active-bg-color: $default-clickable-bg-hover;
394
402
  $input-4d-checkbox-active-border-color: theme-color('primary');
395
403
  $input-4d-checkbox-active-text-color: theme-color('primary');
396
404
 
397
- $input-4d-radio-tick-dimension: 0.437rem;
405
+ $input-4d-radio-tick-dimension: 0.4375rem;
398
406
  $input-4d-radio-default-border-color: $gray-var-11;
399
407
  $input-4d-radio-hover-border-color: $blue-var-3;
400
408
  $input-4d-radio-hover-text-color: $blue-var-3;
401
- $input-4d-radio-active-bg-color: $default-clickable-bg-hover;
409
+ $input-4d-radio-active-bg-color: $gray-var-11;
402
410
  $input-4d-radio-active-border-color: theme-color('primary');
403
411
  $input-4d-radio-active-text-color: theme-color('primary');
404
412
 
@@ -508,17 +516,26 @@ $table-dark-thead-bg: theme-color('primary-darker');
508
516
  //
509
517
  $opacity-translucent-lighten: rgba($white,0.09);
510
518
  $opacity-translucent-darken: darken($body-bg,3%);
519
+
520
+ $nav-tabs-bg: $gray-var-1;
511
521
  $nav-tabs-border-color: $border-color;
512
522
  $nav-tabs-border-width: 0 !default;
513
523
  $nav-tabs-active-border-width:0 !default;
514
-
515
- $nav-tabs-link-active-bg: $body-bg !default;
524
+ $nav-tabs-link-font-size: 0.8125rem !default;
525
+ $nav-tabs-link-is-uppercase: false;
526
+ $nav-tabs-link-letter-spacing:0.0063rem !default;
527
+ $nav-tabs-link-font-weight: 400 !default;
528
+ $nav-tabs-link-padding-x: 0.625rem !default;
529
+ $nav-tabs-link-padding-y: 1rem !default;
516
530
  $nav-tabs-link-hover-bg: $body-bg !default;
517
- $nav-tabs-bg: $gray-var-1;
518
- $nav-tabs-link-active-bg: transparent;
519
- $nav-tabs-link-active-color: theme-color('secondary') !default;
531
+ $nav-tabs-link-hover-border: transparent !default;
532
+ $nav-tabs-link-active-bg: transparent !default;
533
+ $nav-tabs-link-active-color: theme-color('secondary-darker') !default;
520
534
  $nav-tabs-link-active-border: theme-color('secondary-darker') !default;
521
- $nav-tabs-stacked-padding: 0.937rem 1.562rem !default;
535
+ $nav-tabs-stacked-padding: 0.625rem 1rem !default;
536
+ $nav-tabs-link-min-height: auto;
537
+ $nav-tabs-link-min-width: auto;
538
+ $nav-tabs-link-max-width: auto;
522
539
  $navbar-nav-link-padding-x: 1rem;
523
540
 
524
541
  // Navbar dark
@@ -659,10 +659,12 @@ bs-daterangepicker-container {
659
659
  border-top: transparent;
660
660
  padding: 0 1rem 1rem;
661
661
  justify-content: center;
662
+ margin-bottom: 0.5rem;
662
663
 
663
664
  .btn-clear-wrapper {
664
665
  padding: 0 0.5rem;
665
666
  .btn.btn-success {
667
+ min-width: auto;
666
668
  background-color: #FFFFFF;
667
669
  border-color: #7A7A7A;
668
670
  color: theme-color("primary");
@@ -675,6 +677,7 @@ bs-daterangepicker-container {
675
677
  }
676
678
  .btn-today-wrapper {
677
679
  .btn.btn-success {
680
+ min-width: auto;
678
681
  color: #FFFFFF;
679
682
  background-color: theme-color("primary");
680
683
  border-color:theme-color("primary");
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  &_footer {
32
- background: theme-color("light");
32
+ background-color: theme-color("light");
33
33
  padding: 1rem;
34
34
  width: 100%;
35
35
  margin-top: auto;
@@ -43,6 +43,7 @@
43
43
  z-index: 1030;
44
44
  right: 0;
45
45
  left: 0;
46
+ transform: translateZ(0);
46
47
  }
47
48
 
48
49
  .page_footer {
@@ -98,4 +99,7 @@
98
99
  }
99
100
  }
100
101
 
102
+ .btn-group leap-button:not(:first-child) {
103
+ margin-left: 0.5rem;
104
+ }
101
105
  }
@@ -0,0 +1,50 @@
1
+ .responsive-table {
2
+ table {
3
+ border-collapse: collapse;
4
+ margin: 0;
5
+ padding: 0;
6
+ width: 100%;
7
+ table-layout: fixed;
8
+
9
+ th {
10
+ font-weight: inherit;
11
+ }
12
+ }
13
+ }
14
+
15
+ @media only screen and (max-width: 767px) {
16
+ .responsive-table {
17
+ table {
18
+ border: 0;
19
+ thead {
20
+ border: none;
21
+ clip: rect(0 0 0 0);
22
+ height: 1px;
23
+ margin: -1px;
24
+ overflow: hidden;
25
+ padding: 0;
26
+ position: absolute;
27
+ width: 1px;
28
+ }
29
+
30
+ tr {
31
+ display: block;
32
+ margin-bottom: 0.5rem;
33
+ border-bottom: 1px solid $hr-border-color;
34
+ }
35
+
36
+ td {
37
+ display: block;
38
+ margin-bottom: 0.5rem;
39
+ &::before {
40
+ /*
41
+ * aria-label has no advantage, it won't be read inside a table
42
+ content: attr(aria-label);
43
+ */
44
+ content: attr(data-label);
45
+ float: left;
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
@@ -19,4 +19,8 @@
19
19
  margin-bottom: 0;
20
20
  line-height: 1;
21
21
  }
22
+
23
+ h3, h4 {
24
+ text-transform: uppercase;
25
+ }
22
26
  }
@@ -1 +1,2 @@
1
- @import './chevron';
1
+ @import './chevron';
2
+ @import './mobile-device';
@@ -0,0 +1,8 @@
1
+ @mixin mobile-device-only() {
2
+ @media screen and (max-width: 844px)
3
+ and (-webkit-min-device-pixel-ratio: 2),
4
+ screen and (max-width: 844px)
5
+ and (-webkit-min-device-pixel-ratio: 3) {
6
+ @content;
7
+ }
8
+ }
@@ -3,6 +3,11 @@
3
3
  color: $body-color;
4
4
  }
5
5
 
6
+ // Min width so we don't have short buttons
7
+ .btn:not(.btn-icon-only, .btn-block, .btn-link) {
8
+ min-width: 7.5rem;
9
+ }
10
+
6
11
  .btn {
7
12
  &:disabled {
8
13
  color: $btn-disabled-color;
@@ -45,3 +50,18 @@
45
50
  color: $white !important;
46
51
  }
47
52
  }
53
+
54
+ @include mobile-device-only {
55
+ // .btn:not(.btn-block) {
56
+ // width: 100%;
57
+ // display: block;
58
+ // margin-bottom: 1rem;
59
+ // }
60
+ }
61
+
62
+ // Properly style [block] buttons on page_footer
63
+ @include mobile-device-only {
64
+ .page_footer .col:not(:last-child) .btn-block {
65
+ margin-bottom: 0.5rem;
66
+ }
67
+ }
@@ -5,4 +5,17 @@
5
5
  .card & {
6
6
  margin-bottom: 0;
7
7
  }
8
+
9
+ label, .form-check-label, .form-label {
10
+ font-size: $label-font-size;
11
+ font-weight: $label-font-weight;
12
+ color: $label-font-color;
13
+ letter-spacing: 0.01rem;
14
+ }
8
15
  }
16
+
17
+ .form-group {
18
+ @include mobile-device-only {
19
+ margin-bottom: 1rem !important;
20
+ }
21
+ }
@@ -5,7 +5,6 @@
5
5
  @import "input-select";
6
6
  @import "input-text";
7
7
  @import "input-group";
8
- @import "input-range";
9
8
  @import "legend";
10
9
  @import "tables";
11
10
 
@@ -17,6 +17,20 @@
17
17
  background-color: transparent !important;
18
18
  }
19
19
  }
20
+
21
+ .form-group {
22
+ margin-bottom: 0;
23
+
24
+ &.row {
25
+ margin-left: 0;
26
+ margin-right: 0;
27
+
28
+ > .col {
29
+ padding-left: 0;
30
+ padding-right: 0;
31
+ }
32
+ }
33
+ }
20
34
  }
21
35
 
22
36
  .input-group-prepend {
@@ -1,3 +1,7 @@
1
+ .form-check {
2
+ padding-left: $input-4d-options-to-text-whitespace;
3
+ }
4
+
1
5
  .form-check, .form-check-inline {
2
6
  position: relative;
3
7
 
@@ -7,7 +11,6 @@
7
11
  height: $input-4d-options-dimension;
8
12
  width: $input-4d-options-dimension;
9
13
  border: $input-4d-options-border-width solid $input-4d-checkbox-default-border-color;
10
-
11
14
  background-color: $white;
12
15
  outline: none;
13
16
  margin: 0;
@@ -17,18 +20,38 @@
17
20
  }
18
21
 
19
22
  > input[type="checkbox"] {
20
- border-radius: $border-radius-sm;
23
+ border-radius: $input-4d-checkbox-border-radius;
24
+
25
+ @if $is-sirius {
26
+ transition: box-shadow .15s ease-in-out;
27
+ }
28
+
21
29
  &:before {
22
30
  position: absolute;
23
- top: 0.05rem;
24
- left: -0.08rem;
31
+ top: -0.0625rem;
32
+ left: -0.0625rem;
25
33
  line-height: 0.6;
26
34
  font-size: 0.97rem;
27
35
  text-align: center;
28
36
  }
29
37
 
38
+ &:checked {
39
+ background-color: $input-4d-checkbox-checked-bg-color;
40
+ border-color: $input-4d-checkbox-checked-border-color;
41
+
42
+ &:focus, &:active {
43
+ border-color: $input-4d-checkbox-active-border-color;
44
+ box-shadow: $input-btn-focus-box-shadow;
45
+ }
46
+ }
47
+
30
48
  &:checked:before {
31
- content: '\2713';
49
+ content: '';
50
+ width: $input-4d-options-dimension;
51
+ height: $input-4d-options-dimension;
52
+ background-repeat: none;
53
+ background-position: center center;
54
+ background-image: $custom-checkbox-indicator-icon-checked;
32
55
  }
33
56
 
34
57
  &:disabled {
@@ -37,6 +60,7 @@
37
60
 
38
61
  &:hover {
39
62
  border-color: $input-4d-checkbox-hover-border-color;
63
+ box-shadow: $input-4d-checkbox-hover-boxshadow;
40
64
  color: $input-4d-checkbox-hover-text-color;
41
65
  }
42
66
 
@@ -52,20 +76,32 @@
52
76
  }
53
77
 
54
78
  > input[type="radio"] {
55
- border-radius: $input-4d-options-dimension;
79
+ border-radius: $input-4d-options-dimension;
80
+
81
+ @if $is-sirius {
82
+ transition: box-shadow .15s ease-in-out;
83
+ }
84
+
56
85
  &:before {
57
86
  position: absolute;
58
87
  $top: $input-4d-radio-tick-dimension / 2;
59
- top: calc(50% - 0.2186rem);
60
- left: calc(50% - 0.2186rem);
88
+ top: calc(50% - #{$top});
89
+ left: calc(50% - #{$top});
61
90
  width: $input-4d-radio-tick-dimension;
62
91
  height: $input-4d-radio-tick-dimension;
63
92
  border-radius: 50%;
64
93
  background-color: $input-4d-radio-default-border-color;
65
94
  }
66
95
 
67
- &:checked:before {
68
- content: '';
96
+ &:checked {
97
+ background-color: $input-4d-checkbox-checked-bg-color;
98
+ &:before {
99
+ content: '';
100
+ background-color: $input-4d-radio-active-bg-color;
101
+ }
102
+ &:focus, &:active {
103
+ box-shadow: $input-btn-focus-box-shadow;
104
+ }
69
105
  }
70
106
 
71
107
  &:disabled {
@@ -80,7 +116,6 @@
80
116
  }
81
117
 
82
118
  &:active {
83
- background-color: $input-4d-radio-active-bg-color;
84
119
  border-color: $input-4d-radio-active-border-color;
85
120
  &:before {
86
121
  background-color: $input-4d-radio-active-text-color;
@@ -94,7 +129,6 @@
94
129
  }
95
130
 
96
131
  .form-check-inline {
97
- padding-left: $input-4d-options-to-text-whitespace;
98
132
  margin-right: 0;
99
133
  & ~ & {
100
134
  margin-left: $form-check-inline-margin-x;
@@ -13,13 +13,30 @@ select {
13
13
  }
14
14
 
15
15
  &:not([multiple]):not(:hover) {
16
- // background-color: $select-bg !important;
17
- // border-color: $select-border-color;
16
+ background-color: $select-bg !important;
17
+ border-color: $select-border-color;
18
18
  }
19
19
  }
20
20
 
21
21
  .ng-select .ng-select-container {
22
- border: 1px solid $input-border-color !important;
22
+ box-shadow: none;
23
+ border: 1px solid $select-border-color;
24
+
25
+ @if $is-sirius {
26
+ transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
27
+ }
28
+ }
29
+
30
+ @if not $is-sirius {
31
+ .input-group {
32
+ .ng-select .ng-select-container {
33
+ border-color: $gray-var-9;
34
+ }
35
+
36
+ .ng-select-wrapper {
37
+ margin-left: -0.0625rem;
38
+ }
39
+ }
23
40
  }
24
41
 
25
42
  .ng-placeholder {
@@ -32,13 +49,64 @@ ng-select-focused,
32
49
  background-color: #fff;
33
50
  border-color: theme-color('blue-var-3');
34
51
  outline: 0;
35
- box-shadow: 0 0 0 0.2rem rgba(theme-color('primary'),.25) !important;
52
+ // box-shadow: 0 0 0 0.2rem rgba(theme-color('primary'),.25) !important;
36
53
  }
37
54
 
38
55
  select {
39
56
  color: theme-color('default') !important;
40
57
  &:not([multiple]):not(:hover) {
41
58
  background-color: white !important;
42
- border: 1px solid theme-color('gray-var-9');
59
+ border: 1px solid $select-border-color;
43
60
  }
44
61
  }
62
+
63
+ @if $is-sirius {
64
+ .ng-select-opened {
65
+ > .ng-select-container {
66
+ border-color: $select-border-focus-color !important;
67
+ box-shadow: 0 0 0 0.15rem $select-shadow-focus-color !important;
68
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
69
+ }
70
+ }
71
+
72
+ .ng-arrow-wrapper:hover > .ng-arrow {
73
+ border-top-color: #666 !important;
74
+ }
75
+
76
+ .ng-select-opened {
77
+ .ng-arrow, .ng-arrow-wrapper:hover > .ng-arrow {
78
+ border-color: transparent transparent #666 !important;
79
+ }
80
+
81
+ .ng-arrow {
82
+ border-width: 0.1563rem 0.3125rem 0.3125rem;
83
+ }
84
+ }
85
+ }
86
+ @else {
87
+ .ng-select .ng-select-container {
88
+ background-color: #e5e5e5 !important;
89
+ height: 1.5635rem !important;
90
+ min-height: 1.5635rem !important;
91
+ min-height: 1.5635rem !important;
92
+ font-size: 0.8125rem;
93
+
94
+ .ng-arrow-wrapper, .ng-arrow {
95
+ width: 1.5625rem !important;
96
+ height: 1.5625rem !important;
97
+ }
98
+
99
+ .ng-arrow {
100
+ display: block;
101
+ border: none !important;
102
+ background-position: calc(100% - #{$chevron-width / 2}) 50%;
103
+ background-repeat: no-repeat;
104
+ background-image: $custom-select-chevron;
105
+ top: 0 !important;
106
+ }
107
+ &:hover {
108
+ background-color: #dceef9 !important;
109
+ border-color: #0078d7 !important;
110
+ }
111
+ }
112
+ }
@@ -7,4 +7,10 @@ input {
7
7
  &[readonly], &:disabled {
8
8
  border-color: $input-readonly-border-color;
9
9
  }
10
+ }
11
+
12
+ .form-control {
13
+ &:focus {
14
+ border-color: $input-focus-border-color;
15
+ }
10
16
  }
@@ -0,0 +1,13 @@
1
+ @include mobile-device-only {
2
+ ::-webkit-scrollbar {
3
+ display: none;
4
+ -ms-overflow-style: none;
5
+ overflow: -moz-scrollbars-none;
6
+ }
7
+
8
+ .col, [class*="col-"], [class*=" col-"] {
9
+ flex: 100% !important;
10
+ max-width: 100% !important;
11
+ min-width: 100% !important;
12
+ }
13
+ }
@@ -10,19 +10,74 @@
10
10
 
11
11
  .nav-tabs {
12
12
  background-color: $nav-tabs-bg;
13
+
14
+ @if $is-sirius {
15
+ border-bottom: 1px solid $border-color;
16
+ }
17
+
13
18
  .nav-link {
19
+ background-color: transparent;
14
20
  color: $body-color;
15
- padding: $nav-tabs-stacked-padding;
21
+ padding: $nav-tabs-link-padding-x $nav-tabs-link-padding-y;
22
+ font-weight: $nav-tabs-link-font-weight;
23
+ font-size: $nav-tabs-link-font-size;
24
+ border-radius: 0;
25
+ position: relative;
26
+ min-height: $nav-tabs-link-min-height;
27
+ max-width: $nav-tabs-link-max-width;
28
+ min-width: $nav-tabs-link-min-width;
29
+
30
+ &::after {
31
+ content: '';
32
+ position: absolute;
33
+ height: 2px;
34
+ width: 100%;
35
+ left: 0;
36
+ bottom: -1px;
37
+ transform: scaleX(0);
38
+
39
+ @if $is-sirius {
40
+ transition: all .25s ease-out;
41
+ }
42
+ }
43
+
44
+ @if $nav-tabs-link-is-uppercase {
45
+ text-transform: uppercase;
46
+ }
47
+
48
+ @if not $is-sirius {
49
+ &, &:hover {
50
+ cursor: default;
51
+ }
52
+ }
16
53
 
17
54
  // IE Fix
18
55
  display: inline-block;
19
56
 
57
+ &:hover {
58
+ color: theme-color('primary');
59
+ background-color: $nav-tabs-link-hover-bg;
60
+
61
+ &::after {
62
+ background: $nav-tabs-link-hover-border;
63
+ transform: scaleX(1);
64
+ }
65
+ }
66
+
20
67
  &:not(.active):hover {
21
- background-color: $navbar-light-hover-bg;
68
+ background-color: $nav-tabs-link-hover-bg;
22
69
  }
70
+
23
71
  &.active {
24
72
  color: $nav-tabs-link-active-color;
25
- @include box-shadow(0 2px 0 0 $nav-tabs-link-active-border);
73
+ &::after {
74
+ background: $nav-tabs-link-active-border;
75
+ transform: scaleX(1);
76
+ }
77
+ }
78
+
79
+ > span {
80
+ letter-spacing: $nav-tabs-link-letter-spacing;
26
81
  }
27
82
  }
28
83
  }
@@ -61,3 +116,27 @@
61
116
  }
62
117
  }
63
118
  }
119
+
120
+ @include mobile-device-only {
121
+ leap-tabs-menu .toolbar {
122
+ position: sticky;
123
+ top: 0;
124
+ z-index: 1030;
125
+ }
126
+ .nav-tabs {
127
+ display: block !important;
128
+ white-space: nowrap;
129
+ width: 100%;
130
+ overflow-x: scroll;
131
+ overflow-y: hidden;
132
+ background-color: white;
133
+
134
+ .nav-link {
135
+ display: inline-block;
136
+
137
+ > span {
138
+ display: block;
139
+ }
140
+ }
141
+ }
142
+ }