pulp-image 0.1.5 → 0.1.7
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/README.md +0 -1
- package/package.json +2 -2
- package/src/uiServer.js +15 -9
- package/ui/app.js +148 -9
- package/ui/index.html +551 -158
- package/ui/styles.css +289 -6
package/ui/styles.css
CHANGED
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
padding: 0;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
html {
|
|
45
|
+
scroll-behavior: smooth;
|
|
46
|
+
scroll-padding-top: 4rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
44
49
|
body {
|
|
45
50
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
46
51
|
background: linear-gradient(135deg, var(--orange-bg) 0%, var(--yellow-light) 100%);
|
|
@@ -56,7 +61,6 @@ body {
|
|
|
56
61
|
background: white;
|
|
57
62
|
border-radius: var(--border-radius-lg);
|
|
58
63
|
box-shadow: var(--shadow-lg);
|
|
59
|
-
overflow: hidden;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
/* Header */
|
|
@@ -813,24 +817,51 @@ body {
|
|
|
813
817
|
width: 100%;
|
|
814
818
|
border-collapse: collapse;
|
|
815
819
|
margin-top: 1rem;
|
|
820
|
+
background: white;
|
|
821
|
+
border-radius: var(--border-radius);
|
|
822
|
+
overflow: hidden;
|
|
823
|
+
border: 1px solid var(--border-color);
|
|
816
824
|
}
|
|
817
825
|
|
|
826
|
+
.help-table th,
|
|
818
827
|
.help-table td {
|
|
819
|
-
padding: 0.75rem;
|
|
828
|
+
padding: 0.75rem 1rem;
|
|
829
|
+
text-align: left;
|
|
820
830
|
border-bottom: 1px solid var(--border-color);
|
|
821
831
|
}
|
|
822
832
|
|
|
823
|
-
.help-table
|
|
833
|
+
.help-table th {
|
|
834
|
+
background: var(--orange-bg);
|
|
824
835
|
font-weight: 600;
|
|
836
|
+
font-size: 0.8rem;
|
|
837
|
+
text-transform: uppercase;
|
|
838
|
+
letter-spacing: 0.05em;
|
|
839
|
+
color: var(--text-secondary);
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.help-table td {
|
|
843
|
+
font-size: 0.9rem;
|
|
825
844
|
color: var(--text-primary);
|
|
845
|
+
vertical-align: top;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.help-table tr:last-child td {
|
|
849
|
+
border-bottom: none;
|
|
826
850
|
}
|
|
827
851
|
|
|
828
852
|
.help-table code {
|
|
829
853
|
background: var(--orange-bg);
|
|
830
|
-
padding: 0.25rem 0.5rem;
|
|
831
|
-
border-radius: 4px;
|
|
832
|
-
font-family: 'Courier New', monospace;
|
|
833
854
|
color: var(--orange-text);
|
|
855
|
+
padding: 0.2rem 0.5rem;
|
|
856
|
+
border-radius: 4px;
|
|
857
|
+
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
858
|
+
font-size: 0.8rem;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/* CLI Options table uses Tokyo Night for code */
|
|
862
|
+
#help-reference .help-table code {
|
|
863
|
+
background: #1a1b26;
|
|
864
|
+
color: #7dcfff;
|
|
834
865
|
}
|
|
835
866
|
|
|
836
867
|
.help-examples {
|
|
@@ -875,8 +906,260 @@ body {
|
|
|
875
906
|
color: var(--text-secondary);
|
|
876
907
|
}
|
|
877
908
|
|
|
909
|
+
/* Terminal-style Command Examples (matching website) */
|
|
910
|
+
.terminal-example {
|
|
911
|
+
margin: 1rem 0;
|
|
912
|
+
border-radius: var(--border-radius);
|
|
913
|
+
overflow: hidden;
|
|
914
|
+
border: 1px solid #292e42;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.terminal-example-header {
|
|
918
|
+
display: flex;
|
|
919
|
+
align-items: center;
|
|
920
|
+
justify-content: space-between;
|
|
921
|
+
padding: 0.6rem 1rem;
|
|
922
|
+
background: #1a1b26;
|
|
923
|
+
border-bottom: 1px solid #292e42;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.terminal-example-title {
|
|
927
|
+
font-size: 0.8rem;
|
|
928
|
+
font-weight: 600;
|
|
929
|
+
color: #c0caf5;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.terminal-example-body {
|
|
933
|
+
position: relative;
|
|
934
|
+
padding: 1rem;
|
|
935
|
+
background: #16161e;
|
|
936
|
+
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
|
|
937
|
+
font-size: 0.8rem;
|
|
938
|
+
line-height: 1.6;
|
|
939
|
+
overflow-x: auto;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.terminal-example-body pre {
|
|
943
|
+
margin: 0;
|
|
944
|
+
color: #c0caf5;
|
|
945
|
+
white-space: pre-wrap;
|
|
946
|
+
word-break: break-word;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/* Terminal syntax colors - matching website */
|
|
950
|
+
.terminal-example-body .cmd {
|
|
951
|
+
color: #9ece6a; /* Green $ prompt */
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.terminal-example-body .flag {
|
|
955
|
+
color: #7dcfff; /* Cyan flags */
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.terminal-example-body .value {
|
|
959
|
+
color: #ff9e64; /* Orange values */
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.terminal-example-body .output {
|
|
963
|
+
color: #9099b7;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.terminal-example-body .success {
|
|
967
|
+
color: #9ece6a;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.terminal-example-body .highlight {
|
|
971
|
+
color: #e0af68;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.terminal-example-body .comment {
|
|
975
|
+
color: #6e7a9a;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.terminal-example-copy {
|
|
979
|
+
position: absolute;
|
|
980
|
+
top: 0.6rem;
|
|
981
|
+
right: 0.6rem;
|
|
982
|
+
background: #292e42;
|
|
983
|
+
border: none;
|
|
984
|
+
border-radius: 4px;
|
|
985
|
+
padding: 0.35rem;
|
|
986
|
+
cursor: pointer;
|
|
987
|
+
color: #6e7a9a;
|
|
988
|
+
transition: all 0.2s;
|
|
989
|
+
display: flex;
|
|
990
|
+
align-items: center;
|
|
991
|
+
justify-content: center;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.terminal-example-copy:hover {
|
|
995
|
+
background: #6e7a9a;
|
|
996
|
+
color: white;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.terminal-example-copy svg {
|
|
1000
|
+
width: 14px;
|
|
1001
|
+
height: 14px;
|
|
1002
|
+
stroke: currentColor;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.terminal-example-copy .check-icon {
|
|
1006
|
+
stroke: #9ece6a;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/* Help Sub-Navigation */
|
|
1010
|
+
.help-content {
|
|
1011
|
+
scroll-padding-top: 4rem;
|
|
1012
|
+
position: relative;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.help-content section {
|
|
1016
|
+
scroll-margin-top: 4rem;
|
|
1017
|
+
margin-bottom: 2rem;
|
|
1018
|
+
padding-bottom: 1.5rem;
|
|
1019
|
+
border-bottom: 1px solid var(--border-color);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.help-content section:last-child {
|
|
1023
|
+
border-bottom: none;
|
|
1024
|
+
margin-bottom: 0;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.help-content section h2 {
|
|
1028
|
+
color: var(--orange-text);
|
|
1029
|
+
font-size: 1.15rem;
|
|
1030
|
+
font-weight: 700;
|
|
1031
|
+
margin-bottom: 0.75rem;
|
|
1032
|
+
padding-bottom: 0.5rem;
|
|
1033
|
+
border-bottom: 2px solid var(--orange-dark);
|
|
1034
|
+
display: inline-block;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/* Main Help Navigation */
|
|
1038
|
+
.help-subnav {
|
|
1039
|
+
display: flex;
|
|
1040
|
+
flex-wrap: wrap;
|
|
1041
|
+
gap: 0;
|
|
1042
|
+
padding: 0;
|
|
1043
|
+
background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-deep) 100%);
|
|
1044
|
+
border-radius: var(--border-radius);
|
|
1045
|
+
margin-bottom: 1.5rem;
|
|
1046
|
+
position: sticky;
|
|
1047
|
+
top: 0;
|
|
1048
|
+
z-index: 10;
|
|
1049
|
+
box-shadow: var(--shadow-md);
|
|
1050
|
+
overflow: hidden;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.help-subnav-link {
|
|
1054
|
+
display: inline-flex;
|
|
1055
|
+
align-items: center;
|
|
1056
|
+
padding: 0.7rem 1rem;
|
|
1057
|
+
font-size: 0.8rem;
|
|
1058
|
+
font-weight: 600;
|
|
1059
|
+
color: rgba(255, 255, 255, 0.85);
|
|
1060
|
+
text-decoration: none;
|
|
1061
|
+
background: transparent;
|
|
1062
|
+
border: none;
|
|
1063
|
+
border-radius: 0;
|
|
1064
|
+
transition: all 0.15s ease;
|
|
1065
|
+
cursor: pointer;
|
|
1066
|
+
position: relative;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.help-subnav-link:hover {
|
|
1070
|
+
color: white;
|
|
1071
|
+
background: rgba(255, 255, 255, 0.15);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.help-subnav-link.active {
|
|
1075
|
+
color: white;
|
|
1076
|
+
background: rgba(0, 0, 0, 0.25);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/* Back to Top Button */
|
|
1080
|
+
.back-to-top {
|
|
1081
|
+
position: fixed;
|
|
1082
|
+
bottom: 1.5rem;
|
|
1083
|
+
right: 1.5rem;
|
|
1084
|
+
width: 40px;
|
|
1085
|
+
height: 40px;
|
|
1086
|
+
background: var(--orange-dark);
|
|
1087
|
+
color: white;
|
|
1088
|
+
border: none;
|
|
1089
|
+
border-radius: 50%;
|
|
1090
|
+
cursor: pointer;
|
|
1091
|
+
display: none;
|
|
1092
|
+
align-items: center;
|
|
1093
|
+
justify-content: center;
|
|
1094
|
+
box-shadow: var(--shadow-md);
|
|
1095
|
+
transition: all 0.2s;
|
|
1096
|
+
z-index: 100;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.back-to-top:hover {
|
|
1100
|
+
background: var(--orange-deep);
|
|
1101
|
+
transform: translateY(-2px);
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.back-to-top.visible {
|
|
1105
|
+
display: flex;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.back-to-top svg {
|
|
1109
|
+
width: 20px;
|
|
1110
|
+
height: 20px;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/* Help Subsection */
|
|
1114
|
+
.help-subsection {
|
|
1115
|
+
margin: 1.5rem 0;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.help-subsection-title {
|
|
1119
|
+
font-size: 0.95rem;
|
|
1120
|
+
font-weight: 600;
|
|
1121
|
+
color: var(--text-primary);
|
|
1122
|
+
margin-bottom: 0.75rem;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/* Help section cards */
|
|
1126
|
+
.help-card {
|
|
1127
|
+
background: var(--orange-bg-light);
|
|
1128
|
+
border-radius: var(--border-radius);
|
|
1129
|
+
padding: 1rem 1.25rem;
|
|
1130
|
+
margin: 1rem 0;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.help-card-title {
|
|
1134
|
+
font-size: 0.95rem;
|
|
1135
|
+
font-weight: 600;
|
|
1136
|
+
color: var(--text-primary);
|
|
1137
|
+
margin: 0 0 0.5rem 0;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.help-card-text {
|
|
1141
|
+
color: var(--text-secondary);
|
|
1142
|
+
font-size: 0.9rem;
|
|
1143
|
+
margin: 0;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.help-card-info {
|
|
1147
|
+
background: #e3f2fd;
|
|
1148
|
+
border-left: 4px solid var(--info);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.help-card-warning {
|
|
1152
|
+
background: #fff3e0;
|
|
1153
|
+
border-left: 4px solid var(--warning);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
878
1156
|
/* Responsive */
|
|
879
1157
|
@media (max-width: 768px) {
|
|
1158
|
+
/* Help tab two-column grid becomes single column */
|
|
1159
|
+
#help-when-to-use > div[style*="grid-template-columns"] {
|
|
1160
|
+
grid-template-columns: 1fr !important;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
880
1163
|
.form-row {
|
|
881
1164
|
grid-template-columns: 1fr;
|
|
882
1165
|
}
|