-
Notifications
You must be signed in to change notification settings - Fork 3
Renewed: Improve Styling #337
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
Open
crhallberg
wants to merge
32
commits into
dev
Choose a base branch
from
improve-styles
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
14d7280
style: global pass to improve stylings.
crhallberg 64fdf67
chore: client:format
crhallberg dc8ce5e
style: reduce and unify color palette
crhallberg dd388b5
tests: update snapshots.
crhallberg ce62e3f
test: make button text more flexible
crhallberg f08ff29
Merge branch 'dev' into improve-styles
demiankatz 098d1ca
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] 8d4cc46
chore: root format.
crhallberg d2a7c73
Merge branch 'improve-styles' of https://github.com/FalveyLibraryTech…
crhallberg 719bc59
feat: add icon for Deleted state. i think this is the right state.
crhallberg 9c2f300
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] 73e52f5
chore: update snapshots.
crhallberg 62e944b
Merge branch 'improve-styles' of https://github.com/FalveyLibraryTech…
crhallberg 814c314
Merge branch 'dev' into improve-styles
demiankatz 9612b1b
style: harmony colors.
crhallberg bb026a1
style: padding and color adjustments.
crhallberg c7d3028
style: item edit colors and layout.
crhallberg 7ef316d
style: job paginator.
crhallberg a7479c2
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] 929a488
Merge branch 'dev' into improve-styles
demiankatz a71c63b
css: status btn improvements.
crhallberg 337d251
populated datastreams to green. fix status buttons in ObjectSummary.
crhallberg c40fe24
lint
crhallberg f11d797
ci: mixed whitespace.
crhallberg 27a7801
fix: object button bar delete.
crhallberg c503f42
Convert tabs to spaces.
demiankatz 9b3072c
Merge branch 'dev' into improve-styles
demiankatz 5feb626
Update snapshots.
demiankatz 5c60e08
revert: DatastreamControlButton and unused object-editor.css.
crhallberg 296caf6
testing: fix snapshot.
crhallberg 43c573c
license or remove vendor files.
crhallberg a9fed82
fix: icon sizes and contrast.
crhallberg 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,7 @@ | ||
.deleteBtn { | ||
&:hover, | ||
&:focus { | ||
background-color: var(--red-700); | ||
border-color: var(--red-700); | ||
} | ||
} |
This file contains hidden or 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 hidden or 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,22 @@ | ||
.objectBar { | ||
display: grid; | ||
grid-template-columns: repeat(5, auto); | ||
width: fit-content; | ||
|
||
& button { | ||
width: fit-content; | ||
white-space: nowrap; | ||
border-inline-width: 0; | ||
border-radius: 0; | ||
|
||
&:first-child { | ||
border-inline-start-width: 1px; | ||
border-radius: 4px 0 0 4px; | ||
} | ||
|
||
&:last-child { | ||
border-inline-end-width: 1px; | ||
border-radius: 0 4px 4px 0; | ||
} | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,19 +1,47 @@ | ||
.active .indicator { | ||
color: green; | ||
.status_btn { | ||
min-width: 120px; | ||
|
||
&:is(:hover, &:focus) { | ||
color: white; | ||
} | ||
} | ||
|
||
.inactive .indicator { | ||
color: yellow; | ||
.status_btn.active { | ||
background-color: var(--object-status-active); | ||
|
||
&:hover, &:focus { | ||
color: white; | ||
background-color: var(--object-status-active-text); | ||
border-color: var(--object-status-active-text); | ||
} | ||
} | ||
|
||
.deleted .indicator { | ||
color: red; | ||
.status_btn.inactive { | ||
background-color: var(--object-status-inactive); | ||
|
||
&:hover, &:focus { | ||
color: white; | ||
background-color: var(--object-status-inactive-text); | ||
border-color: var(--object-status-inactive-text); | ||
} | ||
} | ||
|
||
.unknown .indicator { | ||
color: gray; | ||
.status_btn.deleted { | ||
background-color: var(--object-status-deleted); | ||
|
||
&:hover, &:focus { | ||
color: white; | ||
background-color: var(--object-status-deleted-text); | ||
border-color: var(--object-status-deleted-text); | ||
} | ||
} | ||
|
||
.indicator { | ||
text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000; | ||
.status_btn.unknown { | ||
background-color: var(--object-status-unknown); | ||
|
||
&:hover, &:focus { | ||
color: white; | ||
background-color: var(--object-status-unknown-text); | ||
border-color: var(--object-status-unknown-text); | ||
} | ||
} |
This file contains hidden or 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 hidden or 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,9 +1,21 @@ | ||
.infobox { | ||
background-color: lightgray; | ||
border: 1px solid black; | ||
padding: 5px; | ||
padding-inline: 1lh; | ||
padding-block: 1rem; | ||
color: var(--info-text); | ||
background-color: var(--info); | ||
border: 1px solid var(--info-border); | ||
} | ||
|
||
.infobox h2 { | ||
margin: 0; | ||
} | ||
} | ||
|
||
.infobox button { | ||
min-width: unset; | ||
padding-block: 0.5em 0.4em; | ||
|
||
&:not(:hover,:focus) { | ||
background-color: white; | ||
border-color: black; | ||
} | ||
} |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.