@kms-ngx-ui/presentational 0.0.24 → 14.0.0
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 +28 -28
- package/{esm2015/kms-ngx-ui-presentational.js → esm2020/kms-ngx-ui-presentational.mjs} +4 -4
- package/esm2020/lib/directives/directives.module.mjs +40 -0
- package/{esm2015/lib/directives/mousewheel.directive.js → esm2020/lib/directives/mousewheel.directive.mjs} +56 -56
- package/{esm2015/lib/directives/sum-of-height.directive.js → esm2020/lib/directives/sum-of-height.directive.mjs} +74 -74
- package/{esm2015/lib/directives/swipe.directive.js → esm2020/lib/directives/swipe.directive.mjs} +183 -183
- package/esm2020/lib/directives/swipe.model.mjs +5 -0
- package/{esm2015/lib/directives/tooltip.directive.js → esm2020/lib/directives/tooltip.directive.mjs} +144 -144
- package/esm2020/lib/kms-ngx-ui-presentational.component.mjs +22 -0
- package/{esm2015/lib/kms-ngx-ui-presentational.module.js → esm2020/lib/kms-ngx-ui-presentational.module.mjs} +215 -217
- package/{esm2015/lib/kms-ngx-ui-presentational.service.js → esm2020/lib/kms-ngx-ui-presentational.service.mjs} +14 -14
- package/esm2020/lib/models/address.model.mjs +6 -0
- package/{esm2015/lib/models/iconSize.enum.js → esm2020/lib/models/iconSize.enum.mjs} +17 -17
- package/{esm2015/lib/models/image-snippet.model.js → esm2020/lib/models/image-snippet.model.mjs} +18 -18
- package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +5 -5
- package/{esm2015/lib/models/is-value.function.js → esm2020/lib/models/is-value.function.mjs} +17 -17
- package/{esm2015/lib/models/salutation.enum.js → esm2020/lib/models/salutation.enum.mjs} +8 -8
- package/{esm2015/lib/models/types/attached-file-dto.model.js → esm2020/lib/models/types/attached-file-dto.model.mjs} +6 -6
- package/{esm2015/lib/models/types/nullable.type.js → esm2020/lib/models/types/nullable.type.mjs} +5 -5
- package/{esm2015/lib/parent-components/actions.component.js → esm2020/lib/parent-components/actions.component.mjs} +56 -56
- package/esm2020/lib/parent-components/form-control.component.mjs +75 -0
- package/esm2020/lib/parent-components/form.component.mjs +78 -0
- package/{esm2015/lib/pipes/custom-pipes.module.js → esm2020/lib/pipes/custom-pipes.module.mjs} +71 -71
- package/esm2020/lib/pipes/decode-uri.pipe.mjs +19 -0
- package/esm2020/lib/pipes/encode-uri.pipe.mjs +19 -0
- package/{esm2015/lib/pipes/integer-currency.pipe.js → esm2020/lib/pipes/integer-currency.pipe.mjs} +27 -27
- package/{esm2015/lib/pipes/safe-html.pipe.js → esm2020/lib/pipes/safe-html.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-resource-url.pipe.js → esm2020/lib/pipes/safe-resource-url.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-style.pipe.js → esm2020/lib/pipes/safe-style.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-url.pipe.js → esm2020/lib/pipes/safe-url.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/to-number.pipe.js → esm2020/lib/pipes/to-number.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/trim.pipe.js → esm2020/lib/pipes/trim.pipe.mjs} +20 -20
- package/{esm2015/lib/pipes/typeof.pipe.js → esm2020/lib/pipes/typeof.pipe.mjs} +16 -16
- package/esm2020/lib/services/viewport.service.mjs +216 -0
- package/esm2020/lib/ui/back-to-top/back-to-top.component.mjs +49 -0
- package/{esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js → esm2020/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs} +6 -6
- package/esm2020/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +58 -0
- package/{esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js → esm2020/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs} +2 -2
- package/esm2020/lib/ui/checkbox/checkbox.component.mjs +71 -0
- package/esm2020/lib/ui/color-input/color-input.component.mjs +76 -0
- package/esm2020/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +165 -0
- package/esm2020/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +53 -0
- package/esm2020/lib/ui/file-input/file-input.component.mjs +232 -0
- package/esm2020/lib/ui/flyout/flyout.component.mjs +119 -0
- package/esm2020/lib/ui/generic-dialog/generic-dialog.component.mjs +54 -0
- package/esm2020/lib/ui/icon/icon.component.mjs +48 -0
- package/esm2020/lib/ui/icon/iconSize.enum.mjs +17 -0
- package/esm2020/lib/ui/image-slider/image-slider.component.mjs +189 -0
- package/esm2020/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +40 -0
- package/esm2020/lib/ui/loader/loader.component.mjs +21 -0
- package/esm2020/lib/ui/map/map.component.mjs +116 -0
- package/esm2020/lib/ui/radiobutton/radiobutton.component.mjs +73 -0
- package/esm2020/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +55 -0
- package/esm2020/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +49 -0
- package/esm2020/lib/ui/time-input/time-input.component.mjs +83 -0
- package/esm2020/lib/ui/tooltip/tooltip.component.mjs +16 -0
- package/esm2020/lib/ui/tooltip-icon/tooltip-icon.component.mjs +35 -0
- package/esm2020/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +82 -0
- package/esm2020/public-api.mjs +49 -0
- package/fesm2015/kms-ngx-ui-presentational.mjs +3013 -0
- package/fesm2015/kms-ngx-ui-presentational.mjs.map +1 -0
- package/{fesm2015/kms-ngx-ui-presentational.js → fesm2020/kms-ngx-ui-presentational.mjs} +2894 -3108
- package/fesm2020/kms-ngx-ui-presentational.mjs.map +1 -0
- package/{kms-ngx-ui-presentational.d.ts → index.d.ts} +5 -5
- package/lib/directives/directives.module.d.ts +11 -13
- package/lib/directives/mousewheel.directive.d.ts +15 -15
- package/lib/directives/sum-of-height.directive.d.ts +31 -31
- package/lib/directives/swipe.directive.d.ts +45 -45
- package/lib/directives/swipe.model.d.ts +49 -49
- package/lib/directives/tooltip.directive.d.ts +29 -29
- package/lib/kms-ngx-ui-presentational.component.d.ts +8 -8
- package/lib/kms-ngx-ui-presentational.module.d.ts +47 -47
- package/lib/kms-ngx-ui-presentational.service.d.ts +6 -6
- package/lib/models/address.model.d.ts +14 -14
- package/lib/models/iconSize.enum.d.ts +15 -15
- package/lib/models/image-snippet.model.d.ts +15 -15
- package/lib/models/index.d.ts +4 -4
- package/lib/models/is-value.function.d.ts +9 -9
- package/lib/models/salutation.enum.d.ts +5 -5
- package/lib/models/types/attached-file-dto.model.d.ts +11 -11
- package/lib/models/types/nullable.type.d.ts +4 -4
- package/lib/parent-components/actions.component.d.ts +31 -31
- package/lib/parent-components/form-control.component.d.ts +27 -27
- package/lib/parent-components/form.component.d.ts +34 -40
- package/lib/pipes/custom-pipes.module.d.ts +17 -17
- package/lib/pipes/decode-uri.pipe.d.ts +10 -10
- package/lib/pipes/encode-uri.pipe.d.ts +10 -10
- package/lib/pipes/integer-currency.pipe.d.ts +13 -13
- package/lib/pipes/safe-html.pipe.d.ts +13 -13
- package/lib/pipes/safe-resource-url.pipe.d.ts +13 -13
- package/lib/pipes/safe-style.pipe.d.ts +13 -13
- package/lib/pipes/safe-url.pipe.d.ts +13 -13
- package/lib/pipes/to-number.pipe.d.ts +10 -10
- package/lib/pipes/trim.pipe.d.ts +10 -10
- package/lib/pipes/typeof.pipe.d.ts +7 -7
- package/lib/services/viewport.service.d.ts +74 -83
- package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -10
- package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -4
- package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +19 -19
- package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +9 -9
- package/lib/ui/checkbox/checkbox.component.d.ts +31 -31
- package/lib/ui/color-input/color-input.component.d.ts +19 -19
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +55 -55
- package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +17 -17
- package/lib/ui/file-input/file-input.component.d.ts +89 -89
- package/lib/ui/flyout/flyout.component.d.ts +32 -32
- package/lib/ui/generic-dialog/generic-dialog.component.d.ts +26 -26
- package/lib/ui/icon/icon.component.d.ts +42 -48
- package/lib/ui/icon/iconSize.enum.d.ts +15 -25
- package/lib/ui/image-slider/image-slider.component.d.ts +62 -62
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +22 -22
- package/lib/ui/loader/loader.component.d.ts +9 -9
- package/lib/ui/map/map.component.d.ts +70 -69
- package/lib/ui/radiobutton/radiobutton.component.d.ts +26 -27
- package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +17 -17
- package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +15 -15
- package/lib/ui/time-input/time-input.component.d.ts +22 -22
- package/lib/ui/tooltip/tooltip.component.d.ts +6 -6
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +13 -13
- package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +27 -27
- package/package.json +27 -14
- package/public-api.d.ts +45 -46
- package/src/lib/ui/back-to-top/back-to-top.component.scss +46 -45
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +2 -2
- package/src/lib/ui/checkbox/checkbox.component.scss +48 -48
- package/src/lib/ui/color-input/color-input.component.scss +38 -38
- package/src/lib/ui/file-input/file-input.component.scss +2 -2
- package/src/lib/ui/flyout/flyout.component.scss +34 -34
- package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -59
- package/src/lib/ui/icon/icon.component.scss +148 -114
- package/src/lib/ui/image-slider/image-slider.component.scss +219 -219
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -95
- package/src/lib/ui/radiobutton/radiobutton.component.scss +31 -31
- package/src/lib/ui/time-input/time-input.component.scss +10 -10
- package/src/lib/ui/tooltip/tooltip.component.scss +26 -26
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -2
- package/src/styles/mixins.scss +8 -8
- package/src/styles/styles.scss +30 -31
- package/bundles/kms-ngx-ui-presentational.umd.js +0 -3751
- package/bundles/kms-ngx-ui-presentational.umd.js.map +0 -1
- package/esm2015/lib/directives/directives.module.js +0 -45
- package/esm2015/lib/directives/size.directive.js +0 -21
- package/esm2015/lib/directives/swipe.model.js +0 -5
- package/esm2015/lib/kms-ngx-ui-presentational.component.js +0 -26
- package/esm2015/lib/models/address.model.js +0 -6
- package/esm2015/lib/parent-components/colorable.component.js +0 -35
- package/esm2015/lib/parent-components/form-control.component.js +0 -76
- package/esm2015/lib/parent-components/form.component.js +0 -99
- package/esm2015/lib/pipes/decode-uri.pipe.js +0 -19
- package/esm2015/lib/pipes/encode-uri.pipe.js +0 -19
- package/esm2015/lib/services/viewport.service.js +0 -242
- package/esm2015/lib/ui/back-to-top/back-to-top.component.js +0 -52
- package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +0 -62
- package/esm2015/lib/ui/checkbox/checkbox.component.js +0 -76
- package/esm2015/lib/ui/color-input/color-input.component.js +0 -81
- package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +0 -169
- package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +0 -57
- package/esm2015/lib/ui/file-input/file-input.component.js +0 -237
- package/esm2015/lib/ui/flyout/flyout.component.js +0 -125
- package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +0 -58
- package/esm2015/lib/ui/icon/icon.component.js +0 -55
- package/esm2015/lib/ui/icon/iconSize.enum.js +0 -28
- package/esm2015/lib/ui/image-slider/image-slider.component.js +0 -193
- package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +0 -44
- package/esm2015/lib/ui/loader/loader.component.js +0 -25
- package/esm2015/lib/ui/map/map.component.js +0 -120
- package/esm2015/lib/ui/radiobutton/radiobutton.component.js +0 -82
- package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +0 -59
- package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +0 -53
- package/esm2015/lib/ui/time-input/time-input.component.js +0 -88
- package/esm2015/lib/ui/tooltip/tooltip.component.js +0 -20
- package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +0 -40
- package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +0 -86
- package/esm2015/public-api.js +0 -50
- package/fesm2015/kms-ngx-ui-presentational.js.map +0 -1
- package/lib/directives/size.directive.d.ts +0 -10
- package/lib/parent-components/colorable.component.d.ts +0 -10
- package/src/styles/animations.scss +0 -47
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@mixin generic-dialog-component-theme() {
|
|
2
|
-
.mat-dialog-container {
|
|
3
|
-
padding: 44px 40px;
|
|
4
|
-
width: 560px !important;
|
|
5
|
-
|
|
6
|
-
.mat-dialog-title {
|
|
7
|
-
height: 24px !important;
|
|
8
|
-
padding-bottom: 20px;
|
|
9
|
-
padding-left: 24px;
|
|
10
|
-
padding-top: 20px;
|
|
11
|
-
|
|
12
|
-
h3 {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-dialog-content {
|
|
18
|
-
margin: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.custom-dialog-actions {
|
|
22
|
-
align-items: center;
|
|
23
|
-
display: flex;
|
|
24
|
-
height: 64px;
|
|
25
|
-
justify-content: flex-end;
|
|
26
|
-
padding-right: 24px;
|
|
27
|
-
|
|
28
|
-
button:first-of-type {
|
|
29
|
-
margin-right: 8px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dialog-col {
|
|
34
|
-
padding-top: 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.big{
|
|
38
|
-
.mat-dialog-container {
|
|
39
|
-
width: 1084px !important;
|
|
40
|
-
height: 90vh;
|
|
41
|
-
padding: 44px 40px;
|
|
42
|
-
@media (max-width: $responsive-breakpoint) {
|
|
43
|
-
padding: 10px 10px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.middle{
|
|
48
|
-
.mat-dialog-container {
|
|
49
|
-
width: 600px !important;
|
|
50
|
-
height: 95vh;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.small{
|
|
54
|
-
.mat-dialog-container {
|
|
55
|
-
width: 450px !important;
|
|
56
|
-
height: auto !important;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@mixin generic-dialog-component-theme() {
|
|
2
|
+
.mat-dialog-container {
|
|
3
|
+
padding: 44px 40px;
|
|
4
|
+
width: 560px !important;
|
|
5
|
+
|
|
6
|
+
.mat-dialog-title {
|
|
7
|
+
height: 24px !important;
|
|
8
|
+
padding-bottom: 20px;
|
|
9
|
+
padding-left: 24px;
|
|
10
|
+
padding-top: 20px;
|
|
11
|
+
|
|
12
|
+
h3 {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-dialog-content {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.custom-dialog-actions {
|
|
22
|
+
align-items: center;
|
|
23
|
+
display: flex;
|
|
24
|
+
height: 64px;
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
padding-right: 24px;
|
|
27
|
+
|
|
28
|
+
button:first-of-type {
|
|
29
|
+
margin-right: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.dialog-col {
|
|
34
|
+
padding-top: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.big{
|
|
38
|
+
.mat-dialog-container {
|
|
39
|
+
width: 1084px !important;
|
|
40
|
+
height: 90vh;
|
|
41
|
+
padding: 44px 40px;
|
|
42
|
+
@media (max-width: $responsive-breakpoint) {
|
|
43
|
+
padding: 10px 10px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.middle{
|
|
48
|
+
.mat-dialog-container {
|
|
49
|
+
width: 600px !important;
|
|
50
|
+
height: 95vh;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.small{
|
|
54
|
+
.mat-dialog-container {
|
|
55
|
+
width: 450px !important;
|
|
56
|
+
height: auto !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,115 +1,149 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../styles/mixins.scss';
|
|
3
|
-
@mixin icon-theme(){
|
|
4
|
-
.icon {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
height: inherit;
|
|
7
|
-
outline-color: transparent;
|
|
8
|
-
transition: transform 0.2s ease-in-out;
|
|
9
|
-
position: relative;
|
|
10
|
-
@include iconSize(100%);
|
|
11
|
-
|
|
12
|
-
&.size{
|
|
13
|
-
&-full {
|
|
14
|
-
@include iconSize(100%);
|
|
15
|
-
}
|
|
16
|
-
&-16{
|
|
17
|
-
@include iconSize(16px);
|
|
18
|
-
}
|
|
19
|
-
&-20{
|
|
20
|
-
@include iconSize(20px);
|
|
21
|
-
}
|
|
22
|
-
&-32{
|
|
23
|
-
@include iconSize(32px);
|
|
24
|
-
}
|
|
25
|
-
&-64{
|
|
26
|
-
@include iconSize(64px);
|
|
27
|
-
}
|
|
28
|
-
&-128{
|
|
29
|
-
@include iconSize(64px);
|
|
30
|
-
}
|
|
31
|
-
&-256{
|
|
32
|
-
@include iconSize(256px);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
svg, use{
|
|
37
|
-
fill: black;
|
|
38
|
-
position: relative;
|
|
39
|
-
transform: translate(0, 0) !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&_hoverable {
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
&:hover,
|
|
45
|
-
&:focus {
|
|
46
|
-
svg use{
|
|
47
|
-
fill: var(--primaryColor);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&_active {
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
fill: var(--primaryColor) !important;
|
|
55
|
-
|
|
56
|
-
&:hover, &:focus {
|
|
57
|
-
fill: var(--primaryColor02) !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&.color{
|
|
62
|
-
&-primary svg use{
|
|
63
|
-
fill: var(--primaryColor);
|
|
64
|
-
}
|
|
65
|
-
&-
|
|
66
|
-
fill: var(--
|
|
67
|
-
}
|
|
68
|
-
&-disabled svg use{
|
|
69
|
-
fill: var(--gray04);
|
|
70
|
-
}
|
|
71
|
-
&-white svg use{
|
|
72
|
-
fill: var(--white);
|
|
73
|
-
}
|
|
74
|
-
&-blackish svg use{
|
|
75
|
-
fill: var(--gray09);
|
|
76
|
-
}
|
|
77
|
-
&-warn svg use{
|
|
78
|
-
fill: #BF2F2F;
|
|
79
|
-
}
|
|
80
|
-
&-success svg use{
|
|
81
|
-
fill: #39B948;
|
|
82
|
-
}
|
|
83
|
-
&-info svg use{
|
|
84
|
-
fill: #E5C936;
|
|
85
|
-
}
|
|
86
|
-
&-grey1 svg use{
|
|
87
|
-
fill: #646260;
|
|
88
|
-
}
|
|
89
|
-
&-grey2 svg use{
|
|
90
|
-
fill: #918F8E;
|
|
91
|
-
}
|
|
92
|
-
&-grey3 svg use{
|
|
93
|
-
fill: var(--gray04);
|
|
94
|
-
}
|
|
95
|
-
&-grey4 svg use{
|
|
96
|
-
fill: #E4E4E4;
|
|
97
|
-
}
|
|
98
|
-
&-grey5 svg use{
|
|
99
|
-
fill: #F2F2F2;
|
|
100
|
-
}
|
|
101
|
-
&-grey6 svg use{
|
|
102
|
-
fill: var(--gray07);
|
|
103
|
-
}
|
|
104
|
-
&-inactive{
|
|
105
|
-
fill: #bdbcbb;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// IE 11 with win7 fix that caused an application freeze.
|
|
110
|
-
svg use {
|
|
111
|
-
pointer-events: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
1
|
+
|
|
2
|
+
@import '../../../styles/mixins.scss';
|
|
3
|
+
@mixin icon-theme(){
|
|
4
|
+
.icon {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
height: inherit;
|
|
7
|
+
outline-color: transparent;
|
|
8
|
+
transition: transform 0.2s ease-in-out;
|
|
9
|
+
position: relative;
|
|
10
|
+
@include iconSize(100%);
|
|
11
|
+
|
|
12
|
+
&.size{
|
|
13
|
+
&-full {
|
|
14
|
+
@include iconSize(100%);
|
|
15
|
+
}
|
|
16
|
+
&-16{
|
|
17
|
+
@include iconSize(16px);
|
|
18
|
+
}
|
|
19
|
+
&-20{
|
|
20
|
+
@include iconSize(20px);
|
|
21
|
+
}
|
|
22
|
+
&-32{
|
|
23
|
+
@include iconSize(32px);
|
|
24
|
+
}
|
|
25
|
+
&-64{
|
|
26
|
+
@include iconSize(64px);
|
|
27
|
+
}
|
|
28
|
+
&-128{
|
|
29
|
+
@include iconSize(64px);
|
|
30
|
+
}
|
|
31
|
+
&-256{
|
|
32
|
+
@include iconSize(256px);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
svg, use{
|
|
37
|
+
fill: black;
|
|
38
|
+
position: relative;
|
|
39
|
+
transform: translate(0, 0) !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&_hoverable {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
&:hover,
|
|
45
|
+
&:focus {
|
|
46
|
+
svg use{
|
|
47
|
+
fill: var(--primaryColor);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&_active {
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
fill: var(--primaryColor) !important;
|
|
55
|
+
|
|
56
|
+
&:hover, &:focus {
|
|
57
|
+
fill: var(--primaryColor02) !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.color{
|
|
62
|
+
&-primary svg use{
|
|
63
|
+
fill: var(--primaryColor);
|
|
64
|
+
}
|
|
65
|
+
&-secondary svg use{
|
|
66
|
+
fill: var(--primaryColor);
|
|
67
|
+
}
|
|
68
|
+
&-disabled svg use{
|
|
69
|
+
fill: var(--gray04);
|
|
70
|
+
}
|
|
71
|
+
&-white svg use{
|
|
72
|
+
fill: var(--white);
|
|
73
|
+
}
|
|
74
|
+
&-blackish svg use{
|
|
75
|
+
fill: var(--gray09);
|
|
76
|
+
}
|
|
77
|
+
&-warn svg use{
|
|
78
|
+
fill: #BF2F2F;
|
|
79
|
+
}
|
|
80
|
+
&-success svg use{
|
|
81
|
+
fill: #39B948;
|
|
82
|
+
}
|
|
83
|
+
&-info svg use{
|
|
84
|
+
fill: #E5C936;
|
|
85
|
+
}
|
|
86
|
+
&-grey1 svg use{
|
|
87
|
+
fill: #646260;
|
|
88
|
+
}
|
|
89
|
+
&-grey2 svg use{
|
|
90
|
+
fill: #918F8E;
|
|
91
|
+
}
|
|
92
|
+
&-grey3 svg use{
|
|
93
|
+
fill: var(--gray04);
|
|
94
|
+
}
|
|
95
|
+
&-grey4 svg use{
|
|
96
|
+
fill: #E4E4E4;
|
|
97
|
+
}
|
|
98
|
+
&-grey5 svg use{
|
|
99
|
+
fill: #F2F2F2;
|
|
100
|
+
}
|
|
101
|
+
&-grey6 svg use{
|
|
102
|
+
fill: var(--gray07);
|
|
103
|
+
}
|
|
104
|
+
&-inactive{
|
|
105
|
+
fill: #bdbcbb;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// IE 11 with win7 fix that caused an application freeze.
|
|
110
|
+
svg use {
|
|
111
|
+
pointer-events: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.is-rotating45 {
|
|
115
|
+
animation-name: spinanimation;
|
|
116
|
+
animation-duration: 3000ms;
|
|
117
|
+
transform: rotate(45deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.is-rotating90 {
|
|
121
|
+
animation-name: spinanimation;
|
|
122
|
+
animation-duration: 3000ms;
|
|
123
|
+
transform: rotate(90deg);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.is-rotating180 {
|
|
127
|
+
animation-name: spinanimation180;
|
|
128
|
+
animation-duration: 3000ms;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.is-rotating45Anti {
|
|
132
|
+
animation-name: spinanimation;
|
|
133
|
+
animation-duration: 3000ms;
|
|
134
|
+
transform: rotate(-45deg);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.is-rotating90Anti {
|
|
138
|
+
animation-name: spinanimation;
|
|
139
|
+
animation-duration: 3000ms;
|
|
140
|
+
transform: rotate(-90deg);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.is-rotating180Anti {
|
|
144
|
+
animation-name: spinanimation;
|
|
145
|
+
animation-duration: 3000ms;
|
|
146
|
+
transform: rotate(-180deg);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
115
149
|
}
|