File tree Expand file tree Collapse file tree 3 files changed +1
-69
lines changed
packages/pro-components/chat
chat-markdown/chat-markdown-code Expand file tree Collapse file tree 3 files changed +1
-69
lines changed Original file line number Diff line number Diff line change 77@chat-actionbar-item-color : @text-color-primary ;
88@chat-actionbar-item-active : @brand-color ;
99
10- // TODO: popover 系列是否可移除?
10+ // TODO: 长按弹出层样式
1111@chat-actionbar-popover-background : @mask-active ;
1212@chat-actionbar-popover-radius : 32 rpx;
1313@chat-actionbar-popover-padding : 45 rpx;
8888 &--active {
8989 color : @chat-actionbar-item-active ;
9090 }
91-
92- // TODO: 似乎未被实际使用?
93- // 文本激活状态
94- .text-active {
95- color : @chat-actionbar-item-active ;
96- }
9791 }
9892}
Original file line number Diff line number Diff line change 8181 min-width : 100% ;
8282 }
8383
84- // TODO: 除样式外,未见 dark/light 相关逻辑,需要确认是否需要。 「对应 css token 暂未处理」
85- // 暗色主题
86- &-dark {
87- .@{chat-markdown-code} -block {
88- background-color : @chat-markdown-code-block-bg-dark ;
89- border-color : @chat-markdown-code-block-border-dark ;
90- }
91-
92- .@{chat-markdown-code} -header {
93- background-color : @chat-markdown-code-header-bg-dark ;
94- border-bottom-color : @chat-markdown-code-header-border-dark ;
95- }
96-
97- .@{chat-markdown-code} -lang {
98- color : @chat-markdown-code-lang-color-dark ;
99- }
100-
101- .@{chat-markdown-code} -text {
102- color : @chat-markdown-code-text-color-dark ;
103- }
104- }
105-
10684 // 浅色主题
10785 &-light {
10886 .@{chat-markdown-code} -block {
Original file line number Diff line number Diff line change 280280 display : flex ;
281281 justify-content : center ;
282282 align-items : center ;
283-
284- // TODO: 未在视图层找到对应节点,是否可移除?
285- // 菜单样式
286- &--menu {
287- position : absolute ;
288- right : 0 ;
289- top : @chat-sender-menu-top ;
290- transform : translateY (-100% );
291- padding : @chat-sender-menu-padding ;
292- border-radius : @chat-sender-menu-radius ;
293- background : @chat-sender-menu-bg ;
294- box-shadow : @chat-sender-menu-shadow ;
295-
296- // 菜单项
297- &__item {
298- display : flex ;
299- align-items : center ;
300- width : @chat-sender-menu-item-width ;
301- padding : @chat-sender-menu-item-padding ;
302-
303- & + & {
304- border-top : @chat-sender-menu-item-border ;
305- }
306-
307- .cam-icon ,
308- .pic-icon ,
309- .file-icon {
310- margin-right : @chat-sender-menu-item-icon-margin-right ;
311- }
312-
313- .menu-txt {
314- color : @chat-sender-menu-item-text-color ;
315- font-size : @chat-sender-menu-item-text-font-size ;
316- font-weight : @chat-sender-menu-item-text-font-weight ;
317- line-height : @chat-sender-menu-item-text-line-height ;
318- letter-spacing : @chat-sender-menu-item-text-letter-spacing ;
319- white-space : nowrap ;
320- }
321- }
322- }
323283 }
324284}
You can’t perform that action at this time.
0 commit comments