@it-enterprise/forcebpm-ui-kit 1.0.2-beta.12 → 1.0.2-beta.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@it-enterprise/forcebpm-ui-kit",
3
- "version": "1.0.2-beta.12",
3
+ "version": "1.0.2-beta.13",
4
4
  "description": "FBPM UI Kit",
5
5
  "author": "it-enterprise",
6
6
  "license": "MIT",
@@ -16,17 +16,13 @@
16
16
  "require": "./plugin.js"
17
17
  },
18
18
  "./locales": {
19
- "import": "./locales/index.js",
20
- "require": "./locales/index.js"
19
+ "import": "./src/locales/index.js",
20
+ "require": "./src/locales/index.js"
21
21
  },
22
- "./locales/*": {
23
- "import": "./locales/*",
24
- "require": "./locales/*"
25
- }
22
+ "./styles": "./src/scss/index.scss"
26
23
  },
27
24
  "files": [
28
25
  "src",
29
- "locales",
30
26
  "index.js",
31
27
  "plugin.js",
32
28
  "README.md",
package/plugin.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import * as components from './index.js'
7
- import { defaultMessages } from './locales/index.js'
7
+ import { defaultMessages } from './src/locales/index.js'
8
8
 
9
9
  // Re-export for convenience
10
10
  export { defaultMessages }
@@ -0,0 +1,102 @@
1
+ // Global button styles with theme support
2
+
3
+ .v-btn {
4
+ --v-btn-size: 1em;
5
+ --v-btn-height: 40px;
6
+ letter-spacing: 0.03em;
7
+ font-weight: 600;
8
+ text-transform: none;
9
+
10
+ // Size variants
11
+ &.v-btn--size-x-small {
12
+ --v-btn-height: 24px;
13
+ }
14
+
15
+ &.v-btn--size-small {
16
+ --v-btn-height: 32px;
17
+ }
18
+
19
+ &.v-btn--size-large {
20
+ --v-btn-height: 48px;
21
+ }
22
+
23
+ &.v-btn--size-x-large {
24
+ --v-btn-height: 56px;
25
+ }
26
+
27
+ &.v-btn--variant-outlined {
28
+ border: 0.5px solid currentColor;
29
+ }
30
+
31
+ // Background color depends on the theme
32
+ &:not([class*='bg-']):not(.v-btn--variant-outlined):not(.v-btn--variant-text):not(.v-btn--variant-plain) {
33
+ .v-theme--light & {
34
+ background-color: rgb(var(--v-theme-title));
35
+ color: #ffffff;
36
+ }
37
+
38
+ .v-theme--dark & {
39
+ background-color: rgb(var(--v-theme-primary));
40
+ color: #ffffff;
41
+ }
42
+ }
43
+
44
+ &.v-btn--variant-outlined:not([class*='text-']) {
45
+ .v-theme--light & {
46
+ color: rgb(var(--v-theme-title));
47
+ }
48
+
49
+ .v-theme--dark & {
50
+ color: #ffffff;
51
+ }
52
+ }
53
+
54
+ &.v-btn--variant-text {
55
+ font-weight: 500;
56
+ .v-btn__overlay {
57
+ background-color: transparent;
58
+ }
59
+ }
60
+ }
61
+
62
+ // .fbpmp-add-tab-btn.v-btn.v-btn--icon {
63
+ // padding: 0 !important;
64
+ // min-width: 38px !important;
65
+ // width: 38px;
66
+ // height: 38px !important;
67
+ // border-radius: 0;
68
+ // border-bottom: 1px solid var(--v-line3-base) !important;
69
+ // &.v-btn--disabled {
70
+ // .f-icon {
71
+ // background-color: rgb(var(--v-theme-disabled) !important;
72
+ // }
73
+ // }
74
+ // .f-icon {
75
+ // height: 19px;
76
+ // width: 19px;
77
+ // }
78
+ // }
79
+ // .toolbar-icon-btn.v-btn {
80
+ // min-width: 30px !important;
81
+ // max-width: 30px !important;
82
+ // height: 30px !important;
83
+ // padding: 5px;
84
+ // padding-bottom: 0;
85
+ // .v-badge {
86
+ // width: 30px;
87
+ // }
88
+ // i {
89
+ // height: 15px;
90
+ // width: 15px;
91
+ // }
92
+ // }
93
+ // @media (max-width: 1350px) {
94
+ // .fbpmp-add-tab-btn {
95
+ // min-width: 32px !important;
96
+ // width: 32px;
97
+ // height: 32px !important;
98
+ // .v-btn__content {
99
+ // margin-right: 1px;
100
+ // }
101
+ // }
102
+ // }
@@ -0,0 +1,5 @@
1
+ .f-card.v-card {
2
+ &.v-card--hover:hover {
3
+ box-shadow: var(--f-box-shadow);
4
+ }
5
+ }
@@ -0,0 +1,25 @@
1
+ .f-checkbox-sm {
2
+ .v-input__control {
3
+ .v-selection-control__input {
4
+ .v-icon {
5
+ font-size: 16px;
6
+ height: 16px;
7
+ width: 16px;
8
+ min-width: 16px;
9
+ opacity: 0.5 !important;
10
+ }
11
+ .v-icon:hover {
12
+ opacity: 1 !important;
13
+ }
14
+ }
15
+ }
16
+ }
17
+ .f-checkbox-sm:hover {
18
+ .v-input__control {
19
+ .v-selection-control__input {
20
+ .v-icon {
21
+ opacity: 1 !important;
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,45 @@
1
+ // .f-expansion-panels {
2
+ // &.v-expansion-panels {
3
+ // }
4
+ // }
5
+
6
+ .f-expansion-panel {
7
+ &.v-expansion-panel {
8
+ background: transparent;
9
+ color: var(--v-theme-subTitle);
10
+ overflow-x: hidden;
11
+ &::after {
12
+ content: none;
13
+ }
14
+ &.v-expansion-panel--active,
15
+ &.v-expansion-panel--active + .v-expansion-panel {
16
+ margin-top: 0;
17
+ }
18
+ .v-expansion-panel__shadow {
19
+ display: none;
20
+ }
21
+ .v-expansion-panel-title {
22
+ min-height: auto;
23
+ font-size: 1em;
24
+ padding: 15px 12px 10px 4px;
25
+ color: var(--v-theme-title);
26
+ &:hover {
27
+ .v-expansion-panel-title__overlay {
28
+ opacity: 0;
29
+ }
30
+ }
31
+ .v-expansion-panel-title__icon {
32
+ margin-inline-start: 12px;
33
+ margin-bottom: 0;
34
+ margin-top: 0;
35
+ margin-inline-end: auto;
36
+ }
37
+ }
38
+ .v-expansion-panel-text {
39
+ .v-expansion-panel-text__wrapper {
40
+ padding: 10px 20px;
41
+ color: var(--v-theme-subTitle);
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,13 @@
1
+ @use 'utilities';
2
+ @use 'overlay';
3
+ @use 'buttons';
4
+ @use 'input';
5
+ @use 'tabs';
6
+ @use 'expansion';
7
+ @use 'skeleton';
8
+ @use 'card';
9
+ @use 'checkbox';
10
+ @use 'pagination';
11
+ @use 'snackbar';
12
+ // @use 'tables';
13
+ // @use 'bryntum';
@@ -0,0 +1,257 @@
1
+ // Override input styles
2
+ .f-input {
3
+ border-radius: 5.8px;
4
+ background-color: rgb(var(--v-theme-background));
5
+ color: rgb(var(--v-theme-text));
6
+
7
+ &:hover {
8
+ .v-field {
9
+ .v-label {
10
+ color: rgb(var(--v-theme-primary));
11
+ }
12
+ .v-field__outline__start,
13
+ .v-field__outline__notch,
14
+ .v-field__outline__end {
15
+ border-color: rgb(var(--v-theme-primary));
16
+ }
17
+ .v-field__outline__notch::after,
18
+ .v-field__outline__notch::before {
19
+ border-color: rgb(var(--v-theme-primary)) !important;
20
+ }
21
+ }
22
+ }
23
+
24
+ .v-field--center-affix .v-label.v-field-label {
25
+ top: 65%;
26
+ }
27
+
28
+ .v-field {
29
+ border-radius: 5.8px;
30
+ &.v-field--error {
31
+ .v-label {
32
+ color: rgb(var(--v-theme-error));
33
+ }
34
+ .v-field__outline__start,
35
+ .v-field__outline__notch,
36
+ .v-field__outline__end {
37
+ border-color: rgb(var(--v-theme-error));
38
+ }
39
+ .v-field__outline__notch::after,
40
+ .v-field__outline__notch::before {
41
+ border-color: rgb(var(--v-theme-error)) !important;
42
+ }
43
+ }
44
+ .v-label {
45
+ opacity: 1;
46
+ color: rgb(var(--v-theme-text));
47
+ }
48
+ .v-field__outline__start,
49
+ .v-field__outline__notch,
50
+ .v-field__outline__end {
51
+ border-color: rgb(var(--v-theme-text));
52
+ }
53
+ .v-field__outline__notch::after,
54
+ .v-field__outline__notch::before {
55
+ border-color: rgb(var(--v-theme-text)) !important;
56
+ }
57
+ .v-field__input {
58
+ padding-top: 16px;
59
+ padding-bottom: 10px;
60
+ padding-inline: 12px 12px;
61
+ min-height: auto;
62
+ font-size: 0.95em;
63
+ line-height: 1em;
64
+ color: rgb(var(--v-theme-subTitle));
65
+ &:is(:-webkit-autofill, :autofill) {
66
+ -webkit-text-fill-color: rgb(var(--v-theme-subTitle)) !important;
67
+ -webkit-box-shadow: 0 0 0 1000px rgb(var(--v-theme-background)) inset !important;
68
+ background-color: rgb(var(--v-theme-background)) !important;
69
+ border-radius: 5.8px !important;
70
+ }
71
+ }
72
+ input::placeholder {
73
+ font-size: 0.9em;
74
+ opacity: 0.9;
75
+ color: rgb(var(--v-theme-subTitle));
76
+ }
77
+ .v-field__loader {
78
+ top: calc(100% - 2.5px);
79
+ width: calc(100% - 2.5px * 2);
80
+ left: 2.5px;
81
+ .v-progress-linear__background,
82
+ .v-progress-linear__buffer,
83
+ .v-progress-linear__determinate,
84
+ .v-progress-linear__indeterminate {
85
+ background: rgb(var(--v-theme-primary));
86
+ }
87
+ }
88
+ .v-field__outline {
89
+ --v-field-border-width: 0.5px;
90
+ --v-field-border-opacity: 1;
91
+ }
92
+ &.v-field--focused:not(.v-field--error) {
93
+ .v-label {
94
+ color: rgb(var(--v-theme-primary));
95
+ }
96
+ .v-field__outline__start,
97
+ .v-field__outline__notch,
98
+ .v-field__outline__end {
99
+ border-color: rgb(var(--v-theme-primary));
100
+ }
101
+ .v-field__outline__notch::after,
102
+ .v-field__outline__notch::before {
103
+ border-color: rgb(var(--v-theme-primary)) !important;
104
+ }
105
+ }
106
+ .v-field__append-inner {
107
+ display: flex;
108
+ justify-content: center;
109
+ .f-icon {
110
+ margin-top: 10px;
111
+ opacity: 1;
112
+ background: rgb(var(--v-theme-text));
113
+ }
114
+ }
115
+ .v-field__clearable {
116
+ .f-icon {
117
+ min-height: 14px;
118
+ min-width: 14px;
119
+ height: 14px;
120
+ width: 14px;
121
+ }
122
+ }
123
+ }
124
+
125
+ &.v-input--is-disabled {
126
+ background-color: rgb(var(--v-theme-fields));
127
+ fieldset {
128
+ border-color: rgb(var(--v-theme-fields));
129
+ }
130
+ }
131
+ }
132
+
133
+ .f-input.v-textarea {
134
+ .v-field {
135
+ .v-field__input {
136
+ padding-inline: 12px 8px;
137
+ font-size: 0.85em;
138
+ min-height: 45px;
139
+ }
140
+ &.v-field--appended {
141
+ padding-inline-end: 0px;
142
+ }
143
+ .v-field__clearable {
144
+ margin-inline: 10px;
145
+ }
146
+ }
147
+ }
148
+
149
+ // Autocomplete
150
+ .f-input.v-autocomplete {
151
+ &.v-autocomplete--active-menu {
152
+ .v-autocomplete__menu-icon {
153
+ transform: rotate(180deg);
154
+ }
155
+ }
156
+ .v-autocomplete__selection {
157
+ .f-chip.v-chip {
158
+ --v-chip-height: 22px;
159
+ padding: 0;
160
+ border-radius: 16.8px;
161
+ font-size: 0.75em;
162
+ background: rgb(var(--v-theme-line));
163
+ .v-chip__close {
164
+ margin-inline-start: 5px;
165
+ margin-inline-end: 5px;
166
+ .f-icon {
167
+ opacity: 1;
168
+ width: 12px;
169
+ height: 12px;
170
+ min-width: 12px;
171
+ min-height: 12px;
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+
178
+ // Checkbox
179
+ .f-checkbox {
180
+ .v-input__control {
181
+ .v-selection-control {
182
+ --v-selection-control-size: 20px;
183
+ min-height: 1.2em;
184
+ .v-selection-control__wrapper {
185
+ margin-right: 10px;
186
+ .v-selection-control__input {
187
+ &::before {
188
+ content: none;
189
+ }
190
+ .f-icon {
191
+ opacity: 1;
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+
199
+ //Radio
200
+ .f-radio {
201
+ --v-selection-control-size: 20px;
202
+ &.v-selection-control--inline:not(:last-child) {
203
+ margin-right: 8px;
204
+ }
205
+ .v-selection-control__wrapper {
206
+ .v-selection-control__input {
207
+ &::before {
208
+ content: none;
209
+ }
210
+ .f-icon {
211
+ opacity: 1;
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ // Switch
218
+ .f-switch.v-switch {
219
+ margin: 0;
220
+ padding: 0;
221
+ --v-input-control-height: 24px;
222
+ --v-input-padding-top: 0px;
223
+
224
+ &.v-locale--is-ltr.v-switch .v-selection-control__input,
225
+ &.v-locale--is-ltr .v-switch .v-selection-control__input {
226
+ transform: translateX(-8px);
227
+ }
228
+ &.v-locale--is-ltr.v-switch .v-selection-control--dirty .v-selection-control__input,
229
+ &.v-locale--is-ltr .v-switch .v-selection-control--dirty .v-selection-control__input {
230
+ transform: translateX(8px);
231
+ }
232
+ .v-input__control {
233
+ .v-selection-control {
234
+ --v-selection-control-size: 24px;
235
+ .v-selection-control__wrapper {
236
+ margin-right: 8px;
237
+ .v-switch__track {
238
+ height: 24px;
239
+ min-width: 40px;
240
+ background: rgb(var(--v-theme-disabled));
241
+ opacity: 1;
242
+ }
243
+ .v-selection-control__input {
244
+ &::before {
245
+ content: none;
246
+ }
247
+ .v-switch__thumb {
248
+ background: #fff;
249
+ transform: scale(1);
250
+ height: 20px;
251
+ width: 20px;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
@@ -0,0 +1,63 @@
1
+ .v-menu {
2
+ .v-overlay__content {
3
+ background: rgb(var(--v-theme-background));
4
+ color: rgb(var(--v-theme-subTitle));
5
+ border-radius: 5.8px;
6
+ box-shadow: var(--f-box-shadow);
7
+ scrollbar-width: thin;
8
+ .v-card,
9
+ .v-sheet,
10
+ .v-list {
11
+ background: rgb(var(--v-theme-background));
12
+ box-shadow: none;
13
+ scrollbar-width: thin;
14
+ }
15
+ .v-list {
16
+ padding: 0;
17
+ .v-list-item {
18
+ min-height: 40px;
19
+ .v-list-item__content {
20
+ .v-list-item-title {
21
+ font-size: 0.9em;
22
+ line-height: 1.1em;
23
+ font-weight: 500;
24
+ letter-spacing: normal;
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+
32
+ .v-tooltip {
33
+ .v-overlay__content {
34
+ background: rgb(var(--v-theme-background));
35
+ color: rgb(var(--v-theme-subTitle));
36
+ border-radius: 5.8px;
37
+ box-shadow: var(--f-box-shadow);
38
+ padding: 8px;
39
+ font-size: 0.9em;
40
+ line-height: 1em;
41
+ font-weight: 600;
42
+ }
43
+ }
44
+
45
+ .v-overlay__content.v-autocomplete__content {
46
+ .v-list {
47
+ .v-list-item {
48
+ min-height: 28px;
49
+ .f-checkbox {
50
+ .f-icon {
51
+ height: 16px;
52
+ width: 16px;
53
+ min-width: 16px;
54
+ min-height: 16px;
55
+ }
56
+ }
57
+ .v-list-item__content {
58
+ display: flex;
59
+ align-items: center;
60
+ }
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,84 @@
1
+ .app-pagination {
2
+ .v-theme--light.v-pagination .v-pagination__item {
3
+ color: rgb(var(--v-theme-secondary));
4
+ background-color: rgb(var(--v-theme-fields));
5
+ margin: 0 2px;
6
+ }
7
+ .v-theme--light.v-pagination .v-pagination__item--is-active {
8
+ color: rgb(var(--v-theme-fields));
9
+ background-color: rgb(var(--v-theme-secondary)) !important;
10
+ border-color: rgb(var(--v-theme-secondary)) !important;
11
+ }
12
+ .v-theme--dark.v-pagination .v-pagination__item {
13
+ color: rgb(var(--v-theme-secondary));
14
+ background-color: rgb(var(--v-theme-fields));
15
+ margin: 0 2px;
16
+ }
17
+ .v-theme--dark.v-pagination .v-pagination__item--is-active {
18
+ color: rgb(var(--v-theme-fields));
19
+ background-color: rgb(var(--v-theme-secondary)) !important;
20
+ border-color: rgb(var(--v-theme-secondary)) !important;
21
+ }
22
+ .v-pagination {
23
+ display: flex;
24
+ justify-content: center;
25
+ min-width: 320px;
26
+ max-width: 320px;
27
+ height: 40px;
28
+ .v-pagination__list {
29
+ align-items: center;
30
+ li {
31
+ height: 20px;
32
+ width: 20px;
33
+ border: 1px solid transparent;
34
+ border-radius: 3px;
35
+ button {
36
+ height: 20px;
37
+ min-height: 20px !important;
38
+ width: auto;
39
+ padding: 0 2px 2px 0 !important;
40
+ min-width: 20px !important;
41
+ font-size: 0.65em;
42
+ box-shadow: none;
43
+ }
44
+ button[ellipsis='true'] {
45
+ font-size: 1em !important;
46
+ color: rgb(var(--v-theme-secondary));
47
+ }
48
+ // .v-pagination__more {
49
+ // color: rgb(var(--v-theme-secondary));
50
+ // }
51
+ &.v-pagination__prev {
52
+ .v-btn {
53
+ border: 1px solid rgb(var(--v-theme-secondary));
54
+ margin: 0;
55
+ }
56
+ // border: 1px solid rgb(var(--v-theme-secondary));
57
+ background-color: rgb(var(--v-theme-fields));
58
+ margin: 0 10px;
59
+ i {
60
+ background: rgb(var(--v-theme-secondary)) !important;
61
+ height: 8px !important;
62
+ min-height: 8px !important;
63
+ margin: 2px 0 0 2px;
64
+ }
65
+ }
66
+ &.v-pagination__next {
67
+ .v-btn {
68
+ border: 1px solid rgb(var(--v-theme-secondary));
69
+ margin: 0;
70
+ }
71
+ // border: 1px solid rgb(var(--v-theme-secondary));
72
+ background-color: rgb(var(--v-theme-fields));
73
+ margin: 0 10px;
74
+ i {
75
+ background: rgb(var(--v-theme-secondary)) !important;
76
+ height: 8px !important;
77
+ min-height: 8px !important;
78
+ margin: 2px 0 0 2px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,87 @@
1
+ .v-skeleton-loader {
2
+ background: transparent;
3
+ .v-skeleton-loader__text {
4
+ margin: 4px 8px;
5
+ }
6
+
7
+ .v-skeleton-loader__image {
8
+ height: inherit;
9
+ }
10
+
11
+ .v-skeleton-loader__avatar {
12
+ min-height: inherit;
13
+ min-width: inherit;
14
+ max-width: inherit;
15
+ max-height: inherit;
16
+ height: inherit;
17
+ width: inherit;
18
+ margin: 0;
19
+ }
20
+ }
21
+
22
+ // .skeleton-avatar {
23
+ // }
24
+
25
+ // .v-skeleton-loader.theme--dark {
26
+ // div {
27
+ // background: var(--v-background2-base) !important;
28
+ // &::after {
29
+ // background: rgb(var(--v-theme-disabled)) !important;
30
+ // }
31
+ // }
32
+ // }
33
+ // .task-card-loader.v-skeleton-loader {
34
+ // border: 1px solid rgb(var(--v-theme-fields));
35
+ // }
36
+ // .table-loader.v-skeleton-loader {
37
+ // div {
38
+ // background: rgb(var(--v-theme-fields)) !important;
39
+ // &::after {
40
+ // background: var(--v-disabled3-base) !important;
41
+ // }
42
+ // }
43
+ // .v-skeleton-loader__table-thead {
44
+ // padding: 10px 25px;
45
+ // background: rgb(var(--v-theme-fields));
46
+ // }
47
+ // .v-skeleton-loader__table-tbody {
48
+ // padding: 0px;
49
+ // .v-skeleton-loader__table-row-divider:nth-child(odd) {
50
+ // background: rgb(var(--v-theme-line));
51
+ // }
52
+ // .v-skeleton-loader__table-row-divider:nth-child(even) {
53
+ // background: rgb(var(--v-theme-chart));
54
+ // }
55
+ // .v-skeleton-loader__table-row-divider {
56
+ // padding: 0 10px !important;
57
+ // height: 40px;
58
+ // align-items: center;
59
+ // .v-skeleton-loader__table-row {
60
+ // height: 40px;
61
+ // .v-skeleton-loader__table-cell {
62
+ // height: 40px;
63
+ // }
64
+ // }
65
+ // }
66
+ // }
67
+ // }
68
+
69
+ // .v-skeleton-loader__actions {
70
+ // .v-skeleton-loader__button {
71
+ // width: 255px;
72
+ // border-radius: 5.8px;
73
+ // }
74
+ // }
75
+
76
+ // .toolbar-skeleton.v-skeleton-loader {
77
+ // .v-skeleton-loader__table-heading {
78
+ // .v-skeleton-loader__heading {
79
+ // height: 15px;
80
+ // }
81
+ // padding: 22px 10px 2px 20px;
82
+ // background: transparent;
83
+ // }
84
+ // .v-skeleton-loader__text {
85
+ // margin-bottom: -1px;
86
+ // }
87
+ // }
@@ -0,0 +1,36 @@
1
+ .fbpm-action-snackbar {
2
+ bottom: 8%;
3
+ .v-snackbar__wrapper {
4
+ background-color: rgb(var(--v-theme-title-dark));
5
+ min-height: 0;
6
+ min-width: min-content;
7
+ }
8
+ .v-snackbar__content {
9
+ padding: 0;
10
+ .v-skeleton-loader:first-child {
11
+ border-top-right-radius: 0;
12
+ border-bottom-right-radius: 0;
13
+ .v-skeleton-loader__button {
14
+ border-top-right-radius: 0;
15
+ border-bottom-right-radius: 0;
16
+ }
17
+ }
18
+ .v-skeleton-loader:last-child {
19
+ border-top-left-radius: 0;
20
+ border-bottom-left-radius: 0;
21
+ .v-skeleton-loader__button {
22
+ border-top-left-radius: 0;
23
+ border-bottom-left-radius: 0;
24
+ }
25
+ }
26
+ .v-skeleton-loader:not(.v-skeleton-loader:first-child, .v-skeleton-loader:last-child) {
27
+ border-radius: 0;
28
+ .v-skeleton-loader__button {
29
+ border-radius: 0;
30
+ }
31
+ }
32
+ }
33
+ .v-snackbar__action {
34
+ display: none;
35
+ }
36
+ }
@@ -0,0 +1,147 @@
1
+ // .fbpm-table__header - add to "thead" if need custom header styles
2
+ // .fbpm-table__row-hover - add to "tr" if need primary hover
3
+ // .fbpm-table__row-selected - add to "tr" if need primary background
4
+ // .fbpm-table__check-box - add to "td" if next element "v-checkbox"
5
+
6
+ .fbpm-table.v-data-table {
7
+ width: 100%;
8
+ .v-data-table__wrapper {
9
+ overflow-x: hidden;
10
+ scrollbar-width: thin;
11
+ // padding-right: 10px;
12
+ &::-webkit-scrollbar {
13
+ width: 2.5px;
14
+ }
15
+ &::-webkit-scrollbar-track {
16
+ box-shadow: inset 0 0 6px rgb(var(--v-theme-line));
17
+ }
18
+ &::-webkit-scrollbar-thumb {
19
+ border-top: 1px solid rgba(0, 0, 0, 0);
20
+ border-bottom: 1px solid rgba(0, 0, 0, 0);
21
+ background-clip: padding-box;
22
+ border-radius: 20px;
23
+ height: 50px;
24
+ background-color: rgb(var(--v-theme-primary));
25
+ }
26
+ }
27
+ &.darken table {
28
+ tbody {
29
+ tr {
30
+ &:nth-child(odd) {
31
+ background: var(--v-background3-base);
32
+ &:hover {
33
+ background: var(--v-background4-base) !important;
34
+ }
35
+ }
36
+ &:nth-child(even) {
37
+ background: var(--v-background4-base);
38
+ &:hover {
39
+ background: var(--v-background3-base) !important;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ table {
46
+ width: 100%;
47
+ .fbpm-table__header,
48
+ .v-data-table-header {
49
+ tr {
50
+ th {
51
+ color: rgb(var(--v-theme-text)) !important;
52
+ font-weight: normal;
53
+ line-height: 1;
54
+ font-size: 0.8em;
55
+ padding: 4px 4px 10px 4px;
56
+ height: 24px;
57
+ box-shadow: none;
58
+ background: var(--v-background2-base);
59
+ .v-data-table-header__icon {
60
+ -webkit-mask: url('~@/assets/icons/arrow-icon.svg') no-repeat;
61
+ mask: url('~@/assets/icons/arrow-icon.svg') no-repeat;
62
+ mask-size: contain;
63
+ width: 15px;
64
+ height: 15px;
65
+ transform: rotate(-90deg);
66
+ &::after,
67
+ &::before {
68
+ content: none;
69
+ }
70
+ }
71
+ &.asc .v-data-table-header__icon {
72
+ transform: rotate(-90deg);
73
+ background-color: rgb(var(--v-theme-title)) !important;
74
+ }
75
+ &.desc .v-data-table-header__icon {
76
+ transform: rotate(-270deg);
77
+ background-color: rgb(var(--v-theme-title)) !important;
78
+ }
79
+ &.active {
80
+ font-weight: bold;
81
+ color: rgb(var(--v-theme-subTitle)) !important;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ tbody {
87
+ width: 100%;
88
+ tr {
89
+ position: relative;
90
+ z-index: 1;
91
+ td {
92
+ padding: 17px 0 9px 4px;
93
+ font-size: 0.9em;
94
+ line-height: 1em;
95
+ border: none !important;
96
+ height: 40px;
97
+ min-width: 100px;
98
+ &.fbpm-table__check-box {
99
+ width: 40px;
100
+ min-width: 40px;
101
+ padding: 12px;
102
+ border-bottom: none !important;
103
+ .v-input--selection-controls__input {
104
+ margin: 0;
105
+ }
106
+ }
107
+ &.fbpm-table__avatar {
108
+ padding: 6px 0 0 0;
109
+ width: 20px;
110
+ min-width: 20px;
111
+ line-height: 1;
112
+ }
113
+ }
114
+
115
+ &:nth-child(odd) {
116
+ background: var(--v-background5-base);
117
+ &:hover {
118
+ background: var(--v-background6-base) !important;
119
+ }
120
+ }
121
+ &:nth-child(even) {
122
+ background: var(--v-background6-base);
123
+ &:hover {
124
+ background: var(--v-background5-base) !important;
125
+ }
126
+ }
127
+ &.fbpm-table__row-hover:hover,
128
+ &.fbpm-table__row-selected {
129
+ background: rgb(var(--v-theme-background)) !important;
130
+ cursor: pointer;
131
+ &::after {
132
+ content: '';
133
+ height: 100%;
134
+ width: 100%;
135
+ z-index: -1;
136
+ display: block;
137
+ position: absolute;
138
+ top: 0;
139
+ left: 0;
140
+ background: rgb(var(--v-theme-primary));
141
+ opacity: 0.4;
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
@@ -0,0 +1,45 @@
1
+ .f-tabs {
2
+ &.v-tabs {
3
+ height: auto;
4
+ .v-slide-group__next,
5
+ .v-slide-group__prev {
6
+ flex: 0 1 var(--v-tabs-height);
7
+ min-width: var(--v-tabs-height);
8
+ }
9
+ .v-slide-group__container {
10
+ &::after {
11
+ content: '';
12
+ display: block;
13
+ position: absolute;
14
+ bottom: 0;
15
+ height: 1px;
16
+ width: 100%;
17
+ background: rgb(var(--v-theme-line));
18
+ transform: scaleY(0.7);
19
+ transform-origin: bottom;
20
+ }
21
+ .v-slide-group__content {
22
+ .v-btn {
23
+ display: flex;
24
+ align-items: flex-end;
25
+ padding-bottom: 4px;
26
+ border-radius: 0 !important;
27
+ .v-btn__overlay {
28
+ background-color: currentColor;
29
+ }
30
+ .v-btn__content {
31
+ .v-tab__slider {
32
+ height: 1.5px;
33
+ z-index: 1;
34
+ }
35
+ }
36
+ }
37
+ .v-tab--selected {
38
+ .v-btn__content {
39
+ font-weight: 600;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,134 @@
1
+ // Font size utilities
2
+ .fs-08 {
3
+ font-size: 0.8em;
4
+ }
5
+ .fs-09 {
6
+ font-size: 0.9em;
7
+ }
8
+ .fs-1 {
9
+ font-size: 1em;
10
+ }
11
+ .fs-11 {
12
+ font-size: 1.1em;
13
+ }
14
+ .fs-12 {
15
+ font-size: 1.2em;
16
+ }
17
+ .fs-13 {
18
+ font-size: 1.3em;
19
+ }
20
+ .fs-14 {
21
+ font-size: 1.4em;
22
+ }
23
+ .fs-15 {
24
+ font-size: 1.5em;
25
+ }
26
+
27
+ // Line height utilities
28
+ .lh-09 {
29
+ line-height: 0.9em;
30
+ }
31
+ .lh-1 {
32
+ line-height: 1em;
33
+ }
34
+ .lh-11 {
35
+ line-height: 1.1em;
36
+ }
37
+ .lh-12 {
38
+ line-height: 1.2em;
39
+ }
40
+ .lh-13 {
41
+ line-height: 1.3em;
42
+ }
43
+ .lh-14 {
44
+ line-height: 1.4em;
45
+ }
46
+ .lh-15 {
47
+ line-height: 1.5em;
48
+ }
49
+ .lh-16 {
50
+ line-height: 1.6em;
51
+ }
52
+
53
+ // Width utilities
54
+ .fill-width {
55
+ width: 100%;
56
+ }
57
+
58
+ // Override rounded values
59
+ .rounded-xs {
60
+ border-radius: 4.8px !important;
61
+ }
62
+
63
+ .rounded-sm {
64
+ border-radius: 5.8px !important;
65
+ }
66
+
67
+ .rounded,
68
+ .rounded-lg {
69
+ border-radius: 10.8px !important;
70
+ }
71
+
72
+ // Override border values
73
+ .border {
74
+ border-width: 0.5px !important;
75
+ border-style: solid !important;
76
+ border-color: rgb(var(--v-border-color)) !important;
77
+ }
78
+
79
+ // Custom scrollbar styles
80
+ .f-scrollbar-y {
81
+ overflow-y: auto;
82
+ overflow-x: hidden;
83
+ height: inherit;
84
+ &::-webkit-scrollbar {
85
+ width: 6px;
86
+ }
87
+
88
+ &::-webkit-scrollbar-thumb {
89
+ background: rgba(var(--v-theme-primary), 0.6);
90
+ border-radius: 10.8px;
91
+
92
+ &:hover {
93
+ background: rgba(var(--v-theme-primary), 1);
94
+ }
95
+ }
96
+
97
+ &::-webkit-scrollbar-track {
98
+ background: rgba(var(--v-theme-disabled), 0.4);
99
+ border-radius: 10.8px;
100
+ }
101
+ }
102
+
103
+ // Box shadow utility
104
+ :root {
105
+ --f-box-shadow: 0px 4px 20px 0px rgba(var(--v-theme-disabled));
106
+ }
107
+ .f-box-shadow {
108
+ box-shadow: 0px 4px 20px 0px var(--f-box-shadow);
109
+ }
110
+ .v-theme--dark {
111
+ --f-box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.6);
112
+ .f-box-shadow {
113
+ box-shadow: 0px 4px 20px 0px var(--f-box-shadow);
114
+ }
115
+ }
116
+
117
+ .bg-overlay {
118
+ position: relative;
119
+ z-index: 1;
120
+ &::after {
121
+ content: '';
122
+ display: block;
123
+ position: absolute;
124
+ border-radius: inherit;
125
+ z-index: -1;
126
+ top: 0;
127
+ left: 0;
128
+ height: 100%;
129
+ width: 100%;
130
+ opacity: 0.2;
131
+ visibility: visible;
132
+ background: currentColor;
133
+ }
134
+ }
File without changes
File without changes
File without changes
File without changes