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

Commit a62e0af

Browse files
author
Łukasz Florczak
committed
Removed styles that are responsible for elements appearance
1 parent 17c3e04 commit a62e0af

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

src/Agile.vue

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@
542542
<style lang="scss" type="text/scss">
543543
.agile {
544544
position: relative;
545+
user-select: none;
545546
546547
&, * {
547548
&:focus,
@@ -552,9 +553,7 @@
552553
553554
&__list {
554555
display: block;
555-
margin: 0;
556556
overflow: hidden;
557-
padding: 0;
558557
position: relative;
559558
width: 100%;
560559
}
@@ -587,72 +586,26 @@
587586
}
588587
589588
&__arrow {
590-
border: none;
591-
bottom: 10px;
592-
margin: 0;
593-
padding: 0;
594-
position: absolute;
595-
transition-duration: .3s;
596-
597589
&[disabled] {
598590
cursor: default;
599-
opacity: .4;
600-
}
601-
602-
&:hover {
603-
svg {
604-
fill: #333;
605-
}
606-
}
607-
608-
&--prev {
609-
left: 0;
610-
}
611-
612-
&--next {
613-
right: 0;
614-
}
615-
616-
svg {
617-
fill: #888;
618-
height: 24px;
619-
transition-duration: .3s;
620591
}
621592
}
622593
623594
&__dots {
624595
align-items: center;
625596
display: flex;
626-
justify-content: center;
627597
list-style: none;
628-
margin: 20px 0;
629-
padding: 0;
630-
text-align: center;
631598
white-space: nowrap;
632599
}
633600
634601
&__dot {
635-
margin: 0 10px;
636-
637602
button {
638-
background-color: #eee;
639603
border: none;
640-
border-radius: 50%;
641604
cursor: pointer;
642605
display: block;
643-
height: 10px;
644606
font-size: 0;
645607
line-height: 0;
646608
margin: 0;
647-
transition-duration: .3s;
648-
width: 10px;
649-
}
650-
651-
&--current,
652-
&:hover {
653-
button {
654-
background-color: #888;
655-
}
656609
}
657610
}
658611
}

0 commit comments

Comments
 (0)