@94ai/nf-theme-oem 3.1.23 → 3.1.25

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.
@@ -1,81 +1,102 @@
1
1
  .nf-double-year-year-range {
2
- .nf-double-year-table {
3
- font-size: 12px;
4
- margin: -1px;
5
- border-collapse: collapse;
6
-
7
- td.in-range {
8
- text-align: center;
9
- padding: 8px 0px;
10
- cursor: pointer;
11
- & div {
12
- height: 48px;
13
- padding: 6px 0;
14
- box-sizing: border-box;
2
+ width: 384px;
3
+ .el-picker-panel__body {
4
+ min-width: fit-content;
5
+ .el-date-range-picker__content {
6
+ padding: 0;
7
+ &.is-left {
8
+ border: none;
15
9
  }
16
- &.today {
17
- .cell {
18
- color: #409EFF;
19
- font-weight: bold;
20
- }
21
- &.start-date .cell,
22
- &.end-date .cell {
23
- color: #FFFFFF;
10
+
11
+ .el-date-range-picker__header {
12
+ border-bottom: 1px solid #e4e4e4;
13
+ padding: 6px 12px;
14
+ div {
15
+ font-size: 14px;
16
+ color: rgba(0,0,0,0.85);
24
17
  }
25
18
  }
19
+ .nf-double-year-table {
20
+ padding: 0 14px;
21
+ font-size: 12px;
22
+ margin: -1px 0 -1px 10px;
23
+ border-collapse: collapse;
24
+ width: calc(100% - 20px);
26
25
 
27
- &.disabled .cell {
28
- background-color: #F5F7FA;
29
- cursor: not-allowed;
30
- color: #C0C4CC;
26
+ td {
27
+ padding: 9px 3px;
28
+ .cell {
29
+ padding: 0;
30
+ height: 28px;
31
+ line-height: 28px;
32
+ border-radius: 4px;
33
+ width: fit-content;
34
+ padding: 0px 9px;
31
35
 
32
- &:hover {
33
- color: #C0C4CC;
36
+ &:hover {
37
+ border: 1px solid #1177FF;
38
+ line-height: 26px;
39
+ color: #1177FF;
40
+ box-sizing: border-box;
41
+ color: #1177FF;
42
+ }
43
+ }
34
44
  }
35
- }
36
45
 
37
- .cell {
38
- width: 60px;
39
- height: 36px;
40
- display: block;
41
- line-height: 36px;
42
- color: #606266;
43
- margin: 0 auto;
44
- border-radius: 18px;
45
- &:hover {
46
- color: #409EFF;
47
- }
48
- }
46
+ td.in-range {
47
+ text-align: center;
48
+ padding: 9px 0px;
49
+ cursor: pointer;
50
+ & div {
51
+ height: 28px;
52
+ box-sizing: border-box;
53
+ }
54
+ &.today {
55
+ .cell {
56
+ color: #1177FF;
57
+ font-weight: bold;
58
+ }
59
+ &.start-date .cell,
60
+ &.end-date .cell {
61
+ color: #FFFFFF;
62
+ }
63
+ }
49
64
 
50
- &.in-range div {
51
- background-color: #F2F6FC;
52
- &:hover {
53
- background-color: #F2F6FC;
54
- }
55
- }
56
- &.start-date div,
57
- &.end-date div {
58
- color: #FFFFFF;
59
- }
65
+ &.disabled .cell {
66
+ background-color: #F5F7FA;
67
+ cursor: not-allowed;
68
+ color: #C0C4CC;
60
69
 
61
- &.start-date .cell,
62
- &.end-date .cell {
63
- color: #FFFFFF;
64
- background-color: #409EFF;
65
- }
70
+ &:hover {
71
+ color: #C0C4CC;
72
+ }
73
+ }
66
74
 
67
- &.start-date div {
68
- border-top-left-radius: 24px;
69
- border-bottom-left-radius: 24px;
70
- }
75
+ .cell {
76
+ color: #606266;
77
+ margin: 0 auto;
78
+ }
71
79
 
72
- &.end-date div {
73
- border-top-right-radius: 24px;
74
- border-bottom-right-radius: 24px;
75
- }
80
+ &.in-range div {
81
+ background-color: #F2F6FC;
82
+ &:hover {
83
+ background-color: #F2F6FC;
84
+ }
85
+ }
86
+
87
+ &.start-date div,
88
+ &.end-date div {
89
+ color: #FFFFFF;
90
+ }
76
91
 
77
- &.current:not(.disabled) .cell {
78
- color: #409EFF;
92
+ &.start-date .cell,
93
+ &.end-date .cell {
94
+ color: #FFFFFF;
95
+ border: none;
96
+ line-height: 26px;
97
+ background-color: #1177FF;
98
+ }
99
+ }
79
100
  }
80
101
  }
81
102
  }
@@ -1,4 +1,56 @@
1
1
  .nf-half-year-picker {
2
- width: 220px;
3
2
  display: inline-block;
3
+ .el-input__inner {
4
+ width: 176px;
5
+ }
6
+ &.el-popover {
7
+ padding: 0;
8
+ .el-date-picker {
9
+ width: 176px;
10
+ .el-picker-panel__body {
11
+ padding: 0 4px;
12
+ .el-date-picker__header {
13
+ padding: 6px;
14
+ .el-date-picker__header-label {
15
+ font-size: 14px;
16
+ color: rgba(0,0,0,0.85);
17
+ }
18
+ }
19
+ .el-picker-panel__content {
20
+ .el-year-table {
21
+ td {
22
+ padding: 9px 3px;
23
+ .cell {
24
+ height: 28px;
25
+ line-height: 28px;
26
+ border-radius: 4px;
27
+ width: fit-content;
28
+ padding: 0px 8px;
29
+ &:hover {
30
+ border: 1px solid #1177FF;
31
+ line-height: 26px;
32
+ color: #1177FF;
33
+ box-sizing: border-box;
34
+ color: #1177FF;
35
+ }
36
+ }
37
+ &.current {
38
+ .cell {
39
+ color: white;
40
+ background-color: #1177FF;
41
+ border: none;
42
+ line-height: 26px;
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ &.nf-half-year-picker-year-mode {
51
+ .el-date-picker {
52
+ width: 192px;
53
+ }
54
+ }
55
+ }
4
56
  }
@@ -1,4 +1,60 @@
1
1
  .nf-quarter-picker {
2
- width: 220px;
3
2
  display: inline-block;
3
+ .el-input__inner {
4
+ width: 176px;
5
+ }
6
+ &.el-popover {
7
+ padding: 0;
8
+ .el-date-picker {
9
+ width: 176px;
10
+ .el-picker-panel__body {
11
+ padding: 0 4px;
12
+ .el-date-picker__header {
13
+ padding: 6px;
14
+ .el-date-picker__header-label {
15
+ font-size: 14px;
16
+ color: rgba(0,0,0,0.85);
17
+ }
18
+ }
19
+ .el-picker-panel__content {
20
+ .el-month-table {
21
+ td {
22
+ padding: 9px 3px;
23
+ > div {
24
+ height: 28px;
25
+ padding: 0;
26
+ }
27
+ .cell {
28
+ height: 28px;
29
+ line-height: 28px;
30
+ border-radius: 4px;
31
+ width: fit-content;
32
+ padding: 0px 8px;
33
+ &:hover {
34
+ border: 1px solid #1177FF;
35
+ line-height: 26px;
36
+ color: #1177FF;
37
+ box-sizing: border-box;
38
+ color: #1177FF;
39
+ }
40
+ }
41
+ &.current {
42
+ .cell {
43
+ color: white;
44
+ background-color: #1177FF;
45
+ border: none;
46
+ line-height: 26px;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ &.nf-quarter-picker-year-mode {
55
+ .el-date-picker {
56
+ width: 192px;
57
+ }
58
+ }
59
+ }
4
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "3.1.23",
3
+ "version": "3.1.25",
4
4
  "description": "oem主题包",
5
5
  "keywords": [
6
6
  "theme",
@@ -30,5 +30,5 @@
30
30
  "build": "gulp --require @esbuild-kit/cjs-loader"
31
31
  },
32
32
  "types": "lib/index.ts",
33
- "gitHead": "980025176fc178880d523ef422060699b737410d"
33
+ "gitHead": "cf50757f0d8c910d763735642c9d59b6bf97949e"
34
34
  }