sempli-website-lib 7.1.0-beta.2 → 7.1.0-beta.4
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.
- package/README.md +25 -25
- package/assets/fonts/Lato/Lato-Black.ttf +0 -0
- package/assets/fonts/Lato/Lato-BlackItalic.ttf +0 -0
- package/assets/fonts/Lato/Lato-Bold.ttf +0 -0
- package/assets/fonts/Lato/Lato-BoldItalic.ttf +0 -0
- package/assets/fonts/Lato/Lato-Hairline.ttf +0 -0
- package/assets/fonts/Lato/Lato-HairlineItalic.ttf +0 -0
- package/assets/fonts/Lato/Lato-Italic.ttf +0 -0
- package/assets/fonts/Lato/Lato-Light.ttf +0 -0
- package/assets/fonts/Lato/Lato-LightItalic.ttf +0 -0
- package/assets/fonts/Lato/Lato-Regular.ttf +0 -0
- package/assets/fonts/Lato/OFL.txt +0 -0
- package/assets/interface/documents.svg +136 -136
- package/assets/interface/icons/alert-success.svg +17 -17
- package/assets/interface/icons/arrow-left.svg +8 -8
- package/assets/interface/icons/arrow-right-02.svg +10 -10
- package/assets/interface/icons/arrow-right.svg +8 -8
- package/assets/interface/icons/basic-check-magenta.svg +1 -1
- package/assets/interface/icons/bulb-example.svg +20 -20
- package/assets/interface/icons/bulb-tip.svg +32 -32
- package/assets/interface/icons/check-green-circle-large.svg +23 -23
- package/assets/interface/icons/check-green.svg +16 -16
- package/assets/interface/icons/check-purple.svg +20 -20
- package/assets/interface/icons/cloud-download.svg +20 -20
- package/assets/interface/icons/document-pdf.svg +13 -13
- package/assets/interface/icons/document-review.svg +20 -20
- package/assets/interface/icons/document-status-approved.svg +21 -21
- package/assets/interface/icons/document-status-empty.svg +18 -18
- package/assets/interface/icons/document-status-error.svg +23 -23
- package/assets/interface/icons/document-status-success.svg +19 -19
- package/assets/interface/icons/eye-action.svg +1 -1
- package/assets/interface/icons/hand-stop.svg +19 -19
- package/assets/interface/icons/happy-01.svg +0 -0
- package/assets/interface/icons/happy-02.svg +0 -0
- package/assets/interface/icons/happy-03.svg +0 -0
- package/assets/interface/icons/happy-04.svg +0 -0
- package/assets/interface/icons/happy-05.svg +0 -0
- package/assets/interface/icons/heart.svg +13 -13
- package/assets/interface/icons/intercom-messenger-icon.svg +1 -1
- package/assets/interface/icons/lock-icon.svg +1 -1
- package/assets/interface/icons/mail-circle.svg +32 -32
- package/assets/interface/icons/mail-edit.svg +20 -20
- package/assets/interface/icons/pen-edit.svg +22 -22
- package/assets/interface/icons/plus-circle.svg +22 -22
- package/assets/interface/icons/question-sign.svg +10 -10
- package/assets/interface/icons/shield.svg +31 -31
- package/assets/interface/icons/signature-modal-approved.svg +17 -17
- package/assets/interface/icons/signature-modal-waiting.svg +23 -23
- package/assets/interface/icons/signature-pending.svg +25 -25
- package/assets/interface/icons/signature-step-active.svg +19 -19
- package/assets/interface/icons/signature-step-completed.svg +19 -19
- package/assets/interface/icons/signature-step-default.svg +19 -19
- package/assets/interface/icons/skull.svg +23 -23
- package/assets/interface/icons/step-incomplete.svg +18 -18
- package/assets/interface/icons/trash-delete.svg +20 -20
- package/assets/interface/icons/warning-sign.svg +22 -22
- package/assets/interface/icons/x-circle.svg +14 -14
- package/assets/interface/sempli_2.0/17-dale_superpoderes.jpeg +0 -0
- package/assets/interface/sempli_2.0/17-dale_superpoderes.webp +0 -0
- package/assets/interface/sempli_2.0/5-seguridad-y-control-min.png +0 -0
- package/assets/interface/sempli_2.0/5-seguridad-y-control-min.webp +0 -0
- package/assets/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.webp +0 -0
- package/assets/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2.webp +0 -0
- package/assets/interface/sempli_2.0/credito-a-termino.jpg +0 -0
- package/assets/interface/sempli_2.0/credito-a-termino.webp +0 -0
- package/assets/interface/sempli_2.0/credito-flexi-sub-img.jpg +0 -0
- package/assets/interface/sempli_2.0/credito-flexi-sub-img.webp +0 -0
- package/assets/interface/sempli_2.0/dale_superpoderes.jpg +0 -0
- package/assets/interface/sempli_2.0/dale_superpoderes.webp +0 -0
- package/assets/interface/sempli_2.0/flexi-01.webp +0 -0
- package/assets/interface/sempli_2.0/video-hero-main.mp4 +0 -0
- package/assets/interface/sempli_2.0/video-main.mp4 +0 -0
- package/assets/interface/sempli_2.0/video-main.webm +0 -0
- package/esm2022/lib/sempli-website-lib.module.mjs +5 -5
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/sempli-website-lib.mjs +4 -4
- package/fesm2022/sempli-website-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/_main.scss +2 -2
- package/styles/master-app.scss +17839 -18114
- package/styles/master-landing.scss +20644 -20834
- package/styles/modules/_functions.scss +37 -37
- package/styles/modules/_mixins.scss +68 -68
- package/styles/modules/_variables.scss +54 -54
- package/styles/partials/_base.scss +277 -277
- package/styles/partials/_buttons.scss +446 -453
- package/styles/partials/_fonts.scss +83 -83
- package/styles/partials/_forms.scss +839 -1107
- package/styles/partials/_icons.scss +12 -12
- package/styles/partials/_layout.scss +149 -149
- package/styles/partials/_modals.scss +254 -254
- package/styles/partials/_panels.scss +51 -51
- package/styles/partials/_progress-bars.scss +60 -60
- package/styles/partials/_tooltips.scss +128 -128
- package/styles/partials/_videos.scss +32 -32
- package/styles/partials/animations.scss +155 -155
- package/styles/partials/app/_blocks.scss +101 -101
- package/styles/partials/app/_cards.scss +155 -155
- package/styles/partials/app/_general.scss +1193 -1193
- package/styles/partials/app/_header.scss +713 -713
- package/styles/partials/app/_layout.scss +219 -219
- package/styles/partials/app/_my-account.scss +203 -203
- package/styles/partials/app/_my-loan-applications.scss +165 -165
- package/styles/partials/app/_my-products.scss +1019 -1019
- package/styles/partials/app/_signatures.scss +16 -16
- package/styles/partials/landing/_footer.scss +234 -234
- package/styles/partials/landing/_general.scss +2612 -2527
- package/styles/partials/landing/_header.scss +968 -968
- package/styles/partials/landing/_hero-wrappers.scss +650 -650
- package/styles/vendor/_animate.scss +3 -3
- package/styles/vendor/_compass.scss +4 -4
- package/styles/vendor/_lemonade.scss +37 -37
- package/styles/vendor/_modules_export.scss +11212 -11212
- package/styles/vendor/_normalize.scss +341 -341
- package/styles/vendor/animation/_animate.scss +31 -31
- package/styles/vendor/animation/_core.scss +127 -127
- package/styles/vendor/animation/_shared.scss +21 -21
- package/styles/vendor/animation/animate/_attention-seekers.scss +151 -151
- package/styles/vendor/animation/animate/_bouncing.scss +2 -2
- package/styles/vendor/animation/animate/_classes.scss +21 -21
- package/styles/vendor/animation/animate/_fading.scss +2 -2
- package/styles/vendor/animation/animate/_flippers.scss +87 -87
- package/styles/vendor/animation/animate/_lightspeed.scss +23 -23
- package/styles/vendor/animation/animate/_rotating.scss +3 -3
- package/styles/vendor/animation/animate/_specials.scss +42 -42
- package/styles/vendor/animation/animate/bouncing/_bouncing-entrances.scss +68 -68
- package/styles/vendor/animation/animate/bouncing/_bouncing-exits.scss +60 -60
- package/styles/vendor/animation/animate/fading/_fading-entrances.scss +86 -86
- package/styles/vendor/animation/animate/fading/_fading-exits.scss +86 -86
- package/styles/vendor/animation/animate/rotating/_rotating-entrances.scss +58 -58
- package/styles/vendor/animation/animate/rotating/_rotating-exits.scss +58 -58
- package/styles/vendor/compass/_css3.scss +21 -21
- package/styles/vendor/compass/_functions.scss +7 -7
- package/styles/vendor/compass/_layout.scss +3 -3
- package/styles/vendor/compass/_reset-legacy.scss +3 -3
- package/styles/vendor/compass/_reset.scss +3 -3
- package/styles/vendor/compass/_support.scss +40 -40
- package/styles/vendor/compass/_typography.scss +4 -4
- package/styles/vendor/compass/_utilities.scss +9 -9
- package/styles/vendor/compass/css3/_animation.scss +2 -2
- package/styles/vendor/compass/css3/_appearance.scss +16 -16
- package/styles/vendor/compass/css3/_background-clip.scss +43 -43
- package/styles/vendor/compass/css3/_background-origin.scss +42 -42
- package/styles/vendor/compass/css3/_background-size.scss +26 -26
- package/styles/vendor/compass/css3/_border-radius.scss +130 -130
- package/styles/vendor/compass/css3/_box-shadow.scss +76 -76
- package/styles/vendor/compass/css3/_box-sizing.scss +18 -18
- package/styles/vendor/compass/css3/_box.scss +110 -110
- package/styles/vendor/compass/css3/_columns.scss +157 -157
- package/styles/vendor/compass/css3/_filter.scss +24 -24
- package/styles/vendor/compass/css3/_flexbox.scss +86 -86
- package/styles/vendor/compass/css3/_font-face.scss +48 -48
- package/styles/vendor/compass/css3/_hyphenation.scss +77 -77
- package/styles/vendor/compass/css3/_images.scss +133 -133
- package/styles/vendor/compass/css3/_inline-block.scss +22 -22
- package/styles/vendor/compass/css3/_opacity.scss +19 -19
- package/styles/vendor/compass/css3/_pie.scss +73 -73
- package/styles/vendor/compass/css3/_regions.scss +21 -21
- package/styles/vendor/compass/css3/_shared.scss +38 -38
- package/styles/vendor/compass/css3/_text-shadow.scss +88 -88
- package/styles/vendor/compass/css3/_transform-legacy.scss +87 -87
- package/styles/vendor/compass/css3/_transform.scss +598 -598
- package/styles/vendor/compass/css3/_transition.scss +222 -222
- package/styles/vendor/compass/css3/_user-interface.scss +47 -47
- package/styles/vendor/compass/functions/_colors.scss +37 -37
- package/styles/vendor/compass/functions/_constants.scss +18 -18
- package/styles/vendor/compass/functions/_cross_browser_support.scss +72 -72
- package/styles/vendor/compass/functions/_display.scss +36 -36
- package/styles/vendor/compass/functions/_font_files.scss +95 -95
- package/styles/vendor/compass/functions/_gradient_support.scss +14 -14
- package/styles/vendor/compass/functions/_lists.scss +90 -90
- package/styles/vendor/compass/layout/_grid-background.scss +178 -178
- package/styles/vendor/compass/layout/_sticky-footer.scss +23 -23
- package/styles/vendor/compass/layout/_stretching.scss +23 -23
- package/styles/vendor/compass/reset/_utilities-legacy.scss +135 -135
- package/styles/vendor/compass/reset/_utilities.scss +142 -142
- package/styles/vendor/compass/typography/_links.scss +3 -3
- package/styles/vendor/compass/typography/_lists.scss +4 -4
- package/styles/vendor/compass/typography/_text.scss +4 -4
- package/styles/vendor/compass/typography/_vertical_rhythm.scss +229 -229
- package/styles/vendor/compass/typography/links/_hover-link.scss +5 -5
- package/styles/vendor/compass/typography/links/_link-colors.scss +28 -28
- package/styles/vendor/compass/typography/links/_unstyled-link.scss +7 -7
- package/styles/vendor/compass/typography/lists/_bullets.scss +34 -34
- package/styles/vendor/compass/typography/lists/_horizontal-list.scss +61 -61
- package/styles/vendor/compass/typography/lists/_inline-block-list.scss +50 -50
- package/styles/vendor/compass/typography/lists/_inline-list.scss +44 -44
- package/styles/vendor/compass/typography/text/_ellipsis.scss +25 -25
- package/styles/vendor/compass/typography/text/_force-wrap.scss +12 -12
- package/styles/vendor/compass/typography/text/_nowrap.scss +2 -2
- package/styles/vendor/compass/typography/text/_replacement.scss +68 -68
- package/styles/vendor/compass/utilities/_general.scss +6 -6
- package/styles/vendor/compass/utilities/_links.scss +5 -5
- package/styles/vendor/compass/utilities/_lists.scss +6 -6
- package/styles/vendor/compass/utilities/_print.scss +17 -17
- package/styles/vendor/compass/utilities/_sprites.scss +2 -2
- package/styles/vendor/compass/utilities/_tables.scss +3 -3
- package/styles/vendor/compass/utilities/_text.scss +5 -5
- package/styles/vendor/compass/utilities/color/_contrast.scss +27 -27
- package/styles/vendor/compass/utilities/general/_clearfix.scss +44 -44
- package/styles/vendor/compass/utilities/general/_float.scss +29 -29
- package/styles/vendor/compass/utilities/general/_hacks.scss +47 -47
- package/styles/vendor/compass/utilities/general/_min.scss +16 -16
- package/styles/vendor/compass/utilities/general/_reset.scss +2 -2
- package/styles/vendor/compass/utilities/general/_tabs.scss +1 -1
- package/styles/vendor/compass/utilities/general/_tag-cloud.scss +18 -18
- package/styles/vendor/compass/utilities/links/_hover-link.scss +3 -3
- package/styles/vendor/compass/utilities/links/_link-colors.scss +3 -3
- package/styles/vendor/compass/utilities/links/_unstyled-link.scss +3 -3
- package/styles/vendor/compass/utilities/lists/_bullets.scss +3 -3
- package/styles/vendor/compass/utilities/lists/_horizontal-list.scss +3 -3
- package/styles/vendor/compass/utilities/lists/_inline-block-list.scss +3 -3
- package/styles/vendor/compass/utilities/lists/_inline-list.scss +3 -3
- package/styles/vendor/compass/utilities/sprites/_base.scss +65 -65
- package/styles/vendor/compass/utilities/sprites/_sprite-img.scss +78 -78
- package/styles/vendor/compass/utilities/tables/_alternating-rows-and-columns.scss +22 -22
- package/styles/vendor/compass/utilities/tables/_borders.scss +33 -33
- package/styles/vendor/compass/utilities/tables/_scaffolding.scss +9 -9
- package/styles/vendor/compass/utilities/text/_ellipsis.scss +3 -3
- package/styles/vendor/compass/utilities/text/_nowrap.scss +3 -3
- package/styles/vendor/compass/utilities/text/_replacement.scss +3 -3
- package/assets/interface/icons/check-circle.svg +0 -1
- package/assets/interface/icons/x-circle-alert.svg +0 -1
- package/core/intelli-styles.js +0 -55
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
// @doc off
|
|
2
|
-
// Example 1:
|
|
3
|
-
//
|
|
4
|
-
// a.twitter
|
|
5
|
-
// +sprite-img("icons-32.png", 1)
|
|
6
|
-
// a.facebook
|
|
7
|
-
// +sprite-img("icons-32png", 2)
|
|
8
|
-
//
|
|
9
|
-
// Example 2:
|
|
10
|
-
//
|
|
11
|
-
// a
|
|
12
|
-
// +sprite-background("icons-32.png")
|
|
13
|
-
// a.twitter
|
|
14
|
-
// +sprite-column(1)
|
|
15
|
-
// a.facebook
|
|
16
|
-
// +sprite-row(2)
|
|
17
|
-
// @doc on
|
|
18
|
-
|
|
19
|
-
$sprite-default-size: 32px !default;
|
|
20
|
-
|
|
21
|
-
$sprite-default-margin: 0px !default;
|
|
22
|
-
|
|
23
|
-
$sprite-image-default-width: $sprite-default-size !default;
|
|
24
|
-
|
|
25
|
-
$sprite-image-default-height: $sprite-default-size !default;
|
|
26
|
-
|
|
27
|
-
// Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
|
|
28
|
-
// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
|
|
29
|
-
@mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
30
|
-
@include sprite-background($img, $width, $height);
|
|
31
|
-
@include sprite-position($col, $row, $width, $height, $margin);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
|
|
35
|
-
@mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
|
|
36
|
-
@include sprite-background-rectangle($img, $width, $height);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Sets rules common for all sprites, assumes a rectangular region.
|
|
40
|
-
@mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
|
|
41
|
-
background: image-url($img) no-repeat;
|
|
42
|
-
width: $width;
|
|
43
|
-
height: $height;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Allows horizontal sprite positioning optimized for a single row of sprites.
|
|
48
|
-
@mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
|
|
49
|
-
@include sprite-position($col, 1, $width, 0px, $margin);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Allows vertical sprite positioning optimized for a single column of sprites.
|
|
53
|
-
@mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
54
|
-
@include sprite-position(1, $row, 0px, $height, $margin);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
|
|
58
|
-
@mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
59
|
-
$x: ($col - 1) * -$width - ($col - 1) * $margin;
|
|
60
|
-
$y: ($row - 1) * -$height - ($row - 1) * $margin;
|
|
61
|
-
background-position: $x $y;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
// Similar to 'sprite-replace-text-with-dimensions' but does not autmaticly set the demensions
|
|
67
|
-
@mixin sprite-replace-text ($map, $sprite, $dimensions: false, $offset-x: 0, $offset-y: 0) {
|
|
68
|
-
@include hide-text;
|
|
69
|
-
@include sprite($map, $sprite, $dimensions, $offset-x, $offset-y);
|
|
70
|
-
background-image: $map;
|
|
71
|
-
background-repeat: no-repeat;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Similar to 'replace-text-with-dimensions' but with sprites
|
|
75
|
-
// To use, create your sprite and then pass it in the `$map` param
|
|
76
|
-
// The name of the image in the sprite folder should be `$img-name`
|
|
77
|
-
@mixin sprite-replace-text-with-dimensions ($map, $sprite, $offset-x: 0, $offset-y: 0){
|
|
78
|
-
@include sprite-replace-text ($map, $sprite, true, $offset-x, $offset-y);
|
|
1
|
+
// @doc off
|
|
2
|
+
// Example 1:
|
|
3
|
+
//
|
|
4
|
+
// a.twitter
|
|
5
|
+
// +sprite-img("icons-32.png", 1)
|
|
6
|
+
// a.facebook
|
|
7
|
+
// +sprite-img("icons-32png", 2)
|
|
8
|
+
//
|
|
9
|
+
// Example 2:
|
|
10
|
+
//
|
|
11
|
+
// a
|
|
12
|
+
// +sprite-background("icons-32.png")
|
|
13
|
+
// a.twitter
|
|
14
|
+
// +sprite-column(1)
|
|
15
|
+
// a.facebook
|
|
16
|
+
// +sprite-row(2)
|
|
17
|
+
// @doc on
|
|
18
|
+
|
|
19
|
+
$sprite-default-size: 32px !default;
|
|
20
|
+
|
|
21
|
+
$sprite-default-margin: 0px !default;
|
|
22
|
+
|
|
23
|
+
$sprite-image-default-width: $sprite-default-size !default;
|
|
24
|
+
|
|
25
|
+
$sprite-image-default-height: $sprite-default-size !default;
|
|
26
|
+
|
|
27
|
+
// Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
|
|
28
|
+
// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
|
|
29
|
+
@mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
30
|
+
@include sprite-background($img, $width, $height);
|
|
31
|
+
@include sprite-position($col, $row, $width, $height, $margin);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
|
|
35
|
+
@mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
|
|
36
|
+
@include sprite-background-rectangle($img, $width, $height);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Sets rules common for all sprites, assumes a rectangular region.
|
|
40
|
+
@mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
|
|
41
|
+
background: image-url($img) no-repeat;
|
|
42
|
+
width: $width;
|
|
43
|
+
height: $height;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Allows horizontal sprite positioning optimized for a single row of sprites.
|
|
48
|
+
@mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
|
|
49
|
+
@include sprite-position($col, 1, $width, 0px, $margin);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Allows vertical sprite positioning optimized for a single column of sprites.
|
|
53
|
+
@mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
54
|
+
@include sprite-position(1, $row, 0px, $height, $margin);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
|
|
58
|
+
@mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
|
59
|
+
$x: ($col - 1) * -$width - ($col - 1) * $margin;
|
|
60
|
+
$y: ($row - 1) * -$height - ($row - 1) * $margin;
|
|
61
|
+
background-position: $x $y;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
// Similar to 'sprite-replace-text-with-dimensions' but does not autmaticly set the demensions
|
|
67
|
+
@mixin sprite-replace-text ($map, $sprite, $dimensions: false, $offset-x: 0, $offset-y: 0) {
|
|
68
|
+
@include hide-text;
|
|
69
|
+
@include sprite($map, $sprite, $dimensions, $offset-x, $offset-y);
|
|
70
|
+
background-image: $map;
|
|
71
|
+
background-repeat: no-repeat;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Similar to 'replace-text-with-dimensions' but with sprites
|
|
75
|
+
// To use, create your sprite and then pass it in the `$map` param
|
|
76
|
+
// The name of the image in the sprite folder should be `$img-name`
|
|
77
|
+
@mixin sprite-replace-text-with-dimensions ($map, $sprite, $offset-x: 0, $offset-y: 0){
|
|
78
|
+
@include sprite-replace-text ($map, $sprite, true, $offset-x, $offset-y);
|
|
79
79
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
|
|
2
|
-
th {
|
|
3
|
-
background-color: $header-color;
|
|
4
|
-
&.even, &:nth-child(2n) {
|
|
5
|
-
background-color: $header-color - $dark-intersection; } }
|
|
6
|
-
tr {
|
|
7
|
-
&.odd, &:nth-child(2n+1) {
|
|
8
|
-
td {
|
|
9
|
-
background-color: $odd-row-color;
|
|
10
|
-
&.even, &:nth-child(2n) {
|
|
11
|
-
background-color: $odd-row-color - $dark-intersection; } } }
|
|
12
|
-
}
|
|
13
|
-
tr.even {
|
|
14
|
-
td {
|
|
15
|
-
background-color: $even-row-color;
|
|
16
|
-
&.even, &:nth-child(2n) {
|
|
17
|
-
background-color: $even-row-color - $dark-intersection; } } }
|
|
18
|
-
tfoot {
|
|
19
|
-
th, td {
|
|
20
|
-
background-color: $footer-color;
|
|
21
|
-
&.even, &:nth-child(2n) {
|
|
22
|
-
background-color: $footer-color - $dark-intersection; } } } }
|
|
1
|
+
@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
|
|
2
|
+
th {
|
|
3
|
+
background-color: $header-color;
|
|
4
|
+
&.even, &:nth-child(2n) {
|
|
5
|
+
background-color: $header-color - $dark-intersection; } }
|
|
6
|
+
tr {
|
|
7
|
+
&.odd, &:nth-child(2n+1) {
|
|
8
|
+
td {
|
|
9
|
+
background-color: $odd-row-color;
|
|
10
|
+
&.even, &:nth-child(2n) {
|
|
11
|
+
background-color: $odd-row-color - $dark-intersection; } } }
|
|
12
|
+
}
|
|
13
|
+
tr.even {
|
|
14
|
+
td {
|
|
15
|
+
background-color: $even-row-color;
|
|
16
|
+
&.even, &:nth-child(2n) {
|
|
17
|
+
background-color: $even-row-color - $dark-intersection; } } }
|
|
18
|
+
tfoot {
|
|
19
|
+
th, td {
|
|
20
|
+
background-color: $footer-color;
|
|
21
|
+
&.even, &:nth-child(2n) {
|
|
22
|
+
background-color: $footer-color - $dark-intersection; } } } }
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
@mixin outer-table-borders($width: 2px, $color: black) {
|
|
2
|
-
border: $width solid $color;
|
|
3
|
-
thead {
|
|
4
|
-
th {
|
|
5
|
-
border-bottom: $width solid $color; } }
|
|
6
|
-
tfoot {
|
|
7
|
-
th, td {
|
|
8
|
-
border-top: $width solid $color; } }
|
|
9
|
-
th {
|
|
10
|
-
&:first-child {
|
|
11
|
-
border-right: $width solid $color; } } }
|
|
12
|
-
|
|
13
|
-
@mixin inner-table-borders($width: 2px, $color: black) {
|
|
14
|
-
th, td {
|
|
15
|
-
border: {
|
|
16
|
-
right: $width solid $color;
|
|
17
|
-
bottom: $width solid $color;
|
|
18
|
-
left-width: 0px;
|
|
19
|
-
top-width: 0px; };
|
|
20
|
-
&:last-child,
|
|
21
|
-
&.last {
|
|
22
|
-
border-right-width: 0px; } }
|
|
23
|
-
|
|
24
|
-
// IE8 ignores rules that are included on the same line as :last-child
|
|
25
|
-
// see http://www.richardscarrott.co.uk/posts/view/ie8-last-child-bug for details
|
|
26
|
-
|
|
27
|
-
tbody, tfoot {
|
|
28
|
-
tr:last-child {
|
|
29
|
-
th, td {
|
|
30
|
-
border-bottom-width: 0px; } }
|
|
31
|
-
tr.last {
|
|
32
|
-
th, td {
|
|
33
|
-
border-bottom-width: 0px; } } } }
|
|
1
|
+
@mixin outer-table-borders($width: 2px, $color: black) {
|
|
2
|
+
border: $width solid $color;
|
|
3
|
+
thead {
|
|
4
|
+
th {
|
|
5
|
+
border-bottom: $width solid $color; } }
|
|
6
|
+
tfoot {
|
|
7
|
+
th, td {
|
|
8
|
+
border-top: $width solid $color; } }
|
|
9
|
+
th {
|
|
10
|
+
&:first-child {
|
|
11
|
+
border-right: $width solid $color; } } }
|
|
12
|
+
|
|
13
|
+
@mixin inner-table-borders($width: 2px, $color: black) {
|
|
14
|
+
th, td {
|
|
15
|
+
border: {
|
|
16
|
+
right: $width solid $color;
|
|
17
|
+
bottom: $width solid $color;
|
|
18
|
+
left-width: 0px;
|
|
19
|
+
top-width: 0px; };
|
|
20
|
+
&:last-child,
|
|
21
|
+
&.last {
|
|
22
|
+
border-right-width: 0px; } }
|
|
23
|
+
|
|
24
|
+
// IE8 ignores rules that are included on the same line as :last-child
|
|
25
|
+
// see http://www.richardscarrott.co.uk/posts/view/ie8-last-child-bug for details
|
|
26
|
+
|
|
27
|
+
tbody, tfoot {
|
|
28
|
+
tr:last-child {
|
|
29
|
+
th, td {
|
|
30
|
+
border-bottom-width: 0px; } }
|
|
31
|
+
tr.last {
|
|
32
|
+
th, td {
|
|
33
|
+
border-bottom-width: 0px; } } } }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@mixin table-scaffolding {
|
|
2
|
-
th {
|
|
3
|
-
text-align: center;
|
|
4
|
-
font-weight: bold; }
|
|
5
|
-
td,
|
|
6
|
-
th {
|
|
7
|
-
padding: 2px;
|
|
8
|
-
&.numeric {
|
|
9
|
-
text-align: right; } } }
|
|
1
|
+
@mixin table-scaffolding {
|
|
2
|
+
th {
|
|
3
|
+
text-align: center;
|
|
4
|
+
font-weight: bold; }
|
|
5
|
+
td,
|
|
6
|
+
th {
|
|
7
|
+
padding: 2px;
|
|
8
|
+
&.numeric {
|
|
9
|
+
text-align: right; } } }
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@warn "This import is deprecated. Use 'compass/typography/text/ellipsis' instead.";
|
|
2
|
-
|
|
3
|
-
@import "../../typography/text/ellipsis";
|
|
1
|
+
@warn "This import is deprecated. Use 'compass/typography/text/ellipsis' instead.";
|
|
2
|
+
|
|
3
|
+
@import "../../typography/text/ellipsis";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@warn "This import is deprecated. Use 'compass/typography/text/nowrap' instead.";
|
|
2
|
-
|
|
3
|
-
@import "../../typography/text/nowrap";
|
|
1
|
+
@warn "This import is deprecated. Use 'compass/typography/text/nowrap' instead.";
|
|
2
|
+
|
|
3
|
+
@import "../../typography/text/nowrap";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@warn "This import is deprecated. Use 'compass/typography/text/replacement' instead.";
|
|
2
|
-
|
|
3
|
-
@import "../../typography/text/replacement";
|
|
1
|
+
@warn "This import is deprecated. Use 'compass/typography/text/replacement' instead.";
|
|
2
|
+
|
|
3
|
+
@import "../../typography/text/replacement";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#1F7F45" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FF425E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>
|
package/core/intelli-styles.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
document.addEventListener('DOMContentLoaded', () => {
|
|
2
|
-
const handleLabel = (input) => {
|
|
3
|
-
const wrapper = input.closest('.input-line-wrapper');
|
|
4
|
-
if (wrapper) {
|
|
5
|
-
const label = wrapper.querySelector('.floating-label');
|
|
6
|
-
if (label) {
|
|
7
|
-
if ((input.value.trim() !== '' || document.activeElement === input ||
|
|
8
|
-
input.hasAttribute('placeholder')) || input.type === 'date') {
|
|
9
|
-
label.classList.add('active');
|
|
10
|
-
} else {
|
|
11
|
-
label.classList.remove('active');
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const labelContainer = input.closest('.label-container');
|
|
17
|
-
if (labelContainer) {
|
|
18
|
-
handleStateIcon(labelContainer);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
const handleStateIcon = (labelContainer) => {
|
|
22
|
-
if (labelContainer.classList.contains('has-error') || labelContainer.classList.contains('valid-input')) {
|
|
23
|
-
if (!labelContainer.querySelector('.input-state-icon') && labelContainer.innerText.length <= 50) {
|
|
24
|
-
const iconSpan = document.createElement('span');
|
|
25
|
-
iconSpan.className = 'input-state-icon';
|
|
26
|
-
labelContainer.appendChild(iconSpan);
|
|
27
|
-
}
|
|
28
|
-
} else {
|
|
29
|
-
const iconSpan = labelContainer.querySelector('.input-state-icon');
|
|
30
|
-
if (iconSpan) {
|
|
31
|
-
iconSpan.remove();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const inputFields = document.querySelectorAll('.input-line-wrapper .input-field');
|
|
36
|
-
inputFields.forEach(input => {
|
|
37
|
-
handleLabel(input);
|
|
38
|
-
input.addEventListener('focus', () => handleLabel(input));
|
|
39
|
-
input.addEventListener('blur', () => handleLabel(input));
|
|
40
|
-
input.addEventListener('input', () => handleLabel(input));
|
|
41
|
-
});
|
|
42
|
-
const observer = new MutationObserver(() => {
|
|
43
|
-
const newInputFields = document.querySelectorAll('.input-line-wrapper .input-field');
|
|
44
|
-
newInputFields.forEach(input => {
|
|
45
|
-
if (!input.hasAttribute('data-processed')) {
|
|
46
|
-
handleLabel(input);
|
|
47
|
-
input.setAttribute('data-processed', 'true');
|
|
48
|
-
input.addEventListener('focus', () => handleLabel(input));
|
|
49
|
-
input.addEventListener('blur', () => handleLabel(input));
|
|
50
|
-
input.addEventListener('input', () => handleLabel(input));
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
observer.observe(document.body, { childList: true, subtree: true });
|
|
55
|
-
});
|