Skip to content
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

962 style tweaks #1103

Merged
merged 3 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
button styling fixes
  • Loading branch information
ericsorenson committed Mar 14, 2019
commit d6b7bbf8a8a6a083d38cfdb35a842d4e815dd2e4
9 changes: 3 additions & 6 deletions web-client/src/styles/buttons.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.usa-button {
.usa-button,
.usa-button-secondary {
margin: 0 20px 20px 0;
}

Expand Down Expand Up @@ -54,7 +55,7 @@ button.text-style {
}
}

.DocumentDetail .recall-button-box {
.recall-button-box {
padding: 2px;
margin-right: 2px;
margin-bottom: 20px;
Expand Down Expand Up @@ -88,7 +89,3 @@ button.text-style {
padding: 4px 20px 4px 4px;
margin: 4px;
}

#file-a-petition .usa-button-active:disabled {
background-color: $color-primary-darkest;
}
2 changes: 1 addition & 1 deletion web-client/src/views/BeforeStartingCase.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const BeforeStartingCase = () => (
<a className="usa-button" href="/start-a-case">
Got It, Letʼs Start My Case
</a>
<a className="usa-button usa-button-secondary" href="/">
<a className="usa-button-secondary" href="/">
Cancel
</a>
</div>
Expand Down
4 changes: 1 addition & 3 deletions web-client/src/views/CaseDetailEdit/CaseDetailEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export const CaseDetailEdit = connect(

<button
aria-disabled={submitting ? 'true' : 'false'}
className={
submitting ? 'usa-button-active' : 'usa-button usa-button-secondary'
}
className={submitting ? 'usa-button-active' : 'usa-button-secondary'}
disabled={submitting}
type="submit"
>
Expand Down
16 changes: 7 additions & 9 deletions web-client/src/views/DocumentDetail/PendingMessages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ class PendingMessagesComponent extends React.Component {
} = this.props;
return (
<div>
<div className="button-container">
<button
type="button"
onClick={() => openCreateMessageModalSequence()}
className="usa-button-secondary"
>
Create Message
</button>
</div>
<button
type="button"
onClick={() => openCreateMessageModalSequence()}
className="usa-button-secondary"
>
Create Message
</button>

{(!documentDetailHelper.formattedDocument ||
!documentDetailHelper.formattedDocument.workItems ||
Expand Down
2 changes: 1 addition & 1 deletion web-client/src/views/Error.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Error = connect(
)}

<a
className="usa-button usa-button-secondary"
className="usa-button-secondary"
href="https://www.ustaxcourt.gov/"
id="us-tax-court"
>
Expand Down
Loading