itube-specs 0.0.868 → 0.0.869
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.
- package/assets/scss/base/_hacks.scss +2 -2
- package/assets/scss/mixins/_surface.scss +2 -1
- package/assets/scss/themes/dark/_theme.scss +1 -32
- package/assets/scss/themes/light/_theme.scss +9 -40
- package/components/search/input.vue +4 -0
- package/components/ui/input.vue +5 -0
- package/package.json +1 -1
- package/pages/categories/index.vue +0 -11
|
@@ -13,8 +13,8 @@ select:-webkit-autofill,
|
|
|
13
13
|
select:-webkit-autofill:hover,
|
|
14
14
|
select:-webkit-autofill:focus {
|
|
15
15
|
box-shadow: 0 0 0 1000px transparent inset !important;
|
|
16
|
-
-webkit-text-fill-color: $input-autofill-text !important;
|
|
17
|
-
color: $input-autofill-text !important;
|
|
16
|
+
-webkit-text-fill-color: var(--input-autofill-text, #{$input-autofill-text}) !important;
|
|
17
|
+
color: var(--input-autofill-text, #{$input-autofill-text}) !important;
|
|
18
18
|
border: none !important;
|
|
19
19
|
transition: background-color 5000s ease-in-out 0s !important;
|
|
20
20
|
font-size: inherit !important;
|
|
@@ -37,7 +37,8 @@ $surface-roles: (
|
|
|
37
37
|
control-bg: (--input-bg, --select-bg),
|
|
38
38
|
control-compact-bg: (--input-s-bg,),
|
|
39
39
|
control-bg--disabled: (--input-bg--disabled,),
|
|
40
|
-
control-text: (--input-text, --select-text),
|
|
40
|
+
control-text: (--input-text, --input-autofill-text, --select-text),
|
|
41
|
+
control-compact-text: (--input-s-text,),
|
|
41
42
|
control-text--disabled: (--input-text--disabled,),
|
|
42
43
|
control-placeholder: (--input-placeholder, --select-placeholder),
|
|
43
44
|
control-label: (--input-label, --select-label),
|
|
@@ -77,10 +77,10 @@ $input-label: $color-zinc-400;
|
|
|
77
77
|
$input-icon: inherit;
|
|
78
78
|
$input-pre-icon: $color-zinc-500;
|
|
79
79
|
$input-s-bg: $color-zinc-800;
|
|
80
|
+
$input-s-text: $color-white;
|
|
80
81
|
$input-s-border: transparent;
|
|
81
82
|
$input-s-border--focus: $color-zinc-600;
|
|
82
83
|
$input-text--disabled: $color-zinc-400;
|
|
83
|
-
$input-text--error: $color-red-500;
|
|
84
84
|
$input-border--error: $color-red-500;
|
|
85
85
|
$input-autofill-text: $color-white;
|
|
86
86
|
$input-button-text: $color-zinc-500;
|
|
@@ -218,8 +218,6 @@ $video-info-description-text: $color-zinc-400;
|
|
|
218
218
|
// ─── Video interface ───
|
|
219
219
|
$video-interface-button-bg: $color-zinc-800;
|
|
220
220
|
$video-interface-button-text: $color-zinc-400;
|
|
221
|
-
$video-interface-button-bg--hover: $color-zinc-700;
|
|
222
|
-
$video-interface-button-text--hover: $color-white;
|
|
223
221
|
|
|
224
222
|
// ─── Video channel ───
|
|
225
223
|
$video-channel-bg: $color-zinc-800-60;
|
|
@@ -428,9 +426,7 @@ $dropdown-crest: $color-zinc-500;
|
|
|
428
426
|
$dropdown-separator: $color-zinc-800-60;
|
|
429
427
|
|
|
430
428
|
// ─── Snackbar ───
|
|
431
|
-
$snackbar-bg: $color-zinc-800;
|
|
432
429
|
$snackbar-text: $color-zinc-200;
|
|
433
|
-
$snackbar-border: $color-zinc-700;
|
|
434
430
|
$snackbar-close: $color-zinc-500;
|
|
435
431
|
$snackbar-close--hover: $color-zinc-300;
|
|
436
432
|
$snackbar-close-bg--hover: $color-zinc-700;
|
|
@@ -528,7 +524,6 @@ $radio-bg: $color-zinc-800;
|
|
|
528
524
|
$radio-border--checked: $color-indigo-600;
|
|
529
525
|
$radio-bg--checked: $color-indigo-600;
|
|
530
526
|
$radio-label: $color-white;
|
|
531
|
-
$radio-label--hover: $color-zinc-300;
|
|
532
527
|
$radio-description: $color-zinc-500;
|
|
533
528
|
$radio-border--disabled: $color-zinc-800;
|
|
534
529
|
$radio-text--disabled: $color-zinc-400;
|
|
@@ -600,9 +595,6 @@ $expand-row-pre-text: $color-zinc-500;
|
|
|
600
595
|
$full-description-text: $color-zinc-400;
|
|
601
596
|
$full-description-bg: $color-zinc-800-50;
|
|
602
597
|
|
|
603
|
-
// ─── Swiper items ───
|
|
604
|
-
$swiper-items-all-text: $color-zinc-400;
|
|
605
|
-
|
|
606
598
|
// ─── Report ───
|
|
607
599
|
$report-category-border: $color-zinc-800;
|
|
608
600
|
$report-category-bg--hover: $color-zinc-800-50;
|
|
@@ -612,9 +604,6 @@ $report-text: $color-zinc-400;
|
|
|
612
604
|
$report-required: $color-red-500;
|
|
613
605
|
$report-text--error: $color-red-500;
|
|
614
606
|
|
|
615
|
-
// ─── Model filters ───
|
|
616
|
-
$model-filters-border: $color-zinc-800;
|
|
617
|
-
|
|
618
607
|
// ─── Share ───
|
|
619
608
|
$share-cancel-border: $color-zinc-800;
|
|
620
609
|
$share-button-copy-bg: $color-zinc-800;
|
|
@@ -689,10 +678,6 @@ $player-menu-scene-time: $color-zinc-500; // text-zinc-500
|
|
|
689
678
|
$player-menu-scene-time--current: $color-zinc-200; // text-zinc-200
|
|
690
679
|
$player-menu-section-title: $color-zinc-400;
|
|
691
680
|
|
|
692
|
-
// ─── Filter page ───
|
|
693
|
-
$filter-page-group-title: $color-white;
|
|
694
|
-
$filter-page-group-border: $color-zinc-800;
|
|
695
|
-
|
|
696
681
|
// ─── Search ───
|
|
697
682
|
$search-close-bg: $color-zinc-700;
|
|
698
683
|
$search-close-text: $color-zinc-300;
|
|
@@ -728,10 +713,8 @@ $filters-main-bg--hover: $color-zinc-700-70;
|
|
|
728
713
|
|
|
729
714
|
// ─── Info grid ───
|
|
730
715
|
$info-grid-group-title: $color-zinc-300;
|
|
731
|
-
$info-grid-item-bg: $color-zinc-700-50;
|
|
732
716
|
$info-grid-item-border: $color-zinc-700-50;
|
|
733
717
|
$info-grid-item-bg--hover: $color-zinc-700-30;
|
|
734
|
-
$info-grid-item-border--hover: $color-zinc-600;
|
|
735
718
|
$info-grid-item-title: $color-zinc-500;
|
|
736
719
|
$info-grid-item-title-bg: $color-zinc-900;
|
|
737
720
|
$info-grid-item-value-bg: $color-zinc-900;
|
|
@@ -739,7 +722,6 @@ $info-grid-item-value-bg--link: $color-zinc-700-50;
|
|
|
739
722
|
$info-grid-item-value-link-bg--hover: $color-zinc-700-50;
|
|
740
723
|
$info-grid-item-value--link: $color-white;
|
|
741
724
|
$info-grid-item-value-border: $color-zinc-700-50;
|
|
742
|
-
$info-grid-item-values: $color-white;
|
|
743
725
|
$info-grid-item-success: $color-green-400;
|
|
744
726
|
$info-grid-item-warning: $color-red-400;
|
|
745
727
|
$info-grid-item-icon: $color-zinc-400;
|
|
@@ -783,7 +765,6 @@ $shadow-color--active: $mono-black-42; // тень при drag
|
|
|
783
765
|
|
|
784
766
|
// ─── Page models ───
|
|
785
767
|
$page-models-popular-border: $color-zinc-800;
|
|
786
|
-
$page-models-categories-border: $color-zinc-800-50;
|
|
787
768
|
|
|
788
769
|
// ─── Page model videos ───
|
|
789
770
|
$page-model-videos-section-border: $color-zinc-800-50;
|
|
@@ -809,7 +790,6 @@ $model-card-params-footer: $color-zinc-500;
|
|
|
809
790
|
$model-card-name: $color-zinc-200;
|
|
810
791
|
$model-card-name--hover: $color-indigo-400;
|
|
811
792
|
$model-card-count: $color-zinc-500;
|
|
812
|
-
$model-card-divider: $color-zinc-700;
|
|
813
793
|
|
|
814
794
|
// ─── Playlist card ───
|
|
815
795
|
$playlist-card-bg: $color-zinc-800-50;
|
|
@@ -896,7 +876,6 @@ $native-card-secondary: $color-zinc-500;
|
|
|
896
876
|
|
|
897
877
|
// ─── Page: grouped categories ───
|
|
898
878
|
$grouped-highlight-border: $color-zinc-800;
|
|
899
|
-
$grouped-separator: $color-zinc-800;
|
|
900
879
|
$grouped-category-icon: $color-zinc-500;
|
|
901
880
|
$grouped-footer-text: $color-zinc-500;
|
|
902
881
|
$grouped-section-border: $color-zinc-800;
|
|
@@ -944,16 +923,6 @@ $contacts-wrapper-bg: $color-zinc-900;
|
|
|
944
923
|
$contacts-link: $color-indigo-400;
|
|
945
924
|
$contacts-link--hover: $color-indigo-300;
|
|
946
925
|
|
|
947
|
-
// ─── Page: playlist ───
|
|
948
|
-
$page-playlist-edit: $color-zinc-500;
|
|
949
|
-
$page-playlist-edit-border: $color-zinc-800;
|
|
950
|
-
$page-playlist-header-border: $color-zinc-800;
|
|
951
|
-
$page-playlist-avatar-bg: $color-indigo-600;
|
|
952
|
-
$page-playlist-avatar-text: $color-white;
|
|
953
|
-
$page-playlist-user-name: $color-zinc-400;
|
|
954
|
-
$page-playlist-private-bg: $color-zinc-800-60;
|
|
955
|
-
$page-playlist-like-bg: $color-zinc-900;
|
|
956
|
-
|
|
957
926
|
// ─── Page: playlists ───
|
|
958
927
|
$page-playlists-border: $color-zinc-800;
|
|
959
928
|
|
|
@@ -87,14 +87,14 @@ $input-label: $color-gray-700;
|
|
|
87
87
|
$input-icon: $color-gray-500;
|
|
88
88
|
$input-pre-icon: $color-gray-500;
|
|
89
89
|
$input-s-bg: $color-slate-750;
|
|
90
|
+
$input-s-text: $color-white;
|
|
90
91
|
$input-s-border: transparent;
|
|
91
92
|
$input-s-border--focus: $color-indigo-soft;
|
|
92
93
|
$input-text--disabled: $color-gray-400;
|
|
93
|
-
$input-text--error: $color-red-500;
|
|
94
94
|
$input-border--error: $color-red-500;
|
|
95
|
-
$input-autofill-text: $color-
|
|
95
|
+
$input-autofill-text: $color-gray-900;
|
|
96
96
|
$input-button-text: $color-gray-500;
|
|
97
|
-
$input-button-text--hover: $color-
|
|
97
|
+
$input-button-text--hover: $color-gray-500;
|
|
98
98
|
|
|
99
99
|
// ─── Surfaces ("островки") ───
|
|
100
100
|
// Только отличия от базовых токенов. Подложки нет в карте — нет и оверрайда.
|
|
@@ -207,7 +207,7 @@ $popup-auth-icon-bg: $color-indigo-600;
|
|
|
207
207
|
$popup-border: transparent;
|
|
208
208
|
$popup-footer-border: $color-slate-750;
|
|
209
209
|
$popup-text: $color-white;
|
|
210
|
-
$popup-scrollbar: $color-gray-
|
|
210
|
+
$popup-scrollbar: $color-gray-400;
|
|
211
211
|
$popup-close-icon: $color-gray-400;
|
|
212
212
|
$popup-close-icon--hover: $color-white;
|
|
213
213
|
|
|
@@ -275,8 +275,6 @@ $video-info-description-text: $color-gray-700;
|
|
|
275
275
|
// ─── Video interface ───
|
|
276
276
|
$video-interface-button-bg: $color-slate-750;
|
|
277
277
|
$video-interface-button-text: $color-gray-400;
|
|
278
|
-
$video-interface-button-bg--hover: $color-slate-700;
|
|
279
|
-
$video-interface-button-text--hover: $color-white;
|
|
280
278
|
|
|
281
279
|
// ─── Video channel ───
|
|
282
280
|
$video-channel-bg: $color-gray-200;
|
|
@@ -485,9 +483,7 @@ $dropdown-crest: $color-gray-400;
|
|
|
485
483
|
$dropdown-separator: $color-slate-750;
|
|
486
484
|
|
|
487
485
|
// ─── Snackbar ───
|
|
488
|
-
$snackbar-bg: $color-slate-750;
|
|
489
486
|
$snackbar-text: $color-gray-200;
|
|
490
|
-
$snackbar-border: $color-slate-700;
|
|
491
487
|
$snackbar-close: $color-gray-500;
|
|
492
488
|
$snackbar-close--hover: $color-gray-300;
|
|
493
489
|
$snackbar-close-bg--hover: $color-slate-700;
|
|
@@ -568,8 +564,8 @@ $checkbox-border: $color-gray-400;
|
|
|
568
564
|
$checkbox-color: $color-white;
|
|
569
565
|
$checkbox-bg--checked: $color-indigo-soft;
|
|
570
566
|
$checkbox-border--checked: $color-indigo-600;
|
|
571
|
-
$checkbox-label: $color-gray-
|
|
572
|
-
$checkbox-label--hover: $color-gray-
|
|
567
|
+
$checkbox-label: $color-gray-700;
|
|
568
|
+
$checkbox-label--hover: $color-gray-500;
|
|
573
569
|
$checkbox-description: $color-gray-500;
|
|
574
570
|
$checkbox-border--disabled: transparent;
|
|
575
571
|
$checkbox-text--disabled: $color-gray-400;
|
|
@@ -581,7 +577,6 @@ $radio-bg: transparent;
|
|
|
581
577
|
$radio-border--checked: $color-indigo-soft;
|
|
582
578
|
$radio-bg--checked: $color-indigo-soft;
|
|
583
579
|
$radio-label: $color-gray-700;
|
|
584
|
-
$radio-label--hover: $color-gray-300;
|
|
585
580
|
$radio-description: $color-gray-500;
|
|
586
581
|
$radio-border--disabled: $color-slate-700;
|
|
587
582
|
$radio-text--disabled: $color-gray-400;
|
|
@@ -653,9 +648,6 @@ $expand-row-pre-text: $color-gray-500;
|
|
|
653
648
|
$full-description-text: $color-gray-600;
|
|
654
649
|
$full-description-bg: $color-gray-100;
|
|
655
650
|
|
|
656
|
-
// ─── Swiper items ───
|
|
657
|
-
$swiper-items-all-text: $color-gray-400;
|
|
658
|
-
|
|
659
651
|
// ─── Report ───
|
|
660
652
|
$report-category-border: $color-slate-700;
|
|
661
653
|
$report-category-bg--hover: $color-slate-750;
|
|
@@ -665,9 +657,6 @@ $report-text: $color-gray-400;
|
|
|
665
657
|
$report-required: $color-red-500;
|
|
666
658
|
$report-text--error: $color-red-500;
|
|
667
659
|
|
|
668
|
-
// ─── Model filters ───
|
|
669
|
-
$model-filters-border: transparent;
|
|
670
|
-
|
|
671
660
|
// ─── Share ───
|
|
672
661
|
$share-cancel-border: transparent;
|
|
673
662
|
$share-button-copy-bg: $color-slate-750;
|
|
@@ -742,10 +731,6 @@ $player-menu-scene-time: $color-gray-500; // text-zinc-500
|
|
|
742
731
|
$player-menu-scene-time--current: $color-gray-200; // text-zinc-200
|
|
743
732
|
$player-menu-section-title: $color-gray-400;
|
|
744
733
|
|
|
745
|
-
// ─── Filter page ───
|
|
746
|
-
$filter-page-group-title: $color-white;
|
|
747
|
-
$filter-page-group-border: transparent;
|
|
748
|
-
|
|
749
734
|
// ─── Filters main ───
|
|
750
735
|
$filters-main-slider-bg: $color-night;
|
|
751
736
|
$filters-main-slider-border: transparent;
|
|
@@ -758,10 +743,8 @@ $filters-main-bg--hover: $button-secondary-bg--hover;
|
|
|
758
743
|
|
|
759
744
|
// ─── Info grid ───
|
|
760
745
|
$info-grid-group-title: $color-gray-600;
|
|
761
|
-
$info-grid-item-bg: $color-white;
|
|
762
746
|
$info-grid-item-border: $color-gray-300;
|
|
763
747
|
$info-grid-item-bg--hover: $color-slate-700;
|
|
764
|
-
$info-grid-item-border--hover: $color-gray-600;
|
|
765
748
|
$info-grid-item-title: $color-gray-500;
|
|
766
749
|
$info-grid-item-title-bg: $color-white;
|
|
767
750
|
$info-grid-item-value-bg: $color-gray-100;
|
|
@@ -769,7 +752,6 @@ $info-grid-item-value-bg--link: $color-slate-700;
|
|
|
769
752
|
$info-grid-item-value-link-bg--hover: $color-slate-750;
|
|
770
753
|
$info-grid-item-value--link: $color-white;
|
|
771
754
|
$info-grid-item-value-border: $color-gray-300;
|
|
772
|
-
$info-grid-item-values: $color-white;
|
|
773
755
|
$info-grid-item-success: $color-green-400;
|
|
774
756
|
$info-grid-item-warning: $color-red-400;
|
|
775
757
|
$info-grid-item-icon: $color-gray-400;
|
|
@@ -813,7 +795,6 @@ $shadow-color--active: $mono-black-42; // тень при drag
|
|
|
813
795
|
|
|
814
796
|
// ─── Page models ───
|
|
815
797
|
$page-models-popular-border: transparent;
|
|
816
|
-
$page-models-categories-border: transparent;
|
|
817
798
|
|
|
818
799
|
// ─── Page model videos ───
|
|
819
800
|
$page-model-videos-section-border: transparent;
|
|
@@ -839,7 +820,6 @@ $model-card-params-footer: $color-gray-600;
|
|
|
839
820
|
$model-card-name: $color-gray-900;
|
|
840
821
|
$model-card-name--hover: $model-card-name;
|
|
841
822
|
$model-card-count: $color-gray-600;
|
|
842
|
-
$model-card-divider: $color-gray-400;
|
|
843
823
|
|
|
844
824
|
// ─── Playlist card ───
|
|
845
825
|
$playlist-card-bg: $color-gray-100;
|
|
@@ -883,8 +863,8 @@ $channel-card-mini-name: $color-white;
|
|
|
883
863
|
$channel-card-mini-info: $color-gray-400;
|
|
884
864
|
|
|
885
865
|
// ─── Playlist card mini ───
|
|
886
|
-
$playlist-card-mini-empty-gradient-from: $color-
|
|
887
|
-
$playlist-card-mini-empty-gradient-to: $color-
|
|
866
|
+
$playlist-card-mini-empty-gradient-from: $color-slate-700;
|
|
867
|
+
$playlist-card-mini-empty-gradient-to: $color-slate-750;
|
|
888
868
|
$playlist-card-mini-empty-text: $color-white;
|
|
889
869
|
$playlist-card-mini-name: $color-white;
|
|
890
870
|
$playlist-card-mini-user: $color-gray-500;
|
|
@@ -920,13 +900,12 @@ $auth-register-link--hover: $color-indigo-blue;
|
|
|
920
900
|
$auth-register-login: $color-gray-400;
|
|
921
901
|
|
|
922
902
|
// ─── Native card ───
|
|
923
|
-
$native-card-bg: $color-
|
|
903
|
+
$native-card-bg: $color-slate-800;
|
|
924
904
|
$native-card-primary: $color-gray-400;
|
|
925
905
|
$native-card-secondary: $color-gray-500;
|
|
926
906
|
|
|
927
907
|
// ─── Page: grouped categories ───
|
|
928
908
|
$grouped-highlight-border: transparent;
|
|
929
|
-
$grouped-separator: $color-gray-800;
|
|
930
909
|
$grouped-category-icon: $color-gray-500;
|
|
931
910
|
$grouped-footer-text: $color-gray-500;
|
|
932
911
|
$grouped-section-border: $color-gray-200;
|
|
@@ -974,16 +953,6 @@ $contacts-wrapper-bg: $color-gray-200;
|
|
|
974
953
|
$contacts-link: $color-indigo-400;
|
|
975
954
|
$contacts-link--hover: $color-indigo-300;
|
|
976
955
|
|
|
977
|
-
// ─── Page: playlist ───
|
|
978
|
-
$page-playlist-edit: $color-gray-500;
|
|
979
|
-
$page-playlist-edit-border: $color-slate-700;
|
|
980
|
-
$page-playlist-header-border: $color-slate-700;
|
|
981
|
-
$page-playlist-avatar-bg: $color-indigo-600;
|
|
982
|
-
$page-playlist-avatar-text: $color-white;
|
|
983
|
-
$page-playlist-user-name: $color-gray-400;
|
|
984
|
-
$page-playlist-private-bg: $color-slate-750;
|
|
985
|
-
$page-playlist-like-bg: $color-slate-800;
|
|
986
|
-
|
|
987
956
|
// ─── Page: playlists ───
|
|
988
957
|
$page-playlists-border: transparent;
|
|
989
958
|
|
|
@@ -121,12 +121,16 @@ $icon-size: 16px;
|
|
|
121
121
|
padding-block: 12px;
|
|
122
122
|
|
|
123
123
|
@include to-br(sm) {
|
|
124
|
+
--input-autofill-text: #{$search-text--mobile};
|
|
125
|
+
|
|
124
126
|
color: $search-text--mobile;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
129
|
@include from-br(sm) {
|
|
128
130
|
@include font-sm;
|
|
129
131
|
|
|
132
|
+
--input-autofill-text: #{$search-text};
|
|
133
|
+
|
|
130
134
|
color: $search-text;
|
|
131
135
|
}
|
|
132
136
|
}
|
package/components/ui/input.vue
CHANGED
|
@@ -336,6 +336,11 @@ const normalizedValue = computed(() => {
|
|
|
336
336
|
color: var(--input-pre-icon, #{$input-pre-icon});
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
+
.ui-input.ui-input--s {
|
|
340
|
+
--input-text: var(--input-s-text, #{$input-s-text});
|
|
341
|
+
--input-autofill-text: var(--input-s-text, #{$input-s-text});
|
|
342
|
+
}
|
|
343
|
+
|
|
339
344
|
.ui-input.ui-input--s .ui-input__input {
|
|
340
345
|
padding: 8px 16px;
|
|
341
346
|
background-color: var(--input-s-bg, #{$input-s-bg});
|
package/package.json
CHANGED
|
@@ -117,17 +117,6 @@ const breadcrumbs = [
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.grouped__options-separate {
|
|
121
|
-
display: block;
|
|
122
|
-
width: 1px;
|
|
123
|
-
height: 24px;
|
|
124
|
-
background-color: $grouped-separator;
|
|
125
|
-
|
|
126
|
-
@include from-br(sm) {
|
|
127
|
-
height: 32px;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
120
|
.grouped__loading {
|
|
132
121
|
--size: 24px;
|
|
133
122
|
|