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

required properties in bold cannot be distinguished from optional properties #30

Open
yanns opened this issue Jul 24, 2015 · 3 comments

Comments

@yanns
Copy link

yanns commented Jul 24, 2015

On Mac, with the choose font, the properties in bold cannot be distinguished from the optional one:
with lucia

When I deactivated the font-family, this is much clearer:
without lucia

@vaughnteegarden
Copy link

I modified the docson.css stylesheet as follows... required fields become very clear.

.docson .required {
font-weight: bold;
background-color:#99FFCC;
}

.docson .required::after {
font-weight:normal;
font-family: 'Droid Sans',verdana,helvetica;
content: "(required)";
padding: 0 0 0 15px;
font-size: 80%;
}

@elsnosrap
Copy link

Thanks @vaughnteegarden ! That change really makes it obvious now which items are required.

@vaughnteegarden
Copy link

For what it is worth, I have since changed to the below. It is less distracting but still clear, prints better, and the required label is positioned more consistently.

.docson .required {
// font-weight: bold;
}

.docson .required + .signature-type::after {
content: " required";
color: #ff0000;
font-size: 100%;
padding-left:10px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants