Support » Plugin: Improved Save Button » better css color

  • Resolved Hrohh

    (@hrohh)


    There are colors conflict, if I have own scheme via plugin “Admin Color Schemer”, the blue is hardcoded in your css. I think, that is not needed

    post-edit.css

    .wp-core-ui .lb-sat-dropdown-menu-shown .lb-sat-dropdown-button.button {
        /* background-color:#EEE; */
        /* border-color:#999; */
        /* -webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,0.5); */
        /* box-shadow:inset 0 2px 5px -3px rgba(0,0,0,0.5); */
    }
    
    .wp-core-ui .lb-sat-dropdown-menu-shown.lb-sat-set-as-default .lb-sat-dropdown-button.button {
        /* background-color:#1B7AA6; */
        /* border-color:#005684; */
        /* -webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1); */
        /* box-shadow:inset 0 1px 0 rgba(0,0,0,0.1); */
        border-left: 1px solid rgba(0,0,0,0.2)
    }

    updated SCSS -> http://codepen.io/anon/pen/rxzbmV

    https://wordpress.org/plugins/improved-save-button/

Viewing 1 replies (of 1 total)
  • Plugin Author Label Blanc

    (@labelblanc)

    Hi,

    Sorry for the (extremely) long delay! Thank you for your suggestion, I will check the code you provided. The problem I faced was that WordPress doesn’t have a “button with dropdown menu”, so I had to create one (class=”lb-sat-dropdown-button”). The “Admin Color Schemer” redefines multiple WordPress styles but, of course, it doesn’t redefine the new button this plugin creates. Your code may fix this problem, so I will try it. I will let you know. Thank you for your contribution!

Viewing 1 replies (of 1 total)
  • The topic ‘better css color’ is closed to new replies.