• Resolved Andrea Scarfo’

    (@andreascarfo)


    In custom CSS I need to use some attribute and value selector

    .box.cursor[data-selectedbox="true"] 
    or
    boxes .box.cursor[data-seat-prefix="B"]

    But it takes some backslash and it becomes for example

    .boxes .box.cursor[data-seat-prefix=\"B\"]

    Can you help me with this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author thesiim

    (@thesiim)

    This is for security reasons (WordPress will escape some characters). When writing CSS selectors try to make them as simple as possible.
    What are you trying to accomplish with this selector?

    Thread Starter Andrea Scarfo’

    (@andreascarfo)

    I would need a class to distinguish the different types of seat, maybe you can add a custom class together with custom colour when selecting seats to create a group.

    I would like to edit how to keep in evidence the seat which is selected, the one you did slow blinking

    Plugin Author thesiim

    (@thesiim)

    In scheme editor there is a feature called legends. It allows to group seats together. Example result: https://ps.w.org/seatreg/assets/screenshot-6.png?rev=2615044
    Maybe this is what you are looking for?

    Thread Starter Andrea Scarfo’

    (@andreascarfo)

    I am already using it.

    By using legends I can not format as I wanted.

    A custom class in legends mask would be perfect.

    And another class for chosen seats.

    Thread Starter Andrea Scarfo’

    (@andreascarfo)

    About custom CSS: it would be possible to give a path to a CSS file instead of textarea with code?

    Plugin Author thesiim

    (@thesiim)

    How would you like to format the legends? Maybe it is something I can implement to the scheme editor.

    Plugin Author thesiim

    (@thesiim)

    The code lives in: https://github.com/SiimKirjanen/seatreg
    So technically you can clone to project and make the changes you want.

    Thread Starter Andrea Scarfo’

    (@andreascarfo)

    Sure, but I would prefer total freedom in design.

    border-left-color, border-right-color, border-bottom, border-left-width, border-right-width, border-bottom-width, border-radius
    Plugin Author thesiim

    (@thesiim)

    Okay. I will add this to the to do items. Will implement them in the next plugin release.

    Thread Starter Andrea Scarfo’

    (@andreascarfo)

    Uhmm… I am not able to develop plugins.

    yours is very good, and I like to give some contribution to the world. Maybe my needs are not just mine.

    Plugin Author thesiim

    (@thesiim)

    I updated the plugin to version 1.48.0
    It now has classes for legends and selected seats

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘custom CSS and quotation marks’ is closed to new replies.