Spaces:
Sleeping
Sleeping
Disini Ruhansa Kodagoda Hettige commited on
Commit ·
a516c87
1
Parent(s): 9be21ef
Improve mobile layout
Browse files- FRONTEND/src/App.css +169 -0
- notes +4 -0
FRONTEND/src/App.css
CHANGED
|
@@ -30,6 +30,7 @@ body {
|
|
| 30 |
font-family: "Trebuchet MS", "Segoe UI", sans-serif;
|
| 31 |
color: var(--ink);
|
| 32 |
background: var(--bg);
|
|
|
|
| 33 |
}
|
| 34 |
|
| 35 |
button,
|
|
@@ -37,6 +38,10 @@ textarea {
|
|
| 37 |
font: inherit;
|
| 38 |
}
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
.bootScreen {
|
| 41 |
min-height: 100vh;
|
| 42 |
display: grid;
|
|
@@ -925,6 +930,8 @@ textarea:focus {
|
|
| 925 |
|
| 926 |
.heroSection {
|
| 927 |
min-height: 420px;
|
|
|
|
|
|
|
| 928 |
}
|
| 929 |
|
| 930 |
.sectionHeading h2,
|
|
@@ -944,6 +951,168 @@ textarea:focus {
|
|
| 944 |
|
| 945 |
.sendBtn {
|
| 946 |
min-height: 48px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 947 |
}
|
| 948 |
}
|
| 949 |
|
|
|
|
| 30 |
font-family: "Trebuchet MS", "Segoe UI", sans-serif;
|
| 31 |
color: var(--ink);
|
| 32 |
background: var(--bg);
|
| 33 |
+
overflow-x: hidden;
|
| 34 |
}
|
| 35 |
|
| 36 |
button,
|
|
|
|
| 38 |
font: inherit;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
img {
|
| 42 |
+
max-width: 100%;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
.bootScreen {
|
| 46 |
min-height: 100vh;
|
| 47 |
display: grid;
|
|
|
|
| 930 |
|
| 931 |
.heroSection {
|
| 932 |
min-height: 420px;
|
| 933 |
+
padding: 56px 18px;
|
| 934 |
+
background-position: 68% center;
|
| 935 |
}
|
| 936 |
|
| 937 |
.sectionHeading h2,
|
|
|
|
| 951 |
|
| 952 |
.sendBtn {
|
| 953 |
min-height: 48px;
|
| 954 |
+
width: 100%;
|
| 955 |
+
}
|
| 956 |
+
|
| 957 |
+
.siteBrand {
|
| 958 |
+
font-size: 22px;
|
| 959 |
+
}
|
| 960 |
+
|
| 961 |
+
.siteLinks {
|
| 962 |
+
width: 100%;
|
| 963 |
+
justify-content: flex-start;
|
| 964 |
+
}
|
| 965 |
+
|
| 966 |
+
.topActions {
|
| 967 |
+
width: 100%;
|
| 968 |
+
flex-wrap: wrap;
|
| 969 |
+
}
|
| 970 |
+
|
| 971 |
+
.topActions .ghost {
|
| 972 |
+
flex: 1 1 180px;
|
| 973 |
+
}
|
| 974 |
+
|
| 975 |
+
.featureCard,
|
| 976 |
+
.miniCard,
|
| 977 |
+
.signupCard,
|
| 978 |
+
.benefitPanel,
|
| 979 |
+
.medicalCard {
|
| 980 |
+
min-height: auto;
|
| 981 |
+
}
|
| 982 |
+
|
| 983 |
+
.featureCard h3,
|
| 984 |
+
.miniCard h3 {
|
| 985 |
+
min-height: auto;
|
| 986 |
+
}
|
| 987 |
+
|
| 988 |
+
.featureCard p,
|
| 989 |
+
.miniCard p {
|
| 990 |
+
max-width: none;
|
| 991 |
+
}
|
| 992 |
+
|
| 993 |
+
.heroSubtext {
|
| 994 |
+
margin-top: 18px;
|
| 995 |
+
font-size: 16px;
|
| 996 |
+
line-height: 1.6;
|
| 997 |
+
}
|
| 998 |
+
|
| 999 |
+
.introBand p,
|
| 1000 |
+
.sectionHeading p {
|
| 1001 |
+
font-size: 16px;
|
| 1002 |
+
line-height: 1.6;
|
| 1003 |
+
}
|
| 1004 |
+
|
| 1005 |
+
.medicalHero h2 {
|
| 1006 |
+
font-size: 30px;
|
| 1007 |
+
}
|
| 1008 |
+
|
| 1009 |
+
.medicalCard h3 {
|
| 1010 |
+
font-size: 22px;
|
| 1011 |
+
}
|
| 1012 |
+
}
|
| 1013 |
+
|
| 1014 |
+
@media (max-width: 560px) {
|
| 1015 |
+
.siteNav,
|
| 1016 |
+
.topbar,
|
| 1017 |
+
.main,
|
| 1018 |
+
.medicalShell {
|
| 1019 |
+
padding-left: 12px;
|
| 1020 |
+
padding-right: 12px;
|
| 1021 |
+
}
|
| 1022 |
+
|
| 1023 |
+
.siteNav {
|
| 1024 |
+
padding-top: 12px;
|
| 1025 |
+
padding-bottom: 12px;
|
| 1026 |
+
}
|
| 1027 |
+
|
| 1028 |
+
.siteLinks {
|
| 1029 |
+
display: grid;
|
| 1030 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 1031 |
+
gap: 10px;
|
| 1032 |
+
}
|
| 1033 |
+
|
| 1034 |
+
.siteLinks button {
|
| 1035 |
+
width: 100%;
|
| 1036 |
+
text-align: left;
|
| 1037 |
+
padding: 10px 0;
|
| 1038 |
+
}
|
| 1039 |
+
|
| 1040 |
+
.heroSection {
|
| 1041 |
+
min-height: 360px;
|
| 1042 |
+
padding: 44px 14px;
|
| 1043 |
+
background-position: 72% center;
|
| 1044 |
+
}
|
| 1045 |
+
|
| 1046 |
+
.heroLead {
|
| 1047 |
+
font-size: clamp(20px, 7vw, 28px);
|
| 1048 |
+
}
|
| 1049 |
+
|
| 1050 |
+
.heroContent h1 {
|
| 1051 |
+
margin-top: 8px;
|
| 1052 |
+
font-size: clamp(34px, 14vw, 52px);
|
| 1053 |
+
line-height: 1;
|
| 1054 |
+
}
|
| 1055 |
+
|
| 1056 |
+
.heroContent h2 {
|
| 1057 |
+
font-size: clamp(20px, 9vw, 32px);
|
| 1058 |
+
}
|
| 1059 |
+
|
| 1060 |
+
.heroActions {
|
| 1061 |
+
gap: 10px;
|
| 1062 |
+
}
|
| 1063 |
+
|
| 1064 |
+
.heroActions .primaryBtn,
|
| 1065 |
+
.heroActions .secondaryBtn,
|
| 1066 |
+
.ctaStack .primaryBtn,
|
| 1067 |
+
.ctaStack .secondaryBtn,
|
| 1068 |
+
.medicalActions .primaryBtn {
|
| 1069 |
+
width: 100%;
|
| 1070 |
+
}
|
| 1071 |
+
|
| 1072 |
+
.chatIntroCard,
|
| 1073 |
+
.card,
|
| 1074 |
+
.chatBox,
|
| 1075 |
+
.composer,
|
| 1076 |
+
.signupCard,
|
| 1077 |
+
.benefitPanel,
|
| 1078 |
+
.medicalHero,
|
| 1079 |
+
.medicalCard {
|
| 1080 |
+
border-radius: 14px;
|
| 1081 |
+
}
|
| 1082 |
+
|
| 1083 |
+
.chatBox {
|
| 1084 |
+
padding: 12px;
|
| 1085 |
+
}
|
| 1086 |
+
|
| 1087 |
+
.bubble {
|
| 1088 |
+
padding: 12px 13px;
|
| 1089 |
+
border-radius: 14px;
|
| 1090 |
+
}
|
| 1091 |
+
|
| 1092 |
+
.chip {
|
| 1093 |
+
font-size: 11px;
|
| 1094 |
+
}
|
| 1095 |
+
|
| 1096 |
+
.topbar h1 {
|
| 1097 |
+
font-size: 24px;
|
| 1098 |
+
}
|
| 1099 |
+
|
| 1100 |
+
.topbar p {
|
| 1101 |
+
font-size: 14px;
|
| 1102 |
+
}
|
| 1103 |
+
|
| 1104 |
+
.logo {
|
| 1105 |
+
width: 42px;
|
| 1106 |
+
height: 42px;
|
| 1107 |
+
border-radius: 12px;
|
| 1108 |
+
}
|
| 1109 |
+
|
| 1110 |
+
textarea {
|
| 1111 |
+
min-height: 64px;
|
| 1112 |
+
}
|
| 1113 |
+
|
| 1114 |
+
.medicalList {
|
| 1115 |
+
padding-left: 18px;
|
| 1116 |
}
|
| 1117 |
}
|
| 1118 |
|
notes
CHANGED
|
@@ -20,3 +20,7 @@ python -m eval.llm_judge_t5 - google/flan-t5-base
|
|
| 20 |
python -m eval.llm_judge_mt0 - mt0-base
|
| 21 |
python -m eval.llm_judge_llama - TinyLlama judge
|
| 22 |
python -m eval.llm_judge_mistral - Mistral judge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
python -m eval.llm_judge_mt0 - mt0-base
|
| 21 |
python -m eval.llm_judge_llama - TinyLlama judge
|
| 22 |
python -m eval.llm_judge_mistral - Mistral judge
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
Copies changes from EmpowerHer_Chatbot to hf-space
|
| 26 |
+
powershell -ExecutionPolicy Bypass -File "D:\FYP IMPLEMENTATION\deploy-hf-space.ps1" -Message "Update chatbot responses"
|