-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(board) visual changes to the board (#1125)
* chore(board): depature time column right aligned * chore(board): visual changes to the board * chore(board): correct color on column headers * chore(board): renaming variables and cutting down css * chore(board): string instead of boolean to align columnheaders * chore(board): moved clock css class to components folder * chore(board): center-align plattform column * chore(board): change table header color * chore(board): text-alignment on board and remove css * chore(board): rename css variable
- Loading branch information
1 parent
31ceea5
commit 0c2a1ef
Showing
13 changed files
with
54 additions
and
28 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
next-tavla/src/Board/scenarios/Table/components/Destination/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.destination { | ||
display: flex; | ||
flex-direction: column; | ||
font-size: 1.5625em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
next-tavla/src/Board/scenarios/Table/components/Platform/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { useNonNullContext } from 'hooks/useNonNullContext' | ||
import { DepartureContext } from '../../contexts' | ||
import classes from './styles.module.css' | ||
|
||
function Platform() { | ||
const departure = useNonNullContext(DepartureContext) | ||
|
||
return <td>{departure.quay.publicCode}</td> | ||
return <td className={classes.quayText}>{departure.quay.publicCode}</td> | ||
} | ||
|
||
export { Platform } |
4 changes: 4 additions & 0 deletions
4
next-tavla/src/Board/scenarios/Table/components/Platform/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.quayText { | ||
font-weight: 700; | ||
font-size: 1.5em; | ||
} |
2 changes: 1 addition & 1 deletion
2
next-tavla/src/Board/scenarios/Table/components/Situation/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
next-tavla/src/Board/scenarios/Table/components/Time/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
.timeDeviationContainer { | ||
display: flex; | ||
flex-direction: column; | ||
.timeContainer { | ||
font-weight: 600; | ||
font-size: 1.5em; | ||
} | ||
|
||
.aimedDepartureTime { | ||
font-size: 0.5625em; | ||
text-decoration: line-through; | ||
font-size: 0.66em; | ||
} | ||
|
||
.expectedDepartureTime { | ||
font-weight: 600; | ||
color: var(--table-time-deviation-color); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.clock { | ||
font-size: 1.5625em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters