@dragunio/fe-libs 0.1.8 → 0.1.10

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/dist/styles.css CHANGED
@@ -580,6 +580,7 @@ table[data-fe-table] tbody tr:hover {
580
580
  display: flex;
581
581
  flex-direction: column;
582
582
  height: 100vh;
583
+ height: 100dvh;
583
584
  max-width: calc(100vw - 32px);
584
585
  overflow: hidden;
585
586
  background: #fff;
@@ -609,6 +610,7 @@ table[data-fe-table] tbody tr:hover {
609
610
  .fe-drawer--full-screen {
610
611
  width: 100vw;
611
612
  height: 100vh;
613
+ height: 100dvh;
612
614
  max-width: none;
613
615
  max-height: none;
614
616
  margin: 0;
@@ -635,19 +637,18 @@ table[data-fe-table] tbody tr:hover {
635
637
  margin: 0;
636
638
  font-size: 18px;
637
639
  }
638
- .fe-drawer__header button {
639
- width: 32px;
640
- height: 32px;
641
- border: 0;
642
- border-radius: 50%;
643
- background: transparent;
644
- color: #535b6a;
645
- font-size: 26px;
646
- line-height: 1;
647
- cursor: pointer;
640
+ .fe-drawer__heading {
641
+ min-width: 0;
648
642
  }
649
- .fe-drawer__header button:hover {
650
- background: #f1f3f6;
643
+ .fe-drawer__heading p {
644
+ margin: 5px 0 0;
645
+ color: #687183;
646
+ font-size: 14px;
647
+ line-height: 1.45;
648
+ }
649
+ .fe-drawer__header .fe-button {
650
+ flex: 0 0 auto;
651
+ margin-right: -6px;
651
652
  }
652
653
  .fe-drawer__body {
653
654
  flex: 1 1 auto;
@@ -695,6 +696,69 @@ table[data-fe-table] tbody tr:hover {
695
696
  transform: translateY(0);
696
697
  }
697
698
  }
699
+ @media (max-width: 640px) {
700
+ .fe-drawer__header,
701
+ .fe-drawer__footer {
702
+ padding-right: max(16px, env(safe-area-inset-right));
703
+ padding-left: max(16px, env(safe-area-inset-left));
704
+ }
705
+ .fe-drawer__body {
706
+ padding: 20px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
707
+ }
708
+ .fe-drawer__footer {
709
+ padding-bottom: max(12px, env(safe-area-inset-bottom));
710
+ }
711
+ .fe-drawer.fe-drawer--left {
712
+ width: calc(100vw - 32px) !important;
713
+ height: 100vh;
714
+ height: 100dvh;
715
+ margin-right: auto;
716
+ margin-left: 0;
717
+ animation-name: fe-drawer-in-left;
718
+ }
719
+ .fe-drawer.fe-drawer--right {
720
+ width: calc(100vw - 32px) !important;
721
+ height: 100vh;
722
+ height: 100dvh;
723
+ margin-right: 0;
724
+ margin-left: auto;
725
+ animation-name: fe-drawer-in-right;
726
+ }
727
+ .fe-drawer.fe-drawer--top {
728
+ width: 100% !important;
729
+ height: auto;
730
+ max-width: none;
731
+ max-height: min(85dvh, 720px);
732
+ margin: 0 auto auto;
733
+ border-radius: 0 0 20px 20px;
734
+ animation-name: fe-drawer-in-top;
735
+ }
736
+ .fe-drawer.fe-drawer--bottom {
737
+ width: 100% !important;
738
+ height: auto;
739
+ max-width: none;
740
+ max-height: min(85dvh, 720px);
741
+ margin: auto 0 0;
742
+ border-radius: 20px 20px 0 0;
743
+ animation-name: fe-drawer-in-bottom;
744
+ }
745
+ .fe-drawer.fe-drawer--full-screen {
746
+ width: 100vw !important;
747
+ height: 100vh;
748
+ height: 100dvh;
749
+ max-width: none;
750
+ max-height: none;
751
+ margin: 0;
752
+ border-radius: 0;
753
+ }
754
+ }
755
+ @media (prefers-reduced-motion: reduce) {
756
+ .fe-drawer-backdrop,
757
+ .fe-drawer {
758
+ animation-duration: 0.01ms;
759
+ animation-iteration-count: 1;
760
+ }
761
+ }
698
762
 
699
763
  /* packages/form-controls/src/controls/Field/style.css */
700
764
  .fe-field__label {
@@ -1268,6 +1332,19 @@ table[data-fe-table] tbody tr:hover {
1268
1332
  font-size: 12px;
1269
1333
  }
1270
1334
 
1335
+ /* packages/form-controls/src/controls/PasswordInput/style.css */
1336
+ .fe-password-input .fe-text-input__suffix {
1337
+ margin-left: 0;
1338
+ padding-right: 4px;
1339
+ }
1340
+ .fe-password-input__toggle.fe-button {
1341
+ width: 28px;
1342
+ min-width: 28px;
1343
+ height: 28px;
1344
+ min-height: 28px;
1345
+ border-radius: 50%;
1346
+ }
1347
+
1271
1348
  /* packages/form-controls/src/controls/TextArea/style.css */
1272
1349
  .fe-text-area {
1273
1350
  display: grid;
@@ -1945,21 +2022,23 @@ table[data-fe-table] tbody tr:hover {
1945
2022
  display: grid;
1946
2023
  place-items: center;
1947
2024
  padding: 24px;
1948
- background: rgba(15, 18, 25, .5);
1949
- animation: fe-modal-fade .16s ease;
2025
+ background: rgba(15, 18, 25, 0.5);
2026
+ animation: fe-modal-fade 0.16s ease;
1950
2027
  }
1951
2028
  .fe-modal {
1952
2029
  display: flex;
1953
- width: min(100%, 560px);
2030
+ width: 100%;
2031
+ max-width: 560px;
1954
2032
  max-height: min(720px, calc(100vh - 48px));
2033
+ max-height: min(720px, calc(100dvh - 48px));
1955
2034
  flex-direction: column;
1956
2035
  overflow: hidden;
1957
2036
  border-radius: 16px;
1958
2037
  background: #fff;
1959
2038
  color: #20242c;
1960
- box-shadow: 0 24px 64px rgba(15, 18, 25, .28);
2039
+ box-shadow: 0 24px 64px rgba(15, 18, 25, 0.28);
1961
2040
  outline: 0;
1962
- animation: fe-modal-in .18s cubic-bezier(.2, .8, .2, 1);
2041
+ animation: fe-modal-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
1963
2042
  }
1964
2043
  .fe-modal--small {
1965
2044
  max-width: 400px;
@@ -1977,6 +2056,7 @@ table[data-fe-table] tbody tr:hover {
1977
2056
  width: calc(100vw - 48px);
1978
2057
  max-width: none;
1979
2058
  max-height: calc(100vh - 48px);
2059
+ max-height: calc(100dvh - 48px);
1980
2060
  }
1981
2061
  .fe-modal__header {
1982
2062
  display: flex;
@@ -2043,7 +2123,7 @@ table[data-fe-table] tbody tr:hover {
2043
2123
  @keyframes fe-modal-in {
2044
2124
  from {
2045
2125
  opacity: 0;
2046
- transform: translateY(10px) scale(.985);
2126
+ transform: translateY(10px) scale(0.985);
2047
2127
  }
2048
2128
  to {
2049
2129
  opacity: 1;
@@ -2058,6 +2138,7 @@ table[data-fe-table] tbody tr:hover {
2058
2138
  .fe-modal--full {
2059
2139
  width: 100%;
2060
2140
  max-height: calc(100vh - 32px);
2141
+ max-height: calc(100dvh - 32px);
2061
2142
  }
2062
2143
  .fe-modal__header,
2063
2144
  .fe-modal__body,
@@ -2068,6 +2149,7 @@ table[data-fe-table] tbody tr:hover {
2068
2149
  .fe-modal__footer {
2069
2150
  align-items: stretch;
2070
2151
  flex-direction: column;
2152
+ padding-bottom: max(12px, env(safe-area-inset-bottom));
2071
2153
  }
2072
2154
  .fe-modal__actions {
2073
2155
  width: 100%;
@@ -2077,6 +2159,13 @@ table[data-fe-table] tbody tr:hover {
2077
2159
  flex: 1;
2078
2160
  }
2079
2161
  }
2162
+ @media (prefers-reduced-motion: reduce) {
2163
+ .fe-modal-backdrop,
2164
+ .fe-modal {
2165
+ animation-duration: 0.01ms;
2166
+ animation-iteration-count: 1;
2167
+ }
2168
+ }
2080
2169
 
2081
2170
  /* packages/progress/src/styles.css */
2082
2171
  .fe-progress {
@@ -2534,4 +2623,1063 @@ table[data-fe-table] tbody tr:hover {
2534
2623
  white-space: nowrap;
2535
2624
  }
2536
2625
 
2626
+ /* packages/file-upload/src/styles.css */
2627
+ .fe-file-upload {
2628
+ display: grid;
2629
+ min-width: 0;
2630
+ gap: 8px;
2631
+ color: #20242c;
2632
+ font: inherit;
2633
+ }
2634
+ .fe-file-upload__label {
2635
+ font-size: 14px;
2636
+ font-weight: 600;
2637
+ }
2638
+ .fe-file-upload__description {
2639
+ color: #687183;
2640
+ font-size: 13px;
2641
+ line-height: 1.45;
2642
+ }
2643
+ .fe-file-upload__input {
2644
+ position: absolute;
2645
+ width: 1px;
2646
+ height: 1px;
2647
+ padding: 0;
2648
+ border: 0;
2649
+ overflow: hidden;
2650
+ clip: rect(0 0 0 0);
2651
+ clip-path: inset(50%);
2652
+ white-space: nowrap;
2653
+ }
2654
+ .fe-file-upload__dropzone {
2655
+ display: grid;
2656
+ min-height: 188px;
2657
+ place-items: center;
2658
+ align-content: center;
2659
+ gap: 7px;
2660
+ padding: 24px;
2661
+ border: 2px dashed #b8bec9;
2662
+ border-radius: 14px;
2663
+ background: #fff;
2664
+ text-align: center;
2665
+ transition:
2666
+ border-color 0.16s ease,
2667
+ background-color 0.16s ease,
2668
+ box-shadow 0.16s ease;
2669
+ }
2670
+ .fe-file-upload__dropzone:hover {
2671
+ border-color: #5b9cff;
2672
+ background: #f8fbff;
2673
+ }
2674
+ .fe-file-upload__dropzone--dragging {
2675
+ border-color: #2878f0;
2676
+ background: #e7f1ff;
2677
+ box-shadow: 0 0 0 4px rgba(40, 120, 240, 0.14);
2678
+ }
2679
+ .fe-file-upload__dropzone--disabled {
2680
+ border-color: #d4d8e0;
2681
+ background: #f5f6f8;
2682
+ color: #8b94a4;
2683
+ }
2684
+ .fe-file-upload__drop-icon {
2685
+ display: grid;
2686
+ width: 36px;
2687
+ height: 36px;
2688
+ place-items: center;
2689
+ border-radius: 50%;
2690
+ color: #1e60cc;
2691
+ background: #e7f1ff;
2692
+ font-size: 24px;
2693
+ font-weight: 700;
2694
+ line-height: 1;
2695
+ }
2696
+ .fe-file-upload__drop-label {
2697
+ font-size: 14px;
2698
+ font-weight: 700;
2699
+ }
2700
+ .fe-file-upload__drop-hint {
2701
+ color: #687183;
2702
+ font-size: 13px;
2703
+ }
2704
+ .fe-file-upload__dropzone .fe-button {
2705
+ margin-top: 5px;
2706
+ }
2707
+ .fe-file-upload__errors {
2708
+ display: grid;
2709
+ gap: 4px;
2710
+ padding: 10px 12px;
2711
+ border: 1px solid #f3909d;
2712
+ border-radius: 10px;
2713
+ color: #b92c43;
2714
+ background: #ffeaed;
2715
+ font-size: 13px;
2716
+ line-height: 1.45;
2717
+ }
2718
+ .fe-file-upload__errors p {
2719
+ margin: 0;
2720
+ }
2721
+ .fe-file-upload__list {
2722
+ display: grid;
2723
+ margin: 0;
2724
+ padding: 0;
2725
+ overflow: hidden;
2726
+ border: 1px solid #d4d8e0;
2727
+ border-radius: 12px;
2728
+ list-style: none;
2729
+ }
2730
+ .fe-file-upload__item {
2731
+ display: flex;
2732
+ min-width: 0;
2733
+ align-items: center;
2734
+ gap: 12px;
2735
+ padding: 10px 12px;
2736
+ border-top: 1px solid #e8eaee;
2737
+ background: #fff;
2738
+ }
2739
+ .fe-file-upload__item:first-child {
2740
+ border-top: 0;
2741
+ }
2742
+ .fe-file-upload__visual {
2743
+ display: grid;
2744
+ width: 40px;
2745
+ height: 40px;
2746
+ flex: 0 0 40px;
2747
+ place-items: center;
2748
+ overflow: hidden;
2749
+ border-radius: 8px;
2750
+ background: #f1f3f6;
2751
+ }
2752
+ .fe-file-upload__thumbnail {
2753
+ width: 100%;
2754
+ height: 100%;
2755
+ object-fit: cover;
2756
+ }
2757
+ .fe-file-upload__file-type {
2758
+ max-width: 34px;
2759
+ overflow: hidden;
2760
+ color: #535b6a;
2761
+ font-size: 10px;
2762
+ font-weight: 800;
2763
+ text-overflow: ellipsis;
2764
+ text-transform: uppercase;
2765
+ white-space: nowrap;
2766
+ }
2767
+ .fe-file-upload__file-details {
2768
+ display: grid;
2769
+ min-width: 0;
2770
+ flex: 1 1 auto;
2771
+ gap: 3px;
2772
+ }
2773
+ .fe-file-upload__file-name {
2774
+ overflow: hidden;
2775
+ color: #20242c;
2776
+ font-size: 14px;
2777
+ font-weight: 600;
2778
+ text-overflow: ellipsis;
2779
+ white-space: nowrap;
2780
+ }
2781
+ .fe-file-upload__file-size {
2782
+ color: #687183;
2783
+ font-size: 12px;
2784
+ }
2785
+ .fe-file-upload__item > .fe-button {
2786
+ flex: 0 0 auto;
2787
+ }
2788
+ @media (max-width: 480px) {
2789
+ .fe-file-upload__dropzone {
2790
+ min-height: 168px;
2791
+ padding: 20px 16px;
2792
+ }
2793
+ .fe-file-upload__item {
2794
+ gap: 9px;
2795
+ padding: 9px;
2796
+ }
2797
+ }
2798
+
2799
+ /* packages/file-preview/src/styles.css */
2800
+ .fe-file-preview-backdrop {
2801
+ position: fixed;
2802
+ z-index: 1200;
2803
+ inset: 0;
2804
+ display: grid;
2805
+ place-items: center;
2806
+ padding: 24px;
2807
+ background: rgba(8, 12, 20, 0.88);
2808
+ animation: fe-file-preview-fade 0.16s ease;
2809
+ }
2810
+ .fe-file-preview {
2811
+ display: flex;
2812
+ width: min(1120px, 100%);
2813
+ height: min(760px, calc(100dvh - 48px));
2814
+ flex-direction: column;
2815
+ overflow: hidden;
2816
+ border: 1px solid rgba(255, 255, 255, 0.18);
2817
+ border-radius: 16px;
2818
+ background: #151a23;
2819
+ color: #f8fafc;
2820
+ box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
2821
+ outline: 0;
2822
+ animation: fe-file-preview-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
2823
+ }
2824
+ .fe-file-preview__header,
2825
+ .fe-file-preview__footer {
2826
+ display: flex;
2827
+ flex: 0 0 auto;
2828
+ align-items: center;
2829
+ justify-content: space-between;
2830
+ gap: 16px;
2831
+ padding: 14px 18px;
2832
+ }
2833
+ .fe-file-preview__header {
2834
+ border-bottom: 1px solid rgba(255, 255, 255, 0.14);
2835
+ }
2836
+ .fe-file-preview__heading {
2837
+ display: flex;
2838
+ min-width: 0;
2839
+ align-items: center;
2840
+ gap: 12px;
2841
+ }
2842
+ .fe-file-preview__heading h2 {
2843
+ overflow: hidden;
2844
+ margin: 0;
2845
+ font-size: 15px;
2846
+ line-height: 1.35;
2847
+ text-overflow: ellipsis;
2848
+ white-space: nowrap;
2849
+ }
2850
+ .fe-file-preview__heading > span,
2851
+ .fe-file-preview__metadata {
2852
+ flex: 0 0 auto;
2853
+ color: #aab5c6;
2854
+ font-size: 13px;
2855
+ }
2856
+ .fe-file-preview__header .fe-button {
2857
+ flex: 0 0 auto;
2858
+ color: #f8fafc;
2859
+ }
2860
+ .fe-file-preview__header .fe-button:hover {
2861
+ background: rgba(255, 255, 255, 0.12);
2862
+ }
2863
+ .fe-file-preview__body {
2864
+ position: relative;
2865
+ display: grid;
2866
+ min-height: 0;
2867
+ flex: 1 1 auto;
2868
+ place-items: center;
2869
+ overflow: hidden;
2870
+ padding: 24px 80px;
2871
+ background: #0d1118;
2872
+ }
2873
+ .fe-file-preview__image,
2874
+ .fe-file-preview__video {
2875
+ display: block;
2876
+ max-width: 100%;
2877
+ max-height: 100%;
2878
+ border-radius: 10px;
2879
+ object-fit: contain;
2880
+ }
2881
+ .fe-file-preview__video {
2882
+ background: #000;
2883
+ }
2884
+ .fe-file-preview__audio {
2885
+ width: min(520px, 100%);
2886
+ }
2887
+ .fe-file-preview__pdf {
2888
+ width: 100%;
2889
+ height: 100%;
2890
+ border: 0;
2891
+ border-radius: 10px;
2892
+ background: #fff;
2893
+ }
2894
+ .fe-file-preview__unsupported {
2895
+ display: grid;
2896
+ width: min(360px, 100%);
2897
+ gap: 10px;
2898
+ justify-items: center;
2899
+ padding: 32px;
2900
+ border: 1px solid rgba(255, 255, 255, 0.16);
2901
+ border-radius: 14px;
2902
+ color: #c8d1df;
2903
+ background: #1e2531;
2904
+ text-align: center;
2905
+ }
2906
+ .fe-file-preview__unsupported p {
2907
+ margin: 0;
2908
+ color: #f8fafc;
2909
+ font-weight: 600;
2910
+ }
2911
+ .fe-file-preview__unsupported > span:last-child {
2912
+ overflow: hidden;
2913
+ max-width: 100%;
2914
+ text-overflow: ellipsis;
2915
+ white-space: nowrap;
2916
+ }
2917
+ .fe-file-preview__file-type {
2918
+ display: grid;
2919
+ width: 52px;
2920
+ height: 52px;
2921
+ place-items: center;
2922
+ border-radius: 12px;
2923
+ color: #b9d4ff;
2924
+ background: #284b7b;
2925
+ font-size: 12px;
2926
+ font-weight: 800;
2927
+ }
2928
+ .fe-file-preview__empty {
2929
+ color: #aab5c6;
2930
+ }
2931
+ .fe-file-preview__navigation {
2932
+ position: absolute;
2933
+ top: 50%;
2934
+ z-index: 1;
2935
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
2936
+ transform: translateY(-50%);
2937
+ }
2938
+ .fe-file-preview__navigation--previous {
2939
+ left: 20px;
2940
+ }
2941
+ .fe-file-preview__navigation--next {
2942
+ right: 20px;
2943
+ }
2944
+ .fe-file-preview__navigation--previous svg {
2945
+ transform: rotate(90deg);
2946
+ }
2947
+ .fe-file-preview__navigation--next svg {
2948
+ transform: rotate(-90deg);
2949
+ }
2950
+ .fe-file-preview__footer {
2951
+ min-height: 64px;
2952
+ border-top: 1px solid rgba(255, 255, 255, 0.14);
2953
+ }
2954
+ .fe-file-preview__actions {
2955
+ display: flex;
2956
+ flex-wrap: wrap;
2957
+ justify-content: flex-end;
2958
+ gap: 8px;
2959
+ }
2960
+ .fe-file-preview__footer .fe-button--secondary-gray {
2961
+ border-color: rgba(255, 255, 255, 0.26);
2962
+ color: #f8fafc;
2963
+ background: transparent;
2964
+ }
2965
+ .fe-file-preview__footer .fe-button--secondary-gray:hover {
2966
+ background: rgba(255, 255, 255, 0.12);
2967
+ }
2968
+ @keyframes fe-file-preview-fade {
2969
+ from {
2970
+ opacity: 0;
2971
+ }
2972
+ to {
2973
+ opacity: 1;
2974
+ }
2975
+ }
2976
+ @keyframes fe-file-preview-in {
2977
+ from {
2978
+ opacity: 0;
2979
+ transform: translateY(10px) scale(0.985);
2980
+ }
2981
+ to {
2982
+ opacity: 1;
2983
+ transform: translateY(0) scale(1);
2984
+ }
2985
+ }
2986
+ @media (max-width: 640px) {
2987
+ .fe-file-preview-backdrop {
2988
+ padding: 12px;
2989
+ }
2990
+ .fe-file-preview {
2991
+ height: calc(100dvh - 24px);
2992
+ border-radius: 12px;
2993
+ }
2994
+ .fe-file-preview__header,
2995
+ .fe-file-preview__footer {
2996
+ padding-right: 12px;
2997
+ padding-left: 12px;
2998
+ }
2999
+ .fe-file-preview__heading {
3000
+ gap: 8px;
3001
+ }
3002
+ .fe-file-preview__body {
3003
+ padding: 16px 52px;
3004
+ }
3005
+ .fe-file-preview__navigation--previous {
3006
+ left: 8px;
3007
+ }
3008
+ .fe-file-preview__navigation--next {
3009
+ right: 8px;
3010
+ }
3011
+ .fe-file-preview__footer {
3012
+ align-items: flex-start;
3013
+ flex-direction: column;
3014
+ }
3015
+ .fe-file-preview__actions {
3016
+ width: 100%;
3017
+ }
3018
+ .fe-file-preview__actions .fe-button {
3019
+ flex: 1;
3020
+ }
3021
+ }
3022
+ @media (prefers-reduced-motion: reduce) {
3023
+ .fe-file-preview-backdrop,
3024
+ .fe-file-preview {
3025
+ animation-duration: 0.01ms;
3026
+ animation-iteration-count: 1;
3027
+ }
3028
+ }
3029
+
3030
+ /* packages/not-found/src/caveman.css */
3031
+ .fe-cave-text {
3032
+ left: 50%;
3033
+ position: absolute;
3034
+ top: 50%;
3035
+ transform: translate(-50%, -50%);
3036
+ color: rgba(19, 36, 44, 0.1);
3037
+ font-size: 30em;
3038
+ text-align: center;
3039
+ top: 40%;
3040
+ }
3041
+ .fe-cave-container {
3042
+ left: 50%;
3043
+ position: absolute;
3044
+ top: 50%;
3045
+ transform: translate(-50%, -50%);
3046
+ height: 300px;
3047
+ width: 500px;
3048
+ }
3049
+ .fe-cave-container:after {
3050
+ position: absolute;
3051
+ content: "";
3052
+ background-color: rgba(19, 36, 44, 0.1);
3053
+ border-radius: 12px;
3054
+ bottom: 40px;
3055
+ height: 12px;
3056
+ left: 80px;
3057
+ width: 350px;
3058
+ z-index: -1;
3059
+ }
3060
+ .fe-cave-caveman {
3061
+ height: 300px;
3062
+ position: absolute;
3063
+ width: 250px;
3064
+ }
3065
+ .fe-cave-caveman:nth-child(1) {
3066
+ right: 20px;
3067
+ }
3068
+ .fe-cave-caveman:nth-child(2) {
3069
+ left: 20px;
3070
+ transform: rotateY(180deg);
3071
+ }
3072
+ .fe-cave-head {
3073
+ position: absolute;
3074
+ background-color: #13242c;
3075
+ border-radius: 50px;
3076
+ height: 140px;
3077
+ left: 60px;
3078
+ top: 25px;
3079
+ width: 65px;
3080
+ }
3081
+ .fe-cave-head:after,
3082
+ .fe-cave-head:before {
3083
+ content: "";
3084
+ position: absolute;
3085
+ background-color: #13242c;
3086
+ border-radius: 10px;
3087
+ height: 20px;
3088
+ width: 7px;
3089
+ }
3090
+ .fe-cave-head:after {
3091
+ left: 35px;
3092
+ top: -8px;
3093
+ transform: rotate(20deg);
3094
+ }
3095
+ .fe-cave-head:before {
3096
+ left: 30px;
3097
+ top: -8px;
3098
+ transform: rotate(-20deg);
3099
+ }
3100
+ .fe-cave-head .fe-cave-eye {
3101
+ left: 50%;
3102
+ position: absolute;
3103
+ transform: translateX(-50%);
3104
+ background-color: #eab08c;
3105
+ border-radius: 50px;
3106
+ height: 16px;
3107
+ left: 45%;
3108
+ top: 40px;
3109
+ width: 48px;
3110
+ }
3111
+ .fe-cave-head .fe-cave-eye:after,
3112
+ .fe-cave-head .fe-cave-eye:before {
3113
+ content: "";
3114
+ position: absolute;
3115
+ top: 50%;
3116
+ transform: translateY(-50%);
3117
+ background-color: #13242c;
3118
+ border-radius: 50%;
3119
+ height: 5px;
3120
+ width: 5px;
3121
+ }
3122
+ .fe-cave-head .fe-cave-eye:after {
3123
+ left: 5px;
3124
+ }
3125
+ .fe-cave-head .fe-cave-eye:before {
3126
+ right: 9px;
3127
+ }
3128
+ .fe-cave-head .fe-cave-eye .fe-cave-nose {
3129
+ left: 50%;
3130
+ position: absolute;
3131
+ top: 50%;
3132
+ transform: translate(-50%, -50%);
3133
+ background-color: #d9766c;
3134
+ border-left: 8px solid rgba(19, 36, 44, 0.1);
3135
+ border-radius: 10px;
3136
+ box-sizing: border-box;
3137
+ height: 35px;
3138
+ left: 45%;
3139
+ top: 12px;
3140
+ width: 15px;
3141
+ }
3142
+ .fe-cave-shape {
3143
+ left: 50%;
3144
+ position: absolute;
3145
+ transform: translateX(-50%);
3146
+ border-radius: 50%;
3147
+ height: 140px;
3148
+ overflow: hidden;
3149
+ top: 70px;
3150
+ width: 140px;
3151
+ }
3152
+ .fe-cave-shape .fe-cave-circle {
3153
+ position: absolute;
3154
+ border-radius: 50%;
3155
+ height: 60px;
3156
+ width: 60px;
3157
+ }
3158
+ .fe-cave-shape .fe-cave-circle:after,
3159
+ .fe-cave-shape .fe-cave-circle:before {
3160
+ content: "";
3161
+ position: absolute;
3162
+ border-radius: 50%;
3163
+ height: 20px;
3164
+ width: 20px;
3165
+ }
3166
+ .fe-cave-shape .fe-cave-circle:after {
3167
+ left: 50px;
3168
+ top: 10px;
3169
+ }
3170
+ .fe-cave-shape .fe-cave-circle:before {
3171
+ left: 60px;
3172
+ top: 45px;
3173
+ }
3174
+ .fe-cave-shape .fe-cave-circle:nth-child(1) {
3175
+ left: -12px;
3176
+ top: 80px;
3177
+ }
3178
+ .fe-cave-shape .fe-cave-circle:nth-child(2) {
3179
+ right: 10px;
3180
+ top: 0px;
3181
+ transform: rotate(90deg);
3182
+ }
3183
+ .fe-cave-shape .fe-cave-circle:nth-child(2):after {
3184
+ left: 65px;
3185
+ top: 10px;
3186
+ }
3187
+ .fe-cave-shape .fe-cave-circle:nth-child(2):before {
3188
+ display: none;
3189
+ }
3190
+ .fe-cave-caveman:nth-child(1) .fe-cave-shape {
3191
+ background-color: #d13433;
3192
+ }
3193
+ .fe-cave-caveman:nth-child(1) .fe-cave-shape .fe-cave-circle {
3194
+ background-color: #932422;
3195
+ }
3196
+ .fe-cave-caveman:nth-child(1) .fe-cave-shape .fe-cave-circle:after,
3197
+ .fe-cave-caveman:nth-child(1) .fe-cave-shape .fe-cave-circle:before {
3198
+ background-color: #932422;
3199
+ }
3200
+ .fe-cave-caveman:nth-child(2) .fe-cave-shape {
3201
+ background-color: #932422;
3202
+ }
3203
+ .fe-cave-caveman:nth-child(2) .fe-cave-shape .fe-cave-circle {
3204
+ background-color: #d13433;
3205
+ }
3206
+ .fe-cave-caveman:nth-child(2) .fe-cave-shape .fe-cave-circle:after,
3207
+ .fe-cave-caveman:nth-child(2) .fe-cave-shape .fe-cave-circle:before {
3208
+ background-color: #d13433;
3209
+ }
3210
+ .fe-cave-arm-right {
3211
+ position: absolute;
3212
+ background-color: #eab08c;
3213
+ border-left: 8px solid rgba(19, 36, 44, 0.1);
3214
+ border-radius: 50px;
3215
+ box-sizing: border-box;
3216
+ height: 180px;
3217
+ left: 135px;
3218
+ top: 80px;
3219
+ transform-origin: 30px 30px;
3220
+ width: 60px;
3221
+ z-index: 1;
3222
+ }
3223
+ .fe-cave-arm-right .fe-cave-club {
3224
+ position: absolute;
3225
+ border-bottom: 110px solid #601513;
3226
+ border-left: 10px solid transparent;
3227
+ border-right: 10px solid transparent;
3228
+ height: 0;
3229
+ left: -60px;
3230
+ top: 120px;
3231
+ transform: rotate(70deg);
3232
+ width: 20px;
3233
+ }
3234
+ .fe-cave-arm-right .fe-cave-club:after,
3235
+ .fe-cave-arm-right .fe-cave-club:before {
3236
+ position: absolute;
3237
+ content: "";
3238
+ background-color: #601513;
3239
+ border-radius: 50%;
3240
+ left: 0;
3241
+ }
3242
+ .fe-cave-arm-right .fe-cave-club:after {
3243
+ height: 20px;
3244
+ width: 20px;
3245
+ top: -10px;
3246
+ }
3247
+ .fe-cave-arm-right .fe-cave-club:before {
3248
+ height: 40px;
3249
+ width: 40px;
3250
+ left: -10px;
3251
+ top: 90px;
3252
+ }
3253
+ .fe-cave-leg {
3254
+ position: absolute;
3255
+ border-radius: 10px;
3256
+ height: 55px;
3257
+ top: 200px;
3258
+ width: 10px;
3259
+ }
3260
+ .fe-cave-leg:after {
3261
+ position: absolute;
3262
+ content: "";
3263
+ border-radius: 50%;
3264
+ height: 10px;
3265
+ left: -5px;
3266
+ top: 15px;
3267
+ width: 10px;
3268
+ }
3269
+ .fe-cave-leg .fe-cave-foot {
3270
+ position: absolute;
3271
+ border-radius: 25px 25px 0 0;
3272
+ height: 25px;
3273
+ left: -38px;
3274
+ top: 30px;
3275
+ width: 50px;
3276
+ }
3277
+ .fe-cave-leg .fe-cave-foot:after,
3278
+ .fe-cave-leg .fe-cave-foot:before,
3279
+ .fe-cave-leg .fe-cave-foot .fe-cave-fingers,
3280
+ .fe-cave-leg .fe-cave-foot .fe-cave-fingers:after {
3281
+ position: absolute;
3282
+ background-color: #eab08c;
3283
+ border-radius: 50%;
3284
+ bottom: 0px;
3285
+ height: 15px;
3286
+ transform-origin: bottom;
3287
+ width: 15px;
3288
+ }
3289
+ .fe-cave-leg .fe-cave-foot:after {
3290
+ left: -6px;
3291
+ content: "";
3292
+ }
3293
+ .fe-cave-leg .fe-cave-foot:before {
3294
+ left: 8px;
3295
+ transform: scale(0.6);
3296
+ content: "";
3297
+ }
3298
+ .fe-cave-leg .fe-cave-foot .fe-cave-fingers {
3299
+ left: 15px;
3300
+ transform: scale(0.6);
3301
+ }
3302
+ .fe-cave-leg .fe-cave-foot .fe-cave-fingers:after {
3303
+ left: 11px;
3304
+ content: "";
3305
+ }
3306
+ .fe-cave-leg:nth-child(1) {
3307
+ background-color: #b2524d;
3308
+ left: 95px;
3309
+ }
3310
+ .fe-cave-leg:nth-child(1):after {
3311
+ background-color: #b2524d;
3312
+ }
3313
+ .fe-cave-leg:nth-child(1) .fe-cave-foot {
3314
+ background-color: #b2524d;
3315
+ }
3316
+ .fe-cave-leg:nth-child(1) .fe-cave-foot:after {
3317
+ background-color: #b2524d;
3318
+ }
3319
+ .fe-cave-leg:nth-child(1) .fe-cave-foot:before {
3320
+ display: none;
3321
+ }
3322
+ .fe-cave-leg:nth-child(2) {
3323
+ background-color: #d9766c;
3324
+ left: 115px;
3325
+ }
3326
+ .fe-cave-leg:nth-child(2):after {
3327
+ background-color: #d9766c;
3328
+ }
3329
+ .fe-cave-leg:nth-child(2) .fe-cave-foot {
3330
+ background-color: #d9766c;
3331
+ }
3332
+ .fe-cave-caveman:nth-child(1) .fe-cave-arm-right {
3333
+ animation: fe-cave-arm-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3334
+ }
3335
+ .fe-cave-caveman:nth-child(2) .fe-cave-arm-right {
3336
+ animation: fe-cave-arm-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3337
+ animation-delay: 0.6s;
3338
+ }
3339
+ @keyframes fe-cave-arm-anima {
3340
+ 0% {
3341
+ transform: rotate(0);
3342
+ }
3343
+ 100% {
3344
+ transform: rotate(-360deg);
3345
+ }
3346
+ }
3347
+ .fe-cave-caveman:nth-child(2) .fe-cave-head {
3348
+ animation: fe-cave-head-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3349
+ }
3350
+ .fe-cave-caveman:nth-child(1) .fe-cave-head {
3351
+ animation: fe-cave-head-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3352
+ animation-delay: 0.6s;
3353
+ }
3354
+ @keyframes fe-cave-head-anima {
3355
+ 0% {
3356
+ top: 25px;
3357
+ }
3358
+ 42% {
3359
+ top: 25px;
3360
+ }
3361
+ 45% {
3362
+ top: 50px;
3363
+ }
3364
+ 100% {
3365
+ top: 25px;
3366
+ }
3367
+ }
3368
+ .fe-cave-caveman:nth-child(2) .fe-cave-eye:after,
3369
+ .fe-cave-caveman:nth-child(2) .fe-cave-eye:before {
3370
+ animation: fe-cave-eye-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3371
+ }
3372
+ .fe-cave-caveman:nth-child(1) .fe-cave-eye:after,
3373
+ .fe-cave-caveman:nth-child(1) .fe-cave-eye:before {
3374
+ animation: fe-cave-eye-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3375
+ animation-delay: 0.6s;
3376
+ }
3377
+ @keyframes fe-cave-eye-anima {
3378
+ 0% {
3379
+ height: 5px;
3380
+ }
3381
+ 42% {
3382
+ height: 5px;
3383
+ }
3384
+ 45% {
3385
+ height: 1px;
3386
+ }
3387
+ 100% {
3388
+ height: 5px;
3389
+ }
3390
+ }
3391
+ .fe-cave-container:after {
3392
+ animation: fe-cave-shadow-anima 1.2s infinite cubic-bezier(0.55, 0.01, 0.16, 1.34);
3393
+ animation-delay: 0.1s;
3394
+ }
3395
+ @keyframes fe-cave-shadow-anima {
3396
+ 0% {
3397
+ width: 350px;
3398
+ left: 80px;
3399
+ }
3400
+ 25% {
3401
+ width: 450px;
3402
+ left: 80px;
3403
+ }
3404
+ 50% {
3405
+ width: 350px;
3406
+ left: 80px;
3407
+ }
3408
+ 75% {
3409
+ width: 450px;
3410
+ left: 0px;
3411
+ }
3412
+ 100% {
3413
+ width: 350px;
3414
+ left: 80px;
3415
+ }
3416
+ }
3417
+
3418
+ /* packages/not-found/src/styles.css */
3419
+ .fe-not-found {
3420
+ box-sizing: border-box;
3421
+ container: fe-not-found / inline-size;
3422
+ isolation: isolate;
3423
+ display: flex;
3424
+ flex-direction: column;
3425
+ align-items: center;
3426
+ justify-content: center;
3427
+ width: 100%;
3428
+ min-width: 0;
3429
+ padding: 32px 20px;
3430
+ overflow: hidden;
3431
+ border-radius: 16px;
3432
+ text-align: center;
3433
+ font-family: system-ui, sans-serif;
3434
+ }
3435
+ .fe-not-found--caveman {
3436
+ background: #ff7f2e;
3437
+ color: #13242c;
3438
+ }
3439
+ .fe-not-found--bad_dream {
3440
+ background: #09334f;
3441
+ color: #fff;
3442
+ }
3443
+ .fe-not-found--electric_shock {
3444
+ background: #fff;
3445
+ color: #222;
3446
+ font-family: Georgia, serif;
3447
+ }
3448
+ .fe-not-found__art {
3449
+ position: relative;
3450
+ width: 100%;
3451
+ max-width: 600px;
3452
+ pointer-events: none;
3453
+ user-select: none;
3454
+ }
3455
+ .fe-not-found__content {
3456
+ position: relative;
3457
+ max-width: 520px;
3458
+ z-index: 1;
3459
+ }
3460
+ .fe-not-found .fe-not-found__title {
3461
+ margin: 0;
3462
+ font-size: clamp(24px, 4cqw, 36px);
3463
+ font-weight: 800;
3464
+ line-height: 1.2;
3465
+ color: inherit;
3466
+ overflow-wrap: anywhere;
3467
+ }
3468
+ .fe-not-found__description {
3469
+ margin: 16px 0 0;
3470
+ font-size: 16px;
3471
+ line-height: 1.6;
3472
+ overflow-wrap: anywhere;
3473
+ }
3474
+ .fe-not-found--bad_dream .fe-not-found__description {
3475
+ color: #d1e2ed;
3476
+ }
3477
+ .fe-not-found__actions {
3478
+ display: flex;
3479
+ flex-wrap: wrap;
3480
+ justify-content: center;
3481
+ gap: 12px;
3482
+ margin-top: 24px;
3483
+ }
3484
+ .fe-not-found__actions:empty,
3485
+ .fe-not-found__description:empty {
3486
+ display: none;
3487
+ }
3488
+ .fe-not-found__sr-only {
3489
+ position: absolute;
3490
+ width: 1px;
3491
+ height: 1px;
3492
+ padding: 0;
3493
+ margin: -1px;
3494
+ overflow: hidden;
3495
+ clip-path: inset(50%);
3496
+ white-space: nowrap;
3497
+ border: 0;
3498
+ }
3499
+ .fe-not-found--caveman .fe-not-found__art {
3500
+ height: 360px;
3501
+ }
3502
+ .fe-cave-scene {
3503
+ position: absolute;
3504
+ width: 600px;
3505
+ height: 360px;
3506
+ left: 50%;
3507
+ top: 50%;
3508
+ transform: translate(-50%, -50%);
3509
+ }
3510
+ .fe-cave-scene *,
3511
+ .fe-cave-scene *::before,
3512
+ .fe-cave-scene *::after {
3513
+ box-sizing: content-box;
3514
+ }
3515
+ .fe-cave-scene .fe-cave-text {
3516
+ font-family:
3517
+ "Arial Rounded MT Bold",
3518
+ system-ui,
3519
+ sans-serif;
3520
+ font-weight: 900;
3521
+ font-size: 280px;
3522
+ line-height: 1;
3523
+ }
3524
+ .fe-cave-scene .fe-cave-arm-right,
3525
+ .fe-cave-scene .fe-cave-nose {
3526
+ box-sizing: border-box;
3527
+ }
3528
+ .fe-cave-scene .fe-cave-container {
3529
+ isolation: isolate;
3530
+ }
3531
+ .fe-yeti-scene {
3532
+ position: relative;
3533
+ width: 100%;
3534
+ aspect-ratio: 600 / 550;
3535
+ overflow: hidden;
3536
+ }
3537
+ .fe-yeti-scene > svg {
3538
+ position: absolute;
3539
+ inset: 0;
3540
+ display: block;
3541
+ width: 100%;
3542
+ height: 100%;
3543
+ }
3544
+ .fe-yeti-scene [data-part=mouth],
3545
+ .fe-yeti-scene [data-part=chin] {
3546
+ transform-box: fill-box;
3547
+ transform-origin: center;
3548
+ animation: fe-yeti-chatter 0.18s ease-in-out infinite alternate;
3549
+ }
3550
+ .fe-yeti-scene [data-part=armL],
3551
+ .fe-yeti-scene [data-part=flashlightFront] {
3552
+ animation: fe-yeti-shiver 12s linear infinite;
3553
+ }
3554
+ .fe-yeti-scene [data-part=light] {
3555
+ opacity: 0.65;
3556
+ animation: fe-yeti-light 12s steps(1, end) infinite;
3557
+ }
3558
+ .fe-yeti-scene .lettersFront {
3559
+ animation: fe-yeti-letters 12s steps(1, end) infinite;
3560
+ }
3561
+ .fe-yeti-scene .hlFur {
3562
+ animation: fe-yeti-fur 12s steps(1, end) infinite;
3563
+ }
3564
+ .fe-yeti-scene .hlSkin {
3565
+ animation: fe-yeti-skin 12s steps(1, end) infinite;
3566
+ }
3567
+ @keyframes fe-yeti-chatter {
3568
+ to {
3569
+ transform: translateY(1.5px);
3570
+ }
3571
+ }
3572
+ @keyframes fe-yeti-shiver {
3573
+ 0%, 20%, 22%, 24%, 95%, 97%, 99%, 100% {
3574
+ transform: translateX(0);
3575
+ }
3576
+ 21%, 23%, 96%, 98% {
3577
+ transform: translateX(7px);
3578
+ }
3579
+ }
3580
+ @keyframes fe-yeti-light {
3581
+ 0%, 70%, 100% {
3582
+ opacity: 0;
3583
+ }
3584
+ 27%, 68% {
3585
+ opacity: 0.65;
3586
+ }
3587
+ }
3588
+ @keyframes fe-yeti-letters {
3589
+ 0%, 70%, 100% {
3590
+ fill: #051d2c;
3591
+ stroke: #031219;
3592
+ }
3593
+ 27%, 68% {
3594
+ fill: #67b1e0;
3595
+ stroke: #265d85;
3596
+ }
3597
+ }
3598
+ @keyframes fe-yeti-fur {
3599
+ 0%, 70%, 100% {
3600
+ fill: #67b1e0;
3601
+ }
3602
+ 27%, 68% {
3603
+ fill: #fff;
3604
+ }
3605
+ }
3606
+ @keyframes fe-yeti-skin {
3607
+ 0%, 70%, 100% {
3608
+ fill: #88c9f2;
3609
+ }
3610
+ 27%, 68% {
3611
+ fill: #ddf1fa;
3612
+ }
3613
+ }
3614
+ .fe-not-found__lost-art {
3615
+ height: 350px;
3616
+ background: #fff url("./lost-ORG2SV6N.gif") center / 600px 450px no-repeat;
3617
+ }
3618
+ .fe-not-found__lost-art span {
3619
+ position: relative;
3620
+ display: block;
3621
+ padding-top: 8px;
3622
+ font-size: 80px;
3623
+ line-height: 1;
3624
+ }
3625
+ .fe-not-found--electric_shock .fe-not-found__actions .fe-button--primary {
3626
+ background: #268420;
3627
+ }
3628
+ @container fe-not-found (max-width: 540px) {
3629
+ .fe-cave-scene {
3630
+ transform: translate(-50%, -50%) scale(0.8);
3631
+ }
3632
+ .fe-not-found--caveman .fe-not-found__art {
3633
+ height: 300px;
3634
+ }
3635
+ }
3636
+ @container fe-not-found (max-width: 420px) {
3637
+ .fe-cave-scene {
3638
+ transform: translate(-50%, -50%) scale(0.6);
3639
+ }
3640
+ .fe-not-found--caveman .fe-not-found__art {
3641
+ height: 240px;
3642
+ }
3643
+ .fe-not-found__lost-art {
3644
+ height: 280px;
3645
+ background-size: 480px 360px;
3646
+ }
3647
+ .fe-not-found__lost-art span {
3648
+ font-size: 64px;
3649
+ }
3650
+ }
3651
+ @container fe-not-found (max-width: 300px) {
3652
+ .fe-cave-scene {
3653
+ transform: translate(-50%, -50%) scale(0.45);
3654
+ }
3655
+ .fe-not-found--caveman .fe-not-found__art {
3656
+ height: 190px;
3657
+ }
3658
+ .fe-not-found__lost-art {
3659
+ height: 220px;
3660
+ background-size: 360px 270px;
3661
+ }
3662
+ .fe-not-found__lost-art span {
3663
+ font-size: 52px;
3664
+ }
3665
+ }
3666
+ .fe-not-found[data-animated=false] .fe-not-found__art *,
3667
+ .fe-not-found[data-animated=false] .fe-not-found__art *::before,
3668
+ .fe-not-found[data-animated=false] .fe-not-found__art *::after {
3669
+ animation: none !important;
3670
+ }
3671
+ .fe-not-found[data-animated=false] .fe-not-found__lost-art {
3672
+ background-image: url("./lost-still-KGRGCS37.png");
3673
+ }
3674
+ @media (prefers-reduced-motion: reduce) {
3675
+ .fe-not-found .fe-not-found__art *,
3676
+ .fe-not-found .fe-not-found__art *::before,
3677
+ .fe-not-found .fe-not-found__art *::after {
3678
+ animation: none !important;
3679
+ }
3680
+ .fe-not-found .fe-not-found__lost-art {
3681
+ background-image: url("./lost-still-KGRGCS37.png");
3682
+ }
3683
+ }
3684
+
2537
3685
  /* src/styles.css */