Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Commit 06393f3

Browse files
committed
release 1.0.8.beta
1 parent 4e6515c commit 06393f3

File tree

6 files changed

+7026
-5463
lines changed

6 files changed

+7026
-5463
lines changed

dist/halo-comment.js

+6,981-5,444
Large diffs are not rendered by default.

dist/halo-comment.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/halo-comment.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/halo-comment.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/CommentEditor.vue

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
@click.self="close"
77
@keydown.esc.once="close"
88
>
9-
<div class="comment-poster-editor-emoji">
10-
<VEmojiPicker
11-
:pack="pack"
12-
@select="selectEmoji"
13-
v-show="emojiDialogVisible"
14-
labelSearch="搜索"
15-
/>
16-
</div>
179
<div class="comment-modal-container">
10+
<div class="comment-poster-editor-emoji">
11+
<VEmojiPicker
12+
:pack="pack"
13+
@select="selectEmoji"
14+
v-show="emojiDialogVisible"
15+
labelSearch="搜索"
16+
/>
17+
</div>
1818
<div class="comment-poster-container active">
1919
<ul class="comment-poster-controls">
2020
<li class="poster-item-close">

src/styles/global.scss

+31-5
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
.closebtn {
5656
margin-left: 15px;
57-
color: gray;
57+
color: #fff;
5858
font-weight: bold;
5959
float: right;
6060
font-size: 22px;
@@ -141,6 +141,7 @@
141141

142142
.comment-items {
143143
padding: 0 12px;
144+
144145
.comment-item {
145146
padding-top: 15px;
146147
position: relative;
@@ -308,9 +309,21 @@
308309

309310
.comment-modal-container {
310311
width: 768px;
312+
position: relative;
313+
.comment-poster-editor-emoji {
314+
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
315+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
316+
position: absolute;
317+
bottom: 58px;
318+
left: 19%;
319+
z-index: 1;
320+
}
321+
322+
#EmojiPicker {
323+
height: 364px;
324+
width: 100%;
325+
}
311326

312-
// margin-right: auto;
313-
// margin-left: auto;
314327
.comment-poster-container {
315328
border-radius: 4px 4px 0 0;
316329
background: rgba(255, 255, 255, 0.95);
@@ -406,7 +419,7 @@
406419
color: #667c99;
407420
}
408421

409-
&:focus ~ span {
422+
&:focus~span {
410423
transform-origin: bottom left;
411424
transform: scaleX(1);
412425
}
@@ -516,6 +529,7 @@
516529
}
517530
}
518531
}
532+
519533
.editor-item-emoji {
520534
.editor-btn-emoji {
521535
font-size: inherit;
@@ -556,6 +570,7 @@
556570
display: flex;
557571
justify-content: center;
558572
margin: 2rem 0;
573+
559574
.comment-loader {
560575
display: flex;
561576
flex-flow: row nowrap;
@@ -567,21 +582,26 @@
567582
width: 0.3em;
568583
height: 1em;
569584
background-color: #3b83ee;
585+
570586
&:nth-of-type(1) {
571587
animation: grow 1s -0.45s ease-in-out infinite;
572588
}
589+
573590
&:nth-of-type(2) {
574591
animation: grow 1s -0.3s ease-in-out infinite;
575592
}
593+
576594
&:nth-of-type(3) {
577595
animation: grow 1s -0.15s ease-in-out infinite;
578596
}
597+
579598
&:nth-of-type(4) {
580599
animation: grow 1s ease-in-out infinite;
581600
}
582601
}
583602

584603
@keyframes grow {
604+
585605
0%,
586606
100% {
587607
transform: scaleY(1);
@@ -598,6 +618,7 @@
598618
.loading-fade-leave-active {
599619
transition: all 0.1s ease-in-out;
600620
}
621+
601622
.loading-fade-enter,
602623
.loading-fade-leave-to {
603624
opacity: 0;
@@ -645,6 +666,7 @@
645666
&:hover {
646667
color: #fff;
647668
cursor: pointer;
669+
648670
&::before {
649671
transform-origin: center bottom;
650672
transform: scaleY(1);
@@ -657,25 +679,29 @@
657679
transform-origin: center left;
658680
transform: scaleX(0);
659681
}
682+
660683
&:hover::before {
661684
transform-origin: center right;
662685
transform: scaleX(1);
663686
}
664687
}
688+
665689
.next-button {
666690
&::before {
667691
transform-origin: center left;
668692
transform: scaleX(0);
669693
}
694+
670695
&:hover::before {
671696
transform-origin: center left;
672697
transform: scaleX(1);
673698
}
674699
}
700+
675701
.active {
676702
background-color: #3b83ee;
677703
color: #fff;
678704
}
679705
}
680706
}
681-
}
707+
}

0 commit comments

Comments
 (0)