-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewriting most remaining MUI usage #2905
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
42c5cf8
Rewriting some MUI usage in AltinnReceipt
8223650
Replacing MUI usage in PartySelection
7a89d03
Replacing MUI usage in MapSummary
51dfbdc
Replacing MUI usage in AltinnReceipt
df53798
Replacing some more MUI usage
c7b49f9
More cleanup
a5ff64b
Removing theme, simplifying the palette export
427bf5c
Removing class reference not defined in the css file
b4e46f2
Updating snapshot, adding link to the correct issue
c93f289
Using span instead of Paragraph in summaries, in order to match other…
ae2d75e
Removing List usage as well
39323d6
Yet again updating an annoying snapshot
630d500
Minor adjustments to make things look better, rewriting table stuff i…
fb21365
Merge branch 'main' into chore/some-mui-cleanup
1f7b391
Fixes to make the pdf.ts test work again, removing bottom margin when…
c99ce31
Merge branch 'main' into chore/some-mui-cleanup
c0bc05e
Fixing failing all-process-test, when there was a missing role='row' …
2873466
The last 'fix' broke everything. Screw this, I'm using tables instead.
f6eaa8c
Using CSS variables for colors (also using these in places we haven't…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,14 @@ | ||
.spinner { | ||
color: var(--colors-primary-blueDark); | ||
margin-right: auto; | ||
margin-left: auto; | ||
display: inline-block; | ||
} | ||
|
||
.spinnerText { | ||
display: inline-block; | ||
font-size: 16px; | ||
margin-left: 10px; | ||
vertical-align: middle; | ||
margin-bottom: 25px; | ||
} |
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,17 @@ | ||
.button { | ||
text-decoration: underline; | ||
text-align: left; | ||
padding: 5px 5px 5px 10px; | ||
} | ||
|
||
.srOnly { | ||
position: absolute; | ||
clip: rect(0, 0, 0, 0); | ||
border: 0; | ||
} | ||
|
||
.srOnly:focus { | ||
position: relative; | ||
width: auto; | ||
height: auto; | ||
} |
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,98 @@ | ||
.partyPaper { | ||
margin-bottom: 0.75rem; | ||
border-radius: 0; | ||
background-color: var(--colors-primary-blueLighter); | ||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); | ||
width: 100%; | ||
} | ||
|
||
.partyWrapper { | ||
padding: 1.25rem; | ||
gap: 0.75rem; | ||
} | ||
|
||
.partyWrapper:hover { | ||
cursor: pointer; | ||
} | ||
|
||
.partyWrapperDisabled:hover { | ||
cursor: not-allowed; | ||
} | ||
|
||
.partyPaperDisabled { | ||
margin-bottom: 0.75rem; | ||
border-radius: 0; | ||
background-color: var(--colors-primary-blueLighter); | ||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); | ||
color: var(--colors-primary-grey); | ||
width: 100%; | ||
} | ||
|
||
.partyIcon { | ||
padding: 0.75rem; | ||
font-size: 42px; | ||
} | ||
|
||
.partyName { | ||
font-weight: 700; | ||
} | ||
|
||
.partyInfo { | ||
font-weight: 300; | ||
font-size: 0.875rem; | ||
} | ||
|
||
.subUnitWrapper { | ||
color: var(--colors-primary-black); | ||
} | ||
|
||
.subUnitListHeaderWrapper { | ||
padding-top: 0.75rem; | ||
padding-bottom: 0.75rem; | ||
gap: 0.75rem; | ||
border-top: 1px solid var(--colors-primary-greyMedium); | ||
} | ||
|
||
.subUnitListHeaderWrapper:hover { | ||
cursor: pointer; | ||
} | ||
|
||
.subUnit { | ||
width: 100%; | ||
padding: 0 1.25rem; | ||
} | ||
|
||
.subUnit:hover { | ||
background: var(--colors-primary-blueLight); | ||
cursor: pointer; | ||
} | ||
|
||
.subUnitListHeader { | ||
padding-left: 1.5rem; | ||
padding-right: 1.5rem; | ||
} | ||
|
||
.subUnitListHeader:hover { | ||
background: var(--colors-primary-blueLight); | ||
cursor: pointer; | ||
} | ||
|
||
.subUnitListHeaderIcon { | ||
font-size: 2rem; | ||
color: var(--colors-primary-blue); | ||
} | ||
|
||
.subUnitTextWrapper { | ||
padding: 1.25rem 1.25rem 1.25rem 3rem; | ||
gap: 0.75rem; | ||
border-top: 1px solid var(--colors-primary-greyMedium); | ||
} | ||
|
||
.subUnitTextBold { | ||
font-weight: 700; | ||
} | ||
|
||
.subUnitIcon { | ||
padding-left: 1.75rem; | ||
font-size: 2.625rem; | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Samme her
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tenker jeg dropper å lage en variabel på akkurat den. Den blir brukt nøyaktig 2 plasser, og bare i denne filen. Tidligere hadde den en variabel for hele box-shadow, men jeg ser ikke helt poenget.