best_in_place icon indicating copy to clipboard operation
best_in_place copied to clipboard

Missing css documentation for best_in_place.purr.js

Open josefsj3m opened this issue 9 years ago • 2 comments

I tried to use best in place notification on error, but the message was not displayed by jquery.purr. Checking the code I saw that best_in_place.purr.js uses a css class .bip-flash-error. Everything works ok when I provided this class.

I have not seen the reference to this class in documentation. I use the following as an example:

.bip-flash-error {
  position: fixed;
  top: 30px;
  right: 100px;
  width: 250px;
  padding: 20px;
  background-color: #FCC;
  border: solid 2px #C66;
  &:first-letter { text-transform: uppercase; }
}

José Fernando

josefsj3m avatar Jan 15 '16 22:01 josefsj3m

in general doc is an issue with this gem. not complaining, but just another indicator of that sentiment.

spitzer avatar Jan 05 '17 05:01 spitzer

evolution:

#purr-container {
  position: fixed;
  top: 30px;
  right: 100px;
  width: 250px;
  z-index: 1000;
  &:first-letter { text-transform: uppercase; }

  .purr {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: .25rem;
    display: block;
  }
}

caifara avatar Jun 11 '19 09:06 caifara