Skip to content

Commit 5bc08bb

Browse files
committed
docs: site style
1 parent 5eb6a27 commit 5bc08bb

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

src/sites/doc/views/Main.vue

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export default defineComponent({
296296
display: flex;
297297
align-items: center;
298298
justify-content: space-between;
299-
background: rgba(71, 71, 83, 1);
299+
background: #959fb1;
300300
border-radius: 29px 20px 20px 29px;
301301
&-iphone {
302302
width: 210px;
@@ -310,10 +310,15 @@ export default defineComponent({
310310
margin-right: 20px;
311311
width: 36px;
312312
height: 36px;
313-
background-image: url('../../assets/images/left-arrow.png');
313+
background-image: url('../../assets/images/right-arrow.png');
314+
transform: rotate(180deg);
314315
background-repeat: no-repeat;
315316
background-size: 100% 100%;
316317
cursor: pointer;
318+
&:hover {
319+
transform: rotate(0);
320+
background-image: url('../../assets/images/left-arrow.png');
321+
}
317322
}
318323
&-righticon {
319324
margin-left: 20px;
@@ -324,6 +329,10 @@ export default defineComponent({
324329
background-size: 100% 100%;
325330
cursor: pointer;
326331
z-index: 1;
332+
&:hover {
333+
transform: rotate(180deg);
334+
background-image: url('../../assets/images/left-arrow.png');
335+
}
327336
}
328337
&-iconinfo {
329338
width: 190px;
@@ -351,7 +360,7 @@ export default defineComponent({
351360
&__list {
352361
flex: 1;
353362
display: flex;
354-
margin-left: -274px;
363+
margin-left: -275px;
355364
> li {
356365
width: 180px;
357366
height: 390px;
@@ -360,7 +369,7 @@ export default defineComponent({
360369
box-shadow: 0px 1px 7px 0px #edeef1;
361370
transition: all 0.5s;
362371
&:first-child {
363-
margin-right: 120px;
372+
margin-right: 139px;
364373
transform: scale(1.04);
365374
}
366375
> img {
@@ -517,19 +526,32 @@ export default defineComponent({
517526
.doc-content-title {
518527
color: white;
519528
}
520-
.doc-content-feature {
529+
.doc-content-features {
521530
.features-title {
522531
color: white;
523532
}
524533
.features-desc {
525-
color: white;
534+
color: #a5a5a5;
526535
}
527536
}
528537
.doc-content-more {
529538
.more-title {
530539
color: #fff;
531540
}
532541
}
542+
.doc-content-cases-content__main {
543+
background: #474753;
544+
}
545+
.doc-content-cases-content__list {
546+
li {
547+
box-shadow: none;
548+
}
549+
}
550+
.doc-content-more {
551+
.more-item img {
552+
box-shadow: none;
553+
}
554+
}
533555
}
534556
.doc-content-white,
535557
.doc-content-red {

0 commit comments

Comments
 (0)