@titaui/pc 1.10.19 → 1.10.21-bete.2

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 (33) hide show
  1. package/lib/components/communication/index.css +4 -5
  2. package/lib/components/communication/style.js +1 -1
  3. package/lib/components/dynamic/components/first-level-tabs/index.css +6 -10
  4. package/lib/components/dynamic/components/first-level-tabs/index.js +2 -2
  5. package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/dynamic-share-course.png +0 -0
  6. package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/jiantou-right@3x.png +0 -0
  7. package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/user-photo.png +0 -0
  8. package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.css +0 -0
  9. package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.js +5 -4
  10. package/lib/components/dynamic/dynamic-item/dynamic-reply/index.css +11 -16
  11. package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +1 -1
  12. package/lib/components/dynamic/dynamic-item/index.css +56 -1
  13. package/lib/components/dynamic/dynamic-item/index.js +3 -3
  14. package/lib/components/dynamic/img/dynamic-redenvelopes-hover.svg +1 -0
  15. package/lib/components/dynamic/img/dynamic-redenvelopes-normal.svg +1 -0
  16. package/lib/components/nav-top/components/menu/index.css +12 -8
  17. package/lib/components/nav-top/components/menu/index.js +4 -4
  18. package/lib/components/superset-charts/components/index.js +2 -1
  19. package/lib/components/video-modal/components/video-box/index.css +240 -0
  20. package/lib/components/video-modal/components/video-box/index.js +334 -0
  21. package/lib/components/video-modal/img/bigFaqi.png +0 -0
  22. package/lib/components/video-modal/img/close.png +0 -0
  23. package/lib/components/video-modal/img/full.svg +21 -0
  24. package/lib/components/video-modal/img/muted.svg +14 -0
  25. package/lib/components/video-modal/img/not-muted.svg +22 -0
  26. package/lib/components/video-modal/img/pause.svg +13 -0
  27. package/lib/components/video-modal/img/play.svg +18 -0
  28. package/lib/components/video-modal/img/small.svg +22 -0
  29. package/lib/components/video-modal/index.css +82 -0
  30. package/lib/components/video-modal/index.js +182 -0
  31. package/lib/components/video-modal/utils.js +25 -0
  32. package/lib/index.js +8 -0
  33. package/package.json +1 -1
@@ -28,7 +28,7 @@
28
28
  .titaui-communication__communication-content__user-link {
29
29
  font-size: 14px;
30
30
  font-weight: 600;
31
- color: #3F4755;
31
+ color: #3f4755;
32
32
  line-height: 22px;
33
33
  }
34
34
 
@@ -47,7 +47,7 @@
47
47
  .titaui-communication__communication-time {
48
48
  font-size: 12px;
49
49
  font-weight: 400;
50
- color: #89919F;
50
+ color: #89919f;
51
51
  line-height: 18px;
52
52
  margin-left: 12px;
53
53
  }
@@ -73,7 +73,6 @@
73
73
 
74
74
  .titaui-communication__communication-total-icon {
75
75
  margin-left: 4px;
76
- margin-top: -2px;
77
76
  }
78
77
 
79
78
  .titaui-communication__reply-container-text {
@@ -93,13 +92,13 @@
93
92
  flex: 1;
94
93
  cursor: text;
95
94
  font-size: 12px;
96
- color: #BFC7D5;
95
+ color: #bfc7d5;
97
96
  line-height: 22px;
98
97
  margin-left: 12px;
99
98
  height: 32px;
100
99
  border-radius: 16px;
101
100
  border-radius: 16px;
102
- border: 1px solid #E9ECF0;
101
+ border: 1px solid #e9ecf0;
103
102
  display: flex;
104
103
  align-items: center;
105
104
  box-sizing: border-box;
@@ -19,7 +19,7 @@ var CommunicationWrapper = _styledComponents["default"].div(_templateObject || (
19
19
 
20
20
  exports.CommunicationWrapper = CommunicationWrapper;
21
21
 
22
- var CommunicationRecordTotal = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 22px;\n color: #8f9ca6;\n display: inline-block;\n cursor: pointer;\n\n &:hover {\n color: #2879ff;\n }\n"])));
22
+ var CommunicationRecordTotal = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-bottom: 8px;\n font-size: 12px;\n line-height: 22px;\n color: #8f9ca6;\n display: inline-block;\n cursor: pointer;\n\n &:hover {\n color: #2879ff;\n }\n"])));
23
23
 
24
24
  exports.CommunicationRecordTotal = CommunicationRecordTotal;
25
25
 
@@ -37,18 +37,14 @@
37
37
  border-radius: 2px;
38
38
  }
39
39
 
40
- .titaui-dynamic-first-level-tabs__tab--showNumber {
40
+ .titaui-dynamic-first-level-tabs__tab--point {
41
41
  position: absolute;
42
- right: -12px;
43
- top: 25%;
42
+ width: 8px;
43
+ height: 8px;
44
44
  background: #f05e5e;
45
- box-shadow: 0px 2px 4px 0px rgba(240, 94, 94, 0.4), inset 0px 0px 2px 1px rgba(255, 255, 255, 0.5);
46
- border-radius: 8px;
47
- height: 16px;
48
- font-size: 12px;
49
- color: #ffffff;
50
- line-height: 18px;
51
- padding: 0 4px;
45
+ border-radius: 50%;
46
+ right: -2px;
47
+ top: 22px;
52
48
  }
53
49
 
54
50
  .titaui-dynamic-first-level-tabs__hide-first-level-tabs {
@@ -120,8 +120,8 @@ var FirstLevelTabs = function FirstLevelTabs(_ref) {
120
120
  }
121
121
  }
122
122
  }, item.MenuName, item.CodeId === 1001 && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("span", {
123
- className: "".concat(prefix, "__tab--showNumber")
124
- }, feedNum < 100 ? feedNum : "99+"));
123
+ className: "".concat(prefix, "__tab--point")
124
+ }));
125
125
  })), /*#__PURE__*/_react["default"].createElement("span", {
126
126
  className: "".concat(prefix, "__fold-tab")
127
127
  }, renderFoldFirstLevelTab));
@@ -56,7 +56,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
56
56
  var prefix = "titaui-dynamic-share-to-dynamic";
57
57
  var userId = (0, _bsGlobal.getUserInfo)().Id;
58
58
 
59
- var DynamicShare = function DynamicShare(_ref) {
59
+ var DynamicLearning = function DynamicLearning(_ref) {
60
60
  var data = _ref.data,
61
61
  _ref$hasDynamicOperea = _ref.hasDynamicOpereateAuth,
62
62
  hasDynamicOpereateAuth = _ref$hasDynamicOperea === void 0 ? false : _ref$hasDynamicOperea,
@@ -103,8 +103,9 @@ var DynamicShare = function DynamicShare(_ref) {
103
103
  }, [data, searchKeyWord]);
104
104
  (0, _react.useEffect)(function () {
105
105
  if (data.shareContent && typeof data.shareContent === "string" && data.shareContent.substr(0, 1) === "{") {
106
- setTitle(JSON.parse(data.shareContent).title);
107
- setContent(htmlToText(JSON.parse(data.shareContent).content));
106
+ var shareContent = JSON.parse(data.shareContent);
107
+ setTitle(shareContent.title);
108
+ setContent(htmlToText(shareContent.content));
108
109
  }
109
110
  }, []);
110
111
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -139,5 +140,5 @@ var DynamicShare = function DynamicShare(_ref) {
139
140
  }, content))));
140
141
  };
141
142
 
142
- var _default = DynamicShare;
143
+ var _default = DynamicLearning;
143
144
  exports["default"] = _default;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .titaui-dynamic-reply-item__detail {
15
- margin-top: 14px;
15
+ margin-top: 12px;
16
16
  }
17
17
 
18
18
  .titaui-dynamic-reply-item__detail-gain {
@@ -27,21 +27,25 @@
27
27
  margin-bottom: 0;
28
28
  }
29
29
 
30
+ .titaui-dynamic-reply-item__detail-tasks {
31
+ margin-top: 16px;
32
+ }
33
+
30
34
  .titaui-dynamic-reply-item__detail-tasks-item {
31
35
  display: flex;
32
36
  align-items: center;
33
- margin-left: 8px;
34
37
  font-size: 14px;
35
38
  color: #6f7886;
36
39
  line-height: 22px;
40
+ margin-top: 8px;
37
41
  cursor: pointer;
38
42
  }
39
43
 
40
44
  .titaui-dynamic-reply-item__detail-tasks-item::before {
41
45
  content: '';
42
46
  display: inline-block;
43
- width: 6px;
44
- height: 6px;
47
+ width: 5px;
48
+ height: 5px;
45
49
  background: #2879ff;
46
50
  border-radius: 50%;
47
51
  margin-right: 6px;
@@ -69,18 +73,9 @@
69
73
  font-weight: 600;
70
74
  color: #3f4755;
71
75
  line-height: 22px;
72
- margin-left: 8px;
73
76
  white-space: pre-wrap;
74
- }
75
-
76
- .titaui-dynamic-reply-item__detail-block-title--sub::before {
77
- content: '';
78
- display: inline-block;
79
- width: 6px;
80
- height: 6px;
81
- background: #2879ff;
82
- border-radius: 50%;
83
- margin-right: 6px;
77
+ margin-left: 12px;
78
+ margin-top: 16px;
84
79
  }
85
80
 
86
81
  .titaui-dynamic-reply-item__detail-block-content {
@@ -97,7 +92,7 @@
97
92
  }
98
93
 
99
94
  .titaui-dynamic-reply-item__detail-block-content--sub {
100
- margin-left: 20px;
95
+ margin-left: 12px;
101
96
  }
102
97
 
103
98
  .titaui-dynamic-reply-item__object-name {
@@ -163,7 +163,7 @@ var DynamicReply = function DynamicReply(_ref) {
163
163
  className: "".concat(prefix, "__detail-tasks")
164
164
  }, /*#__PURE__*/_react["default"].createElement("div", {
165
165
  className: "".concat(prefix, "__detail-block-title")
166
- }, "\u884C\u52A8\u8BA1\u5212"), data.tasks && data.tasks.map(function (task) {
166
+ }, "\u6539\u8FDB\u8BA1\u5212"), data.tasks && data.tasks.map(function (task) {
167
167
  return /*#__PURE__*/_react["default"].createElement("div", {
168
168
  key: task.taskId,
169
169
  className: "".concat(prefix, "__detail-tasks-item"),
@@ -44,7 +44,7 @@
44
44
  align-items: center;
45
45
  color: #89919f;
46
46
  position: relative;
47
- border-bottom: 1px solid #F0F4FA;
47
+ border-bottom: 1px solid #f0f4fa;
48
48
  }
49
49
 
50
50
  .titaui-dynamic-item__footer-left {
@@ -98,6 +98,23 @@
98
98
  color: #2879ff;
99
99
  }
100
100
 
101
+ .titaui-dynamic-item__footer-icon-redenvelopes::before {
102
+ content: '';
103
+ display: inline-block;
104
+ background: url("../img/dynamic-redenvelopes-normal.svg") no-repeat;
105
+ background-size: 20px 20px;
106
+ width: 20px;
107
+ height: 20px;
108
+ }
109
+
110
+ .titaui-dynamic-item__footer-icon-redenvelopes:hover {
111
+ animation: redenvelopesRubberBand 1s;
112
+ }
113
+
114
+ .titaui-dynamic-item__footer-icon-redenvelopes:hover::before {
115
+ background: url("../img/dynamic-redenvelopes-hover.svg") no-repeat;
116
+ }
117
+
101
118
  .titaui-dynamic-item__footer-number {
102
119
  margin-left: 8px;
103
120
  font-size: 14px;
@@ -122,8 +139,46 @@
122
139
  .titaui-dynamic-item__upvote-btn {
123
140
  color: #a4acb9;
124
141
  font-size: 20px;
142
+ width: 20px !important;
125
143
  }
126
144
 
127
145
  .titaui-dynamic-item__upvote-btn:hover {
128
146
  color: #2879ff;
129
147
  }
148
+
149
+ @keyframes redenvelopesRubberBand {
150
+ 0% {
151
+ -webkit-transform: scaleX(1);
152
+ transform: scaleX(1);
153
+ }
154
+
155
+ 30% {
156
+ -webkit-transform: scale3d(1.25, 0.75, 1);
157
+ transform: scale3d(1.25, 0.75, 1);
158
+ }
159
+
160
+ 40% {
161
+ -webkit-transform: scale3d(0.75, 1.25, 1);
162
+ transform: scale3d(0.75, 1.25, 1);
163
+ }
164
+
165
+ 50% {
166
+ -webkit-transform: scale3d(1.15, 0.85, 1);
167
+ transform: scale3d(1.15, 0.85, 1);
168
+ }
169
+
170
+ 65% {
171
+ -webkit-transform: scale3d(0.95, 1.05, 1);
172
+ transform: scale3d(0.95, 1.05, 1);
173
+ }
174
+
175
+ 75% {
176
+ -webkit-transform: scale3d(1.05, 0.95, 1);
177
+ transform: scale3d(1.05, 0.95, 1);
178
+ }
179
+
180
+ to {
181
+ -webkit-transform: scaleX(1);
182
+ transform: scaleX(1);
183
+ }
184
+ }
@@ -49,7 +49,7 @@ var _dynamicReward = _interopRequireDefault(require("./dynamic-reward"));
49
49
 
50
50
  var _dynamicMilestone = _interopRequireDefault(require("./dynamic-milestone"));
51
51
 
52
- var _dynamicShareToDynamic = _interopRequireDefault(require("./dynamic-share-to-dynamic"));
52
+ var _dynamicLearning = _interopRequireDefault(require("./dynamic-learning"));
53
53
 
54
54
  var _bsGlobal = require("../../../utils/bs-global");
55
55
 
@@ -263,7 +263,7 @@ var DynamicItem = function DynamicItem(_ref) {
263
263
  // }
264
264
 
265
265
 
266
- return /*#__PURE__*/_react["default"].createElement(_dynamicShareToDynamic["default"], {
266
+ return /*#__PURE__*/_react["default"].createElement(_dynamicLearning["default"], {
267
267
  data: data
268
268
  });
269
269
 
@@ -385,7 +385,7 @@ var DynamicItem = function DynamicItem(_ref) {
385
385
  className: (0, _classnames["default"])("tu-icon-arrow-down", "".concat(prefix, "__icon"), "".concat(prefix, "__icon-up"))
386
386
  }))), /*#__PURE__*/_react["default"].createElement("span", {
387
387
  onClick: handlePayReward,
388
- className: (0, _classnames["default"])("tu-icon-red-envelopes", "".concat(prefix, "__footer-icon"))
388
+ className: (0, _classnames["default"])("".concat(prefix, "__footer-icon"), "".concat(prefix, "__footer-icon-redenvelopes"))
389
389
  }), /*#__PURE__*/_react["default"].createElement("span", {
390
390
  onClick: handleCommentClick,
391
391
  className: (0, _classnames["default"])("tu-icon-pinglun-m", "".concat(prefix, "__footer-icon"))
@@ -0,0 +1 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="74.137%" y1="76.285%" x2="7.656%" y2=".727%" id="a"><stop stop-color="#F05E5E" offset="0%"/><stop stop-color="#FFA5A5" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M16.905 4.805c0 .004.003.01.005.014.67 1.56 1.007 3.286 1.007 5.181s-.336 3.622-1.008 5.18v.001a3.5 3.5 0 0 1-1.814 1.823c-1.394.609-3.093.913-5.095.913s-3.7-.304-5.095-.912A3.5 3.5 0 0 1 3.09 15.18c-.67-1.56-1.007-3.286-1.007-5.181 0-1.75.287-3.355.86-4.818l.147-.363.006-.013c.356.213.797.408 1.306.58 1.433.482 3.412.78 5.598.78s4.165-.298 5.598-.78c.51-.172.95-.367 1.307-.58zm-8.143 4.63a.65.65 0 0 0-.895-.121.524.524 0 0 0-.098.735l1.08 1.413h-.646a.47.47 0 1 0 0 .94h1.176v.728H8.082a.595.595 0 0 0 0 1.19h1.297v.532a.648.648 0 1 0 1.296 0v-.532h1.313a.595.595 0 0 0 0-1.19h-1.313v-.728h1.192a.47.47 0 0 0 0-.94h-.641l.958-1.387a.555.555 0 0 0-.172-.79.638.638 0 0 0-.849.179l-1.123 1.594zM10 2.083c2.002 0 3.7.304 5.095.912a3.5 3.5 0 0 1 1.26.933c-.32.216-.88.412-1.64.574-1.244.264-2.922.415-4.715.415-1.793 0-3.471-.151-4.714-.415-.76-.162-1.32-.358-1.642-.573.342-.4.772-.72 1.26-.933v-.001c1.296-.564 2.853-.867 4.672-.907L10 2.083z" fill="url(#a)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M16.905 4.805c0 .004.003.01.005.014.67 1.56 1.007 3.286 1.007 5.181s-.336 3.622-1.008 5.18v.001a3.5 3.5 0 0 1-1.814 1.823c-1.394.609-3.093.913-5.095.913s-3.7-.304-5.095-.912A3.5 3.5 0 0 1 3.09 15.18c-.67-1.56-1.007-3.286-1.007-5.181 0-1.75.287-3.355.86-4.818l.147-.363.006-.013c.356.213.797.408 1.306.58 1.433.482 3.412.78 5.598.78s4.165-.298 5.598-.78c.51-.172.95-.367 1.307-.58zm-8.143 4.63a.65.65 0 0 0-.895-.121.524.524 0 0 0-.098.735l1.08 1.413h-.646a.47.47 0 1 0 0 .94h1.176v.728H8.082a.595.595 0 0 0 0 1.19h1.297v.532a.648.648 0 1 0 1.296 0v-.532h1.313a.595.595 0 0 0 0-1.19h-1.313v-.728h1.192a.47.47 0 0 0 0-.94h-.641l.958-1.387a.555.555 0 0 0-.172-.79.638.638 0 0 0-.849.179l-1.123 1.594zM10 2.083c2.002 0 3.7.304 5.095.912a3.5 3.5 0 0 1 1.26.933c-.32.216-.88.412-1.64.574-1.244.264-2.922.415-4.715.415-1.793 0-3.471-.151-4.714-.415-.76-.162-1.32-.358-1.642-.573.342-.4.772-.72 1.26-.933v-.001c1.296-.564 2.853-.867 4.672-.907L10 2.083z" fill="#A4ACB9"/></g></svg>
@@ -39,16 +39,20 @@
39
39
  transform: translate(-50%, 0);
40
40
  }
41
41
 
42
- .titaui-nav-top-menu__menu--hasPoint::before {
43
- content: '';
42
+ .titaui-nav-top-menu__menu--hasNum {
43
+ display: flex;
44
+ align-items: center;
44
45
  position: absolute;
45
- width: 6px;
46
- height: 6px;
46
+ right: 4px;
47
+ top: 6px;
47
48
  background: #f05e5e;
48
- border: 2px solid #2879ff;
49
- border-radius: 50%;
50
- right: 12px;
51
- top: 10px;
49
+ box-shadow: 0px 2px 4px 0px rgba(240, 94, 94, 0.6), inset 0px 0px 2px 1px rgba(255, 255, 255, 0.4);
50
+ border-radius: 8px;
51
+ height: 16px;
52
+ font-size: 12px;
53
+ color: #ffffff;
54
+ line-height: 18px;
55
+ padding: 0 4px;
52
56
  }
53
57
 
54
58
  .titaui-nav-top-menu__hide-menus {
@@ -89,20 +89,20 @@ var Menu = function Menu(_ref) {
89
89
  };
90
90
 
91
91
  var renderRawItem = function renderRawItem(menu) {
92
- var _classNames;
93
-
94
92
  return /*#__PURE__*/_react["default"].createElement(_rcOverflow["default"].Item, {
95
93
  component: "span"
96
94
  }, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
97
95
  condition: menu.title !== "Learning"
98
96
  }, /*#__PURE__*/_react["default"].createElement("a", {
99
- className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id), _defineProperty(_classNames, "".concat(prefix, "__menu--hasPoint"), menu.href === "#dynamic" && feedNum > 0), _classNames)),
97
+ className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
100
98
  href: "".concat(menu.href),
101
99
  target: "_self",
102
100
  onClick: function onClick() {
103
101
  return handleTracker(menu);
104
102
  }
105
- }, menu.title)), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
103
+ }, menu.title, menu.href === "#dynamic" && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("div", {
104
+ className: "".concat(prefix, "__menu--hasNum")
105
+ }, feedNum > 100 ? "99+" : feedNum))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
106
106
  condition: menu.title === "Learning"
107
107
  }, /*#__PURE__*/_react["default"].createElement("span", {
108
108
  className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
@@ -55,7 +55,8 @@ var Chart = function Chart(_ref) {
55
55
  return /*#__PURE__*/_react["default"].createElement("div", null, Chart && !loading && chartId && /*#__PURE__*/_react["default"].createElement(Chart, {
56
56
  id: chartId,
57
57
  height: height,
58
- width: width
58
+ width: width,
59
+ layout: "feed-card"
59
60
  }));
60
61
  };
61
62
 
@@ -0,0 +1,240 @@
1
+ .titaui-pc-video-box__box {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: relative;
5
+ border-bottom-right-radius: 24px;
6
+ border-bottom-left-radius: 24px;
7
+ overflow: hidden;
8
+ cursor: pointer;
9
+ }
10
+
11
+ .titaui-pc-video-box__box:hover .titaui-pc-video-box__mask1 {
12
+ opacity: 1;
13
+ transition: 0.5s;
14
+ }
15
+
16
+ .titaui-pc-video-box__box:hover .titaui-pc-video-box__mask2 {
17
+ opacity: 1;
18
+ transition: 0.5s;
19
+ }
20
+
21
+ .titaui-pc-video-box__box:hover .titaui-pc-video-box__progress {
22
+ opacity: 1;
23
+ transition: 0.5s;
24
+ }
25
+
26
+ .titaui-pc-video-box__mouseMove {
27
+ width: 100%;
28
+ height: 30px;
29
+ position: absolute;
30
+ bottom: 40px;
31
+ z-index: 12;
32
+ }
33
+
34
+ .titaui-pc-video-box__mouseMove:hover .titaui-pc-video-box__progress {
35
+ height: 4px;
36
+ }
37
+
38
+ .titaui-pc-video-box__mouseMove--small {
39
+ height: 20px;
40
+ bottom: 30px;
41
+ }
42
+
43
+ .titaui-pc-video-box__progress {
44
+ opacity: 0;
45
+ transition: 0.5s;
46
+ position: absolute;
47
+ bottom: 14px;
48
+ width: 100%;
49
+ height: 2px;
50
+ background: #ffffff;
51
+ z-index: 2;
52
+ }
53
+
54
+ .titaui-pc-video-box__progress--small {
55
+ bottom: 12px;
56
+ }
57
+
58
+ .titaui-pc-video-box__progress-current {
59
+ position: absolute;
60
+ left: 0;
61
+ bottom: 0;
62
+ background: #77be16;
63
+ height: 100%;
64
+ z-index: 3;
65
+ }
66
+
67
+ .titaui-pc-video-box__progress-current-dot {
68
+ position: absolute;
69
+ right: 0;
70
+ bottom: -2px;
71
+ width: 8px;
72
+ height: 8px;
73
+ border-radius: 50%;
74
+ background: #77be16;
75
+ }
76
+
77
+ .titaui-pc-video-box__controls {
78
+ width: 100%;
79
+ display: flex;
80
+ align-items: center;
81
+ justify-content: space-between;
82
+ padding: 16px 32px 16px 32px;
83
+ box-sizing: border-box;
84
+ position: absolute;
85
+ bottom: 0;
86
+ z-index: 2;
87
+ }
88
+
89
+ .titaui-pc-video-box__controls--small {
90
+ padding: 10px 12px;
91
+ }
92
+
93
+ .titaui-pc-video-box__controls-left {
94
+ display: inline-flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ }
98
+
99
+ .titaui-pc-video-box__controls-button {
100
+ width: 24px;
101
+ height: 24px;
102
+ border-radius: 12px;
103
+ display: inline-flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ }
107
+
108
+ .titaui-pc-video-box__controls-button:hover {
109
+ background: rgba(20, 28, 40, 0.6);
110
+ }
111
+
112
+ .titaui-pc-video-box__controls-play {
113
+ display: inline-flex;
114
+ align-items: center;
115
+ cursor: pointer;
116
+ }
117
+
118
+ .titaui-pc-video-box__controls-play img {
119
+ width: 16px;
120
+ height: 16px;
121
+ }
122
+
123
+ .titaui-pc-video-box__controls-time {
124
+ font-size: 12px;
125
+ color: #ffffff;
126
+ line-height: 18px;
127
+ }
128
+
129
+ .titaui-pc-video-box__controls-time:nth-of-type(1) {
130
+ margin-left: 6px;
131
+ }
132
+
133
+ .titaui-pc-video-box__controls-muted {
134
+ width: 16px;
135
+ height: 16px;
136
+ }
137
+
138
+ .titaui-pc-video-box__controls-volume {
139
+ display: inline-flex;
140
+ align-items: center;
141
+ justify-content: space-between;
142
+ padding: 0 8px;
143
+ box-sizing: border-box;
144
+ width: 72px;
145
+ height: 22px;
146
+ background: rgba(20, 28, 40, 0.6);
147
+ border-radius: 12px;
148
+ }
149
+
150
+ .titaui-pc-video-box__controls-volume-progress {
151
+ position: relative;
152
+ width: 34px;
153
+ height: 2px;
154
+ background: rgba(255, 255, 255, 0.4);
155
+ border-radius: 1px;
156
+ }
157
+
158
+ .titaui-pc-video-box__controls-volume-progress--hidden {
159
+ display: none;
160
+ }
161
+
162
+ .titaui-pc-video-box__controls-volume-current {
163
+ position: absolute;
164
+ bottom: 0;
165
+ left: 0;
166
+ height: 2px;
167
+ background: rgba(255, 255, 255, 0.6);
168
+ border-radius: 1px;
169
+ }
170
+
171
+ .titaui-pc-video-box__controls-volume-current::after {
172
+ content: '';
173
+ position: absolute;
174
+ right: 0;
175
+ bottom: -1px;
176
+ width: 4px;
177
+ height: 4px;
178
+ border-radius: 50%;
179
+ background: #ffffff;
180
+ }
181
+
182
+ .titaui-pc-video-box__controls-volume-current--hidden {
183
+ display: none;
184
+ }
185
+
186
+ .titaui-pc-video-box__controls-right {
187
+ display: inline-flex;
188
+ align-items: center;
189
+ }
190
+
191
+ .titaui-pc-video-box__title {
192
+ width: 100%;
193
+ height: 100%;
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: space-between;
197
+ }
198
+
199
+ .titaui-pc-video-box__mask1 {
200
+ opacity: 0;
201
+ transition: 0.5s;
202
+ position: absolute;
203
+ top: 0;
204
+ padding: 0 16px;
205
+ box-sizing: border-box;
206
+ width: 100%;
207
+ height: 62px;
208
+ background: linear-gradient(0deg, rgba(20, 28, 40, 0) 0%, #5a6068 100%);
209
+ }
210
+
211
+ .titaui-pc-video-box__mask1--small {
212
+ height: 42px;
213
+ }
214
+
215
+ .titaui-pc-video-box__mask1-title {
216
+ font-size: 12px;
217
+ font-weight: normal;
218
+ color: #ffffff;
219
+ line-height: 18px;
220
+ }
221
+
222
+ .titaui-pc-video-box__mask1-close {
223
+ width: 14px;
224
+ height: 14px;
225
+ cursor: pointer;
226
+ }
227
+
228
+ .titaui-pc-video-box__mask2 {
229
+ opacity: 0;
230
+ transition: 0.5s;
231
+ position: absolute;
232
+ bottom: 0;
233
+ width: 100%;
234
+ height: 62px;
235
+ background: linear-gradient(180deg, rgba(20, 28, 40, 0) 0%, #5a6068 100%);
236
+ }
237
+
238
+ .titaui-pc-video-box__mask2--small {
239
+ height: 42px;
240
+ }