Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Add new section to About page https://github.com/18F/eregs-platform/issues/57 #443

Merged
merged 3 commits into from
Sep 21, 2016

Conversation

tadhg-ohiggins
Copy link
Contributor

@tadhg-ohiggins tadhg-ohiggins commented Sep 19, 2016

Use “Stop Comparing” /
Now that we have a section /
Clarifying it.

margin-left: -32px;
color: green;
border: 10px solid red;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this rule be removed? The class name includes an x at the beginning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, removed.

xcolor: #071635;
color: #d14124;
font-size: 18px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit gnarly; what about using this instead?

<span class="cf-icon cf-icon-delete-round">

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much cleaner, thanks!

<li>The <strong>date picker</strong> allows users to find what revision was effective on a specific date.</li>
<li><strong>Federal Register notice(s)</strong> associated with a revision are presented and organized by publication date. These links will
take you to the notice on the Office of the Federal Register’s website.</li>
<li><strong>Compare</strong> any two revisions of the regulation, word for word, by selecting a date in the menu and clicking “Show Differences”.</li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid

Copy link
Contributor

@cmc333333 cmc333333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Should this be part of -site rather than ATF-specific?

}

.icon-red {
color: #d14124;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a shame we're using a hard-coded color in -site here, but thanks for highlighting that. Created eregs/regulations-site#463

@cmc333333 cmc333333 merged commit 55c85c8 into 18F:master Sep 21, 2016
color: #d14124;
}

img.about-stopcompare-img {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NBD, but per https://pages.18f.gov/frontend/#css-specificity, this shouldn't include the img

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point; addressed here #445

@tadhg-ohiggins tadhg-ohiggins mentioned this pull request Sep 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants