Ignore:
Timestamp:
01/21/25 03:08:24 (4 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

Location:
imaps-frontend/src/components/Modals/EntranceModal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/src/components/Modals/EntranceModal/EntranceModal.jsx

    r0c6b92a r79a0317  
    4242        setConnections(connections);
    4343        setIsOpen(true);
     44        event.detail.map.detachKeyPressEventListeners();
    4445        console.log(connections, "Loaded pins on modal open");
    4546    },"openEntranceModalEvent")
     
    5253            <ModalSelectRoom shapeInfo={shapeInfo} availableRooms={ShapeQuery.findAllByTypeAndFloor(shape?.floorNum,"Room")} updateModalData={updateModalData}/>
    5354            <ModalSelectConnections2
    54                 availableShapes={ShapeQuery.findAllByType("InfoPin","Entrance")} // najubo ke e entrance samo so room da mozit
     55                availableShapes={ShapeQuery.findAllByTypeAndFloor(map?.floorNum,"Entrance","InfoPin")} // najubo ke e entrance samo so room da mozit
    5556                addConnection={addConnection}
    5657                updateModalData={updateModalData}
  • imaps-frontend/src/components/Modals/EntranceModal/EntranceModal.module.css

    r0c6b92a r79a0317  
    3434  left: 50%;
    3535  transform: translate(-50%, -50%);
    36   background-color: #2c2f33;
     36  background-color: #2c2f33f7;
    3737  color: #ffffff !important;
    3838  padding: 20px;
     
    9090  margin-bottom: 15px;
    9191}
     92
     93/*tuka novo start*/
     94
     95label {
     96  font-size: 16px;
     97  font-weight: bold;
     98  margin-bottom: 8px;
     99}
     100
     101.customFileInput {
     102  position: relative;
     103}
     104
     105.uploadButton {
     106  background-color: #007bff;
     107  color: white;
     108  border: none;
     109  padding: 10px 20px;
     110  border-radius: 5px;
     111  cursor: pointer;
     112  font-size: 16px;
     113  transition: background-color 0.3s ease;
     114}
     115
     116.uploadButton:hover {
     117  background-color: #0056b3;
     118}
     119
     120.uploadButton:focus {
     121  outline: none;
     122  box-shadow: 0 0 4px rgba(0, 123, 255, 0.6);
     123}
     124
     125.uploadButton:active {
     126  background-color: #003f7f;
     127}
     128
     129/*tuka novo end*/
    92130
    93131.formGroup label {
Note: See TracChangeset for help on using the changeset viewer.