@g1cloud/bluesea 5.0.0-alpha.2 → 5.0.0-alpha.20

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 (116) hide show
  1. package/css/bluesea-base.scss +2 -0
  2. package/css/component.scss +152 -12
  3. package/css/frame/default.scss +108 -25
  4. package/css/layout.scss +70 -5
  5. package/css/reset.scss +1 -1
  6. package/css/transition.scss +62 -0
  7. package/css/user-text.scss +87 -0
  8. package/css/utility.scss +586 -32
  9. package/css/variable.scss +105 -20
  10. package/dist/AddressSearchModal-e9Abq-qx.js +131 -0
  11. package/dist/bluesea.js +30617 -1692
  12. package/dist/bluesea.umd.cjs +30776 -1723
  13. package/dist/component/basic/BSButton.vue.d.ts +41 -0
  14. package/dist/component/basic/BSConsole.vue.d.ts +36 -0
  15. package/dist/component/basic/BSLink.vue.d.ts +17 -0
  16. package/dist/component/basic/BSPopupButton.vue.d.ts +25 -0
  17. package/dist/component/basic/BSProgressBar.vue.d.ts +33 -0
  18. package/dist/component/global/AddressSearchList.gen.d.ts +3 -0
  19. package/dist/component/global/AddressSearchModal.vue.d.ts +20 -0
  20. package/dist/component/global/BSAddressInput.vue.d.ts +72 -0
  21. package/dist/component/global/BSLocaleSelect.vue.d.ts +6 -0
  22. package/dist/component/global/BSNameInput.vue.d.ts +60 -0
  23. package/dist/component/global/BSTelInput.vue.d.ts +51 -0
  24. package/dist/component/grid/BSDateRangeFilter.vue.d.ts +11 -11
  25. package/dist/component/grid/BSGrid.vue.d.ts +38 -16
  26. package/dist/component/grid/BSGridCell.vue.d.ts +15 -3
  27. package/dist/component/grid/BSGridCellEdit.vue.d.ts +19 -0
  28. package/dist/component/{BSButton.vue.d.ts → grid/BSGridCellSerialNo.vue.d.ts} +2 -2
  29. package/dist/component/grid/BSGridControl.vue.d.ts +19 -0
  30. package/dist/component/grid/BSGridHeaderCell.vue.d.ts +7 -2
  31. package/dist/component/grid/BSGridLookup.vue.d.ts +6 -2
  32. package/dist/component/grid/BSGridRow.vue.d.ts +99 -0
  33. package/dist/component/grid/BSTextFilter.vue.d.ts +4 -6
  34. package/dist/component/grid/GridLib.d.ts +11 -1
  35. package/dist/component/grid/GridModel.d.ts +18 -3
  36. package/dist/component/input/BSCheckbox.vue.d.ts +12 -2
  37. package/dist/component/input/BSCheckboxGroup.vue.d.ts +26 -3
  38. package/dist/component/input/BSDateInput.vue.d.ts +24 -10
  39. package/dist/component/input/BSDateRange.vue.d.ts +80 -0
  40. package/dist/component/input/BSMultiSelect.vue.d.ts +29 -3
  41. package/dist/component/input/BSNumberInput.vue.d.ts +37 -4
  42. package/dist/component/input/BSPopupSelect.vue.d.ts +47 -0
  43. package/dist/component/input/BSPriceInput.vue.d.ts +86 -0
  44. package/dist/component/input/BSRadioButton.vue.d.ts +16 -9
  45. package/dist/component/input/BSRadioButtonGroup.vue.d.ts +33 -3
  46. package/dist/component/input/BSSelect.vue.d.ts +30 -3
  47. package/dist/component/input/BSSelectPopup.vue.d.ts +7 -3
  48. package/dist/component/input/BSTextArea.vue.d.ts +31 -4
  49. package/dist/component/input/BSTextInput.vue.d.ts +37 -7
  50. package/dist/component/input/BSTreeSelect.vue.d.ts +16 -3
  51. package/dist/component/input/BSYesNoGroup.vue.d.ts +48 -0
  52. package/dist/component/input/BSYesNoSelect.vue.d.ts +34 -0
  53. package/dist/component/input/DateInputLib.d.ts +23 -0
  54. package/dist/component/input/ValidationErrors.vue.d.ts +16 -0
  55. package/dist/component/layout/BSCardLayout.vue.d.ts +23 -0
  56. package/dist/component/layout/BSListControl.vue.d.ts +52 -0
  57. package/dist/component/layout/BSListLayout.vue.d.ts +85 -0
  58. package/dist/component/layout/BSListLayoutItem.vue.d.ts +82 -0
  59. package/dist/component/layout/BSTabSheet.vue.d.ts +8 -2
  60. package/dist/component/layout/SlideDownTransition.vue.d.ts +9 -0
  61. package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +2 -0
  62. package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +85 -0
  63. package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +85 -0
  64. package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +85 -0
  65. package/dist/component/multilang/multiLangLib.d.ts +2 -0
  66. package/dist/component/richtext/BSRichText.vue.d.ts +55 -0
  67. package/dist/component/richtext/RichTextToolbar.vue.d.ts +18 -0
  68. package/dist/component/richtext/ToolButtonColor.vue.d.ts +18 -0
  69. package/dist/component/richtext/ToolButtonFontSize.vue.d.ts +18 -0
  70. package/dist/component/tree/BSTree.vue.d.ts +36 -11
  71. package/dist/component/tree/BSTreeControl.vue.d.ts +40 -0
  72. package/dist/component/tree/BSTreeRow.vue.d.ts +38 -14
  73. package/dist/component/tree/TreeModel.d.ts +13 -0
  74. package/dist/component/tree/vTreeDndSupport.d.ts +10 -0
  75. package/dist/config/config.d.ts +17 -0
  76. package/dist/contextmenu/BSContextMenu.vue.d.ts +6 -2
  77. package/dist/contextmenu/contextMenuPlugin.d.ts +2 -1
  78. package/dist/directive/vFocusOnLoad.d.ts +5 -0
  79. package/dist/directive/vT.d.ts +3 -0
  80. package/dist/frame/FrameModel.d.ts +24 -4
  81. package/dist/frame/default/DefaultFrameModel.d.ts +40 -9
  82. package/dist/frame/default/DefaultHeader.vue.d.ts +9 -1
  83. package/dist/frame/default/SideBarMenuSearch.vue.d.ts +29 -0
  84. package/dist/frame/default/SidebarMenuItem.vue.d.ts +11 -5
  85. package/dist/frame/default/SidebarMenuLink.vue.d.ts +11 -5
  86. package/dist/index.d.ts +40 -2
  87. package/dist/modal/BSModalFrame.vue.d.ts +3 -2
  88. package/dist/modal/modalPlugin.d.ts +5 -3
  89. package/dist/model/CommonTypes.d.ts +57 -9
  90. package/dist/model/DefaultImpl.d.ts +4 -0
  91. package/dist/model/FilterModel.d.ts +19 -10
  92. package/dist/model/PaginatedList.d.ts +29 -0
  93. package/dist/model/SearchModel.d.ts +11 -6
  94. package/dist/notification/BSNotificationContainer.vue.d.ts +2 -0
  95. package/dist/notification/notificationPlugin.d.ts +18 -0
  96. package/dist/savepoint/SavePoint.d.ts +38 -0
  97. package/dist/style.css +30627 -1570
  98. package/dist/text/texts.d.ts +19 -3
  99. package/dist/util/alertUtil.d.ts +1 -0
  100. package/dist/util/debounce.d.ts +1 -0
  101. package/dist/util/elementUtil.d.ts +23 -0
  102. package/dist/util/formatUtil.d.ts +16 -3
  103. package/dist/util/langUtil.d.ts +3 -0
  104. package/dist/util/multiLangUtil.d.ts +7 -0
  105. package/dist/validator/FieldValidator.d.ts +25 -8
  106. package/dist/validator/FormValidator.d.ts +20 -0
  107. package/package.json +21 -5
  108. package/text/bluesea_text_en.json +674 -0
  109. package/text/bluesea_text_ja.json +674 -0
  110. package/text/bluesea_text_ko.json +674 -0
  111. package/text/bluesea_text_zh.json +674 -0
  112. package/dist/component/input/BSSelectModel.d.ts +0 -0
  113. package/dist/component/input/InternalDateInput.vue.d.ts +0 -36
  114. /package/dist/component/grid/{BSGridCheckboxCell.vue.d.ts → BSGridCellCheckbox.vue.d.ts} +0 -0
  115. /package/dist/component/grid/{BSGridCheckboxHeaderCell.vue.d.ts → BSGridHeaderCellCheckbox.vue.d.ts} +0 -0
  116. /package/dist/{frame/default/HeaderLogo.vue.d.ts → component/grid/BSGridHeaderCellSerialNo.vue.d.ts} +0 -0
@@ -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";
@@ -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,33 +28,79 @@
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;
37
+ border-radius: 0;
35
38
  outline: 0;
36
39
  align-self: stretch;
37
40
  flex-grow: 1;
38
- padding: 0 8px;
41
+ padding: 0 6px;
39
42
  background-color: transparent;
40
43
  width: 100%;
41
44
  }
42
45
 
43
- textarea {
46
+ > textarea {
44
47
  border: 0;
45
48
  border-radius: 4px;
46
49
  outline: 0;
47
50
  align-self: stretch;
48
51
  flex-grow: 1;
49
- padding: 8px;
52
+ padding: 6px;
50
53
  line-height: 1.4;
51
54
  font-family: sans-serif;
52
55
  }
53
56
 
57
+ &:hover {
58
+ border-color: $black;
59
+ }
60
+
54
61
  &:has(:focus) {
55
62
  border-color: $color-focus;
63
+ border-width: 1px;
64
+ }
65
+ }
66
+
67
+ .bs-text-input,
68
+ .bs-number-input,
69
+ .bs-price-input,
70
+ .bs-date-input,
71
+ .bs-date-range,
72
+ .bs-multi-lang-text-input,
73
+ .bs-text-area,
74
+ .bs-rich-text {
75
+ &.modified {
76
+ .input-area {
77
+ border-color: $purple !important;
78
+ }
79
+ }
80
+
81
+ &.error {
82
+ .input-area {
83
+ border-color: $danger !important;
84
+
85
+ > input {
86
+ color: $danger !important;
87
+ }
88
+ }
89
+ }
90
+
91
+ &.disabled {
92
+ .input-area {
93
+ border-color: $gray-400 !important;
94
+ background-color: $gray-100 !important;
95
+
96
+ > input {
97
+ color: $gray-400 !important;
98
+ }
99
+ }
56
100
  }
57
101
  }
58
102
 
103
+
59
104
  // checkbox, radio-button component
60
105
  .bs-checkbox-base {
61
106
  display: inline-block;
@@ -74,9 +119,52 @@
74
119
  color: $color-text;
75
120
  }
76
121
 
122
+ &:hover {
123
+ color: $black;
124
+
125
+ & ~ label {
126
+ color: $black;
127
+ }
128
+ }
129
+
77
130
  &:focus::before {
78
131
  color: $color-focus;
79
132
  }
133
+
134
+ &:focus ~ label {
135
+ color: $color-focus;
136
+ }
137
+
138
+ }
139
+
140
+ &.modified {
141
+ & input::before {
142
+ color: $purple !important;
143
+ }
144
+
145
+ & input ~ label {
146
+ color: $purple !important;
147
+ }
148
+ }
149
+
150
+ &.error {
151
+ & input::before {
152
+ color: $danger !important;
153
+ }
154
+
155
+ & input ~ label {
156
+ color: $danger !important;
157
+ }
158
+ }
159
+
160
+ &.disabled {
161
+ & input::before {
162
+ color: $gray-400 !important;
163
+ }
164
+
165
+ & input ~ label {
166
+ color: $gray-400 !important;
167
+ }
80
168
  }
81
169
 
82
170
  label {
@@ -87,11 +175,39 @@
87
175
  }
88
176
  }
89
177
 
178
+ .bs-checkbox-group,
179
+ .bs-radio-button-group {
180
+ &.modified {
181
+ input::before {
182
+ color: $purple !important;
183
+ }
184
+
185
+ input ~ label {
186
+ color: $purple !important;
187
+ }
188
+ }
189
+
190
+ &.error {
191
+ input::before {
192
+ color: $danger !important;
193
+ }
194
+
195
+ input ~ label {
196
+ color: $danger !important;
197
+ }
198
+ }
199
+ }
200
+
90
201
  // select, multi-select, tree-select
91
202
  .bs-select-wrap {
92
203
  @extend .bs-box-component-wrap;
93
204
  position: relative;
94
205
  outline: 0;
206
+ background-color: $white;
207
+
208
+ &:hover > .selected {
209
+ border-color: $black;
210
+ }
95
211
 
96
212
  &:focus > .selected {
97
213
  border-color: $color-focus;
@@ -99,7 +215,9 @@
99
215
 
100
216
  .selected {
101
217
  @extend .bs-box-component-base;
102
- padding: 0 8px;
218
+ border: 1px solid $color-border;
219
+ border-radius: 2px;
220
+ padding: 0 6px;
103
221
  min-width: 50px;
104
222
  cursor: pointer;
105
223
  display: flex;
@@ -107,6 +225,10 @@
107
225
  .label {
108
226
  flex-grow: 1;
109
227
  white-space: nowrap;
228
+
229
+ &.placeholder {
230
+ color: $color-gray;
231
+ }
110
232
  }
111
233
 
112
234
  .dropdown-btn {
@@ -121,6 +243,21 @@
121
243
  &.popup-open .dropdown-btn {
122
244
  transform: rotate(180deg);
123
245
  }
246
+
247
+ &.modified > .selected {
248
+ border-color: $purple !important;
249
+ }
250
+
251
+ &.error > .selected {
252
+ border-color: $danger !important;
253
+ color: $danger !important;
254
+ }
255
+
256
+ &.disabled > .selected {
257
+ border-color: $gray-400 !important;
258
+ background-color: $gray-100 !important;
259
+ color: $gray-400 !important;
260
+ }
124
261
  }
125
262
 
126
263
  // field error
@@ -149,16 +286,20 @@
149
286
 
150
287
  // utility
151
288
  .component-shadow-base {
152
- box-shadow: 2px 2px 8px #eee;
289
+ box-shadow: 2px 2px 8px #aaa;
153
290
  }
154
291
 
155
292
  .font-icon {
156
293
  font-family: $icon-font-family;
157
294
  font-size: 1rem;
295
+ max-width: 1em;
296
+
297
+ &.filled {
298
+ font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
299
+ }
158
300
  }
159
301
 
160
302
  // transition
161
-
162
303
  .fade-enter-active,
163
304
  .fade-leave-active {
164
305
  transition: opacity .3s;
@@ -167,5 +308,4 @@
167
308
  .fade-enter,
168
309
  .fade-leave-to {
169
310
  opacity: 0;
170
- }
171
-
311
+ }
@@ -1,7 +1,7 @@
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;
@@ -16,33 +16,56 @@ header.default-header {
16
16
  position: fixed;
17
17
  width: 100%;
18
18
  top: 0;
19
- z-index: 100;
19
+ z-index: 200;
20
20
 
21
21
  .header-logo {
22
22
  @extend .bs-clickable;
23
+ display: flex;
24
+ flex-shrink: 0;
25
+ align-items: center;
23
26
  color: $color-header-text;
24
- font-size: 20px;
25
- font-weight: bold;
26
- margin-bottom: -2px;
27
+ font-size: 1.2307em;
28
+ font-weight: 500;
29
+ line-height: 1;
30
+
31
+ em {
32
+ display: inline-flex;
33
+ align-items: center;
34
+ margin-right: 6px;
35
+ padding: 2px 4px;
36
+ border-radius: 4px;
37
+ background-color: $white;
38
+ color: $primary-600;
39
+ font-size: 1em;
40
+ font-weight: 700;
41
+ }
27
42
  }
28
43
 
29
44
  .sidebar-menu {
45
+ width: 48px;
30
46
  align-self: stretch;
31
47
 
32
48
  .menu-btn {
33
49
  @extend .bs-clickable;
34
- font-size: 28px;
50
+ font-size: 1.375rem;
51
+ display: inline-flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ width: 32px;
35
55
  height: $header-height;
56
+ max-width: $header-height;
36
57
  line-height: $header-height;
37
58
  color: $color-header-text;
38
- padding: 0 8px;
59
+ margin-left: 8px;
39
60
  }
40
61
 
41
62
  .menu-container {
42
63
  position: absolute;
43
64
  background-color: $color-menu-bg;
44
65
  height: calc(100vh - $header-height);
45
- min-width: 200px;
66
+ min-width: 220px;
67
+ overflow: auto;
68
+ padding-bottom: 100px;
46
69
  }
47
70
 
48
71
  .sidebar-menu-item {
@@ -51,25 +74,63 @@ header.default-header {
51
74
 
52
75
  a.sidebar-menu-link, div.sidebar-menu-link {
53
76
  @extend .bs-clickable;
54
- display: block;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: space-between;
55
80
  padding: 12px 16px;
56
- color: $color-header-text;
81
+ color: $gray-400;
57
82
  text-decoration: none;
83
+
84
+ .font-icon {
85
+ font-size: .8rem;
86
+ }
58
87
  }
59
88
 
60
89
  .sidebar-submenu {
61
- padding: 8px 24px 8px 8px;
90
+ padding: 0 16px 0 8px;
62
91
  background-color: $color-menu-border;
63
92
 
64
- a.sidebar-menu-link, div.sidebar-menu-link {
65
- padding: 8px 16px;
93
+ > a.sidebar-menu-link, > div.sidebar-menu-link {
94
+ position: relative;
95
+ display: flex;
96
+ align-items: center;
97
+ justify-content: space-between;
98
+ padding: 8px 0 8px 20px;
99
+
100
+ &:before {
101
+ content: "";
102
+ position: absolute;
103
+ top: 50%;
104
+ left: 8px;
105
+ display: block;
106
+ width: 2px;
107
+ height: 2px;
108
+ background-color: $gray-400;
109
+ }
110
+
111
+ .font-icon {
112
+ margin-left: 8px;
113
+ font-size: .8rem;
114
+
115
+ &.filled {
116
+ color: $secondary;
117
+ }
118
+ }
119
+
120
+ &:first-child {
121
+ padding-top: 16px;
122
+ }
123
+
124
+ &:last-child {
125
+ padding-bottom: 16px;
126
+ }
66
127
  }
67
128
  }
68
129
  }
69
130
  }
70
131
 
71
132
  .header-tabs {
72
- margin: 0 12px;
133
+ margin: 0 16px;
73
134
  display: flex;
74
135
  align-items: end;
75
136
  gap: 1px;
@@ -77,7 +138,7 @@ header.default-header {
77
138
  align-self: end;
78
139
 
79
140
  .header-tab {
80
- background-color: #747787;
141
+ background-color: $primary-400;
81
142
  padding: 0 12px;
82
143
  height: 32px;
83
144
  border-top-left-radius: 4px;
@@ -86,39 +147,41 @@ header.default-header {
86
147
  align-items: center;
87
148
  flex-grow: 1;
88
149
  position: relative;
89
- max-width: 160px;
90
- min-width: 100px;
150
+ max-width: 180px;
151
+ min-width: 110px;
91
152
  color: $color-header-text;
153
+ cursor: pointer;
92
154
 
93
155
  .header-title {
94
156
  padding-right: 6px;
95
- flex-grow: 1;
96
157
  width: 50px;
97
- flex-basis: 80px;
158
+ flex-basis: 160px;
98
159
  overflow: hidden;
99
- text-overflow: ellipsis;
100
160
  white-space: nowrap;
101
- cursor: default;
161
+ mask-image: linear-gradient(to right, #000 85%, transparent 95%);
102
162
  }
103
163
 
104
164
  .close-btn {
105
165
  @extend .bs-clickable;
106
166
  right: 4px;
107
- padding: 4px;
108
- border-radius: 4px;
109
167
  display: none;
110
- margin-right: -8px;
111
168
  }
112
169
 
113
170
  &:hover {
114
171
  .close-btn {
115
172
  display: block;
116
173
  }
174
+
175
+ background-color: lighten($primary-400, 5%);
117
176
  }
118
177
 
119
178
  &.selected {
120
179
  color: $color-text;
121
- background-color: white; //#E5E5E5;
180
+ background-color: $white;
181
+
182
+ &:hover {
183
+ background-color: $white;
184
+ }
122
185
  }
123
186
  }
124
187
  }
@@ -131,6 +194,26 @@ header.default-header {
131
194
  .body-tab:has(>div.h-full) {
132
195
  height: calc(100vh - $header-height);
133
196
  }
197
+
198
+ .fixed-header {
199
+ position: fixed;
200
+ width: 100%;
201
+ border-bottom: 1px solid $gray-400;
202
+ background-color: white;
203
+ padding: 8px 16px;
204
+ z-index: 10;
205
+ }
206
+
207
+ .bg-full {
208
+ min-height: calc(100vh - $header-height);
209
+ padding-top: 43px;
210
+ padding-bottom: 16px;
211
+ background-color: $primary-100;
212
+ }
213
+
214
+ .detail-top {
215
+ padding-top: 43px;
216
+ }
134
217
  }
135
218
 
136
219
  .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,45 @@
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;
128
+ }
129
+
130
+ .require {
131
+ margin-left: 4px;
132
+ color: $primary;
133
+ }
134
+
135
+ .text-description {
136
+ margin-top: 8px;
137
+ color: $gray-400;
138
+ font-size: var(--font-size-input);
104
139
  }
105
140
  }
106
141
  }
@@ -109,8 +144,38 @@
109
144
 
110
145
  > .card-title {
111
146
  padding: 16px 0;
112
- border-bottom: 0.8px solid $color-darkblue;
147
+ border-bottom: 0.8px solid $color-border-light;
113
148
  font-size: 1.2em;
114
149
  font-weight: 500;
115
150
  }
151
+ }
152
+
153
+ $table-row-odd-color: $white;
154
+ $table-row-even-color: $gray-100;
155
+
156
+ .bs-layout-table {
157
+ border-collapse: collapse;
158
+
159
+ > tr > td, > tr > th, tbody > tr > td, tbody > tr > th {
160
+ padding: 8px;
161
+ border: 1px solid $color-border;
162
+ vertical-align: middle;
163
+ text-align: left;
164
+
165
+ &:first-child {
166
+ border-left: 0;
167
+ }
168
+
169
+ &:last-child {
170
+ border-right: 0;
171
+ }
172
+ }
173
+
174
+ //> tr:nth-child(odd) {
175
+ // background-color: $table-row-odd-color;
176
+ //}
177
+ //
178
+ //> tr:nth-child(even) {
179
+ // background-color: $table-row-even-color;
180
+ //}
116
181
  }
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 {
@@ -0,0 +1,62 @@
1
+ //
2
+ // slide-down transition
3
+ // css 만으로는 transition 이 동작하지 않고, SlideDownTransition 컴포넌트를 사용해야 함.
4
+ //
5
+ .slide-down-enter-active,
6
+ .slide-down-leave-active {
7
+ transition: all 0.2s ease-out;
8
+ }
9
+
10
+ .slide-down-enter-to,
11
+ .slide-down-leave-from {
12
+ overflow: hidden;
13
+ }
14
+
15
+ .slide-down-enter-from,
16
+ .slide-down-leave-to {
17
+ max-height: 0;
18
+ opacity: 0;
19
+ overflow: hidden;
20
+ }
21
+
22
+ //
23
+ // notification transition
24
+ //
25
+ .notification-enter-active,
26
+ .notification-leave-active {
27
+ transition: all 0.3s ease-out;
28
+ }
29
+
30
+ .notification-enter-to,
31
+ .notification-leave-from {
32
+ margin-top: 0;
33
+ }
34
+
35
+ .notification-enter-from {
36
+ margin-top: -35px;
37
+ opacity: 0;
38
+ }
39
+
40
+ .notification-leave-to {
41
+ opacity: 0;
42
+ }
43
+
44
+ //
45
+ // fade TransitionGroup
46
+ //
47
+ .fade-move,
48
+ .fade-enter-active,
49
+ .fade-leave-active {
50
+ transition: all 300ms cubic-bezier(0.55, 0, 0.1, 1);
51
+ }
52
+
53
+ .fade-enter-from,
54
+ .fade-leave-to {
55
+ opacity: 0;
56
+ transform: scaleY(0.01);
57
+ }
58
+
59
+ .fade-enter-active,
60
+ .fade-leave-active {
61
+ position: absolute;
62
+ }