Skip to content

Commit

Permalink
Merge pull request #1103 from flexion/962-styles
Browse files Browse the repository at this point in the history
962 style tweaks
  • Loading branch information
ericsorenson authored Mar 14, 2019
2 parents 39e38dc + 429d761 commit 8fdeb77
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 610 deletions.
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
22 changes: 10 additions & 12 deletions web-client/src/views/DocumentDetail/PendingMessages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ class PendingMessagesComponent extends React.Component {
users,
} = this.props;
return (
<div>
<div className="button-container">
<button
type="button"
id="create-message-button"
onClick={() => openCreateMessageModalSequence()}
className="usa-button-secondary"
>
Create Message
</button>
</div>
<>
<button
type="button"
id="create-message-button"
onClick={() => openCreateMessageModalSequence()}
className="usa-button-secondary"
>
Create Message
</button>

{(!documentDetailHelper.formattedDocument ||
!documentDetailHelper.formattedDocument.workItems ||
Expand Down Expand Up @@ -307,7 +305,7 @@ class PendingMessagesComponent extends React.Component {
</div>
),
)}
</div>
</>
);
}
}
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

0 comments on commit 8fdeb77

Please sign in to comment.