diff --git a/site/src/pages/RoadmapPage/Transfer.scss b/site/src/pages/RoadmapPage/Transfer.scss index c16ce832..75a54ac8 100644 --- a/site/src/pages/RoadmapPage/Transfer.scss +++ b/site/src/pages/RoadmapPage/Transfer.scss @@ -6,7 +6,8 @@ border-top-color: var(--overlay3); } } -.transfer { + +.transfer-body { max-height: 75vh; overflow-y: auto; } @@ -16,7 +17,7 @@ overflow-x: scroll; } -.transfer .list-group .list-group-item { +.transfer-body .list-group .list-group-item { min-width: max-content; background-color: var(--overlay3); } @@ -24,3 +25,37 @@ .entry { margin-top: 1%; } + +.add-entry { + background-color: transparent; + color: var(--peterportal-primary-color-1); + font-size: 17px; + font-weight: bold; + width: fit-content; + margin-inline: auto; + display: flex; + align-items: center; + gap: 4px; +} + +.add-entry:hover { + background-color: transparent; + color: var(--peterportal-primary-color-1); +} + +[data-theme='dark'] { + .add-entry, + .add-entry:hover { + color: var(--peterportal-primary-color-2); + } +} + +.transfer-modal { + .modal-dialog { + max-width: 500px; + max-height: 80%; + } + p { + font-size: 16px; + } +} diff --git a/site/src/pages/RoadmapPage/Transfer.tsx b/site/src/pages/RoadmapPage/Transfer.tsx index 4e145770..9d87ca26 100644 --- a/site/src/pages/RoadmapPage/Transfer.tsx +++ b/site/src/pages/RoadmapPage/Transfer.tsx @@ -8,6 +8,7 @@ import Container from 'react-bootstrap/Container'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import CloseButton from 'react-bootstrap/CloseButton'; +import { PlusLg } from 'react-bootstrap-icons'; import { setShowTransfer, deleteTransfer, setTransfer, addTransfer } from '../../store/slices/roadmapSlice'; import { useAppSelector, useAppDispatch } from '../../store/hooks'; @@ -45,13 +46,13 @@ const TransferEntry: FC = (props) => { return ( - + dispatch(deleteTransfer(props.index))} /> - + setName(e.target.value)} /> - + = ({ missingPrereqNames }) => { }; return ( - - - Transfer Credits + + +

Transfer Credits

- +

Record your AP Credits or Community College Credits here. Doing so will clear the prerequisites on the roadmap. @@ -100,19 +101,20 @@ const Transfer: FC = ({ missingPrereqNames }) => { )} -

+ {transfers.map((transfer, i) => ( ))}
- - -