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

Section and panels don't have style #71

Open
jfcampos1 opened this issue Apr 16, 2020 · 1 comment
Open

Section and panels don't have style #71

jfcampos1 opened this issue Apr 16, 2020 · 1 comment

Comments

@jfcampos1
Copy link

Hi great project, I really like it.

The section and panels don't have a defined style, and make it difficult to make a nice dashboard.

Maybe you can add or improved the scss on this part, for now I have added custom scss for the panel (from the activeadmin repo)

Here is the scss:

.panel {
  border: 2px;
  margin: 10px 0;
  border-radius: 3px;
  background-color: whitesmoke;
  box-shadow: inset 0 1px 4px #ddd;

  >h3 {
    background-color: #efefef;
    background-image: linear-gradient(180deg, #efefef, #dfe1e2);
    text-shadow: #fff 0 1px 0;
    border: solid 1px #cdcdcd;
    border-color: #d4d4d4;
    border-top-color: #e6e6e6;
    border-right-color: #d4d4d4;
    border-bottom-color: #cdcdcd;
    border-left-color: #d4d4d4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 1px #fff inset;
    font-size: 1em;
    font-weight: bold;
    line-height: 18px;
    margin-bottom: 0.5em;
    color: #5E6469;
    padding: 5px 10px 3px 10px;
  }

  .panel_contents {
    padding: 10px;
  }
}
@cprodhomme
Copy link
Owner

Yes it's a good idea, i will check that code 👍

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

2 participants