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

Commit

Permalink
release 1.0.8.beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Aug 25, 2019
1 parent 4e6515c commit 06393f3
Show file tree
Hide file tree
Showing 6 changed files with 7,026 additions and 5,463 deletions.
12,425 changes: 6,981 additions & 5,444 deletions dist/halo-comment.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/halo-comment.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/halo-comment.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/halo-comment.min.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/components/CommentEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
@click.self="close"
@keydown.esc.once="close"
>
<div class="comment-poster-editor-emoji">
<VEmojiPicker
:pack="pack"
@select="selectEmoji"
v-show="emojiDialogVisible"
labelSearch="搜索"
/>
</div>
<div class="comment-modal-container">
<div class="comment-poster-editor-emoji">
<VEmojiPicker
:pack="pack"
@select="selectEmoji"
v-show="emojiDialogVisible"
labelSearch="搜索"
/>
</div>
<div class="comment-poster-container active">
<ul class="comment-poster-controls">
<li class="poster-item-close">
Expand Down
36 changes: 31 additions & 5 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

.closebtn {
margin-left: 15px;
color: gray;
color: #fff;
font-weight: bold;
float: right;
font-size: 22px;
Expand Down Expand Up @@ -141,6 +141,7 @@

.comment-items {
padding: 0 12px;

.comment-item {
padding-top: 15px;
position: relative;
Expand Down Expand Up @@ -308,9 +309,21 @@

.comment-modal-container {
width: 768px;
position: relative;
.comment-poster-editor-emoji {
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
position: absolute;
bottom: 58px;
left: 19%;
z-index: 1;
}

#EmojiPicker {
height: 364px;
width: 100%;
}

// margin-right: auto;
// margin-left: auto;
.comment-poster-container {
border-radius: 4px 4px 0 0;
background: rgba(255, 255, 255, 0.95);
Expand Down Expand Up @@ -406,7 +419,7 @@
color: #667c99;
}

&:focus ~ span {
&:focus~span {
transform-origin: bottom left;
transform: scaleX(1);
}
Expand Down Expand Up @@ -516,6 +529,7 @@
}
}
}

.editor-item-emoji {
.editor-btn-emoji {
font-size: inherit;
Expand Down Expand Up @@ -556,6 +570,7 @@
display: flex;
justify-content: center;
margin: 2rem 0;

.comment-loader {
display: flex;
flex-flow: row nowrap;
Expand All @@ -567,21 +582,26 @@
width: 0.3em;
height: 1em;
background-color: #3b83ee;

&:nth-of-type(1) {
animation: grow 1s -0.45s ease-in-out infinite;
}

&:nth-of-type(2) {
animation: grow 1s -0.3s ease-in-out infinite;
}

&:nth-of-type(3) {
animation: grow 1s -0.15s ease-in-out infinite;
}

&:nth-of-type(4) {
animation: grow 1s ease-in-out infinite;
}
}

@keyframes grow {

0%,
100% {
transform: scaleY(1);
Expand All @@ -598,6 +618,7 @@
.loading-fade-leave-active {
transition: all 0.1s ease-in-out;
}

.loading-fade-enter,
.loading-fade-leave-to {
opacity: 0;
Expand Down Expand Up @@ -645,6 +666,7 @@
&:hover {
color: #fff;
cursor: pointer;

&::before {
transform-origin: center bottom;
transform: scaleY(1);
Expand All @@ -657,25 +679,29 @@
transform-origin: center left;
transform: scaleX(0);
}

&:hover::before {
transform-origin: center right;
transform: scaleX(1);
}
}

.next-button {
&::before {
transform-origin: center left;
transform: scaleX(0);
}

&:hover::before {
transform-origin: center left;
transform: scaleX(1);
}
}

.active {
background-color: #3b83ee;
color: #fff;
}
}
}
}
}

0 comments on commit 06393f3

Please sign in to comment.