@leapdev/gui 0.2.235 → 0.2.238

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 (59) hide show
  1. package/dist/auth-leap-addin.js +96 -0
  2. package/dist/auth-leap-desktop.js +96 -0
  3. package/dist/auth-leap-web.js +96 -0
  4. package/dist/bs-lawconnect.js +2 -2
  5. package/dist/bs-leap-slim.js +2 -2
  6. package/dist/bs-leap.js +2 -2
  7. package/dist/bs-titlex.js +2 -2
  8. package/dist/css/auth-leap-addin.css +1 -0
  9. package/dist/css/auth-leap-desktop.css +1 -0
  10. package/dist/css/auth-leap-web.css +1 -0
  11. package/dist/images/leap-auth/auth-bg.png +0 -0
  12. package/dist/images/leap-auth/auth-icons.svg +9 -0
  13. package/dist/images/leap-auth/auth-logo.svg +6 -0
  14. package/dist/index.html +2 -2
  15. package/dist/scss/auth/bootstrap/_bootstrap.scss +16 -0
  16. package/dist/scss/auth/product/leap-4d.scss +22 -0
  17. package/dist/scss/auth/product/leap.scss +21 -0
  18. package/dist/scss/auth/product/office-addin.scss +21 -0
  19. package/dist/scss/auth/theme/bootstrap-variables/_avatar.scss +8 -0
  20. package/dist/scss/auth/theme/bootstrap-variables/_badges.scss +5 -0
  21. package/dist/scss/auth/theme/bootstrap-variables/_breadcrumbs.scss +8 -0
  22. package/dist/scss/auth/theme/bootstrap-variables/_buttons.scss +7 -0
  23. package/dist/scss/auth/theme/bootstrap-variables/_colours.scss +60 -0
  24. package/dist/scss/auth/theme/bootstrap-variables/_components.scss +18 -0
  25. package/dist/scss/auth/theme/bootstrap-variables/_dropdowns.scss +24 -0
  26. package/dist/scss/auth/theme/bootstrap-variables/_grid.scss +21 -0
  27. package/dist/scss/auth/theme/bootstrap-variables/_input-box.scss +53 -0
  28. package/dist/scss/auth/theme/bootstrap-variables/_input-group.scss +0 -0
  29. package/dist/scss/auth/theme/bootstrap-variables/_input-options.scss +18 -0
  30. package/dist/scss/auth/theme/bootstrap-variables/_nav.scss +20 -0
  31. package/dist/scss/auth/theme/bootstrap-variables/_opacity.scss +6 -0
  32. package/dist/scss/auth/theme/bootstrap-variables/_select.scss +8 -0
  33. package/dist/scss/auth/theme/bootstrap-variables/_switch.scss +9 -0
  34. package/dist/scss/auth/theme/bootstrap-variables/_typography.scss +40 -0
  35. package/dist/scss/auth/theme/bootstrap-variables/_variables.scss +16 -0
  36. package/dist/scss/auth/theme/components/_badge.scss +34 -0
  37. package/dist/scss/auth/theme/components/_buttons.scss +86 -0
  38. package/dist/scss/auth/theme/components/_components.scss +12 -0
  39. package/dist/scss/auth/theme/components/_divider.scss +14 -0
  40. package/dist/scss/auth/theme/components/_dropdown.scss +40 -0
  41. package/dist/scss/auth/theme/components/_icons.scss +27 -0
  42. package/dist/scss/auth/theme/components/_nav.scss +79 -0
  43. package/dist/scss/auth/theme/components/_toastr.scss +24 -0
  44. package/dist/scss/auth/theme/components/forms/_checkbox.scss +73 -0
  45. package/dist/scss/auth/theme/components/forms/_form-control.scss +59 -0
  46. package/dist/scss/auth/theme/components/forms/_form-group.scss +8 -0
  47. package/dist/scss/auth/theme/components/forms/_forms.scss +4 -0
  48. package/dist/scss/auth/theme/components/forms/_input-group.scss +43 -0
  49. package/dist/scss/auth/theme/css-variables/_leap-4d.scss +74 -0
  50. package/dist/scss/auth/theme/css-variables/_leap.scss +77 -0
  51. package/dist/scss/auth/theme/css-variables/_office-addin.scss +73 -0
  52. package/dist/scss/auth/theme/features/_auth.scss +288 -0
  53. package/dist/scss/auth/theme/mixins/_badge.scss +12 -0
  54. package/dist/scss/auth/theme/mixins/_icons.scss +7 -0
  55. package/dist/scss/auth/theme/mixins/_mixins.scss +2 -0
  56. package/dist/scss/product/auth-leap-addin.scss +21 -0
  57. package/dist/scss/product/auth-leap-desktop.scss +22 -0
  58. package/dist/scss/product/auth-leap-web.scss +21 -0
  59. package/package.json +3 -2
@@ -0,0 +1,21 @@
1
+ //
2
+ // Theme
3
+ //
4
+ // Custom variables followed by theme variables followed by Bootstrap variables
5
+ // to ensure cascade of styles.
6
+ //
7
+
8
+ // Bootstrap functions
9
+ @import '~bootstrap/scss/functions';
10
+
11
+ // Custom theme variables override
12
+ @import '../theme/css-variables/leap';
13
+ @import '../theme/bootstrap-variables/variables';
14
+
15
+ // Bootstrap core
16
+ @import '../bootstrap/bootstrap';
17
+
18
+ // Custom theme core including mixins / utilities / features
19
+ @import '../theme/mixins/mixins';
20
+ @import '../theme/components/components';
21
+ @import '../theme/features/auth';
@@ -0,0 +1,21 @@
1
+ //
2
+ // Theme
3
+ //
4
+ // Custom variables followed by theme variables followed by Bootstrap variables
5
+ // to ensure cascade of styles.
6
+ //
7
+
8
+ // Bootstrap functions
9
+ @import '~bootstrap/scss/functions';
10
+
11
+ // Custom theme variables override
12
+ @import '../theme/css-variables/office-addin';
13
+ @import '../theme/bootstrap-variables/variables';
14
+
15
+ // Bootstrap core
16
+ @import '../bootstrap/bootstrap';
17
+
18
+ // Custom theme core including mixins / utilities / features
19
+ @import '../theme/mixins/mixins';
20
+ @import '../theme/components/components';
21
+ @import '../theme/features/auth';
@@ -0,0 +1,8 @@
1
+ // Avatar
2
+ $avatar-size-base: 3rem !default;
3
+ $avatar-size-xs: 1.625rem !default;
4
+ $avatar-size-sm: 2rem !default;
5
+ $avatar-size-lg: 4rem !default;
6
+
7
+ $avatar-title-bg: $gray-500 !default;
8
+ $avatar-title-color: $white !default;
@@ -0,0 +1,5 @@
1
+ // Badges
2
+ $badge-font-size: 76% !default;
3
+ $badge-font-weight: $font-weight-bold;
4
+ $badge-padding-y: 0.564em;
5
+ $badge-padding-x: 0.564em;
@@ -0,0 +1,8 @@
1
+ // Breadcrumbs
2
+ $breadcrumb-padding-x: 0 !default;
3
+ $breadcrumb-item-padding-x: .35rem !default;
4
+ $breadcrumb-margin-bottom: 0 !default;
5
+ $breadcrumb-bg: transparent !default;
6
+ $breadcrumb-divider-color: $text-muted;
7
+ $breadcrumb-active-color: $default;
8
+ $breadcrumb-divider: "/" !default;
@@ -0,0 +1,7 @@
1
+ // Buttons
2
+ //
3
+ // For each of Bootstrap's buttons, define text, background, and border color.
4
+ $btn-font-weight: $font-weight-bold;
5
+ $btn-letter-spacing: 0.01rem;
6
+ $btn-disabled-opacity: 0.3 !default;
7
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
@@ -0,0 +1,60 @@
1
+ // Color system
2
+ $white: #FFFFFF !default;
3
+ $gray-100: #eeeeee !default;
4
+ $gray-200: #f3f3f3 !default;
5
+ $gray-300: #E6EDF1 !default;
6
+ $gray-400: #d6d6d6 !default;
7
+ $gray-500: #b1b7be !default;
8
+ $gray-600: #525252 !default;
9
+ $gray-700: #444444 !default;
10
+ $gray-800: #263042 !default;
11
+ $gray-900: #1c2836 !default;
12
+ $black: #161C2D !default;
13
+
14
+ $primary: #1E365E !default;
15
+ $primary-lighter: #0060AC !default;
16
+ $primary-transparent: rgba($primary, $opacity-lighter) !default;
17
+ $primary-desat: #0060AC !default;
18
+ $secondary: #F89235 !default;
19
+ $secondary-lighter: lighten(#F89235, 38%) !default;
20
+ $secondary-transparent: rgba($secondary, $opacity-lighter) !default;
21
+ $secondary-desat: #DB761D !default;
22
+ $success: #43AE33 !default;
23
+ $info: #6e7781 !default;
24
+ $warning: #F59245 !default;
25
+ $danger: #BE332A !default;
26
+ $light: $gray-100 !default;
27
+ $light-transparent: rgba($light, $opacity-base) !default;
28
+ $dark: $gray-900 !default;
29
+ $default: #333 !default;
30
+
31
+ // scss-docs-start theme-colors-map
32
+ $theme-colors: (
33
+ "primary": $primary,
34
+ "secondary": $secondary,
35
+ "success": $success,
36
+ "info": $info,
37
+ "warning": $warning,
38
+ "danger": $danger,
39
+ "light": $light,
40
+ "dark": $dark,
41
+ "default": $default
42
+ );
43
+
44
+ // Body
45
+ //
46
+ // Settings for the `<body>` element.
47
+ $body-bg: $gray-200;
48
+ $body-color: $default;
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
@@ -0,0 +1,18 @@
1
+ // Components
2
+ //
3
+ // Define common padding and border radius sizes and more.
4
+ $enable-transitions: true !default;
5
+
6
+ $border-width: 1px !default;
7
+ $border-color: $gray-400;
8
+
9
+ $border-radius: 0.25rem;
10
+ $border-radius-xs: 0.1875rem;
11
+ $border-radius-sm: 0.25rem;
12
+ $border-radius-lg: 0.5rem;
13
+ $border-radius-xl: 1rem !default;
14
+
15
+ $component-active-color: $white !default;
16
+ $component-active-bg: $primary !default;
17
+
18
+ $caret-width: .25em !default;
@@ -0,0 +1,24 @@
1
+ // Dropdowns
2
+ //
3
+ // Dropdown menu container and contents.
4
+ $dropdown-min-width: 10rem;
5
+ $dropdown-padding-y: .25rem;
6
+ $dropdown-spacer: 1px;
7
+ $dropdown-font-size: $font-size-sm;
8
+ $dropdown-border-color: $border-color;
9
+ $dropdown-divider-bg: $border-color;
10
+ $dropdown-divider-margin-y: 0.5rem;
11
+ $dropdown-box-shadow: 0 2px 5px rgba($black, .1);
12
+
13
+ $dropdown-link-color: $default;
14
+ $dropdown-link-hover-color: $primary;
15
+ $dropdown-link-hover-bg: $primary-transparent;
16
+
17
+ $dropdown-link-active-color: $white;
18
+ $dropdown-link-active-bg: $primary;
19
+ $dropdown-link-disabled-color: theme-color("light");
20
+
21
+ $dropdown-item-padding-y: .25rem;
22
+ $dropdown-item-padding-x: 1.250rem;
23
+
24
+ $dropdown-header-color: $secondary-desat;
@@ -0,0 +1,21 @@
1
+ // Grid containers
2
+ //
3
+ // Define the maximum width of `.container` for different screen sizes.
4
+
5
+ /* beautify ignore:start */
6
+ $container-max-widths: (
7
+ sm: 540px,
8
+ md: 720px,
9
+ lg: 960px,
10
+ xl: 1140px,
11
+ xxl: 1200px,
12
+ xxxl: 1380px
13
+ );
14
+ /* beautify ignore:end */
15
+
16
+
17
+ // Grid columns
18
+ //
19
+ // Set the number of columns and specify the width of the gutters.
20
+
21
+ $grid-gutter-width: 2rem;
@@ -0,0 +1,53 @@
1
+ // Buttons + Forms
2
+ //
3
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
4
+ $input-btn-padding-y: 0.375rem;
5
+ $input-btn-padding-x: 1rem;
6
+ $input-btn-font-size: $font-size-sm;
7
+ $input-btn-line-height: $line-height-base !default;
8
+
9
+ $input-btn-padding-y-sm: 0.375rem;
10
+ $input-btn-padding-x-sm: 1.000rem;
11
+ $input-btn-font-size-sm: $font-size-sm;
12
+ $input-btn-line-height-sm: $line-height-sm;
13
+
14
+ $input-btn-padding-y-lg: 0.563rem;
15
+ $input-btn-padding-x-lg: 1.5rem;
16
+ $input-btn-font-size-lg: $font-size-lg;
17
+ $input-btn-line-height-lg: $line-height-base !default;
18
+
19
+ $input-btn-focus-width: .15rem;
20
+ $input-btn-focus-color: theme-color("primary");
21
+ $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color;
22
+
23
+ // Forms
24
+ $form-text-margin-top: 0 !default;
25
+ $form-group-margin-bottom: 1rem;
26
+
27
+ $input-padding-y: $input-btn-padding-y !default;
28
+ $input-padding-x: $input-btn-padding-x !default;
29
+ $input-line-height: $input-btn-line-height !default;
30
+
31
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
32
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
33
+ $input-line-height-sm: $input-btn-line-height-sm !default;
34
+
35
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
36
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
37
+ $input-line-height-lg: $input-btn-line-height-lg !default;
38
+
39
+ $input-bg: $white !default;
40
+ $input-disabled-bg: $input-bg !default;
41
+
42
+ $input-color: $body-color !default;
43
+ $input-border-color: $gray-400 !default;
44
+
45
+ $input-focus-border-color: $primary !default;
46
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
47
+
48
+ $input-placeholder-color: $gray-500 !default;
49
+
50
+ $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
51
+
52
+ $input-group-addon-color: $text-muted !default;
53
+ $input-group-addon-bg: $input-bg !default;
@@ -0,0 +1,18 @@
1
+ // Forms
2
+ $form-check-input-active-filter: none !default;
3
+
4
+ $form-check-padding-left: 1.5rem !default;
5
+ $form-check-label-cursor: pointer !default;
6
+
7
+ $form-check-input-bg: $gray-300 !default;
8
+ $form-check-input-border: transparent !default;
9
+ $form-check-input-border-radius: $border-radius !default;
10
+ $form-check-input-focus-border: $form-check-input-border !default;
11
+ $form-check-input-focus-box-shadow: none !default;
12
+
13
+ $form-check-input-checked-color: $component-active-color !default;
14
+ $form-check-input-checked-bg-color: $component-active-bg !default;
15
+ $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
16
+ $form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
17
+
18
+ $form-check-input-indeterminate-color: $component-active-color !default;
@@ -0,0 +1,20 @@
1
+ // $nav-link-padding-y: .5rem;
2
+ // $nav-link-padding-x: 1rem;
3
+ // $nav-link-font-size: null;
4
+ // $nav-link-font-weight: null;
5
+ // $nav-link-color: $link-color;
6
+ // $nav-link-hover-color: $link-hover-color;
7
+ // $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
8
+ // $nav-link-disabled-color: $gray-600;
9
+
10
+ // $nav-tabs-border-color: $gray-300;
11
+ // $nav-tabs-border-width: $border-width;
12
+ // $nav-tabs-border-radius: $border-radius;
13
+ // $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color;
14
+ // $nav-tabs-link-active-color: $gray-700;
15
+ // $nav-tabs-link-active-bg: $body-bg;
16
+ // $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg;
17
+
18
+ // $nav-pills-border-radius: var(--leap-border-radius);
19
+ // $nav-pills-link-active-color: $component-active-color;
20
+ // $nav-pills-link-active-bg: $component-active-bg;
@@ -0,0 +1,6 @@
1
+ //
2
+ // Opacity
3
+ //
4
+ $opacity-lighter: 0.12;
5
+ $opacity-light: 0.2;
6
+ $opacity-base: 0.3;
@@ -0,0 +1,8 @@
1
+ // Forms
2
+ $form-select-indicator-padding: 1.25rem !default;
3
+ $form-select-bg-size: .75em .75em !default;
4
+ $form-select-indicator-color: $gray-600 !default;
5
+ $form-select-indicator: url("data:image/svg+xml,<svg viewBox='0 0 9 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 1L4.25 4.25L7.5 1' stroke='#{$form-select-indicator-color}' stroke-width='1.08333' stroke-linecap='round' stroke-linejoin='round'/></svg>") !default;
6
+
7
+ $form-select-focus-border-color: $input-focus-border-color !default;
8
+ $form-select-focus-box-shadow: var(--leap-input-box-shadow) !default;
@@ -0,0 +1,9 @@
1
+ // Forms
2
+ $form-switch-color: $white !default;
3
+ $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
4
+
5
+ $form-switch-focus-color: $form-switch-color !default;
6
+ $form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
7
+
8
+ $form-switch-checked-color: $form-switch-color !default;
9
+ $form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
@@ -0,0 +1,40 @@
1
+ // Typography
2
+ //
3
+ // Font, line-height, and color for body text, headings, and more.
4
+ $font-family-sans-serif: var(--leap-font-family);
5
+ $font-family-base: $font-family-sans-serif !default;
6
+
7
+ $font-size-base: 0.875rem; //14px
8
+ $font-size-lg: 1.0625rem; //17px
9
+ $font-size-sm: 0.8125rem; //13px
10
+ $font-size-xs: 0.750rem !default; //12px
11
+
12
+ $font-weight-light: 300;
13
+ $font-weight-normal: 400;
14
+ $font-weight-bold: 600;
15
+
16
+ $line-height-xs: 1 !default;
17
+ $line-height-sm: 1.38462;
18
+ $line-height-base: 1.5715;
19
+ $line-height-lg: 1;
20
+
21
+ $h1-font-size: 2rem;
22
+ $h2-font-size: 1.75rem;
23
+ $h3-font-size: 1.5rem;
24
+ $h4-font-size: 1.25rem;
25
+ $h5-font-size: 1rem;
26
+ $h6-font-size: $font-size-sm;
27
+
28
+ $headings-font-weight: $font-weight-normal;
29
+
30
+ $text-muted: $info;
31
+
32
+
33
+ /* beautify ignore:start */
34
+ $display-font-sizes: (
35
+ 1: 4rem,
36
+ 2: 3.25rem,
37
+ 3: 2.625rem,
38
+ 4: 1.750rem,
39
+ );
40
+ /* beautify ignore:end */
@@ -0,0 +1,16 @@
1
+ @import './opacity';
2
+ @import './colours';
3
+ @import './typography';
4
+
5
+ @import './avatar';
6
+ @import './badges';
7
+ @import './breadcrumbs';
8
+ @import './components';
9
+ @import './dropdowns';
10
+ @import './grid';
11
+ @import './input-box';
12
+ @import './input-options';
13
+ @import './buttons';
14
+ // @import './nav';
15
+ @import './select';
16
+ @import './switch';
@@ -0,0 +1,34 @@
1
+ .badge {
2
+ text-transform: uppercase;
3
+
4
+ &-full {
5
+ min-width: 8.750rem;
6
+ }
7
+
8
+ &-notification {
9
+ position: absolute;
10
+ top: -0.3rem;
11
+ left: 55%;
12
+ padding: 0 3px;
13
+ border-radius: .675em;
14
+ height: 1.4em;
15
+ width: 1.4em;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ z-index: 9;
20
+ font-weight: $font-weight-light;
21
+ }
22
+ }
23
+
24
+ // Creates the "outline" badge variant
25
+ @each $color, $value in $theme-colors {
26
+ .badge.bg-outline-#{$color} {
27
+ @include badge-variant-outline($value, $value, $value);
28
+ }
29
+ }
30
+
31
+ // Override default badge
32
+ .badge.bg-outline-default {
33
+ @include badge-variant-outline($gray-500, $default, $border-color);
34
+ }
@@ -0,0 +1,86 @@
1
+ .btn {
2
+ @if $button-is-uppercase {
3
+ text-transform: uppercase;
4
+ }
5
+ border-radius: var(--leap-border-radius);
6
+ letter-spacing: .02rem;
7
+ font-weight: var(--leap-btn-fontweight);
8
+ font-size: var(--leap-btn-fontsize);
9
+ height: var(--leap-btn-height);
10
+ max-height: var(--leap-btn-height);
11
+ line-height: 1;
12
+
13
+ &:not(.btn-icon-only) {
14
+ padding: var(--leap-btn-padding);
15
+ }
16
+
17
+ &:not(.btn-block):not(.btn-icon-only) {
18
+ min-width: 7.5rem;
19
+
20
+ @include media-breakpoint-down(sm) {
21
+ width: 100%;
22
+ & + & {
23
+ margin-bottom: 0.5rem;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ .btn-default {
30
+ @include button-outline-variant($primary, $primary, $primary-transparent, $primary);
31
+ background-color: $white;
32
+ border-color: var(--leap-btn-border-color);
33
+
34
+ &:hover,
35
+ &:focus {
36
+ color: $primary;
37
+ background-color: var(--leap-btn-hover-background-color);
38
+ border-color: var(--leap-btn-hover-border-color);
39
+ }
40
+ &:active {
41
+ color: $primary !important;
42
+ }
43
+ }
44
+
45
+ .btn-link-danger {
46
+ color: $danger;
47
+ background-color: transparent;
48
+ text-decoration: none;
49
+
50
+ &:hover,
51
+ &:focus {
52
+ text-decoration: underline;
53
+ color: $danger;
54
+ }
55
+ }
56
+
57
+
58
+ // Btn Icons variant
59
+ .btn-icon,
60
+ .btn-icon-only {
61
+ display: flex;
62
+ align-items: center;
63
+ justify-content: center;
64
+ }
65
+
66
+ .btn-icon {
67
+ .icon-container {
68
+ font-size: 0.750rem;
69
+ &:first-child { margin-right: 0.5rem; }
70
+ }
71
+ }
72
+
73
+ .btn-icon-only {
74
+ .icon-container {
75
+ &:first-child { margin-right: 0; }
76
+ &:last-child { margin-left: 0; }
77
+ }
78
+ }
79
+
80
+ .btn-block {
81
+ width: 100%;
82
+
83
+ & + & {
84
+ margin-top: 0.5rem;
85
+ }
86
+ }
@@ -0,0 +1,12 @@
1
+ @import './badge';
2
+ @import './buttons';
3
+ @import './divider';
4
+ @import './dropdown';
5
+ @import './icons';
6
+ @import './nav';
7
+
8
+ // Forms
9
+ @import './forms/forms';
10
+
11
+ // Toastr
12
+ @import './toastr';
@@ -0,0 +1,14 @@
1
+ .divider {
2
+ display: block;
3
+
4
+ &-vertical {
5
+ border-right: 1px solid $border-color;
6
+ margin: 0 0.5rem;
7
+ }
8
+
9
+ &-horizontal {
10
+ border-bottom: 1px solid $border-color;
11
+ margin: 0.5rem 0;
12
+ }
13
+ }
14
+
@@ -0,0 +1,40 @@
1
+ // Dropdown overrides and variants
2
+ .dropdown {
3
+ &-header {
4
+ font-weight: $font-weight-bold;
5
+ letter-spacing: .01rem;
6
+ white-space: nowrap;
7
+ margin-bottom: 0;
8
+
9
+ }
10
+ &-divider {
11
+ opacity: 1;
12
+ }
13
+
14
+ // Custom prepend icon on dropdown item
15
+ &-menu-prepend {
16
+ .dropdown-item,
17
+ .dropdown-header {
18
+ position: relative;
19
+ padding-left: 2rem;
20
+ display: flex;
21
+ align-items: center;
22
+ }
23
+ .dropdown-item {
24
+ .icon-container {
25
+ display: none;
26
+ position: absolute;
27
+ left: 0.5rem;
28
+ }
29
+
30
+ &:hover,
31
+ &:focus,
32
+ &.active {
33
+ .icon-container {
34
+ display: block;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+
@@ -0,0 +1,27 @@
1
+ //
2
+ // Icon sizes
3
+ //
4
+ $icon-sizes: (
5
+ xs: 0.625rem,
6
+ sm: 0.750rem,
7
+ md: 1rem,
8
+ lg: 1.250rem,
9
+ xl: 1.5rem,
10
+ xxl: 2.5rem,
11
+ xxxl: 4.5rem
12
+ ) !default;
13
+
14
+ .icon-container {
15
+ position: relative;
16
+ display: flex;
17
+ }
18
+
19
+ .icon {
20
+ // set height and width to 1em, so icon size will match its parent
21
+ height: 1em;
22
+ width: 1em;
23
+ fill: currentColor;
24
+ }
25
+
26
+ @include icon-sizing($icon-sizes);
27
+