• Resolved v0van

    (@v0van)


    EN:
    Don’t write for buttons in CSS margin: 0; background-color:#a46497; color:#fff;

    It’s extremely infuriating that you cling to the violet color of the buttons everywhere!
    You know very well that we will ALWAYS recolor, but you enter in the main CSS /wp-content/plugins/woocommerce/assets/css/woocommerce.css all the colors we do NOT need!

    If you would normally write CSS:

    .button.alt, button {
    background-color:#a46497; color:#fff;
    }

    well, it could have been easily repainted.

    but you write in a perverted way, indicating a bunch of classes starting from body:

    .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color:#a46497; color:#fff;
    }

    why do we need all these classes?
    it is clear that on the site buttons and links in the form of buttons are painted in 1 or 2 colors. why for each type of buttons to specify the color in css?

    as a result, repaint and set your own color is unrealistic. you have to open your CSS file and close all your colors.

    if you like the purple color so much – make a separate css file so that you can turn it off or delete it or replace the colors in it through autocorrect.

    the same is true for buttons with
    margin: 0;
    You know perfectly well that NEVER buttons are placed close to anything. always leave a margin or padding. But you’re creating extra work for us. Again you have to edit your main file!

    * * *

    RU:
    Не пишите для кнопок в CSS margin: 0; background-color:#a46497; color:#fff;

    Чрезвычайно бесит что вы везде цепляете фиолетовый цвет кнопок!
    Вы же прекрасно знаете что мы ВСЕГДА будем перекрашивать, но вы вписываете в основной CSS /wp-content/plugins/woocommerce/assets/css/woocommerce.css все НЕнужные нам цвета!

    Если бы вы по-нормальному писали CSS:

    .button.alt, button {
    background-color:#a46497; color:#fff;
    }

    то ещё ладно, можно было легко перекрасить.

    но вы же пишите по-извращенски, указывая кучу классов начиная с body:

    .woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt {
    background-color:#a46497; color:#fff;
    }

    зачем нам все эти классы?
    понятно что на сайте кнопки и ссылки в виде кнопок красят в 1 или 2 цвета. зачем для каждого типа кнопок указывать цвет в css?

    в итоге перекрасить и задать свой цвет нереально. приходится открывать ваш CSS файл и закрывать все ваши цвета.

    если вам так нравится фиолетовый цвет – сделайте отдельный css файл, чтобы его можно было отключить или удалить или в нём заменить цвета через автозамену.

    аналогично обстоят дела для кнопок с
    margin: 0;
    Вы же прекрасно знаете что НИКОГДА кнопки не ставят вплотную к чему бы то ни было. всегда оставляют отступ margin или padding. Но вы создаёте для нас дополнительную работу. Опять приходится править ваш основной файл!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    I can understand your concern here. I’ll suggest you create this as an issue/enhancement on our WooCommerce GitHub repository:

    https://github.com/woocommerce/woocommerce/issues

    Our development team will look into this and will get back to you.

    Best,

    Thread Starter v0van

    (@v0van)

    EN:
    Thank you for keeping my request in mind.

    I never use GitHub. Extremely inconvenient and non-working interface.
    GitHub is clinical russophobes just like facebook.
    From April 13, GitHub began blocking accounts of Russian companies and developers
    Don’t recommend this crap to anyone!!

    RU:
    Спасибо что будете иметь в виду мою просьбу.

    Я никогда не пользуюсь GitHub. Крайне неудобный и неработающий интерфейс.
    GitHub – это клинические русофобы также как facebook.
    С 13 апреля GitHub начал блокировать аккаунты российских компаний и разработчиков
    никому не советуйте эту гадость!!

    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi there!

    As the open source WooCommerce software is maintained and developed on Github – that’s the only place where you can submit your suggestions/feature requests on how WooCommerce can be improved.

    For the time being, you can override the CSS by placing custom CSS in WP Admin > Customize > Additional CSS box. You can keep this custom CSS handy so that you can reuse it on other sites.

    I hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Don’t write for buttons in CSS background-color:#a46497; color:#fff; margin: 0;’ is closed to new replies.