@pocketprep/ui-kit 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,7 @@ import { dark } from '../../directives'
|
|
|
45
45
|
|
|
46
46
|
type TButtonType = 'primary' | 'primary-yellow' | 'primary-red' | 'secondary'
|
|
47
47
|
| 'secondary-yellow-dark' | 'tertiary' | 'tertiary-red' | 'tertiary-small' | 'tertiary-red-small' | 'icon'
|
|
48
|
-
| 'icon-yellow' | 'outline'
|
|
48
|
+
| 'icon-yellow' | 'outline' | 'oval-dark'
|
|
49
49
|
|
|
50
50
|
@Component({
|
|
51
51
|
components: {
|
|
@@ -534,6 +534,45 @@ export default class Button extends Vue {
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
&--oval-dark {
|
|
538
|
+
user-select: none;
|
|
539
|
+
outline: none;
|
|
540
|
+
color: $white;
|
|
541
|
+
background-color: transparent;
|
|
542
|
+
font-weight: 500;
|
|
543
|
+
font-size: 15px;
|
|
544
|
+
line-height: 20px;
|
|
545
|
+
height: 26px;
|
|
546
|
+
padding: 5px 11px;
|
|
547
|
+
display: inline-flex;
|
|
548
|
+
align-items: center;
|
|
549
|
+
border: 1px solid rgba($pewter, 0.30);
|
|
550
|
+
border-radius: 13px;
|
|
551
|
+
|
|
552
|
+
&:enabled {
|
|
553
|
+
&:hover {
|
|
554
|
+
border: 1px solid $banana-bread;
|
|
555
|
+
background: rgba($banana-bread, 0.20);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
&:focus {
|
|
559
|
+
border: 1px solid $banana-bread;
|
|
560
|
+
background: rgba($banana-bread, 0.20);
|
|
561
|
+
|
|
562
|
+
&::before {
|
|
563
|
+
content: '';
|
|
564
|
+
position: absolute;
|
|
565
|
+
top: -5px;
|
|
566
|
+
bottom: -5px;
|
|
567
|
+
left: -8px;
|
|
568
|
+
right: -8px;
|
|
569
|
+
border: 1px solid $banana-bread;
|
|
570
|
+
border-radius: 6px;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
537
576
|
&:disabled {
|
|
538
577
|
opacity: 0.4;
|
|
539
578
|
cursor: auto;
|