@g1cloud/bluesea 5.0.0-alpha.5 → 5.0.0-alpha.51

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 (154) hide show
  1. package/css/bluesea-base.scss +2 -0
  2. package/css/bluesea.scss +2 -0
  3. package/css/component.scss +210 -11
  4. package/css/frame/default.scss +122 -26
  5. package/css/layout.scss +59 -5
  6. package/css/reset.scss +5 -1
  7. package/css/transition.scss +95 -0
  8. package/css/user-text.scss +87 -0
  9. package/css/utility.scss +604 -39
  10. package/css/variable.scss +94 -15
  11. package/dist/AddressSearchModal-Dhrg9zFz.js +130 -0
  12. package/dist/BSAlertModal-CeAHPZr3.js +47 -0
  13. package/dist/BSYesNoModal-DmAqwhlo.js +56 -0
  14. package/dist/bluesea.js +155 -3325
  15. package/dist/bluesea.umd.cjs +34426 -2149
  16. package/dist/component/basic/BSButton.vue.d.ts +8 -3
  17. package/dist/component/basic/BSConsole.vue.d.ts +36 -0
  18. package/dist/component/basic/BSFormLabel.vue.d.ts +19 -0
  19. package/dist/component/basic/BSImage.vue.d.ts +44 -0
  20. package/dist/component/basic/BSLink.vue.d.ts +17 -0
  21. package/dist/component/{grid/BSGridPageNavigation.vue.d.ts → basic/BSPageNavigation.vue.d.ts} +6 -5
  22. package/dist/component/basic/BSPopup.vue.d.ts +28 -1
  23. package/dist/component/basic/BSPopupButton.vue.d.ts +32 -0
  24. package/dist/component/basic/BSProgressBar.vue.d.ts +33 -0
  25. package/dist/component/basic/BSTooltip.vue.d.ts +38 -0
  26. package/dist/component/global/AddressSearchList.gen.d.ts +4 -0
  27. package/dist/component/global/AddressSearchModal.vue.d.ts +21 -0
  28. package/dist/component/global/BSAddressInput.vue.d.ts +73 -0
  29. package/dist/component/global/BSLocaleSelect.vue.d.ts +35 -0
  30. package/dist/component/global/BSNameInput.vue.d.ts +61 -0
  31. package/dist/component/global/BSTelInput.vue.d.ts +66 -0
  32. package/dist/component/grid/BSDateRangeFilter.vue.d.ts +16 -15
  33. package/dist/component/grid/BSDateRangeFilters.vue.d.ts +26 -6
  34. package/dist/component/grid/BSGrid.vue.d.ts +81 -27
  35. package/dist/component/grid/BSGridCell.vue.d.ts +38 -21
  36. package/dist/component/grid/{BSGridCheckboxCell.vue.d.ts → BSGridCellCheckbox.vue.d.ts} +3 -3
  37. package/dist/component/grid/BSGridCellDragHandle.vue.d.ts +15 -0
  38. package/dist/component/grid/BSGridCellEdit.vue.d.ts +19 -0
  39. package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +15 -0
  40. package/dist/component/grid/BSGridControl.vue.d.ts +25 -8
  41. package/dist/component/grid/BSGridHeaderCell.vue.d.ts +25 -10
  42. package/dist/component/grid/{BSGridCheckboxHeaderCell.vue.d.ts → BSGridHeaderCellCheckbox.vue.d.ts} +3 -3
  43. package/dist/component/grid/BSGridHeaderCellResizeHandle.vue.d.ts +21 -0
  44. package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +2 -0
  45. package/dist/component/grid/BSGridLookup.vue.d.ts +19 -7
  46. package/dist/component/grid/BSGridRow.vue.d.ts +122 -0
  47. package/dist/component/grid/BSTextFilter.vue.d.ts +12 -13
  48. package/dist/component/grid/GridLib.d.ts +13 -1
  49. package/dist/component/grid/GridModel.d.ts +257 -3
  50. package/dist/component/grid/vDndSupport.d.ts +18 -0
  51. package/dist/component/input/BSCheckbox.vue.d.ts +12 -6
  52. package/dist/component/input/BSCheckboxGroup.vue.d.ts +35 -11
  53. package/dist/component/input/BSDateInput.vue.d.ts +24 -14
  54. package/dist/component/input/BSDateRange.vue.d.ts +92 -0
  55. package/dist/component/input/BSDateRangePresets.vue.d.ts +64 -0
  56. package/dist/component/input/BSImageUpload.vue.d.ts +89 -0
  57. package/dist/component/input/BSMultiImageUpload.vue.d.ts +82 -0
  58. package/dist/component/input/BSMultiSelect.vue.d.ts +38 -14
  59. package/dist/component/input/BSNumberInput.vue.d.ts +41 -8
  60. package/dist/component/input/BSPopupSelect.vue.d.ts +51 -0
  61. package/dist/component/input/BSPriceInput.vue.d.ts +43 -11
  62. package/dist/component/input/BSRadioButton.vue.d.ts +28 -23
  63. package/dist/component/input/BSRadioButtonGroup.vue.d.ts +42 -14
  64. package/dist/component/input/BSSelect.vue.d.ts +42 -14
  65. package/dist/component/input/BSSelectPopup.vue.d.ts +23 -18
  66. package/dist/component/input/BSTextArea.vue.d.ts +35 -8
  67. package/dist/component/input/BSTextInput.vue.d.ts +35 -10
  68. package/dist/component/input/BSTreeMultiSelect.vue.d.ts +74 -0
  69. package/dist/component/input/BSTreeSelect.vue.d.ts +43 -14
  70. package/dist/component/input/BSYesNoGroup.vue.d.ts +51 -0
  71. package/dist/component/input/BSYesNoSelect.vue.d.ts +39 -0
  72. package/dist/component/input/DateInputLib.d.ts +23 -0
  73. package/dist/component/input/DateRangePresetModel.d.ts +14 -0
  74. package/dist/component/input/ImageUploadModel.d.ts +4 -0
  75. package/dist/component/input/ValidationErrors.vue.d.ts +17 -0
  76. package/dist/component/layout/BSCardLayout.vue.d.ts +24 -0
  77. package/dist/component/layout/BSListControl.vue.d.ts +52 -0
  78. package/dist/component/layout/BSListLayout.vue.d.ts +47 -14
  79. package/dist/component/layout/BSListLayoutItem.vue.d.ts +44 -11
  80. package/dist/component/layout/BSTabSheet.vue.d.ts +14 -5
  81. package/dist/component/layout/SlideDownTransition.vue.d.ts +9 -0
  82. package/dist/component/layout/TabSheetModel.d.ts +24 -1
  83. package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +2 -0
  84. package/dist/component/multilang/BSMultiLangImageUpload.vue.d.ts +75 -0
  85. package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +86 -0
  86. package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +29 -11
  87. package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +29 -11
  88. package/dist/component/multilang/multiLangLib.d.ts +2 -0
  89. package/dist/component/richtext/BSRichText.vue.d.ts +63 -0
  90. package/dist/component/richtext/RichTextToolbar.vue.d.ts +26 -0
  91. package/dist/component/richtext/ToolButtonColor.vue.d.ts +19 -0
  92. package/dist/component/richtext/ToolButtonFontSize.vue.d.ts +19 -0
  93. package/dist/component/tree/BSTree.vue.d.ts +51 -23
  94. package/dist/component/tree/BSTreeControl.vue.d.ts +70 -0
  95. package/dist/component/tree/BSTreeRow.vue.d.ts +47 -19
  96. package/dist/component/tree/TreeLib.d.ts +2 -2
  97. package/dist/component/tree/TreeModel.d.ts +82 -0
  98. package/dist/component/tree/vTreeDndSupport.d.ts +10 -0
  99. package/dist/config/config.d.ts +79 -9
  100. package/dist/contextmenu/BSContextMenu.vue.d.ts +19 -6
  101. package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +1 -1
  102. package/dist/contextmenu/contextMenuPlugin.d.ts +5 -4
  103. package/dist/directive/vClickOutside.d.ts +2 -1
  104. package/dist/directive/vFocusOnLoad.d.ts +6 -0
  105. package/dist/directive/vT.d.ts +10 -1
  106. package/dist/directive/vTooltip.d.ts +12 -0
  107. package/dist/frame/FrameModel.d.ts +31 -3
  108. package/dist/frame/default/DefaultBody.vue.d.ts +1 -1
  109. package/dist/frame/default/DefaultFrameModel.d.ts +70 -10
  110. package/dist/frame/default/DefaultHeader.vue.d.ts +9 -1
  111. package/dist/frame/default/HeaderTab.vue.d.ts +4 -3
  112. package/dist/frame/default/HeaderTabs.vue.d.ts +1 -1
  113. package/dist/frame/default/SidebarMenu.vue.d.ts +1 -1
  114. package/dist/frame/default/SidebarMenuItem.vue.d.ts +13 -6
  115. package/dist/frame/default/SidebarMenuLink.vue.d.ts +15 -8
  116. package/dist/frame/default/SidebarMenuSearch.vue.d.ts +30 -0
  117. package/dist/index-C81TfBCL.js +35375 -0
  118. package/dist/index.d.ts +90 -43
  119. package/dist/modal/BSAlertModal.vue.d.ts +23 -0
  120. package/dist/modal/BSModalContainer.vue.d.ts +1 -1
  121. package/dist/modal/BSModalFrame.vue.d.ts +11 -5
  122. package/dist/modal/BSModalWrapper.vue.d.ts +4 -3
  123. package/dist/modal/BSYesNoModal.vue.d.ts +25 -0
  124. package/dist/modal/modalPlugin.d.ts +10 -4
  125. package/dist/model/CommonTypes.d.ts +73 -15
  126. package/dist/model/DefaultImpl.d.ts +8 -0
  127. package/dist/model/FieldContext.d.ts +12 -0
  128. package/dist/model/FilterModel.d.ts +43 -17
  129. package/dist/model/PaginatedList.d.ts +29 -0
  130. package/dist/model/SearchModel.d.ts +13 -7
  131. package/dist/notification/BSAlarmFrame.vue.d.ts +26 -0
  132. package/dist/notification/BSNotificationContainer.vue.d.ts +2 -0
  133. package/dist/notification/notificationPlugin.d.ts +44 -0
  134. package/dist/savepoint/SavePoint.d.ts +47 -0
  135. package/dist/style.css +33750 -1569
  136. package/dist/text/texts.d.ts +16 -5
  137. package/dist/util/alertUtil.d.ts +1 -0
  138. package/dist/util/componentUtil.d.ts +14 -0
  139. package/dist/util/debounce.d.ts +1 -0
  140. package/dist/util/elementUtil.d.ts +29 -0
  141. package/dist/util/formatUtil.d.ts +9 -3
  142. package/dist/util/langUtil.d.ts +3 -0
  143. package/dist/util/multiLangUtil.d.ts +20 -0
  144. package/dist/util/routeUtil.d.ts +2 -1
  145. package/dist/validator/FieldValidator.d.ts +30 -8
  146. package/dist/validator/FormValidator.d.ts +35 -0
  147. package/package.json +34 -18
  148. package/text/bluesea_text_en.json +686 -0
  149. package/text/bluesea_text_ja.json +686 -0
  150. package/text/bluesea_text_ko.json +686 -0
  151. package/text/bluesea_text_zh.json +686 -0
  152. package/dist/component/input/BSSelectModel.d.ts +0 -0
  153. package/dist/component/input/InternalDateInput.vue.d.ts +0 -52
  154. package/dist/frame/default/HeaderLogo.vue.d.ts +0 -2
@@ -2,4 +2,6 @@
2
2
  @import "./font";
3
3
  @import "./utility";
4
4
  @import "./layout";
5
+ @import "./transition";
5
6
  @import "./frame/default";
7
+ @import "./user-text";
@@ -0,0 +1,2 @@
1
+ @import "./bluesea-base";
2
+ @import "../dist/style.css";
@@ -14,12 +14,11 @@
14
14
  }
15
15
 
16
16
  .bs-box-component-base {
17
- border: 1px solid $color-border-light;
18
- border-radius: 4px;
19
- height: 28px;
17
+ height: 26px;
20
18
  display: inline-flex;
21
19
  align-items: center;
22
20
  justify-content: left;
21
+ background-color: white;
23
22
  }
24
23
 
25
24
  // input component
@@ -29,34 +28,94 @@
29
28
 
30
29
  .bs-input-base {
31
30
  @extend .bs-box-component-base;
31
+ border: 1px solid $color-border;
32
+ border-radius: 2px;
33
+ background-color: $white;
32
34
 
33
- input {
35
+ > input {
34
36
  border: 0;
35
- border-radius: 3px;
37
+ border-radius: 0;
36
38
  outline: 0;
37
39
  align-self: stretch;
38
40
  flex-grow: 1;
39
- padding: 0 8px;
41
+ padding: 0 6px;
40
42
  background-color: transparent;
41
43
  width: 100%;
42
44
  }
43
45
 
44
- textarea {
46
+ > textarea {
45
47
  border: 0;
46
48
  border-radius: 4px;
47
49
  outline: 0;
48
50
  align-self: stretch;
49
51
  flex-grow: 1;
50
- padding: 8px;
52
+ padding: 6px;
51
53
  line-height: 1.4;
52
54
  font-family: sans-serif;
53
55
  }
54
56
 
57
+ > .suffix,
58
+ .prefix {
59
+ font-size: 0.9em;
60
+ margin-right: 4px;
61
+ background-color: $gray-200;
62
+ padding: 2px 4px;
63
+ border-radius: 2px;
64
+ line-height: 1;
65
+ white-space: nowrap;
66
+
67
+ &:first-child {
68
+ margin-left: 4px;
69
+ }
70
+ }
71
+
72
+ &:hover {
73
+ border-color: $black;
74
+ }
75
+
55
76
  &:has(:focus) {
56
77
  border-color: $color-focus;
78
+ border-width: 1px;
57
79
  }
58
80
  }
59
81
 
82
+ .bs-text-input,
83
+ .bs-number-input,
84
+ .bs-price-input,
85
+ .bs-date-input,
86
+ .bs-date-range,
87
+ .bs-multi-lang-text-input,
88
+ .bs-text-area,
89
+ .bs-rich-text {
90
+ &.modified {
91
+ .input-area {
92
+ border-color: $purple !important;
93
+ }
94
+ }
95
+
96
+ &.error {
97
+ .input-area {
98
+ border-color: $danger !important;
99
+
100
+ > input {
101
+ color: $danger !important;
102
+ }
103
+ }
104
+ }
105
+
106
+ &.disabled {
107
+ .input-area {
108
+ border-color: $gray-400 !important;
109
+ background-color: $gray-100 !important;
110
+
111
+ > input {
112
+ color: $gray-400 !important;
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+
60
119
  // checkbox, radio-button component
61
120
  .bs-checkbox-base {
62
121
  display: inline-block;
@@ -75,9 +134,52 @@
75
134
  color: $color-text;
76
135
  }
77
136
 
137
+ &:hover {
138
+ color: $black;
139
+
140
+ & ~ label {
141
+ color: $black;
142
+ }
143
+ }
144
+
78
145
  &:focus::before {
79
146
  color: $color-focus;
80
147
  }
148
+
149
+ &:focus ~ label {
150
+ color: $color-focus;
151
+ }
152
+
153
+ }
154
+
155
+ &.modified {
156
+ & input::before {
157
+ color: $purple !important;
158
+ }
159
+
160
+ & input ~ label {
161
+ color: $purple !important;
162
+ }
163
+ }
164
+
165
+ &.error {
166
+ & input::before {
167
+ color: $danger !important;
168
+ }
169
+
170
+ & input ~ label {
171
+ color: $danger !important;
172
+ }
173
+ }
174
+
175
+ &.disabled {
176
+ & input::before {
177
+ color: $gray-400 !important;
178
+ }
179
+
180
+ & input ~ label {
181
+ color: $gray-400 !important;
182
+ }
81
183
  }
82
184
 
83
185
  label {
@@ -88,19 +190,49 @@
88
190
  }
89
191
  }
90
192
 
193
+ .bs-checkbox-group,
194
+ .bs-radio-button-group {
195
+ &.modified {
196
+ input::before {
197
+ color: $purple !important;
198
+ }
199
+
200
+ input ~ label {
201
+ color: $purple !important;
202
+ }
203
+ }
204
+
205
+ &.error {
206
+ input::before {
207
+ color: $danger !important;
208
+ }
209
+
210
+ input ~ label {
211
+ color: $danger !important;
212
+ }
213
+ }
214
+ }
215
+
91
216
  // select, multi-select, tree-select
92
217
  .bs-select-wrap {
93
218
  @extend .bs-box-component-wrap;
94
219
  position: relative;
95
220
  outline: 0;
221
+ background-color: $white;
222
+
223
+ &:hover > .selected {
224
+ border-color: $black;
225
+ }
96
226
 
97
227
  &:focus > .selected {
98
228
  border-color: $color-focus;
99
229
  }
100
230
 
101
- .selected {
231
+ > .selected {
102
232
  @extend .bs-box-component-base;
103
- padding: 0 8px;
233
+ border: 1px solid $color-border;
234
+ border-radius: 2px;
235
+ padding: 0 6px;
104
236
  min-width: 50px;
105
237
  cursor: pointer;
106
238
  display: flex;
@@ -110,6 +242,10 @@
110
242
  white-space: nowrap;
111
243
  }
112
244
 
245
+ .placeholder {
246
+ color: $gray-400;
247
+ }
248
+
113
249
  .dropdown-btn {
114
250
  font-family: $icon-font-family;
115
251
  margin-right: -4px;
@@ -122,6 +258,21 @@
122
258
  &.popup-open .dropdown-btn {
123
259
  transform: rotate(180deg);
124
260
  }
261
+
262
+ &.modified > .selected {
263
+ border-color: $purple !important;
264
+ }
265
+
266
+ &.error > .selected {
267
+ border-color: $danger !important;
268
+ color: $danger !important;
269
+ }
270
+
271
+ &.disabled > .selected {
272
+ border-color: $gray-400 !important;
273
+ background-color: $gray-100 !important;
274
+ color: $gray-400 !important;
275
+ }
125
276
  }
126
277
 
127
278
  // field error
@@ -156,10 +307,14 @@
156
307
  .font-icon {
157
308
  font-family: $icon-font-family;
158
309
  font-size: 1rem;
310
+ max-width: 1em;
311
+
312
+ &.filled {
313
+ font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
314
+ }
159
315
  }
160
316
 
161
317
  // transition
162
-
163
318
  .fade-enter-active,
164
319
  .fade-leave-active {
165
320
  transition: opacity .3s;
@@ -170,3 +325,47 @@
170
325
  opacity: 0;
171
326
  }
172
327
 
328
+ // text-description
329
+ .text-description {
330
+ margin-top: 8px;
331
+ color: $gray-400;
332
+ font-size: 0.923em;
333
+ }
334
+
335
+ // drag and drop
336
+ .bs-drop-position {
337
+ position: absolute;
338
+ border: 1px solid $primary;
339
+ border-radius: 2px;
340
+ background-color: $primary-400;
341
+ opacity: 0.7;
342
+ z-index: 100;
343
+
344
+ &.vertical {
345
+ left: 0;
346
+ width: 100%;
347
+ height: 8px;
348
+
349
+ &.before {
350
+ top: -4px;
351
+ }
352
+
353
+ &.after {
354
+ bottom: -4px;
355
+ }
356
+ }
357
+
358
+ &.horizontal {
359
+ left: 0;
360
+ width: 8px;
361
+ height: 100%;
362
+
363
+ &.before {
364
+ left: -4px;
365
+ }
366
+
367
+ &.after {
368
+ right: -4px;
369
+ }
370
+ }
371
+ }
@@ -1,13 +1,15 @@
1
1
  @import "../variable";
2
2
  @import "../component";
3
3
 
4
- $color-header-bg: #464854 !default;
4
+ $color-header-bg: $primary !default;
5
5
  $color-header-text: #FFFFFF !default;
6
6
  $color-menu-bg: #464854 !default;
7
7
  $color-menu-border: #2D2E36;
8
8
 
9
9
  $header-height: 44px !default;
10
10
 
11
+ $sidebar-menu-width: 220px !default;
12
+
11
13
  header.default-header {
12
14
  height: $header-height;
13
15
  background-color: $color-header-bg;
@@ -16,33 +18,60 @@ header.default-header {
16
18
  position: fixed;
17
19
  width: 100%;
18
20
  top: 0;
19
- z-index: 100;
21
+ z-index: 200;
20
22
 
21
23
  .header-logo {
22
24
  @extend .bs-clickable;
25
+ display: flex;
26
+ flex-shrink: 0;
27
+ align-items: center;
23
28
  color: $color-header-text;
24
- font-size: 20px;
25
- font-weight: bold;
26
- margin-bottom: -2px;
29
+ font-size: 1.2307em;
30
+ font-weight: 500;
31
+ line-height: 1;
32
+
33
+ em {
34
+ display: inline-flex;
35
+ align-items: center;
36
+ margin-right: 6px;
37
+ padding: 2px 4px;
38
+ border-radius: 4px;
39
+ background-color: $white;
40
+ color: $primary-600;
41
+ font-size: 1em;
42
+ font-weight: 700;
43
+ }
44
+ }
45
+
46
+ &.fixed-menu .header-logo {
47
+ min-width: $sidebar-menu-width - 48px;
27
48
  }
28
49
 
29
50
  .sidebar-menu {
51
+ width: 48px;
30
52
  align-self: stretch;
31
53
 
32
54
  .menu-btn {
33
55
  @extend .bs-clickable;
34
- font-size: 28px;
56
+ font-size: 1.375rem;
57
+ display: inline-flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ width: 32px;
35
61
  height: $header-height;
62
+ max-width: $header-height;
36
63
  line-height: $header-height;
37
64
  color: $color-header-text;
38
- padding: 0 8px;
65
+ margin-left: 8px;
39
66
  }
40
67
 
41
68
  .menu-container {
42
69
  position: absolute;
43
70
  background-color: $color-menu-bg;
44
71
  height: calc(100vh - $header-height);
45
- min-width: 200px;
72
+ width: $sidebar-menu-width;
73
+ overflow: auto;
74
+ padding-bottom: 100px;
46
75
  }
47
76
 
48
77
  .sidebar-menu-item {
@@ -51,33 +80,64 @@ header.default-header {
51
80
 
52
81
  a.sidebar-menu-link, div.sidebar-menu-link {
53
82
  @extend .bs-clickable;
54
- display: block;
55
- padding: 12px 16px;
56
- color: $color-header-text;
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: space-between;
86
+ padding: 12px;
87
+ color: $gray-400;
57
88
  text-decoration: none;
89
+
90
+ .font-icon {
91
+ font-size: .8rem;
92
+ }
58
93
  }
59
94
 
60
95
  .sidebar-submenu {
61
- padding: 8px 24px 8px 8px;
96
+ padding: 8px 16px 8px 8px;
62
97
  background-color: $color-menu-border;
63
98
 
64
- a.sidebar-menu-link, div.sidebar-menu-link {
65
- padding: 8px 16px;
99
+ > a.sidebar-menu-link, > div.sidebar-menu-link {
100
+ position: relative;
101
+ display: flex;
102
+ align-items: center;
103
+ justify-content: space-between;
104
+ padding: 8px 0 8px 20px;
105
+
106
+ &:before {
107
+ content: "";
108
+ position: absolute;
109
+ top: 50%;
110
+ left: 8px;
111
+ display: block;
112
+ width: 2px;
113
+ height: 2px;
114
+ background-color: $gray-400;
115
+ }
116
+
117
+ .font-icon {
118
+ margin-left: 8px;
119
+ font-size: .8rem;
120
+
121
+ &.filled {
122
+ color: $secondary;
123
+ }
124
+ }
66
125
  }
67
126
  }
68
127
  }
69
128
  }
70
129
 
71
130
  .header-tabs {
72
- margin: 0 12px;
131
+ margin: 0 16px;
73
132
  display: flex;
74
133
  align-items: end;
75
134
  gap: 1px;
76
135
  flex-grow: 1;
77
136
  align-self: end;
137
+ overflow-x: auto;
78
138
 
79
139
  .header-tab {
80
- background-color: #747787;
140
+ background-color: $primary-400;
81
141
  padding: 0 12px;
82
142
  height: 32px;
83
143
  border-top-left-radius: 4px;
@@ -86,39 +146,48 @@ header.default-header {
86
146
  align-items: center;
87
147
  flex-grow: 1;
88
148
  position: relative;
89
- max-width: 160px;
90
- min-width: 100px;
149
+ max-width: 180px;
150
+ min-width: 110px;
91
151
  color: $color-header-text;
152
+ cursor: pointer;
92
153
 
93
154
  .header-title {
94
155
  padding-right: 6px;
95
- flex-grow: 1;
96
156
  width: 50px;
97
- flex-basis: 80px;
157
+ flex-basis: 180px;
98
158
  overflow: hidden;
99
- text-overflow: ellipsis;
100
159
  white-space: nowrap;
101
- cursor: default;
160
+ mask-image: linear-gradient(to right, #000 85%, transparent 95%);
102
161
  }
103
162
 
104
163
  .close-btn {
105
164
  @extend .bs-clickable;
106
165
  right: 4px;
107
- padding: 4px;
108
- border-radius: 4px;
109
166
  display: none;
110
- margin-right: -8px;
111
167
  }
112
168
 
113
169
  &:hover {
170
+ .header-title {
171
+ mask-image: linear-gradient(to right, #000 80%, transparent 90%);
172
+ }
173
+
114
174
  .close-btn {
175
+ position: absolute;
176
+ top: 4px;
177
+ right: 8px;
115
178
  display: block;
116
179
  }
180
+
181
+ background-color: lighten($primary-400, 5%);
117
182
  }
118
183
 
119
184
  &.selected {
120
185
  color: $color-text;
121
- background-color: white; //#E5E5E5;
186
+ background-color: $white;
187
+
188
+ &:hover {
189
+ background-color: $white;
190
+ }
122
191
  }
123
192
  }
124
193
  }
@@ -128,9 +197,36 @@ header.default-header {
128
197
  margin-top: $header-height;
129
198
  min-height: calc(100vh - $header-height);
130
199
 
200
+ &.fixed-menu {
201
+ padding-left: $sidebar-menu-width;
202
+ }
203
+
131
204
  .body-tab:has(>div.h-full) {
132
205
  height: calc(100vh - $header-height);
133
206
  }
207
+
208
+ .fixed-header {
209
+ position: fixed;
210
+ width: 100%;
211
+ border-bottom: 1px solid $gray-400;
212
+ background-color: white;
213
+ padding: 8px 16px;
214
+ z-index: 10;
215
+ }
216
+
217
+ &.fixed-menu .fixed-header {
218
+ width: calc(100% - $sidebar-menu-width);
219
+ }
220
+
221
+ .colored-bg {
222
+ flex-grow: 1;
223
+ background-color: $primary-100;
224
+
225
+ > .box-style {
226
+ background-color: $white;
227
+ border-radius: 10px;
228
+ }
229
+ }
134
230
  }
135
231
 
136
232
  .menu-slide-enter-active,
package/css/layout.scss CHANGED
@@ -7,11 +7,21 @@
7
7
  flex-direction: row;
8
8
  }
9
9
 
10
+ .flex-row-inline {
11
+ display: inline-flex;
12
+ flex-direction: row;
13
+ }
14
+
10
15
  .flex-column {
11
16
  display: flex;
12
17
  flex-direction: column;
13
18
  }
14
19
 
20
+ .flex-column-inline {
21
+ display: inline-flex;
22
+ flex-direction: column;
23
+ }
24
+
15
25
  .flex-wrap {
16
26
  flex-wrap: wrap;
17
27
  }
@@ -70,6 +80,10 @@
70
80
  @extend .flex-wrap;
71
81
  }
72
82
 
83
+ .bs-layout-horizontal-inline {
84
+ @extend .flex-row-inline;
85
+ }
86
+
73
87
  .bs-layout-vertical {
74
88
  @extend .flex-column;
75
89
 
@@ -83,24 +97,34 @@
83
97
  @extend .flex-wrap;
84
98
  }
85
99
 
100
+ .bs-layout-vertical-inline {
101
+ @extend .flex-column-inline;
102
+ }
103
+
86
104
  .bs-layout-form {
87
105
 
106
+ border-bottom: 1px solid $gray-200;
107
+
88
108
  > div {
89
109
  display: flex;
90
110
  align-items: center;
91
- border-bottom: 0.8px solid $color-border-light;
92
111
 
93
112
  > .title {
94
- padding: 8px 8px 8px 0;
95
- width: 10em;
96
- font-weight: 500;
113
+ padding: 8px 16px;
114
+ width: 12.3076em;
97
115
  line-height: 1.2em;
116
+ color: $black;
98
117
  }
99
118
 
100
119
  > :not(.title) {
101
120
  padding: 8px;
102
121
  width: 10em;
103
122
  flex-grow: 1;
123
+ color: $gray-700;
124
+ }
125
+
126
+ &:nth-child(odd) {
127
+ background-color: $gray-100;
104
128
  }
105
129
  }
106
130
  }
@@ -109,8 +133,38 @@
109
133
 
110
134
  > .card-title {
111
135
  padding: 16px 0;
112
- border-bottom: 0.8px solid $color-darkblue;
136
+ border-bottom: 0.8px solid $color-border-light;
113
137
  font-size: 1.2em;
114
138
  font-weight: 500;
115
139
  }
140
+ }
141
+
142
+ $table-row-odd-color: $white;
143
+ $table-row-even-color: $gray-100;
144
+
145
+ .bs-layout-table {
146
+ border-collapse: collapse;
147
+
148
+ > tr > td, > tr > th, tbody > tr > td, tbody > tr > th {
149
+ padding: 8px;
150
+ border: 1px solid $color-border;
151
+ vertical-align: middle;
152
+ text-align: left;
153
+
154
+ &:first-child {
155
+ border-left: 0;
156
+ }
157
+
158
+ &:last-child {
159
+ border-right: 0;
160
+ }
161
+ }
162
+
163
+ //> tr:nth-child(odd) {
164
+ // background-color: $table-row-odd-color;
165
+ //}
166
+ //
167
+ //> tr:nth-child(even) {
168
+ // background-color: $table-row-even-color;
169
+ //}
116
170
  }
package/css/reset.scss CHANGED
@@ -31,7 +31,7 @@ footer, header, hgroup, menu, nav, section {
31
31
  }
32
32
 
33
33
  body {
34
- line-height: 1;
34
+ line-height: 1.5;
35
35
  }
36
36
 
37
37
  ol, ul {
@@ -61,4 +61,8 @@ table {
61
61
 
62
62
  strong {
63
63
  font-weight: bold;
64
+ }
65
+
66
+ a {
67
+ text-underline-offset: 2px;
64
68
  }