@titaui/pc 1.7.22 → 1.7.26

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 (90) hide show
  1. package/lib/components/button/text-btn/index.css +1 -0
  2. package/lib/components/button/text-btn/index.js +10 -12
  3. package/lib/components/common-share/index.css +223 -0
  4. package/lib/components/common-share/index.js +108 -0
  5. package/lib/components/common-share/publishMblog.js +157 -0
  6. package/lib/components/common-share/request-apis.js +56 -0
  7. package/lib/components/common-share/types.js +5 -0
  8. package/lib/components/follower-visitor/index.css +8 -3
  9. package/lib/components/menus/components/menu-tree/tree-node/index.css +9 -6
  10. package/lib/components/nav-top/components/user-message/index.js +9 -0
  11. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +4 -2
  12. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +2 -2
  13. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +2 -2
  14. package/lib/components/select-tags/index.css +6 -0
  15. package/lib/components/select-tags/index.js +1 -1
  16. package/lib/components/weekly-report/board.js +43 -0
  17. package/lib/components/weekly-report/card.js +231 -0
  18. package/lib/components/weekly-report/common-painter/darwAvatar.js +157 -0
  19. package/lib/components/weekly-report/common-painter/drawName.js +59 -0
  20. package/lib/components/weekly-report/common-painter/openDataPainter.js +95 -0
  21. package/lib/components/weekly-report/common-painter/setSize.js +19 -0
  22. package/lib/components/weekly-report/common-painter/utils.js +85 -0
  23. package/lib/components/weekly-report/img/body.png +0 -0
  24. package/lib/components/weekly-report/img/bofang.png +0 -0
  25. package/lib/components/weekly-report/img/bottom.png +0 -0
  26. package/lib/components/weekly-report/img/close.svg +22 -0
  27. package/lib/components/weekly-report/img/communication.png +0 -0
  28. package/lib/components/weekly-report/img/down.png +0 -0
  29. package/lib/components/weekly-report/img/finish.png +0 -0
  30. package/lib/components/weekly-report/img/laba.png +0 -0
  31. package/lib/components/weekly-report/img/praise.png +0 -0
  32. package/lib/components/weekly-report/img/quote.png +0 -0
  33. package/lib/components/weekly-report/img/title.png +0 -0
  34. package/lib/components/weekly-report/img/triangle-pop.png +0 -0
  35. package/lib/components/weekly-report/img/up.png +0 -0
  36. package/lib/components/weekly-report/index.css +343 -0
  37. package/lib/components/weekly-report/index.js +218 -0
  38. package/lib/components/weekly-report/statistics.js +47 -0
  39. package/lib/index.js +8 -0
  40. package/lib/pages/aha2021/index.css +0 -1
  41. package/lib/pages/new-okr-list/header/filter.js +52 -2
  42. package/lib/pages/new-okr-list/index.js +45 -6
  43. package/lib/utils/helpers.js +8 -1
  44. package/package.json +1 -1
  45. package/src/components/button/text-btn/index.scss +1 -0
  46. package/src/components/button/text-btn/index.tsx +13 -13
  47. package/src/components/button/types.ts +1 -0
  48. package/src/components/common-share/index.scss +199 -0
  49. package/src/components/common-share/index.tsx +95 -0
  50. package/src/components/common-share/publishMblog.tsx +81 -0
  51. package/src/components/common-share/request-apis.js +37 -0
  52. package/src/components/common-share/types.ts +4 -0
  53. package/src/components/follower-visitor/index.scss +9 -4
  54. package/src/components/menus/components/menu-tree/tree-node/index.scss +2 -1
  55. package/src/components/nav-top/components/user-message/index.tsx +6 -1
  56. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +1 -1
  57. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +2 -2
  58. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +2 -2
  59. package/src/components/okr-share/index.tsx +4 -17
  60. package/src/components/select-tags/index.scss +7 -0
  61. package/src/components/select-tags/index.tsx +7 -11
  62. package/src/components/weekly-report/board.tsx +25 -0
  63. package/src/components/weekly-report/card.tsx +150 -0
  64. package/src/components/weekly-report/common-painter/darwAvatar.ts +81 -0
  65. package/src/components/weekly-report/common-painter/drawName.ts +19 -0
  66. package/src/components/weekly-report/common-painter/openDataPainter.ts +47 -0
  67. package/src/components/weekly-report/common-painter/setSize.ts +12 -0
  68. package/src/components/weekly-report/common-painter/utils.ts +83 -0
  69. package/src/components/weekly-report/img/body.png +0 -0
  70. package/src/components/weekly-report/img/bofang.png +0 -0
  71. package/src/components/weekly-report/img/bottom.png +0 -0
  72. package/src/components/weekly-report/img/close.svg +22 -0
  73. package/src/components/weekly-report/img/communication.png +0 -0
  74. package/src/components/weekly-report/img/down.png +0 -0
  75. package/src/components/weekly-report/img/finish.png +0 -0
  76. package/src/components/weekly-report/img/laba.png +0 -0
  77. package/src/components/weekly-report/img/praise.png +0 -0
  78. package/src/components/weekly-report/img/quote.png +0 -0
  79. package/src/components/weekly-report/img/title.png +0 -0
  80. package/src/components/weekly-report/img/triangle-pop.png +0 -0
  81. package/src/components/weekly-report/img/up.png +0 -0
  82. package/src/components/weekly-report/index.scss +309 -0
  83. package/src/components/weekly-report/index.tsx +115 -0
  84. package/src/components/weekly-report/statistics.tsx +28 -0
  85. package/src/index.d.ts +2 -1
  86. package/src/index.js +2 -1
  87. package/src/pages/aha2021/index.scss +0 -1
  88. package/src/pages/new-okr-list/header/filter.tsx +36 -4
  89. package/src/pages/new-okr-list/index.tsx +33 -5
  90. package/src/utils/helpers.ts +4 -1
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = _default;
7
+
8
+ var _openData = require("&/components/common/openData");
9
+
10
+ var _helper = require("&/components/helper");
11
+
12
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
13
+
14
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
15
+
16
+ function _default(_x, _x2, _x3) {
17
+ return _ref.apply(this, arguments);
18
+ }
19
+
20
+ function _ref() {
21
+ _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, openDataParams, lineHeight) {
22
+ var maxWidth,
23
+ name,
24
+ _ctx$measureText,
25
+ width,
26
+ actualWidth,
27
+ _args = arguments;
28
+
29
+ return regeneratorRuntime.wrap(function _callee$(_context) {
30
+ while (1) {
31
+ switch (_context.prev = _context.next) {
32
+ case 0:
33
+ maxWidth = _args.length > 3 && _args[3] !== undefined ? _args[3] : Infinity;
34
+ name = openDataParams.name;
35
+
36
+ if (!(0, _helper.isWx)()) {
37
+ _context.next = 6;
38
+ break;
39
+ }
40
+
41
+ _context.next = 5;
42
+ return getOpenData(openDataParams);
43
+
44
+ case 5:
45
+ name = _context.sent;
46
+
47
+ case 6:
48
+ _ctx$measureText = ctx.measureText(name), width = _ctx$measureText.width;
49
+ actualWidth = Math.min(width, maxWidth);
50
+ return _context.abrupt("return", {
51
+ width: actualWidth,
52
+ height: lineHeight,
53
+ draw: function draw(ctx, x, y) {
54
+ ctx.save();
55
+ ctx.textBaseline = 'middle';
56
+ ctx.beginPath();
57
+ ctx.rect(x, y, actualWidth, lineHeight);
58
+ ctx.clip();
59
+ ctx.fillText(name, x, y + lineHeight / 2);
60
+ ctx.closePath();
61
+ ctx.restore();
62
+ }
63
+ });
64
+
65
+ case 9:
66
+ case "end":
67
+ return _context.stop();
68
+ }
69
+ }
70
+ }, _callee);
71
+ }));
72
+ return _ref.apply(this, arguments);
73
+ }
74
+
75
+ var getOpenData = function getOpenData(_ref2) {
76
+ var id = _ref2.id,
77
+ name = _ref2.name,
78
+ type = _ref2.type;
79
+ var openId = (0, _openData.getOpenId)(id, type);
80
+ if (!window['WWOpenData'] || !openId) return Promise.resolve(name);
81
+ return new Promise(function (resolve, reject) {
82
+ window['WWOpenData'].prefetch({
83
+ items: [{
84
+ id: openId,
85
+ type: type
86
+ }]
87
+ }, function (err, data) {
88
+ if (err) {
89
+ return reject(err);
90
+ }
91
+
92
+ resolve(data.items[0].data);
93
+ });
94
+ });
95
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = _default;
7
+
8
+ function _default(canvas, ctx, width, height) {
9
+ var devicePixelRatio = window.devicePixelRatio || 1;
10
+ var data = ctx.getImageData(0, 0, canvas.width, canvas.height); //要将 canvas 的宽高设置成容器宽高的 2 倍
11
+
12
+ canvas.width = width * devicePixelRatio;
13
+ canvas.height = height * devicePixelRatio;
14
+ canvas.style.width = width + 'px';
15
+ canvas.style.height = height + 'px'; //然后将画布缩放,将图像放大两倍画到画布上
16
+
17
+ ctx.scale(devicePixelRatio, devicePixelRatio);
18
+ ctx.putImageData(data, 0, 0);
19
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.breakLinesForCanvas = breakLinesForCanvas;
7
+ exports.drawImage = drawImage;
8
+ exports.drawTextMiddle = drawTextMiddle;
9
+
10
+ function drawImage(ctx, url, x, y, width, height) {
11
+ return new Promise(function (res) {
12
+ var img = new Image();
13
+ img.src = url;
14
+
15
+ img.onload = function () {
16
+ ctx.drawImage(img, x, y, width, height);
17
+ res();
18
+ };
19
+ });
20
+ }
21
+
22
+ function drawTextMiddle(ctx, text, x, y, lineHeight, maxWidth, textAlign) {
23
+ ctx.textBaseline = 'middle';
24
+
25
+ if (!maxWidth) {
26
+ ctx.fillText(text, x, y + lineHeight / 2);
27
+ return y + lineHeight;
28
+ }
29
+
30
+ var lines = breakLinesForCanvas(ctx, text, maxWidth);
31
+ lines.forEach(function (l) {
32
+ var _ctx$measureText = ctx.measureText(l),
33
+ width = _ctx$measureText.width;
34
+
35
+ var left = x;
36
+
37
+ if (textAlign == 'center' && maxWidth) {
38
+ console.log(maxWidth, width);
39
+ left = (maxWidth - width) / 2 + x;
40
+ }
41
+
42
+ ctx.fillText(l, left, y + lineHeight / 2);
43
+ y = y + lineHeight;
44
+ });
45
+ return y;
46
+ }
47
+
48
+ function findBreakPoint(text, width, context) {
49
+ var min = 0;
50
+ var max = text.length - 1;
51
+
52
+ while (min <= max) {
53
+ var middle = Math.floor((min + max) / 2);
54
+ var middleWidth = context.measureText(text.substr(0, middle)).width;
55
+ var oneCharWiderThanMiddleWidth = context.measureText(text.substr(0, middle + 1)).width;
56
+
57
+ if (middleWidth <= width && oneCharWiderThanMiddleWidth > width) {
58
+ return middle;
59
+ }
60
+
61
+ if (middleWidth < width) {
62
+ min = middle + 1;
63
+ } else {
64
+ max = middle - 1;
65
+ }
66
+ }
67
+
68
+ return -1;
69
+ }
70
+
71
+ function breakLinesForCanvas(ctx, text, width) {
72
+ var result = [];
73
+ var breakPoint = 0;
74
+
75
+ while ((breakPoint = findBreakPoint(text, width, ctx)) !== -1) {
76
+ result.push(text.substr(0, breakPoint));
77
+ text = text.substr(breakPoint);
78
+ }
79
+
80
+ if (text) {
81
+ result.push(text);
82
+ }
83
+
84
+ return result;
85
+ }
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>编组 31</title>
4
+ <defs>
5
+ <filter id="filter-1">
6
+ <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"></feColorMatrix>
7
+ </filter>
8
+ </defs>
9
+ <g id="每周推送" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10
+ <g id="暂定-员工视角" transform="translate(-871.000000, -106.000000)">
11
+ <g id="编组-31" transform="translate(871.000000, 106.000000)">
12
+ <circle id="椭圆形" fill-opacity="0.2" fill="#141C28" cx="16" cy="16" r="16"></circle>
13
+ <g id="canceled" transform="translate(7.000000, 7.000000)" filter="url(#filter-1)">
14
+ <g>
15
+ <rect id="矩形" x="0" y="0" width="18" height="18"></rect>
16
+ <path d="M4.20533009,3.14466991 L8.978,7.917 L13.7512716,3.14466991 C14.0175382,2.87840335 14.4342019,2.8541973 14.7278134,3.07205176 L14.8119318,3.14466991 C15.104825,3.43756313 15.104825,3.91243687 14.8119318,4.20533009 L14.8119318,4.20533009 L10.038,8.978 L14.8119318,13.7512716 C15.104825,14.0441649 15.104825,14.5190386 14.8119318,14.8119318 C14.5190386,15.104825 14.0441649,15.104825 13.7512716,14.8119318 L8.978,10.038 L4.20533009,14.8119318 C3.93906352,15.0781984 3.52239984,15.1024044 3.22878835,14.88455 L3.14466991,14.8119318 C2.8517767,14.5190386 2.8517767,14.0441649 3.14466991,13.7512716 L3.14466991,13.7512716 L7.917,8.978 L3.14466991,4.20533009 C2.8517767,3.91243687 2.8517767,3.43756313 3.14466991,3.14466991 C3.43756313,2.8517767 3.91243687,2.8517767 4.20533009,3.14466991 Z" id="形状结合" fill="#444444"></path>
17
+ </g>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </svg>
@@ -0,0 +1,343 @@
1
+ .weekly-report-card__dialog .rc-dialog-content {
2
+ background-color: transparent;
3
+ }
4
+
5
+ .weekly-report-card-wrapper {
6
+ overflow: hidden;
7
+ width: 336px;
8
+ height: 548px;
9
+ border-radius: 24px;
10
+ }
11
+
12
+ .weekly-report-card-wrapper .weekly-report-card-content {
13
+ position: relative;
14
+ top: -66px;
15
+ left: -20px;
16
+ transform: scale(0.9);
17
+ }
18
+
19
+ .weekly-report-card__close {
20
+ position: absolute;
21
+ right: -42px;
22
+ top: 0;
23
+ width: 32px;
24
+ height: 32px;
25
+ background-image: url("./img/close.svg");
26
+ cursor: pointer;
27
+ }
28
+
29
+ .weekly-report-card-content {
30
+ display: flex;
31
+ flex-direction: column;
32
+ align-items: center;
33
+ width: 375px;
34
+ height: 710px;
35
+ background: linear-gradient(180deg, #B7D5FF 0%, #186FFF 100%);
36
+ }
37
+
38
+ .weekly-report-card__title {
39
+ width: 220px;
40
+ height: 40px;
41
+ margin-top: 48px;
42
+ }
43
+
44
+ .weekly-report-card__date-range {
45
+ font-size: 14px;
46
+ font-weight: 400;
47
+ color: #FFFFFF;
48
+ line-height: 20px;
49
+ margin-top: 11px;
50
+ }
51
+
52
+ .weekly-report-card__body {
53
+ position: relative;
54
+ display: flex;
55
+ flex-direction: column;
56
+ align-items: center;
57
+ width: 335px;
58
+ height: 452px;
59
+ background: transparent;
60
+ padding-top: 55px;
61
+ border-radius: 12px;
62
+ background-image: url("./img/body.png");
63
+ background-size: 100% 100%;
64
+ background-position-y: -1px;
65
+ }
66
+
67
+ .weekly-report-card__avatar {
68
+ position: absolute;
69
+ left: 129px;
70
+ top: 17px;
71
+ border: 3px solid #fff;
72
+ border-radius: 50%;
73
+ }
74
+
75
+ .weekly-report-card__avatar > img {
76
+ width: 72px;
77
+ height: 72px;
78
+ }
79
+
80
+ .weekly-report-card__shadow {
81
+ position: absolute;
82
+ box-shadow: 0px 0px 18px 0px rgba(40, 121, 255, 0.4);
83
+ width: 78px;
84
+ height: 78px;
85
+ border-radius: 50%;
86
+ top: 135px;
87
+ left: 150px;
88
+ }
89
+
90
+ .weekly-report-card__userName {
91
+ width: 295px;
92
+ height: 24px;
93
+ margin-top: 46px;
94
+ }
95
+
96
+ .weekly-report-card__text {
97
+ position: relative;
98
+ z-index: 1;
99
+ font-size: 18px;
100
+ font-weight: 500;
101
+ color: #2879FF;
102
+ line-height: 26px;
103
+ margin: 28px 0;
104
+ max-width: 279px;
105
+ text-align: center;
106
+ }
107
+
108
+ .weekly-report-card__quote {
109
+ position: absolute;
110
+ top: 142px;
111
+ left: 20px;
112
+ width: 22px;
113
+ height: 22px;
114
+ }
115
+
116
+ .weekly-report-card-board {
117
+ width: 154px;
118
+ height: 77px;
119
+ overflow: hidden;
120
+ position: relative;
121
+ }
122
+
123
+ .weekly-report-card-board__done {
124
+ position: absolute;
125
+ width: 154px;
126
+ height: 154px;
127
+ border-radius: 50%;
128
+ background: linear-gradient(360deg, #2879FF 0%, #5B8FF9 50%);
129
+ overflow: hidden;
130
+ }
131
+
132
+ .weekly-report-card-board__undone {
133
+ position: absolute;
134
+ width: 154px;
135
+ height: 77px;
136
+ background-color: #eaf1fe;
137
+ transform-origin: center bottom;
138
+ transform: rotate(90deg);
139
+ }
140
+
141
+ .weekly-report-card-board__space {
142
+ position: absolute;
143
+ width: 2px;
144
+ height: 77px;
145
+ bottom: 50%;
146
+ right: 50%;
147
+ transform-origin: center bottom;
148
+ background-color: #FFF;
149
+ }
150
+
151
+ .weekly-report-card-board__center {
152
+ display: flex;
153
+ align-items: flex-start;
154
+ justify-content: center;
155
+ position: absolute;
156
+ bottom: -47px;
157
+ left: 30px;
158
+ width: 94px;
159
+ height: 94px;
160
+ background: #FFF;
161
+ border-radius: 50%;
162
+ font-size: 24px;
163
+ font-weight: 600;
164
+ color: #141C28;
165
+ line-height: 24px;
166
+ }
167
+
168
+ .weekly-report-card-board__center > div {
169
+ display: flex;
170
+ align-items: flex-end;
171
+ justify-content: center;
172
+ width: 100%;
173
+ height: 47px;
174
+ }
175
+
176
+ .weekly-report-card-board__num {
177
+ position: absolute;
178
+ bottom: 0;
179
+ }
180
+
181
+ .weekly-report-card__comparison {
182
+ display: flex;
183
+ align-items: center;
184
+ margin-top: 6px;
185
+ font-size: 12px;
186
+ font-weight: 400;
187
+ color: #6F7886;
188
+ line-height: 18px;
189
+ }
190
+
191
+ .weekly-report-card__direction {
192
+ width: 13px;
193
+ height: 13px;
194
+ margin: 0 2px;
195
+ }
196
+
197
+ .weekly-report-card__colleague {
198
+ box-sizing: border-box;
199
+ display: flex;
200
+ align-items: center;
201
+ justify-content: center;
202
+ width: 275px;
203
+ height: 39px;
204
+ padding-top: 7px;
205
+ background-image: url("./img/triangle-pop.png");
206
+ background-size: 100% 100%;
207
+ font-size: 14px;
208
+ font-weight: 400;
209
+ color: #3F4755;
210
+ line-height: 24px;
211
+ margin-top: 6px;
212
+ }
213
+
214
+ .weekly-report-card__colleague > span {
215
+ color: #2879FF;
216
+ margin: 0 5px;
217
+ }
218
+
219
+ .weekly-report-card__statistics {
220
+ width: 100%;
221
+ padding: 0 20px;
222
+ box-sizing: border-box;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: space-between;
226
+ margin-top: 29px;
227
+ }
228
+
229
+ .weekly-report-card__statistics__item {
230
+ position: relative;
231
+ display: flex;
232
+ flex-direction: column;
233
+ align-items: center;
234
+ padding: 7px 12px 0;
235
+ background-position: 0 20px;
236
+ background-size: 36px 36px;
237
+ background-repeat: no-repeat;
238
+ }
239
+
240
+ .weekly-report-card__statistics__finish {
241
+ background-image: url("./img/finish.png");
242
+ }
243
+
244
+ .weekly-report-card__statistics__praise {
245
+ background-image: url("./img/praise.png");
246
+ }
247
+
248
+ .weekly-report-card__statistics__communication {
249
+ background-image: url("./img/communication.png");
250
+ }
251
+
252
+ .weekly-report-card__statistics__num {
253
+ font-size: 22px;
254
+ font-weight: 600;
255
+ color: #141C28;
256
+ line-height: 30px;
257
+ }
258
+
259
+ .weekly-report-card__statistics__text {
260
+ font-size: 13px;
261
+ font-weight: 400;
262
+ color: #6F7886;
263
+ line-height: 22px;
264
+ }
265
+
266
+ .weekly-report-card__statistics__tips {
267
+ position: absolute;
268
+ top: 0;
269
+ right: 0;
270
+ padding: 0 4px;
271
+ height: 17px;
272
+ background: linear-gradient(180deg, #F99797 0%, #F05E5E 100%);
273
+ border-radius: 9px 9px 9px 1px;
274
+ font-size: 11px;
275
+ color: #FFFFFF;
276
+ line-height: 17px;
277
+ text-align: center;
278
+ }
279
+
280
+ .weekly-report-card__laba {
281
+ position: absolute;
282
+ left: 0;
283
+ top: 118px;
284
+ width: 94px;
285
+ height: 65px;
286
+ }
287
+
288
+ .weekly-report-card__bofang {
289
+ position: absolute;
290
+ right: 0;
291
+ top: 130px;
292
+ width: 62px;
293
+ height: 66px;
294
+ z-index: 1;
295
+ }
296
+
297
+ .weekly-report-card__bottom {
298
+ width: 320px;
299
+ height: 60px;
300
+ margin-top: 15px;
301
+ }
302
+
303
+ .weekly-report-card__button-container {
304
+ display: flex;
305
+ margin-top: 20px;
306
+ justify-content: center;
307
+ }
308
+
309
+ .weekly-report-card__download {
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: center;
313
+ width: 120px;
314
+ height: 36px;
315
+ margin-right: 12px;
316
+ border-radius: 18px;
317
+ border: 1px solid #FFFFFF;
318
+ background-color: transparent;
319
+ font-size: 14px;
320
+ color: #FFF;
321
+ }
322
+
323
+ .weekly-report-card__download:hover {
324
+ background-color: transparent;
325
+ }
326
+
327
+ .weekly-report-card__share {
328
+ display: flex;
329
+ align-items: center;
330
+ justify-content: center;
331
+ width: 120px;
332
+ height: 36px;
333
+ border-radius: 18px;
334
+ border: 1px solid #FFFFFF;
335
+ background: linear-gradient(360deg, #2879FF 0%, #5B8FF9 100%);
336
+ font-size: 14px;
337
+ color: #FFF;
338
+ border: none;
339
+ }
340
+
341
+ .weekly-report-card__share:hover {
342
+ background: linear-gradient(360deg, #2879FF 0%, #5B8FF9 100%);
343
+ }