Spaces:
Running

fraudTech commited on
Commit
7ce221d
·
1 Parent(s): 966cee0

fixed math + input container

Browse files
Files changed (1) hide show
  1. web/src/App.css +27 -18
web/src/App.css CHANGED
@@ -988,28 +988,31 @@ details.tool-section[open] summary::before {
988
  }
989
 
990
  .input-container {
991
- background: #1a1614;
992
- padding: 1.25rem 2rem 1.5rem 2rem;
993
  position: relative;
994
- flex-shrink: 0; /* Prevent input from shrinking */
995
  z-index: 10;
996
  display: flex;
997
  align-items: center;
 
 
 
998
  }
999
 
1000
  .input-container textarea {
1001
  width: 100%;
1002
- padding: 0.875rem 7.5rem 0.875rem 0.875rem;
1003
  background: #2a2520 !important;
1004
- border: none !important;
1005
  outline: none !important;
1006
  color: #d4c5b9;
1007
  resize: none;
1008
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
1009
  font-size: 0.95rem;
1010
  line-height: 1.5;
1011
- border-radius: 0 !important;
1012
- transition: none;
1013
  letter-spacing: 0.5px;
1014
  box-shadow: none !important;
1015
  -webkit-appearance: none !important;
@@ -1019,9 +1022,9 @@ details.tool-section[open] summary::before {
1019
 
1020
  .input-container textarea:focus {
1021
  outline: none;
1022
- border: none;
1023
  background: #2a2520;
1024
- box-shadow: none;
1025
  }
1026
 
1027
  .input-container textarea::placeholder {
@@ -1030,33 +1033,39 @@ details.tool-section[open] summary::before {
1030
 
1031
  .send-btn {
1032
  position: absolute;
1033
- right: 2.5rem;
1034
  top: 50%;
1035
  transform: translateY(-50%);
1036
- background: #2a2520;
1037
- color: #d4c5b9;
1038
- border: 1px solid #3a342e;
1039
  padding: 0.75rem 1.5rem;
1040
  cursor: pointer;
1041
- font-size: 0.95rem;
1042
  font-weight: 600;
1043
  transition: all 0.2s ease;
1044
- border-radius: 6px;
 
 
 
 
1045
  }
1046
 
1047
  .send-btn:hover:not(:disabled) {
1048
- background: #2a2520;
1049
- border-color: #8b7355;
 
1050
  }
1051
 
1052
  .send-btn:active:not(:disabled) {
1053
- transform: scale(0.98);
1054
  }
1055
 
1056
  .send-btn:disabled {
1057
  opacity: 0.5;
1058
  cursor: not-allowed;
1059
  background: #4a433c;
 
1060
  }
1061
 
1062
  /* Login Page Styles */
 
988
  }
989
 
990
  .input-container {
991
+ background: transparent;
992
+ padding: 1.5rem 0 0 0;
993
  position: relative;
994
+ flex-shrink: 0;
995
  z-index: 10;
996
  display: flex;
997
  align-items: center;
998
+ margin-top: 1rem;
999
+ border-top: 1px solid #3a342e;
1000
+ padding-top: 1.5rem;
1001
  }
1002
 
1003
  .input-container textarea {
1004
  width: 100%;
1005
+ padding: 0.875rem 7.5rem 0.875rem 1rem;
1006
  background: #2a2520 !important;
1007
+ border: 1px solid #3a342e !important;
1008
  outline: none !important;
1009
  color: #d4c5b9;
1010
  resize: none;
1011
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
1012
  font-size: 0.95rem;
1013
  line-height: 1.5;
1014
+ border-radius: 10px !important;
1015
+ transition: all 0.2s ease;
1016
  letter-spacing: 0.5px;
1017
  box-shadow: none !important;
1018
  -webkit-appearance: none !important;
 
1022
 
1023
  .input-container textarea:focus {
1024
  outline: none;
1025
+ border: 1px solid #4a443c !important;
1026
  background: #2a2520;
1027
+ box-shadow: 0 0 0 2px rgba(107, 78, 207, 0.2);
1028
  }
1029
 
1030
  .input-container textarea::placeholder {
 
1033
 
1034
  .send-btn {
1035
  position: absolute;
1036
+ right: 0.75rem;
1037
  top: 50%;
1038
  transform: translateY(-50%);
1039
+ background: linear-gradient(135deg, #6b4ecf 0%, #8b6ee0 100%);
1040
+ color: #ffffff;
1041
+ border: none;
1042
  padding: 0.75rem 1.5rem;
1043
  cursor: pointer;
1044
+ font-size: 0.9rem;
1045
  font-weight: 600;
1046
  transition: all 0.2s ease;
1047
+ border-radius: 8px;
1048
+ display: flex;
1049
+ align-items: center;
1050
+ gap: 0.5rem;
1051
+ box-shadow: 0 2px 8px rgba(107, 78, 207, 0.3);
1052
  }
1053
 
1054
  .send-btn:hover:not(:disabled) {
1055
+ background: linear-gradient(135deg, #7b5ed0 0%, #9b7ee5 100%);
1056
+ box-shadow: 0 4px 12px rgba(107, 78, 207, 0.4);
1057
+ transform: translateY(-51%);
1058
  }
1059
 
1060
  .send-btn:active:not(:disabled) {
1061
+ transform: translateY(-50%) scale(0.98);
1062
  }
1063
 
1064
  .send-btn:disabled {
1065
  opacity: 0.5;
1066
  cursor: not-allowed;
1067
  background: #4a433c;
1068
+ box-shadow: none;
1069
  }
1070
 
1071
  /* Login Page Styles */