@barodoc/theme-docs 5.0.0 → 6.0.0
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/package.json +6 -2
- package/src/components/Contributors.astro +71 -0
- package/src/components/KeyboardShortcuts.astro +108 -0
- package/src/components/VersionSwitcher.tsx +79 -0
- package/src/components/index.ts +5 -0
- package/src/components/mdx/ApiPlayground.tsx +200 -0
- package/src/components/mdx/ImageZoom.tsx +35 -0
- package/src/components/mdx/Video.tsx +71 -0
- package/src/index.ts +27 -1
- package/src/layouts/BaseLayout.astro +3 -0
- package/src/layouts/BlogLayout.astro +93 -0
- package/src/layouts/DocsLayout.astro +33 -1
- package/src/pages/blog/[...slug].astro +39 -0
- package/src/pages/blog/index.astro +92 -0
- package/src/pages/changelog/index.astro +72 -0
- package/src/pages/docs/[...slug].astro +4 -0
- package/src/styles/global.css +568 -0
package/src/styles/global.css
CHANGED
|
@@ -684,3 +684,571 @@
|
|
|
684
684
|
transform: scale(0.96) translateY(2px);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
+
|
|
688
|
+
/* ==========================================================================
|
|
689
|
+
Image Zoom
|
|
690
|
+
========================================================================== */
|
|
691
|
+
|
|
692
|
+
.bd-image-zoom {
|
|
693
|
+
cursor: zoom-in;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.medium-zoom-overlay {
|
|
697
|
+
z-index: 10000;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.medium-zoom-image--opened {
|
|
701
|
+
z-index: 10001;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/* ==========================================================================
|
|
705
|
+
Video Embed
|
|
706
|
+
========================================================================== */
|
|
707
|
+
|
|
708
|
+
.bd-video {
|
|
709
|
+
position: relative;
|
|
710
|
+
width: 100%;
|
|
711
|
+
padding-top: 56.25%;
|
|
712
|
+
border-radius: 0.5rem;
|
|
713
|
+
overflow: hidden;
|
|
714
|
+
margin: 1.5rem 0;
|
|
715
|
+
background-color: var(--bd-gray-900);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.bd-video iframe {
|
|
719
|
+
position: absolute;
|
|
720
|
+
inset: 0;
|
|
721
|
+
width: 100%;
|
|
722
|
+
height: 100%;
|
|
723
|
+
border: 0;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.bd-video-caption {
|
|
727
|
+
margin-top: 0.5rem;
|
|
728
|
+
text-align: center;
|
|
729
|
+
font-size: 0.8125rem;
|
|
730
|
+
color: var(--bd-text-muted);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* ==========================================================================
|
|
734
|
+
KaTeX math overrides
|
|
735
|
+
========================================================================== */
|
|
736
|
+
|
|
737
|
+
.katex-display {
|
|
738
|
+
margin: 1.25rem 0 !important;
|
|
739
|
+
overflow-x: auto;
|
|
740
|
+
overflow-y: hidden;
|
|
741
|
+
padding: 0.25rem 0;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.katex {
|
|
745
|
+
font-size: 1.05em;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/* ==========================================================================
|
|
749
|
+
Reading time
|
|
750
|
+
========================================================================== */
|
|
751
|
+
|
|
752
|
+
.bd-reading-time {
|
|
753
|
+
display: inline-flex;
|
|
754
|
+
align-items: center;
|
|
755
|
+
gap: 0.375rem;
|
|
756
|
+
font-size: 0.8125rem;
|
|
757
|
+
color: var(--bd-text-muted);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.bd-reading-time svg {
|
|
761
|
+
width: 0.875rem;
|
|
762
|
+
height: 0.875rem;
|
|
763
|
+
opacity: 0.7;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/* ==========================================================================
|
|
767
|
+
Keyboard shortcuts modal
|
|
768
|
+
========================================================================== */
|
|
769
|
+
|
|
770
|
+
.bd-shortcuts-overlay {
|
|
771
|
+
position: fixed;
|
|
772
|
+
inset: 0;
|
|
773
|
+
z-index: 10000;
|
|
774
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
775
|
+
display: flex;
|
|
776
|
+
align-items: center;
|
|
777
|
+
justify-content: center;
|
|
778
|
+
animation: fade-in 150ms ease;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.dark .bd-shortcuts-overlay {
|
|
782
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.bd-shortcuts-modal {
|
|
786
|
+
background-color: var(--bd-bg);
|
|
787
|
+
border: 1px solid var(--bd-border);
|
|
788
|
+
border-radius: 0.75rem;
|
|
789
|
+
padding: 1.5rem;
|
|
790
|
+
width: 100%;
|
|
791
|
+
max-width: 28rem;
|
|
792
|
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.bd-shortcuts-modal h3 {
|
|
796
|
+
font-size: 0.9375rem;
|
|
797
|
+
font-weight: 600;
|
|
798
|
+
color: var(--bd-text-heading);
|
|
799
|
+
margin: 0 0 1rem;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.bd-shortcut-row {
|
|
803
|
+
display: flex;
|
|
804
|
+
align-items: center;
|
|
805
|
+
justify-content: space-between;
|
|
806
|
+
padding: 0.5rem 0;
|
|
807
|
+
border-bottom: 1px solid var(--bd-border-subtle);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.bd-shortcut-row:last-child {
|
|
811
|
+
border-bottom: 0;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.bd-shortcut-desc {
|
|
815
|
+
font-size: 0.8125rem;
|
|
816
|
+
color: var(--bd-text-secondary);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.bd-shortcut-keys {
|
|
820
|
+
display: flex;
|
|
821
|
+
gap: 0.25rem;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.bd-kbd {
|
|
825
|
+
display: inline-flex;
|
|
826
|
+
align-items: center;
|
|
827
|
+
justify-content: center;
|
|
828
|
+
min-width: 1.5rem;
|
|
829
|
+
height: 1.5rem;
|
|
830
|
+
padding: 0 0.375rem;
|
|
831
|
+
border-radius: 0.25rem;
|
|
832
|
+
border: 1px solid var(--bd-border);
|
|
833
|
+
background-color: var(--bd-bg-subtle);
|
|
834
|
+
font-size: 0.6875rem;
|
|
835
|
+
font-weight: 500;
|
|
836
|
+
font-family: inherit;
|
|
837
|
+
color: var(--bd-text-secondary);
|
|
838
|
+
line-height: 1;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
@keyframes fade-in {
|
|
842
|
+
from { opacity: 0; }
|
|
843
|
+
to { opacity: 1; }
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/* ==========================================================================
|
|
847
|
+
Changelog timeline
|
|
848
|
+
========================================================================== */
|
|
849
|
+
|
|
850
|
+
.bd-changelog-timeline {
|
|
851
|
+
display: flex;
|
|
852
|
+
flex-direction: column;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.bd-changelog-entry {
|
|
856
|
+
display: grid;
|
|
857
|
+
grid-template-columns: 1.25rem 1fr;
|
|
858
|
+
gap: 0 1rem;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.bd-changelog-marker {
|
|
862
|
+
display: flex;
|
|
863
|
+
flex-direction: column;
|
|
864
|
+
align-items: center;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.bd-changelog-dot {
|
|
868
|
+
width: 0.625rem;
|
|
869
|
+
height: 0.625rem;
|
|
870
|
+
border-radius: 9999px;
|
|
871
|
+
background-color: var(--color-primary-500);
|
|
872
|
+
margin-top: 0.375rem;
|
|
873
|
+
flex-shrink: 0;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.dark .bd-changelog-dot {
|
|
877
|
+
background-color: var(--color-primary-400);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.bd-changelog-line {
|
|
881
|
+
flex: 1;
|
|
882
|
+
width: 2px;
|
|
883
|
+
background-color: var(--bd-border);
|
|
884
|
+
margin: 0.375rem 0 0;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.bd-changelog-entry:last-child .bd-changelog-line {
|
|
888
|
+
display: none;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.bd-changelog-content {
|
|
892
|
+
padding-bottom: 2.5rem;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.bd-changelog-entry:last-child .bd-changelog-content {
|
|
896
|
+
padding-bottom: 0;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.bd-changelog-header {
|
|
900
|
+
display: flex;
|
|
901
|
+
align-items: baseline;
|
|
902
|
+
gap: 0.75rem;
|
|
903
|
+
margin-bottom: 0.5rem;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.bd-changelog-version {
|
|
907
|
+
display: inline-flex;
|
|
908
|
+
align-items: center;
|
|
909
|
+
font-size: 0.8125rem;
|
|
910
|
+
font-weight: 600;
|
|
911
|
+
padding: 0.125rem 0.5rem;
|
|
912
|
+
border-radius: 9999px;
|
|
913
|
+
background-color: var(--color-primary-50);
|
|
914
|
+
color: var(--color-primary-700);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.dark .bd-changelog-version {
|
|
918
|
+
background-color: var(--color-primary-950);
|
|
919
|
+
color: var(--color-primary-300);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.bd-changelog-date {
|
|
923
|
+
font-size: 0.8125rem;
|
|
924
|
+
color: var(--bd-text-muted);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.bd-changelog-title {
|
|
928
|
+
font-size: 1.125rem;
|
|
929
|
+
font-weight: 600;
|
|
930
|
+
color: var(--bd-text-heading);
|
|
931
|
+
margin: 0 0 0.5rem;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.bd-changelog-body h3 {
|
|
935
|
+
font-size: 0.8125rem;
|
|
936
|
+
font-weight: 600;
|
|
937
|
+
text-transform: uppercase;
|
|
938
|
+
letter-spacing: 0.05em;
|
|
939
|
+
margin: 0.75rem 0 0.25rem;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.bd-changelog-body ul {
|
|
943
|
+
margin: 0.25rem 0;
|
|
944
|
+
padding-left: 1.25rem;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.bd-changelog-body li {
|
|
948
|
+
font-size: 0.875rem;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/* ==========================================================================
|
|
952
|
+
Contributors
|
|
953
|
+
========================================================================== */
|
|
954
|
+
|
|
955
|
+
.bd-contributors {
|
|
956
|
+
display: flex;
|
|
957
|
+
align-items: center;
|
|
958
|
+
gap: 0.5rem;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.bd-contributors-label {
|
|
962
|
+
font-size: 0.8125rem;
|
|
963
|
+
color: var(--bd-text-muted);
|
|
964
|
+
white-space: nowrap;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.bd-contributors-avatars {
|
|
968
|
+
display: flex;
|
|
969
|
+
flex-wrap: wrap;
|
|
970
|
+
gap: 0;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.bd-contributor-avatar {
|
|
974
|
+
width: 1.75rem;
|
|
975
|
+
height: 1.75rem;
|
|
976
|
+
border-radius: 9999px;
|
|
977
|
+
border: 2px solid var(--bd-bg);
|
|
978
|
+
margin-left: -0.375rem;
|
|
979
|
+
object-fit: cover;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.bd-contributor-avatar:first-child {
|
|
983
|
+
margin-left: 0;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/* ==========================================================================
|
|
987
|
+
Version Switcher
|
|
988
|
+
========================================================================== */
|
|
989
|
+
|
|
990
|
+
.bd-version-trigger {
|
|
991
|
+
display: inline-flex;
|
|
992
|
+
align-items: center;
|
|
993
|
+
gap: 0.25rem;
|
|
994
|
+
padding: 0.25rem 0.5rem;
|
|
995
|
+
border-radius: 0.375rem;
|
|
996
|
+
border: 1px solid var(--bd-border);
|
|
997
|
+
background-color: var(--bd-bg);
|
|
998
|
+
font-size: 0.75rem;
|
|
999
|
+
font-weight: 500;
|
|
1000
|
+
color: var(--bd-text-secondary);
|
|
1001
|
+
cursor: pointer;
|
|
1002
|
+
transition: border-color 150ms ease, background-color 150ms ease;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.bd-version-trigger:hover {
|
|
1006
|
+
border-color: var(--color-primary-400);
|
|
1007
|
+
background-color: var(--bd-bg-subtle);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.bd-version-menu {
|
|
1011
|
+
z-index: 100;
|
|
1012
|
+
min-width: 8rem;
|
|
1013
|
+
overflow: hidden;
|
|
1014
|
+
border-radius: 0.5rem;
|
|
1015
|
+
border: 1px solid var(--bd-border);
|
|
1016
|
+
background-color: var(--bd-bg);
|
|
1017
|
+
padding: 0.25rem;
|
|
1018
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
|
1019
|
+
animation: fade-in 100ms ease;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.bd-version-item {
|
|
1023
|
+
display: flex;
|
|
1024
|
+
align-items: center;
|
|
1025
|
+
justify-content: space-between;
|
|
1026
|
+
gap: 0.5rem;
|
|
1027
|
+
padding: 0.375rem 0.5rem;
|
|
1028
|
+
border-radius: 0.25rem;
|
|
1029
|
+
font-size: 0.8125rem;
|
|
1030
|
+
color: var(--bd-text-secondary);
|
|
1031
|
+
cursor: pointer;
|
|
1032
|
+
outline: none;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.bd-version-item:hover,
|
|
1036
|
+
.bd-version-item[data-highlighted] {
|
|
1037
|
+
background-color: var(--bd-bg-hover);
|
|
1038
|
+
color: var(--bd-text);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.bd-version-active {
|
|
1042
|
+
color: var(--color-primary-600);
|
|
1043
|
+
font-weight: 500;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.dark .bd-version-active {
|
|
1047
|
+
color: var(--color-primary-400);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/* ==========================================================================
|
|
1051
|
+
API Playground
|
|
1052
|
+
========================================================================== */
|
|
1053
|
+
|
|
1054
|
+
.bd-playground {
|
|
1055
|
+
border: 1px solid var(--bd-border);
|
|
1056
|
+
border-radius: 0.5rem;
|
|
1057
|
+
overflow: hidden;
|
|
1058
|
+
margin: 1.5rem 0;
|
|
1059
|
+
font-size: 0.875rem;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.bd-playground-header {
|
|
1063
|
+
display: flex;
|
|
1064
|
+
align-items: center;
|
|
1065
|
+
gap: 0.5rem;
|
|
1066
|
+
padding: 0.75rem 1rem;
|
|
1067
|
+
background-color: var(--bd-bg-subtle);
|
|
1068
|
+
border-bottom: 1px solid var(--bd-border);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.bd-playground-method {
|
|
1072
|
+
padding: 0.125rem 0.5rem;
|
|
1073
|
+
border-radius: 0.25rem;
|
|
1074
|
+
font-size: 0.75rem;
|
|
1075
|
+
font-weight: 700;
|
|
1076
|
+
letter-spacing: 0.025em;
|
|
1077
|
+
flex-shrink: 0;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.bd-playground-url {
|
|
1081
|
+
flex: 1;
|
|
1082
|
+
font-size: 0.8125rem;
|
|
1083
|
+
color: var(--bd-text-secondary);
|
|
1084
|
+
overflow: hidden;
|
|
1085
|
+
text-overflow: ellipsis;
|
|
1086
|
+
white-space: nowrap;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.bd-playground-send {
|
|
1090
|
+
padding: 0.375rem 0.875rem;
|
|
1091
|
+
border-radius: 0.375rem;
|
|
1092
|
+
background-color: var(--color-primary-600);
|
|
1093
|
+
color: #fff;
|
|
1094
|
+
font-size: 0.8125rem;
|
|
1095
|
+
font-weight: 500;
|
|
1096
|
+
border: none;
|
|
1097
|
+
cursor: pointer;
|
|
1098
|
+
flex-shrink: 0;
|
|
1099
|
+
transition: background-color 150ms ease;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
.bd-playground-send:hover {
|
|
1103
|
+
background-color: var(--color-primary-700);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.bd-playground-send:disabled {
|
|
1107
|
+
opacity: 0.6;
|
|
1108
|
+
cursor: not-allowed;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.dark .bd-playground-send {
|
|
1112
|
+
background-color: var(--color-primary-500);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.dark .bd-playground-send:hover {
|
|
1116
|
+
background-color: var(--color-primary-400);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.bd-playground-params {
|
|
1120
|
+
padding: 0.75rem 1rem;
|
|
1121
|
+
display: flex;
|
|
1122
|
+
flex-direction: column;
|
|
1123
|
+
gap: 0.5rem;
|
|
1124
|
+
border-bottom: 1px solid var(--bd-border);
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.bd-playground-param {
|
|
1128
|
+
display: grid;
|
|
1129
|
+
grid-template-columns: 8rem 1fr;
|
|
1130
|
+
gap: 0.5rem;
|
|
1131
|
+
align-items: center;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
.bd-playground-label {
|
|
1135
|
+
font-size: 0.8125rem;
|
|
1136
|
+
font-weight: 500;
|
|
1137
|
+
color: var(--bd-text);
|
|
1138
|
+
display: flex;
|
|
1139
|
+
align-items: center;
|
|
1140
|
+
gap: 0.375rem;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.bd-playground-param-meta {
|
|
1144
|
+
font-size: 0.6875rem;
|
|
1145
|
+
color: var(--bd-text-muted);
|
|
1146
|
+
font-weight: 400;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.bd-playground-required {
|
|
1150
|
+
color: var(--bd-error, #ef4444);
|
|
1151
|
+
font-weight: 600;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.bd-playground-input {
|
|
1155
|
+
width: 100%;
|
|
1156
|
+
padding: 0.375rem 0.5rem;
|
|
1157
|
+
border-radius: 0.25rem;
|
|
1158
|
+
border: 1px solid var(--bd-border);
|
|
1159
|
+
background-color: var(--bd-bg);
|
|
1160
|
+
color: var(--bd-text);
|
|
1161
|
+
font-size: 0.8125rem;
|
|
1162
|
+
font-family: ui-monospace, monospace;
|
|
1163
|
+
outline: none;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
.bd-playground-input:focus {
|
|
1167
|
+
border-color: var(--color-primary-400);
|
|
1168
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary-400) 20%, transparent);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.bd-playground-body-section {
|
|
1172
|
+
padding: 0.75rem 1rem;
|
|
1173
|
+
border-bottom: 1px solid var(--bd-border);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.bd-playground-textarea {
|
|
1177
|
+
width: 100%;
|
|
1178
|
+
margin-top: 0.375rem;
|
|
1179
|
+
padding: 0.5rem;
|
|
1180
|
+
border-radius: 0.25rem;
|
|
1181
|
+
border: 1px solid var(--bd-border);
|
|
1182
|
+
background-color: var(--bd-bg);
|
|
1183
|
+
color: var(--bd-text);
|
|
1184
|
+
font-size: 0.8125rem;
|
|
1185
|
+
font-family: ui-monospace, monospace;
|
|
1186
|
+
resize: vertical;
|
|
1187
|
+
outline: none;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.bd-playground-textarea:focus {
|
|
1191
|
+
border-color: var(--color-primary-400);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.bd-playground-response {
|
|
1195
|
+
background-color: var(--bd-bg-subtle);
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.bd-playground-response-header {
|
|
1199
|
+
display: flex;
|
|
1200
|
+
align-items: center;
|
|
1201
|
+
justify-content: space-between;
|
|
1202
|
+
padding: 0.5rem 1rem;
|
|
1203
|
+
border-bottom: 1px solid var(--bd-border);
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.bd-playground-status {
|
|
1207
|
+
font-weight: 600;
|
|
1208
|
+
font-size: 0.8125rem;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.bd-status-ok {
|
|
1212
|
+
color: #16a34a;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
.dark .bd-status-ok {
|
|
1216
|
+
color: #4ade80;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.bd-status-err {
|
|
1220
|
+
color: #dc2626;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
.dark .bd-status-err {
|
|
1224
|
+
color: #f87171;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.bd-playground-time {
|
|
1228
|
+
font-size: 0.75rem;
|
|
1229
|
+
color: var(--bd-text-muted);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
.bd-playground-pre {
|
|
1233
|
+
margin: 0;
|
|
1234
|
+
padding: 1rem;
|
|
1235
|
+
overflow-x: auto;
|
|
1236
|
+
font-size: 0.8125rem;
|
|
1237
|
+
line-height: 1.6;
|
|
1238
|
+
max-height: 20rem;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.bd-playground-pre code {
|
|
1242
|
+
font-family: ui-monospace, monospace;
|
|
1243
|
+
color: var(--bd-text);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.bd-playground-error {
|
|
1247
|
+
padding: 0.75rem 1rem;
|
|
1248
|
+
color: #dc2626;
|
|
1249
|
+
font-size: 0.8125rem;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.dark .bd-playground-error {
|
|
1253
|
+
color: #f87171;
|
|
1254
|
+
}
|