1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Saving Bug with Templates

Discussion in 'Resolved Bug Reports' started by Amaury, Nov 17, 2013.

  1. Amaury

    Amaury Well-Known Member

    Sometimes when I make a change to a template, such changing a hard coded shade from black and white, and save it, the template acts like it's still default as if I didn't make any changes. I obviously can't revert it because it supposedly has its factory settings.

    It'll even sometimes 'cause display issues with the style, such as here, where I simply changed this...

    Code:
    .button:active,
       .button.ToggleButton.checked,
       .buttonProxy:active .button
       {
         @property "buttonActive";
         border-top-color: rgb(0,;
         border-right-color: 0,;
         border-bottom-color: white;
         border-left-color: 0,;
         outline: 0;
         @property "/buttonActive";
       }
    ... to this:

    Code:
    .button:active,
       .button.ToggleButton.checked,
       .buttonProxy:active .button
       {
         @property "buttonActive";
         border-top-color: rgb(0,;
         border-right-color: 0,;
         border-bottom-color: black;
         border-left-color: 0,;
         outline: 0;
         @property "/buttonActive";
       }
    
     
  2. Jeremy

    Jeremy Well-Known Member

    You've edited a property in your example, any changes would have been placed into the property system.
     
  3. Amaury

    Amaury Well-Known Member

    Oops. Forgot to mention that I edited the form.css template for that.
     
  4. Jeremy

    Jeremy Well-Known Member

    What exactly did you change?
     
  5. Amaury

    Amaury Well-Known Member

    I changed the bottom border shade from white to black, as seen in my OP. :)
     
  6. MattW

    MattW Well-Known Member

    But anything inside here is pulled from the style property

    Code:
        @property "buttonActive";
        border-top-color: rgb(0,;
        border-right-color: 0,;
        border-bottom-color: black;
        border-left-color: 0,;
        outline: 0;
        @property "/buttonActive";
     
    Amaury likes this.
  7. Amaury

    Amaury Well-Known Member

    Huh. Weird. Then that's why it messed up, I guess? However, I'm pretty sure I changed all button borders to black in the button style properties, and this has happened with all styles I've built, so it can't be that I keep missing something, can it?

    Is there a way to fix this without having to start the style over? I mean, it wouldn't be too big of a deal, but it'd still be an inconvenience.
     
  8. Jeremy

    Jeremy Well-Known Member

    If you know the properties you've edited, you can revert the style properties associated with them.
     
    Amaury likes this.
  9. Amaury

    Amaury Well-Known Member

    I'll just revert all of the style properties under Buttons. It'll be easier to re-do them than the whole style. :)
     
  10. Amaury

    Amaury Well-Known Member

    Got it.

    I know it had to do with the Button, Active State style property, but for some reason, I kept leaving the bottom border on white on most of the styles I made instead of making it transparent because I made the all border black.

    When I modified the form.css template on other styles and changed that, they didn't get messed up, though, haha!

    In any case, thanks, Jeremy and @MattW, and I apologize for the false bug report.
     

Share This Page