@nebulars/primary 1.3.112 → 1.3.114

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.
@@ -17,6 +17,7 @@
17
17
  .ant-modal-body {
18
18
  flex: 1;
19
19
  display: flex;
20
+ flex-direction: column;
20
21
  justify-content: center;
21
22
  align-items: center;
22
23
  }
@@ -29,6 +30,7 @@
29
30
 
30
31
  <template>
31
32
  <a-modal class="fqa-fullscreen" v-model:open="open" width="100%" :footer="null" :z-index="10" wrap-class-name="fqa-fullscreen">
33
+ <div id="fullscreen-operat" class="fqa-fullscreen-operat"></div>
32
34
  <div class="markdown-body">
33
35
  <slot />
34
36
  </div>
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nebulars/primary",
3
3
  "description": "A package for Primary",
4
- "version": "1.3.112",
4
+ "version": "1.3.114",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "author": "Joenix",
8
8
  "license": "MIT",
9
- "gitHead": "9413ea7a560bfe4bcdacdc2c3c953dff7ffcb9b4",
9
+ "gitHead": "ce4557d25b453bd7cf2790875a17e72a5a60f83f",
10
10
  "dependencies": {
11
11
  "@scaff/umd": "^3.7.44"
12
12
  }
@@ -1,128 +0,0 @@
1
- <style lang="less" scoped>
2
- /**
3
- * For Coding Pretty
4
- * ======== ======== ========
5
- */
6
- .FinQA {
7
- /**
8
- * Layout
9
- * ======== ======== ========
10
- */
11
- & {
12
- width: 100%;
13
- height: 100%;
14
- }
15
-
16
- &,
17
- &--Container {
18
- display: flex;
19
- }
20
-
21
- & {
22
- flex-direction: row;
23
- }
24
-
25
- &--Container {
26
- flex-direction: column;
27
- }
28
-
29
- &--Container {
30
- flex: 1;
31
- }
32
-
33
- &--Container {
34
- align-items: center;
35
- }
36
-
37
- &--Container,
38
- &--Assist,
39
- &--Sider {
40
- transition: all @fast;
41
- }
42
-
43
- /**
44
- * Interface
45
- * ======== ======== ========
46
- */
47
- &--Container {
48
- max-width: 100%;
49
- }
50
-
51
- &--Assist {
52
- width: @size-assist;
53
- }
54
-
55
- &--Sider {
56
- width: @size-sider;
57
- }
58
-
59
- /**
60
- * Colour
61
- * ======== ======== ========
62
- */
63
- &--Container {
64
- background-color: transparent;
65
- }
66
- &--Assist {
67
- background-color: @color-assist;
68
- }
69
-
70
- &--Sider {
71
- background-color: @color-sider;
72
- }
73
-
74
- /**
75
- * Modify
76
- * ======== ======== ========
77
- */
78
- &--Sider {
79
- border-left: 1px solid @color-line;
80
- }
81
- }
82
- </style>
83
-
84
- <template>
85
- <div class="FinQA" :class="{ FinQA: true, mobile: app.mobile, [`FinQA-${$route.name}`]: true }">
86
- <!-- Control -->
87
- <fqa-control />
88
-
89
- <!-- Mask -->
90
- <fqa-mask />
91
-
92
- <!-- Transition Preloading -->
93
- <transition name="preloading">
94
- <!-- Preloading -->
95
- <slot name="preloading" />
96
- </transition>
97
-
98
- <!-- Transition Assist -->
99
- <transition name="assist">
100
- <div class="FinQA--Assist" v-if="adapter.assist.type">
101
- <slot name="assist" />
102
- </div>
103
- </transition>
104
-
105
- <!-- Transition Container -->
106
- <transition name="container">
107
- <!-- Container -->
108
- <slot class="FinQA--Container" name="container" />
109
- </transition>
110
-
111
- <!-- Sider -->
112
- <transition name="sider">
113
- <div class="FinQA--Sider" v-if="adapter.sider.type">
114
- <slot name="sider" />
115
- </div>
116
- </transition>
117
-
118
- <!-- Attach -->
119
- <fqa-attach class="FinQA--Attach" :space="app.mobile ? '82vw' : 640" />
120
-
121
- <!-- Aovery -->
122
- <fqa-aovery class="FinQA--Aovery" :space="app.mobile ? '82vw' : '50vw'" />
123
- </div>
124
- </template>
125
-
126
- <script>
127
- export default {};
128
- </script>
@@ -1,34 +0,0 @@
1
- .markdown-notes-sup {
2
- & {
3
- margin-inline: 0.24rem;
4
- padding: 0.24rem 0.48rem;
5
- border-radius: @radiu;
6
- line-height: @gap;
7
- font-size: @unit;
8
-
9
- color: @color-retext;
10
- background-color: lighten(@color-text, 40%);
11
- }
12
-
13
- &:hover {
14
- // color: @color-retext;
15
- background-color: darken(@color-subtext, 10%);
16
- }
17
-
18
- &:focus,
19
- &.active {
20
- color: @color-retext;
21
- background-color: @color-professor;
22
- }
23
- }
24
-
25
- .markdown-notes {
26
- & {
27
- position: fixed;
28
- top: 0;
29
- left: 0;
30
- right: 0;
31
- bottom: 0;
32
- z-index: 1;
33
- }
34
- }
@@ -1,3 +0,0 @@
1
- .fqa-aovery-container {
2
- position: absolute;
3
- }
@@ -1,38 +0,0 @@
1
- .menus-modify {
2
- & {
3
- padding-inline: @size-assispant !important;
4
- background-color: transparent;
5
- border-inline-end: none !important;
6
- }
7
-
8
- .ant-menu-item-group {
9
- margin-top: @gap;
10
-
11
- &-title {
12
- padding-inline: calc(@unit + @atom);
13
- }
14
- }
15
-
16
- .ant-menu-item {
17
- padding-inline: @gap !important;
18
- border-radius: @radiu * 2 !important;
19
-
20
- &.remove {
21
- transition: all @effect;
22
- height: 0 !important;
23
- overflow: hidden;
24
- }
25
-
26
- &:active {
27
- background-color: darken(@color-assist, 1%) !important;
28
- }
29
- }
30
-
31
- .ant-menu-item-active {
32
- background-color: darken(@color-assist, 5%);
33
- }
34
-
35
- .ant-menu-item-selected {
36
- background-color: darken(@color-assist, 5%);
37
- }
38
- }
@@ -1,3 +0,0 @@
1
- .start-modify {
2
- padding-inline: @size-assispant !important;
3
- }
@@ -1,3 +0,0 @@
1
- .fqa-attach-container {
2
- position: absolute;
3
- }
@@ -1,48 +0,0 @@
1
- .fqa-popover {
2
- .ant-popover-arrow {
3
- right: 12px;
4
- // --antd-arrow-background-color: @color-assist;
5
- }
6
-
7
- .ant-popover-inner {
8
- // background-color: @color-assist;
9
- }
10
-
11
- .ant-select-selector {
12
- // background-color: @color-input;
13
- }
14
-
15
- .ant-select-focused {
16
- .ant-select-selector {
17
- box-shadow: 0 0 0 2px rgba(167, 168, 169, 0.1) !important;
18
- }
19
- }
20
-
21
- .ant-form-item {
22
- margin-bottom: @unit;
23
- }
24
-
25
- .ant-form-item-row {
26
- flex-direction: column;
27
- align-items: flex-start;
28
- }
29
-
30
- .ant-form-item-control {
31
- width: 100%;
32
- }
33
-
34
- .ant-form-item-label label,
35
- .ant-select-open .ant-select-selection-item {
36
- // color: @color-text;
37
- }
38
-
39
- .ant-select-selector {
40
- // color: @color-text;
41
- // border-color: darken(@color-input, 2%) !important;
42
- // background-color: @color-input !important;
43
- }
44
-
45
- &-container {
46
- width: 240px;
47
- }
48
- }
File without changes
@@ -1,5 +0,0 @@
1
- .markdown-body {
2
- table {
3
- scrollbar-color: rgba(0, 0, 0, 0.1) transparent !important;
4
- }
5
- }
@@ -1,76 +0,0 @@
1
- .markdown-table-ops {
2
- & {
3
- width: 100%;
4
- height: 0;
5
-
6
- display: flex;
7
- justify-content: flex-end;
8
-
9
- position: relative;
10
- }
11
-
12
- &-wrapper {
13
- &:after {
14
- content: ' ';
15
-
16
- z-index: 10;
17
- top: 0;
18
- position: absolute;
19
-
20
- width: 16px;
21
- height: 16px;
22
-
23
- transition: all @flash;
24
- background-color: transparent;
25
- }
26
-
27
- svg {
28
- font-size: 16px;
29
- flex: 1;
30
- cursor: pointer;
31
- transition: all @flash;
32
- }
33
-
34
- & {
35
- z-index: 9;
36
- top: 6px;
37
- left: -35px;
38
- // right: 6px;
39
- position: absolute;
40
- opacity: 0.6;
41
-
42
- overflow: hidden;
43
- display: flex;
44
- flex-direction: column;
45
- gap: 4px;
46
-
47
- cursor: pointer;
48
- transition: all @flash;
49
-
50
- width: 24px;
51
- height: 24px;
52
- border-radius: 24px;
53
-
54
- padding: 3px;
55
-
56
- color: @color-app;
57
- border: 1px solid @color-professor;
58
- background-color: @color-professor;
59
- }
60
-
61
- &:hover {
62
- height: 108px;
63
- opacity: 1;
64
-
65
- &:after {
66
- top: -100%;
67
- }
68
- }
69
- }
70
- }
71
-
72
- .fqa-drawer {
73
- .markdown-table-ops {
74
- display: none;
75
- }
76
- }
@@ -1,66 +0,0 @@
1
- .fqa-pagination {
2
- .ant-pagination-item {
3
- a {
4
- color: @color-text;
5
- }
6
-
7
- &-ellipsis {
8
- color: @color-text !important;
9
- }
10
- }
11
-
12
- .ant-pagination-item-active {
13
- background-color: @color-app;
14
-
15
- &:hover {
16
- a {
17
- color: lighten(@color-text, 5%);
18
- }
19
- }
20
- }
21
-
22
- .ant-pagination-item-link {
23
- color: @color-text !important;
24
- }
25
-
26
- .ant-select-selector {
27
- color: @color-text !important;
28
- border-color: lighten(@color-line, 5%) !important;
29
- background-color: @color-app !important;
30
- box-shadow: none !important;
31
-
32
- &-search {
33
- &:hover {
34
- color: lighten(@color-text, 5%) !important;
35
- }
36
- }
37
- }
38
-
39
- .ant-select-arrow {
40
- color: @color-text !important;
41
- }
42
-
43
- .ant-select-open {
44
- .ant-select-selection-item {
45
- color: @color-text !important;
46
- }
47
- }
48
- }
49
-
50
- .ant-select-dropdown {
51
- border-color: lighten(@color-line, 5%);
52
- background-color: @color-app;
53
-
54
- .rc-virtual-list-holder-inner {
55
- gap: @atom;
56
- }
57
-
58
- .ant-select-item-option {
59
- color: darken(@color-text, 5%) !important;
60
-
61
- &-selected {
62
- color: @color-text !important;
63
- background-color: darken(@color-app, 5%) !important;
64
- }
65
- }
66
- }
@@ -1,10 +0,0 @@
1
- .ant-select-selection-placeholder {
2
- color: @color-text !important;
3
- }
4
-
5
- .fqa-selection {
6
- .ant-select-selector,
7
- .ant-select-selection-item {
8
- border-radius: @radiu;
9
- }
10
- }
@@ -1,11 +0,0 @@
1
- .fqa-start {
2
- .slick-slide {
3
- width: 120px !important;
4
- }
5
-
6
- .vue-horizontal {
7
- .v-hl-container {
8
- gap: @gap;
9
- }
10
- }
11
- }
@@ -1,56 +0,0 @@
1
- .fqa-table {
2
- .ant-table {
3
- background-color: darken(@color-assist, 1%);
4
- }
5
-
6
- .ant-table-header {
7
- background-color: darken(@color-assist, 5%);
8
-
9
- .ant-table-cell-scrollbar {
10
- box-shadow: none !important;
11
- }
12
- }
13
-
14
- .ant-empty-description {
15
- color: @color-text;
16
- }
17
-
18
- .ant-table-thead {
19
- .ant-table-cell {
20
- color: @color-text;
21
- border-bottom-color: @color-line !important;
22
- background-color: darken(@color-assist, 1%);
23
- line-height: 0.1;
24
-
25
- &-content {
26
- line-height: 1;
27
- }
28
-
29
- &:before {
30
- background-color: @color-line !important;
31
- }
32
- }
33
- }
34
-
35
- .ant-table-tbody {
36
- .ant-table-row,
37
- .ant-table-placeholder {
38
- &:hover {
39
- .ant-table-cell {
40
- background: darken(@color-assist, 1%) !important;
41
- }
42
- }
43
- }
44
-
45
- .ant-table-cell {
46
- color: @color-text;
47
- border-top-color: @color-line !important;
48
- border-bottom-color: @color-line !important;
49
- background-color: @color-assist;
50
- }
51
-
52
- .ant-table-cell-row-hover {
53
- background: darken(@color-assist, 1%) !important;
54
- }
55
- }
56
- }