@jetlinks-web/components 2.0.28 → 2.0.30

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 (46) hide show
  1. package/es/CardSelect/CardSelect.js +10 -6
  2. package/es/CardSelect/style/index.less +26 -0
  3. package/es/FullPage/FullPage.js +1 -1
  4. package/es/Search/Advanced/SaveHistory.js +1 -1
  5. package/es/Search/Item.js +1 -1
  6. package/es/Search/Search.js +1 -1
  7. package/es/style/index.css +20 -0
  8. package/es/style/index.less +1 -0
  9. package/es/style.js +2 -1
  10. package/lib/CardSelect/CardSelect.js +10 -6
  11. package/lib/CardSelect/style/index.less +26 -0
  12. package/lib/FullPage/FullPage.js +1 -1
  13. package/lib/Search/Advanced/SaveHistory.js +1 -1
  14. package/lib/Search/Item.js +1 -1
  15. package/lib/Search/Search.js +1 -1
  16. package/lib/style/index.css +20 -0
  17. package/lib/style/index.less +1 -0
  18. package/lib/style.js +2 -1
  19. package/package.json +2 -2
  20. package/es/Ellipsis/style/index.css +0 -17
  21. package/es/Ellipsis/style/index.less +0 -20
  22. package/es/ProLayout/Basic/BasicLayout.less +0 -66
  23. package/es/ProLayout/Basic/Header.less +0 -8
  24. package/es/ProLayout/PageContainer/index.less +0 -103
  25. package/es/ProLayout/SiderMenu/index.less +0 -231
  26. package/es/ProLayout/TopHeader/index.less +0 -174
  27. package/es/ProLayout/style/default.less +0 -4
  28. package/es/ProLayout/style/style.less +0 -7
  29. package/es/ProTable/style/index.css +0 -69
  30. package/es/ProTable/style/index.less +0 -92
  31. package/es/Search/style/Item.less +0 -33
  32. package/es/Search/style/Search.less +0 -179
  33. package/lib/Ellipsis/style/index.css +0 -17
  34. package/lib/Ellipsis/style/index.less +0 -20
  35. package/lib/ProLayout/Basic/BasicLayout.less +0 -66
  36. package/lib/ProLayout/Basic/Header.less +0 -8
  37. package/lib/ProLayout/PageContainer/index.less +0 -103
  38. package/lib/ProLayout/SiderMenu/index.less +0 -231
  39. package/lib/ProLayout/TopHeader/index.less +0 -174
  40. package/lib/ProLayout/style/default.less +0 -4
  41. package/lib/ProLayout/style/style.less +0 -7
  42. package/lib/ProTable/style/index.css +0 -69
  43. package/lib/ProTable/style/index.less +0 -92
  44. package/lib/Search/style/Item.less +0 -33
  45. package/lib/Search/style/Search.less +0 -179
  46. package/lib/style/components.less +0 -3
@@ -7,19 +7,23 @@
7
7
  "value": "props",
8
8
  "itemLayout": "props",
9
9
  "has": "setup-maybe-ref",
10
+ "computed": "setup-const",
11
+ "ref": "setup-const",
12
+ "watch": "setup-const",
10
13
  "props": "setup-reactive-const",
11
14
  "emit": "setup-const",
12
- "selectKeys": "setup-maybe-ref",
13
- "CardSelectStyle": "setup-maybe-ref",
14
- "isMultiple": "setup-maybe-ref",
15
+ "selectKeys": "setup-ref",
16
+ "CardSelectStyle": "setup-ref",
17
+ "isMultiple": "setup-ref",
15
18
  "handleSelect": "setup-const"
16
19
  } */
17
- import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
20
+ import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
18
21
  const _hoisted_1 = ["onClick"];
19
22
  const _hoisted_2 = { class: "j-card-select-item-content" };
20
23
  const _hoisted_3 = { class: "j-card-select-title" };
21
24
  const _hoisted_4 = { class: "j-card-select-describe" };
22
25
  import { has } from 'lodash-es';
26
+ import { computed, ref, watch } from 'vue';
23
27
  const __sfc_main__ = Object.assign({
24
28
  name: 'JCardSelect'
25
29
  }, {
@@ -99,14 +103,14 @@ const __sfc_main__ = Object.assign({
99
103
  return (_ctx, _cache) => {
100
104
  return (_openBlock(), _createElementBlock("div", {
101
105
  class: "j-card-select",
102
- style: _normalizeStyle(_unref(CardSelectStyle))
106
+ style: _normalizeStyle(CardSelectStyle.value)
103
107
  }, [
104
108
  (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (item) => {
105
109
  return (_openBlock(), _createElementBlock("div", {
106
110
  class: _normalizeClass({
107
111
  'j-card-select-item': true,
108
112
  'disabled': __props.disabled || item.disabled,
109
- 'active': _unref(selectKeys).includes(item.value)
113
+ 'active': selectKeys.value.includes(item.value)
110
114
  }),
111
115
  onClick: () => handleSelect(item.value, item)
112
116
  }, [
@@ -0,0 +1,26 @@
1
+ @import 'ant-design-vue/es/style/themes/index.less';
2
+
3
+ .j-card-select {
4
+ display: grid;
5
+ gap: 12px;
6
+
7
+ .j-card-select-item {
8
+ padding: 12px;
9
+ border: 1px solid #e6e6e6;
10
+ border-radius: @border-radius-base;
11
+ cursor: pointer;
12
+
13
+ &.active {
14
+ border-color: @primary-color;
15
+ }
16
+
17
+ &.disabled {
18
+ cursor: not-allowed;
19
+ opacity: 0.75;
20
+ }
21
+
22
+ .j-card-select-describe {
23
+ color: @text-color-subtitle;
24
+ }
25
+ }
26
+ }
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1715680499730"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1715740839180"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1715680502662"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1715740841044"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
package/es/Search/Item.js CHANGED
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1715680500825"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1715740840309"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1715680501254"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1715740840453"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -721,3 +721,23 @@
721
721
  width: 0;
722
722
  flex-grow: 1;
723
723
  }
724
+ .j-card-select {
725
+ display: grid;
726
+ gap: 12px;
727
+ }
728
+ .j-card-select .j-card-select-item {
729
+ padding: 12px;
730
+ border: 1px solid #e6e6e6;
731
+ border-radius: 2px;
732
+ cursor: pointer;
733
+ }
734
+ .j-card-select .j-card-select-item.active {
735
+ border-color: #1890ff;
736
+ }
737
+ .j-card-select .j-card-select-item.disabled {
738
+ cursor: not-allowed;
739
+ opacity: 0.75;
740
+ }
741
+ .j-card-select .j-card-select-item .j-card-select-describe {
742
+ color: #263237;
743
+ }
@@ -4,3 +4,4 @@
4
4
  @import '../ProTable/style/index.less';
5
5
  @import '../Search/style/Search.less';
6
6
  @import '../Search/style/Item.less';
7
+ @import '../CardSelect/style/index.less';
package/es/style.js CHANGED
@@ -2,4 +2,5 @@ import './Ellipsis/style';
2
2
  import './CheckButton/style';
3
3
  import './ProLayout/style';
4
4
  import './ProTable/style';
5
- import './Search/style';
5
+ import './Search/style';
6
+ import './CardSelect/style';
@@ -7,19 +7,23 @@
7
7
  "value": "props",
8
8
  "itemLayout": "props",
9
9
  "has": "setup-maybe-ref",
10
+ "computed": "setup-const",
11
+ "ref": "setup-const",
12
+ "watch": "setup-const",
10
13
  "props": "setup-reactive-const",
11
14
  "emit": "setup-const",
12
- "selectKeys": "setup-maybe-ref",
13
- "CardSelectStyle": "setup-maybe-ref",
14
- "isMultiple": "setup-maybe-ref",
15
+ "selectKeys": "setup-ref",
16
+ "CardSelectStyle": "setup-ref",
17
+ "isMultiple": "setup-ref",
15
18
  "handleSelect": "setup-const"
16
19
  } */
17
- import { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
20
+ import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
18
21
  const _hoisted_1 = ["onClick"];
19
22
  const _hoisted_2 = { class: "j-card-select-item-content" };
20
23
  const _hoisted_3 = { class: "j-card-select-title" };
21
24
  const _hoisted_4 = { class: "j-card-select-describe" };
22
25
  import { has } from 'lodash-es';
26
+ import { computed, ref, watch } from 'vue';
23
27
  const __sfc_main__ = Object.assign({
24
28
  name: 'JCardSelect'
25
29
  }, {
@@ -99,14 +103,14 @@ const __sfc_main__ = Object.assign({
99
103
  return (_ctx, _cache) => {
100
104
  return (_openBlock(), _createElementBlock("div", {
101
105
  class: "j-card-select",
102
- style: _normalizeStyle(_unref(CardSelectStyle))
106
+ style: _normalizeStyle(CardSelectStyle.value)
103
107
  }, [
104
108
  (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (item) => {
105
109
  return (_openBlock(), _createElementBlock("div", {
106
110
  class: _normalizeClass({
107
111
  'j-card-select-item': true,
108
112
  'disabled': __props.disabled || item.disabled,
109
- 'active': _unref(selectKeys).includes(item.value)
113
+ 'active': selectKeys.value.includes(item.value)
110
114
  }),
111
115
  onClick: () => handleSelect(item.value, item)
112
116
  }, [
@@ -0,0 +1,26 @@
1
+ @import 'ant-design-vue/es/style/themes/index.less';
2
+
3
+ .j-card-select {
4
+ display: grid;
5
+ gap: 12px;
6
+
7
+ .j-card-select-item {
8
+ padding: 12px;
9
+ border: 1px solid #e6e6e6;
10
+ border-radius: @border-radius-base;
11
+ cursor: pointer;
12
+
13
+ &.active {
14
+ border-color: @primary-color;
15
+ }
16
+
17
+ &.disabled {
18
+ cursor: not-allowed;
19
+ opacity: 0.75;
20
+ }
21
+
22
+ .j-card-select-describe {
23
+ color: @text-color-subtitle;
24
+ }
25
+ }
26
+ }
@@ -6,7 +6,7 @@
6
6
  } */
7
7
  import { defineComponent as _defineComponent } from 'vue';
8
8
  import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
9
- const _withScopeId = n => (_pushScopeId("data-v-1715680499744"), n = n(), _popScopeId(), n);
9
+ const _withScopeId = n => (_pushScopeId("data-v-1715740839171"), n = n(), _popScopeId(), n);
10
10
  const _hoisted_1 = { class: "full-page-warp-content" };
11
11
  import { ref } from 'vue';
12
12
  import { useElementBounding } from '@vueuse/core';
@@ -21,7 +21,7 @@
21
21
  } */
22
22
  import { defineComponent as _defineComponent } from 'vue';
23
23
  import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
24
- const _withScopeId = n => (_pushScopeId("data-v-1715680502627"), n = n(), _popScopeId(), n);
24
+ const _withScopeId = n => (_pushScopeId("data-v-1715740841023"), n = n(), _popScopeId(), n);
25
25
  const _hoisted_1 = {
26
26
  key: 0,
27
27
  style: { "width": "240px" }
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
78
78
  } */
79
79
  import { defineComponent as _defineComponent } from 'vue';
80
80
  import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
81
- const _withScopeId = n => (_pushScopeId("data-v-1715680500937"), n = n(), _popScopeId(), n);
81
+ const _withScopeId = n => (_pushScopeId("data-v-1715740840199"), n = n(), _popScopeId(), n);
82
82
  const _hoisted_1 = { class: "JSearch-item" };
83
83
  const _hoisted_2 = {
84
84
  key: 0,
@@ -36,7 +36,7 @@
36
36
  } */
37
37
  import { defineComponent as _defineComponent } from 'vue';
38
38
  import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
39
- const _withScopeId = n => (_pushScopeId("data-v-1715680501320"), n = n(), _popScopeId(), n);
39
+ const _withScopeId = n => (_pushScopeId("data-v-1715740840423"), n = n(), _popScopeId(), n);
40
40
  const _hoisted_1 = { class: "JSearch-content simple" };
41
41
  const _hoisted_2 = { class: "JSearch-items" };
42
42
  import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
@@ -721,3 +721,23 @@
721
721
  width: 0;
722
722
  flex-grow: 1;
723
723
  }
724
+ .j-card-select {
725
+ display: grid;
726
+ gap: 12px;
727
+ }
728
+ .j-card-select .j-card-select-item {
729
+ padding: 12px;
730
+ border: 1px solid #e6e6e6;
731
+ border-radius: 2px;
732
+ cursor: pointer;
733
+ }
734
+ .j-card-select .j-card-select-item.active {
735
+ border-color: #1890ff;
736
+ }
737
+ .j-card-select .j-card-select-item.disabled {
738
+ cursor: not-allowed;
739
+ opacity: 0.75;
740
+ }
741
+ .j-card-select .j-card-select-item .j-card-select-describe {
742
+ color: #263237;
743
+ }
@@ -4,3 +4,4 @@
4
4
  @import '../ProTable/style/index.less';
5
5
  @import '../Search/style/Search.less';
6
6
  @import '../Search/style/Item.less';
7
+ @import '../CardSelect/style/index.less';
package/lib/style.js CHANGED
@@ -4,4 +4,5 @@ require("./Ellipsis/style");
4
4
  require("./CheckButton/style");
5
5
  require("./ProLayout/style");
6
6
  require("./ProTable/style");
7
- require("./Search/style");
7
+ require("./Search/style");
8
+ require("./CardSelect/style");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.0.28",
3
+ "version": "2.0.30",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -134,8 +134,8 @@
134
134
  "webpack-dev-server": "^4.0.0",
135
135
  "webpack-merge": "^5.0.0",
136
136
  "webpackbar": "^5.0.2",
137
- "@jetlinks-web/utils": "^1.0.7",
138
137
  "@jetlinks-web/constants": "^1.0.2",
138
+ "@jetlinks-web/utils": "^1.0.7",
139
139
  "@jetlinks-web/hooks": "^1.0.13"
140
140
  },
141
141
  "publishConfig": {
@@ -1,17 +0,0 @@
1
- .j-ellipsis {
2
- overflow: hidden;
3
- vertical-align: bottom;
4
- }
5
- .j-ellipsis-cursor {
6
- cursor: pointer;
7
- }
8
- .j-ellipsis-line-clamp {
9
- display: -webkit-box;
10
- -webkit-box-orient: vertical;
11
- word-break: break-all;
12
- }
13
- .j-ellipsis-deep {
14
- max-height: 380px;
15
- -webkit-line-clamp: 17;
16
- text-overflow: ellipsis;
17
- }
@@ -1,20 +0,0 @@
1
- .j-ellipsis {
2
- overflow: hidden;
3
- vertical-align: bottom;
4
- }
5
-
6
- .j-ellipsis-cursor {
7
- cursor: pointer;
8
- }
9
-
10
- .j-ellipsis-line-clamp {
11
- display: -webkit-box;
12
- -webkit-box-orient: vertical;
13
- word-break: break-all;
14
- }
15
-
16
- .j-ellipsis-deep {
17
- max-height: 380px;
18
- -webkit-line-clamp: 17;
19
- text-overflow: ellipsis;
20
- }
@@ -1,66 +0,0 @@
1
- @import '../style/default.less';
2
-
3
- .@{basicLayout-prefix-cls} {
4
- // BFC
5
- display: flex;
6
- flex-direction: column;
7
- width: 100%;
8
- min-height: 100%;
9
-
10
- .@{ant-prefix}-layout-header {
11
- &.@{ant-prefix}-pro-fixed-header {
12
- position: fixed;
13
- top: 0;
14
- }
15
- }
16
-
17
- &-content {
18
- position: relative;
19
- margin: 24px;
20
-
21
- .@{ant-prefix}-pro-page-container {
22
- margin: -24px -24px 0;
23
- }
24
-
25
- &-disable-margin {
26
- margin: 0;
27
-
28
- .@{ant-prefix}-pro-page-container {
29
- margin: 0;
30
- }
31
- }
32
-
33
- > .@{ant-prefix}-layout {
34
- max-height: 100%;
35
- }
36
- }
37
-
38
- // children should support fixed
39
- .@{basicLayout-prefix-cls}-is-children.@{basicLayout-prefix-cls}-fix-siderbar {
40
- height: 100vh;
41
- overflow: hidden;
42
- transform: rotate(0);
43
- }
44
-
45
- .@{basicLayout-prefix-cls}-has-header {
46
- // tech-page-container
47
- .tech-page-container {
48
- height: calc(100vh - @pro-layout-header-height);
49
- }
50
-
51
- .@{basicLayout-prefix-cls}-is-children.@{basicLayout-prefix-cls}-has-header {
52
- .tech-page-container {
53
- height: calc(100vh - @pro-layout-header-height -
54
- @pro-layout-header-height);
55
- }
56
-
57
- .@{basicLayout-prefix-cls}-is-children {
58
- min-height: calc(100vh - @pro-layout-header-height);
59
-
60
- &.@{basicLayout-prefix-cls}-fix-siderbar {
61
- height: calc(100vh - @pro-layout-header-height);
62
- }
63
- }
64
- }
65
- }
66
- }
@@ -1,8 +0,0 @@
1
- @import '../style/default.less';
2
-
3
- @pro-layout-fixed-header-prefix-cls: ~'@{ant-prefix}-pro-fixed-header';
4
-
5
- .@{pro-layout-fixed-header-prefix-cls} {
6
- z-index: 9;
7
- width: 100%;
8
- }
@@ -1,103 +0,0 @@
1
- @import '../style/default.less';
2
-
3
- @pro-layout-page-container: ~'@{ant-prefix}-pro-page-container';
4
-
5
- .@{pro-layout-page-container}-children-content {
6
- margin: 24px 24px 0;
7
- }
8
-
9
- .@{pro-layout-page-container} {
10
- &-warp {
11
- background-color: @component-background;
12
- .@{ant-prefix}-tabs-bar {
13
- margin: 0;
14
- }
15
- }
16
- &-ghost {
17
- .@{pro-layout-page-container}-warp {
18
- background-color: @component-background;
19
- }
20
- }
21
- }
22
-
23
- .@{pro-layout-page-container}-main {
24
- .@{pro-layout-page-container}-detail {
25
- display: flex;
26
- }
27
-
28
- .@{pro-layout-page-container}-row {
29
- display: flex;
30
- width: 100%;
31
- }
32
-
33
- .@{pro-layout-page-container}-title-content {
34
- margin-bottom: 16px;
35
- }
36
-
37
- .@{pro-layout-page-container}-title,
38
- .@{pro-layout-page-container}-content {
39
- flex: auto;
40
- }
41
-
42
- .@{pro-layout-page-container}-extraContent,
43
- .@{pro-layout-page-container}-main {
44
- flex: 0 1 auto;
45
- }
46
-
47
- .@{pro-layout-page-container}-main {
48
- width: 100%;
49
- }
50
-
51
- .@{pro-layout-page-container}-title {
52
- margin-bottom: 16px;
53
- }
54
-
55
- .@{pro-layout-page-container}-logo {
56
- margin-bottom: 16px;
57
- }
58
-
59
- .@{pro-layout-page-container}-extraContent {
60
- min-width: 242px;
61
- margin-left: 88px;
62
- text-align: right;
63
- }
64
- }
65
-
66
- @media screen and (max-width: @screen-xl) {
67
- .@{pro-layout-page-container}-main {
68
- .@{pro-layout-page-container}-extraContent {
69
- margin-left: 44px;
70
- }
71
- }
72
- }
73
-
74
- @media screen and (max-width: @screen-lg) {
75
- .@{pro-layout-page-container}-main {
76
- .@{pro-layout-page-container}-extraContent {
77
- margin-left: 20px;
78
- }
79
- }
80
- }
81
-
82
- @media screen and (max-width: @screen-md) {
83
- .@{pro-layout-page-container}-main {
84
- .@{pro-layout-page-container}-row {
85
- display: block;
86
- }
87
-
88
- .@{pro-layout-page-container}-action,
89
- .@{pro-layout-page-container}-extraContent {
90
- margin-left: 0;
91
- text-align: left;
92
- }
93
- }
94
- }
95
-
96
- @media screen and (max-width: @screen-sm) {
97
- .@{pro-layout-page-container}-detail {
98
- display: block;
99
- }
100
- .@{pro-layout-page-container}-extraContent {
101
- margin-left: 0;
102
- }
103
- }