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

Front end forms - no styling #87

Open
ruudvh opened this issue Jun 14, 2013 · 1 comment
Open

Front end forms - no styling #87

ruudvh opened this issue Jun 14, 2013 · 1 comment

Comments

@ruudvh
Copy link

ruudvh commented Jun 14, 2013

The forms on the front-end, such as Add or Edit Project, have no styling attached to them. It seems that WordPress automatically grabs the styling from wp-admin.css, which is not loaded in the front-end.

Adding the following to CollabPress css's files will solve the issue, and make the forms nice and beautiful again. (Not sure of all classes are needed).

.form-table {
    border-collapse: collapse;
    margin-top: 0.5em;
    width: 100%;
    margin-bottom: -8px;
    clear: both;
}

.form-table td {
    margin-bottom: 9px;
    padding: 8px 10px;
    line-height: 20px;
    font-size: 12px;
}

.form-table th,
.form-wrap label {
    font-weight: normal;
    text-shadow: #fff 0 1px 0;
}

.form-table th {
    vertical-align: top;
    text-align: left;
    padding: 10px;
    width: 200px;
}

.form-table th.th-full {
    width: auto;
}

.form-table div.color-option {
    display: block;
    clear: both;
    margin-top: 12px;
}

.form-table input.tog {
    margin-top: 2px;
    margin-right: 2px;
    float: left;
}

.form-table td p {
    margin-top: 4px;
}

.form-table table.color-palette {
    vertical-align: bottom;
    float: left;
    margin: -12px 3px 11px;
}

.form-table .color-palette td {
    border-width: 1px 1px 0;
    border-style: solid solid none;
    height: 10px;
    line-height: 20px;
    width: 10px;
}
@ruudvh
Copy link
Author

ruudvh commented Jun 14, 2013

Possible connection here: Issue 82?

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

No branches or pull requests

1 participant