@trilogy-ds/styles 4.12.1 → 4.13.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/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/components/_calendar.scss +1 -0
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_flex-box.scss +14 -14
- package/framework/src/components/_index.scss +1 -0
- package/framework/src/components/input/_input-icons.scss +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.date-picker {
|
|
2
|
+
span {
|
|
3
|
+
outline: none;
|
|
4
|
+
text-align: center;
|
|
5
|
+
caret-color: transparent;
|
|
6
|
+
&:focus-visible {
|
|
7
|
+
background-color: getColor('main-fade')
|
|
8
|
+
}
|
|
9
|
+
&::selection {
|
|
10
|
+
background-color: getColor('main-fade')
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.input {
|
|
15
|
+
&.is-focused {
|
|
16
|
+
border: 2px solid currentColor;
|
|
17
|
+
padding-left: 15px !important;
|
|
18
|
+
background-color: getColor('background') !important;
|
|
19
|
+
}
|
|
20
|
+
&:active {
|
|
21
|
+
padding-left: 15px !important;
|
|
22
|
+
}
|
|
23
|
+
&[aria-disabled="true"] {
|
|
24
|
+
&:active {
|
|
25
|
+
padding-left: 16px !important;
|
|
26
|
+
}
|
|
27
|
+
& span::selection {
|
|
28
|
+
background-color: transparent !important
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&-hidden {
|
|
32
|
+
border: 0;
|
|
33
|
+
clip: rect(0 0 0 0);
|
|
34
|
+
height: 1px;
|
|
35
|
+
margin: -1px;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
padding: 0;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
width: 1px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.modal {
|
|
44
|
+
flex-direction: inherit;
|
|
45
|
+
.modal-content, .modal-header {
|
|
46
|
+
background-color: transparent !important;
|
|
47
|
+
}
|
|
48
|
+
.modal-body {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
.calendar {
|
|
53
|
+
height: 440px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
@@ -24,20 +24,24 @@
|
|
|
24
24
|
flex-direction: column-reverse;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
@include
|
|
28
|
-
|
|
27
|
+
@include mobile {
|
|
28
|
+
&:has(>.flex-item):not([class*='is-direction']) {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.is-direction-row-mobile {
|
|
29
33
|
flex-direction: row;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
|
-
&.is-direction-column-
|
|
36
|
+
&.is-direction-column-mobile {
|
|
33
37
|
flex-direction: column;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
|
-
&.is-direction-row-reverse-
|
|
40
|
+
&.is-direction-row-reverse-mobile {
|
|
37
41
|
flex-direction: row-reverse;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
|
-
&.is-direction-column-reverse-
|
|
44
|
+
&.is-direction-column-reverse-mobile {
|
|
41
45
|
flex-direction: column-reverse;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
@@ -60,24 +64,20 @@
|
|
|
60
64
|
}
|
|
61
65
|
}
|
|
62
66
|
|
|
63
|
-
@include
|
|
64
|
-
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.is-direction-row-mobile {
|
|
67
|
+
@include desktop {
|
|
68
|
+
&.is-direction-row-desktop {
|
|
69
69
|
flex-direction: row;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
&.is-direction-column-
|
|
72
|
+
&.is-direction-column-desktop {
|
|
73
73
|
flex-direction: column;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
&.is-direction-row-reverse-
|
|
76
|
+
&.is-direction-row-reverse-desktop {
|
|
77
77
|
flex-direction: row-reverse;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
&.is-direction-column-reverse-
|
|
80
|
+
&.is-direction-column-reverse-desktop {
|
|
81
81
|
flex-direction: column-reverse;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
.has-icons-right {
|
|
30
|
-
.icon-right, button[data-show-pwd]{
|
|
30
|
+
.icon-right, button[data-show-pwd], button[data-show-calendar] {
|
|
31
31
|
position: absolute;
|
|
32
32
|
height: 100%;
|
|
33
33
|
width: 45px;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
button[data-show-pwd]{
|
|
44
|
+
button[data-show-pwd], button[data-show-calendar] {
|
|
45
45
|
background-color: transparent;
|
|
46
46
|
border:none;
|
|
47
47
|
border-top-right-radius: $radius-small ;
|