@trilogy-ds/styles 0.0.3-beta-v4 → 0.0.3-fix-timepicker

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 (113) hide show
  1. package/dist/default/assets/icons/all/arrow-high.svg +1 -0
  2. package/dist/default/assets/icons/all/calendar.svg +1 -0
  3. package/dist/default/assets/icons/all/clock.svg +1 -0
  4. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  5. package/dist/default/assets/icons/all/micro.svg +1 -0
  6. package/dist/default/assets/icons/all/paperclip.svg +1 -0
  7. package/dist/default/trilogy-mangled.css +1 -1
  8. package/dist/default/trilogy-partials.css +1 -1
  9. package/dist/default/trilogy.css +1 -1
  10. package/framework/src/_all.scss +2 -2
  11. package/framework/src/base/_all.scss +0 -1
  12. package/framework/src/base/_color.scss +0 -21
  13. package/framework/src/base/_elements.scss +1 -1
  14. package/framework/src/base/_generic.scss +5 -0
  15. package/framework/src/base/_helpers.scss +21 -6
  16. package/framework/src/base/_loading.scss +2 -2
  17. package/framework/src/base/_reset.scss +6 -1
  18. package/framework/src/components/_accordion.scss +5 -12
  19. package/framework/src/components/_autocomplete.scss +43 -0
  20. package/framework/src/components/_autolayout.scss +145 -109
  21. package/framework/src/{elements → components}/_badge.scss +1 -1
  22. package/framework/src/{elements → components}/_box.scss +10 -12
  23. package/framework/src/components/_breadcrumb.scss +17 -31
  24. package/framework/src/{elements → components}/_button.scss +23 -3
  25. package/framework/src/components/_calendar.scss +129 -0
  26. package/framework/src/components/_card.scss +26 -9
  27. package/framework/src/components/_checkbox.scss +73 -0
  28. package/framework/src/{elements → components}/_container.scss +0 -7
  29. package/framework/src/components/_countdown.scss +1 -1
  30. package/framework/src/components/_date-picker.scss +58 -0
  31. package/framework/src/components/_divider.scss +44 -4
  32. package/framework/src/components/_dropdown.scss +195 -0
  33. package/framework/src/components/_flex-box.scss +1005 -0
  34. package/framework/src/{elements → components}/_icon.scss +9 -8
  35. package/framework/src/components/_index.scss +53 -0
  36. package/framework/src/{elements → components}/_link.scss +13 -3
  37. package/framework/src/components/_list.scss +66 -0
  38. package/framework/src/components/_modal.scss +32 -11
  39. package/framework/src/components/_otp.scss +2 -2
  40. package/framework/src/components/_pagination.scss +5 -2
  41. package/framework/src/components/_price.scss +28 -2
  42. package/framework/src/components/_prompt.scss +156 -0
  43. package/framework/src/{elements → components}/_radio.scss +12 -8
  44. package/framework/src/components/_segmented-control.scss +9 -5
  45. package/framework/src/components/_select.scss +131 -0
  46. package/framework/src/components/_stepper.scss +47 -10
  47. package/framework/src/{elements → components}/_sticker.scss +24 -4
  48. package/framework/src/{elements → components}/_switch.scss +13 -8
  49. package/framework/src/{elements → components}/_table.scss +9 -10
  50. package/framework/src/components/_tabs.scss +79 -28
  51. package/framework/src/{elements → components}/_tag.scss +1 -17
  52. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  53. package/framework/src/components/_textarea.scss +46 -0
  54. package/framework/src/components/_timeline.scss +1 -1
  55. package/framework/src/components/_timepicker-circular.scss +88 -0
  56. package/framework/src/components/_timepicker.scss +79 -0
  57. package/framework/src/{elements → components}/_title.scss +10 -0
  58. package/framework/src/{elements → components/alert}/_alert.scss +2 -2
  59. package/framework/src/components/alert/_index.scss +2 -0
  60. package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
  61. package/framework/src/{elements → components/input}/_entry.scss +48 -10
  62. package/framework/src/{elements → components/input}/_form.scss +18 -12
  63. package/framework/src/components/input/_index.scss +4 -0
  64. package/framework/src/{elements → components/input}/_input-gauge.scss +8 -0
  65. package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
  66. package/framework/src/components/progress/_index.scss +2 -0
  67. package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
  68. package/framework/src/{elements → components/progress}/_progress.scss +2 -4
  69. package/framework/src/elements/_index.scss +5 -0
  70. package/framework/src/elements/_other.scss +0 -4
  71. package/framework/src/grid/_columns.scss +33 -11
  72. package/framework/src/layout/_hero.scss +4 -0
  73. package/framework/src/layout/_section.scss +5 -0
  74. package/framework/src/theming/buttons_partial.scss +2 -2
  75. package/framework/src/theming/common_partials.scss +1 -1
  76. package/framework/src/trilogy-mangled.scss +3 -3
  77. package/framework/src/trilogy.scss +3 -2
  78. package/framework/src/utilities/_background.scss +3 -1
  79. package/framework/src/utilities/_derived-variables.scss +0 -92
  80. package/framework/src/utilities/_initial-variables.scss +3 -111
  81. package/framework/src/utilities/_pre.scss +3 -1
  82. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  83. package/framework/src/utilities/mixins/_delete.scss +86 -0
  84. package/framework/src/utilities/mixins/_index.scss +11 -0
  85. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  86. package/framework/src/utilities/mixins/_mixins.scss +372 -0
  87. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  88. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  89. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  90. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  91. package/framework/src/utilities/mixins/_state.scss +25 -0
  92. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  93. package/framework/src/utilities/mixins/_utils.scss +24 -0
  94. package/framework/src/utilities/variables/_animation.scss +2 -0
  95. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +46 -0
  96. package/framework/src/utilities/variables/_font.scss +97 -0
  97. package/framework/src/utilities/variables/_index.scss +6 -0
  98. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  99. package/framework/src/utilities/variables/_shadow.scss +3 -0
  100. package/framework/src/utilities/variables/_zindex.scss +14 -0
  101. package/package.json +6 -1
  102. package/framework/src/components/_all.scss +0 -24
  103. package/framework/src/elements/_all.scss +0 -32
  104. package/framework/src/elements/_autocomplete.scss +0 -32
  105. package/framework/src/elements/_checkbox.scss +0 -42
  106. package/framework/src/elements/_list.scss +0 -62
  107. package/framework/src/elements/_select.scss +0 -96
  108. package/framework/src/elements/_textarea.scss +0 -133
  109. package/framework/src/utilities/_mixins.scss +0 -635
  110. /package/framework/src/{elements → components}/_chips.scss +0 -0
  111. /package/framework/src/{elements → components}/_image.scss +0 -0
  112. /package/framework/src/{elements → components}/_loader.scss +0 -0
  113. /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
@@ -0,0 +1,129 @@
1
+ .calendar {
2
+ border-collapse: separate;
3
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
4
+ padding: 24px;
5
+ border-radius: 8px;
6
+ border-spacing: 0 8px;
7
+ background-color: getColor('background');
8
+
9
+ button {
10
+ all: unset;
11
+ &:focus-visible:not(.is-disabled, .is-active), &:hover:not(.is-disabled, .is-active){
12
+ background-color: getColor('main-fade');
13
+ }
14
+
15
+ &.is-active:hover, &.is-active:focus-visible,
16
+ &.is-disabled:hover, &.is-disabled:focus-visible {
17
+ filter: brightness(80%);
18
+ }
19
+ }
20
+
21
+ &-range.calendar-range-init {
22
+ .calendar-week-day:not(.calendar-date-in-range) {
23
+ button:focus-visible:not(.is-disabled, .is-active), button:hover:not(.is-disabled, .is-active){
24
+ background-color: getColor('main');
25
+ color: getColor('background');
26
+ }
27
+ }
28
+ }
29
+
30
+ &-date-in-range {
31
+ button:not(.is-disabled, .is-active){
32
+ background-color: getColor('main-fade');
33
+ border-radius: 0px;
34
+ &:hover {
35
+ filter: brightness(95%) ;
36
+ border-radius: 4px;
37
+ }
38
+ }
39
+
40
+ &.calendar-date-rounded-left {
41
+ button:not(.is-disabled, .is-active){
42
+ border-radius: 8px 0 0 8px;
43
+ }
44
+ }
45
+
46
+ &.calendar-date-rounded-right {
47
+ button:not(.is-disabled, .is-active){
48
+ border-radius: 0px 8px 8px 0;
49
+ }
50
+ }
51
+ }
52
+
53
+ &-next-month, &-prev-month {
54
+ padding-bottom: 16px;
55
+ button {
56
+ text-align: center;
57
+ border-radius: 4px;
58
+ width: 36px;
59
+ height: 36px;
60
+ i {
61
+ height: 100%;
62
+ }
63
+ }
64
+ }
65
+
66
+ &-week-day {
67
+ text-align: center !important;
68
+ vertical-align: middle;
69
+ &-disabled {
70
+ button {
71
+ color: getColor('disabled');
72
+ background-color: getColor('disabled-fade');
73
+ }
74
+ }
75
+ &-label {
76
+ padding: 4px;
77
+ text-align: center !important;
78
+ width: 36px;
79
+ color: getColor('font-placeholder');
80
+ }
81
+ button {
82
+ display: block;
83
+ width: 36px;
84
+ height: 36px;
85
+ border-radius: 4px;
86
+ }
87
+ }
88
+
89
+ &-active-month {
90
+ height: 28px;
91
+ text-align: center !important;
92
+ position: relative;
93
+ padding-bottom: 16px;
94
+ .icon {
95
+ vertical-align: bottom;
96
+ }
97
+ button {
98
+ padding: 2px 6px;
99
+ border-radius: 4px;
100
+ }
101
+ }
102
+
103
+ &-active-date button {
104
+ background-color: getColor('main');
105
+ color: getColor('background');
106
+ }
107
+
108
+ &-header-dropdown {
109
+ display: flex;
110
+ gap: $spacing-3;
111
+ justify-content: center;
112
+ .select{
113
+ margin-bottom: 0 !important;
114
+ width: 40%;
115
+ select {
116
+ height: 30px !important;
117
+ margin-bottom: 0 !important;
118
+ padding: 0px 25px 0px 5px;
119
+ &:focus{
120
+ padding-left: 4px !important;
121
+ }
122
+ }
123
+ .control:after {
124
+ right: -8px !important;
125
+ }
126
+ }
127
+ }
128
+
129
+ }
@@ -1,3 +1,11 @@
1
+ $basis-values: (
2
+ 'is-1': 70%,
3
+ 'is-2': 60%,
4
+ 'is-3': 50%,
5
+ 'is-4': 40%
6
+ );
7
+
8
+
1
9
  .card {
2
10
  max-width: 100%;
3
11
  display: flex;
@@ -8,8 +16,13 @@
8
16
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
9
17
  background-color: getColor('background');
10
18
 
11
- &:not(:last-child) {
12
- margin-bottom: 15px;
19
+ &:not(.is-reversed) .card-image {
20
+ order: 1;
21
+ }
22
+
23
+
24
+ &:not(.is-reversed) .card-content {
25
+ order: 2;
13
26
  }
14
27
 
15
28
  .card-image {
@@ -47,14 +60,14 @@
47
60
 
48
61
  &.is-strong {
49
62
  .title {
50
- font-family: $family-serif;
63
+ font-family: $family-secondary;
51
64
  font-size: 24px !important;
52
65
  }
53
66
  }
54
67
 
55
68
  &.is-flat {
56
69
  box-shadow: none;
57
- border: var(--border);
70
+ border: 1px solid #{getColor('stroke-fade')};
58
71
 
59
72
  .card-content {
60
73
  padding-left: 20px;
@@ -94,6 +107,12 @@
94
107
  }
95
108
  }
96
109
 
110
+ @for $i from 1 through 4 {
111
+ &:has(.card-content + .card-image.is-#{$i}) .card-content {
112
+ flex-basis: map-get($basis-values, 'is-#{$i}');
113
+ }
114
+ }
115
+
97
116
  .card-image {
98
117
  max-width: 100%;
99
118
 
@@ -215,13 +234,11 @@
215
234
  &.is-inverted,
216
235
  &.is-reversed {
217
236
  .card-image {
218
- order: 1;
237
+ order: 2;
219
238
  }
220
239
 
221
- &.is-horizontal {
222
- .card-image {
223
- order: 1;
224
- }
240
+ .card-content {
241
+ order: 1;
225
242
  }
226
243
  }
227
244
  }
@@ -0,0 +1,73 @@
1
+ @include checkbox-and-radio('checkbox');
2
+
3
+ .checkboxes {
4
+ width: 100%;
5
+ column-gap: $spacing-5;
6
+ row-gap: $spacing-3;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ flex-direction: column;
10
+
11
+ @include tablet {
12
+ flex-direction: row;
13
+
14
+ &.is-vertical-desktop {
15
+ flex-direction: column;
16
+ }
17
+ }
18
+
19
+ @include mobile {
20
+ &.is-horizontal-mobile {
21
+ flex-direction: row;
22
+ }
23
+ }
24
+
25
+ &.is-centered,
26
+ &.has-text-centered,
27
+ .has-text-centered & {
28
+ justify-content: center;
29
+ }
30
+ }
31
+
32
+ .checkbox,
33
+ .checkbox-tile {
34
+ input:checked ~ label.checkbox-label,
35
+ input:checked ~ .checkbox-container {
36
+ &:before {
37
+ background-color: getColor('main');
38
+ }
39
+
40
+ &:after {
41
+ content: "";
42
+ mask-image: url('./assets/icons/all/check.svg');
43
+ background-color: getColor('background');
44
+ mask-size: 18px;
45
+ }
46
+ }
47
+
48
+ label.checkbox-label,
49
+ .checkbox-container {
50
+ &:before,
51
+ &:after {
52
+ border-radius: var(--radius-small);
53
+ }
54
+ }
55
+ }
56
+
57
+ .checkbox-tile {
58
+ input:checked ~ label.checkbox-label,
59
+ input:checked ~ .checkbox-container {
60
+ &:after {
61
+ top: 15px;
62
+ left: 15px;
63
+ }
64
+ }
65
+ }
66
+
67
+ .checkbox {
68
+ input:not(:disabled):not(:checked) ~ label.checkbox-label:hover {
69
+ &:before {
70
+ @include hoverRules()
71
+ }
72
+ }
73
+ }
@@ -40,24 +40,17 @@
40
40
 
41
41
  @include widescreen {
42
42
  max-width: $widescreen - 2 * $gap;
43
- width: $widescreen - 2 * $gap;
44
43
  }
45
44
 
46
45
  @include fullhd {
47
46
  margin: 0 auto;
48
47
  max-width: $fullhd - 2 * $gap;
49
- width: $fullhd - 2 * $gap;
50
48
  }
51
49
 
52
50
  &.is-medium {
53
51
  max-width: 960px;
54
52
  margin: auto;
55
53
  }
56
-
57
- &.is-fullwidth {
58
- max-width: 100%;
59
- width: 100%;
60
- }
61
54
  }
62
55
 
63
56
  main,
@@ -6,7 +6,7 @@
6
6
  color: getColor('font');
7
7
 
8
8
  .count {
9
- font-family: $family-sans-serif;
9
+ font-family: $family-primary;
10
10
  font-size: $text-14;
11
11
  font-weight: 400;
12
12
  list-style-type: none;
@@ -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
+ }
@@ -1,13 +1,53 @@
1
- .divider {
1
+ @mixin divider {
2
+ content:'';
3
+ flex: 1;
4
+ height: 1px;
2
5
  background-color: getColor('neutral');
6
+ border: 1px solid #{getColor('stroke-fade')};
7
+ }
8
+
9
+ .divider {
3
10
  height: 1px;
4
11
  display: flex;
5
12
  justify-content: center;
6
13
  align-items: center;
7
14
 
8
15
  p.divider-content {
9
- white-space: nowrap;
10
- padding: 0 $spacing-4;
11
- background-color: invertColor('neutral');
16
+ flex-wrap: nowrap;
17
+ width: 100%;
18
+ display: flex;
19
+ align-items: center;
20
+
21
+ &::before {
22
+ @include divider
23
+ }
24
+ &::after {
25
+ @include divider
26
+ }
27
+
28
+ &:not(:empty) {
29
+ &::before {
30
+ margin-right: $spacing-4;
31
+ }
32
+ &::after {
33
+ margin-left: $spacing-4;
34
+ }
35
+ }
36
+ }
37
+
38
+ &:not(.is-marginless) {
39
+ margin: $spacing-5 0;
40
+ }
41
+
42
+ @include mobile {
43
+ &:not(.is-marginless) {
44
+ margin: $spacing-4 0;
45
+ }
12
46
  }
13
47
  }
48
+
49
+ *:has(+ .divider) {
50
+ margin-top: 0 !important;
51
+ margin-bottom: 0 !important;
52
+ }
53
+
@@ -0,0 +1,195 @@
1
+ @use 'sass:math';
2
+ @import "../utilities/spacing";
3
+
4
+ $dropdown-border-radius: var(--radius-small);
5
+ $dropdown-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
6
+ $dropdown-item-padding-vertical: 12px;
7
+ $dropdown-item-padding-horizontal: 16px;
8
+
9
+ .dropdown {
10
+ position: relative;
11
+ display: block;
12
+
13
+ &.is-active {
14
+ .dropdown-menu {
15
+ display: block;
16
+ }
17
+ }
18
+ }
19
+
20
+ .dropdown-trigger {
21
+ display: inline-block;
22
+ }
23
+
24
+ .dropdown-manual {
25
+ .dropdown-menu {
26
+ top: 100%;
27
+ margin-top: 0px;
28
+ &[data-position="upward"] {
29
+ top: auto;
30
+ bottom: 100%;
31
+ margin-top: 0;
32
+ margin-bottom: 85px;
33
+ }
34
+ }
35
+ }
36
+
37
+ .dropdown-menu {
38
+ position: absolute;
39
+ top: 100%;
40
+ left: 0;
41
+ z-index: 1000;
42
+ display: none;
43
+ margin-top: 15px;
44
+ background-color: getColor('background');
45
+ border-radius: $dropdown-border-radius;
46
+ box-shadow: $dropdown-shadow;
47
+ overflow: hidden;
48
+ max-height: 300px;
49
+ overflow-y: auto;
50
+ padding-top: 12px;
51
+ padding-bottom: 12px;
52
+ padding-left: 16px;
53
+ padding-right: 16px;
54
+ width: max-content;
55
+ min-width: 200px;
56
+ opacity: 0;
57
+ transform: translateY(-10px);
58
+ transition: opacity 0.2s ease, transform 0.2s ease;
59
+
60
+ &[data-position="upward"] {
61
+ top: auto;
62
+ bottom: 100%;
63
+ margin-top: 0;
64
+ margin-bottom: 15px;
65
+ transform: translateY(10px);
66
+ }
67
+
68
+ &::-webkit-scrollbar {
69
+ width: 6px;
70
+ }
71
+
72
+ &::-webkit-scrollbar-track {
73
+ background: transparent;
74
+ }
75
+
76
+ &::-webkit-scrollbar-thumb {
77
+ background: getColor('main-fade');
78
+ border-radius: 3px;
79
+ }
80
+ }
81
+
82
+ .dropdown-content {
83
+ padding: 0;
84
+ }
85
+
86
+ .dropdown-item {
87
+ display: flex;
88
+ align-items: center;
89
+ padding: $dropdown-item-padding-vertical $dropdown-item-padding-horizontal;
90
+ color: getColor('font');
91
+ text-decoration: none;
92
+ cursor: pointer;
93
+ transition: background-color 0.2s ease;
94
+ border: none;
95
+ border-radius: $dropdown-border-radius;
96
+ background: none;
97
+ width: 100%;
98
+ text-align: left;
99
+ font-size: inherit;
100
+ font-family: inherit;
101
+ line-height: 1.4;
102
+
103
+ .icon {
104
+ margin-right: 12px;
105
+ flex-shrink: 0;
106
+
107
+ &.is-smaller {
108
+ width: 16px;
109
+ height: 16px;
110
+ }
111
+ }
112
+
113
+ &:not(:disabled):not([aria-disabled="true"]) {
114
+ #{$hoverSelector},
115
+ &:focus {
116
+ background-color: getColor('main-fade');
117
+ outline: none;
118
+ }
119
+
120
+ &:active {
121
+ background-color: getColor('main-fade');
122
+ }
123
+ }
124
+
125
+ &.is-active {
126
+ background-color: getColor('main-fade');
127
+ font-weight: $weight-semibold;
128
+ }
129
+
130
+ &:disabled,
131
+ &[aria-disabled="true"] {
132
+ color: getColor('disabled');
133
+ cursor: not-allowed;
134
+ background-color: transparent;
135
+
136
+ .icon {
137
+ opacity: 0.5;
138
+ }
139
+ }
140
+ }
141
+
142
+ .dropdown-item:disabled, .dropdown-item[aria-disabled=true] {
143
+ background-color: transparent !important;
144
+ }
145
+
146
+ .dropdown-group {
147
+ &:not(:first-child) {
148
+ border-top: 2px solid getColor('neutral-fade');
149
+ }
150
+
151
+ &:not(:last-child) {
152
+ margin-bottom: 0;
153
+ }
154
+
155
+ .dropdown-item {
156
+ &:first-child {
157
+ border-top: none;
158
+ }
159
+ }
160
+
161
+ &.is-no-separator {
162
+ border-top: none;
163
+ }
164
+ }
165
+
166
+ @include mobile {
167
+ .dropdown-menu {
168
+ left: 0;
169
+ max-height: 250px;
170
+ width: max-content;
171
+ min-width: 200px;
172
+ }
173
+ }
174
+
175
+ .dropdown.is-active .dropdown-menu {
176
+ opacity: 1;
177
+ transform: translateY(0);
178
+
179
+ &[data-position="upward"] {
180
+ opacity: 1;
181
+ transform: translateY(0);
182
+ }
183
+ }
184
+
185
+ .dropdown-menu.is-visible {
186
+ display: block;
187
+ opacity: 1;
188
+ transform: translateY(0);
189
+
190
+ &[data-position="upward"] {
191
+ display: block;
192
+ opacity: 1;
193
+ transform: translateY(0);
194
+ }
195
+ }