Custom.css hide dropdown addressbar button and draggable window with buttons worked



  • Hello there!
    How to completely hide these button?
    0_1498639469610_dropdownhide.png
    This don't work:
    .input-dropdown {
    min-height: 0 !important;
    z-index: -1 !important;
    display: none !important;
    }

    And another.
    I do that and want to drag window by upper free space
    0_1498639519178_buttongroupdrag.png
    But buttons minimize, maximize and close don't work.
    My code:
    #header {
    min-height: 0 !important;
    z-index: auto !important;
    }
    .toolbar.toolbar-addressbar {
    margin-right: 140px;
    width: 100%;
    padding-right: 140px;
    }
    .window-buttongroup {
    -webkit-app-region: no-drag;
    z-index: 2;
    }
    #browser:not(.mac) .toolbar {
    -webkit-app-region: drag;
    }
    .window-minimize {
    -webkit-app-region: no-drag !important;
    z-index: 2 !important;
    }

    This is my first post and sorry my bad english.



  • For your first issue: button.button-addressfield.input-dropdown {display: none;}



  • I'm on osx, so take this with a grain of salt, but
    .toolbar-addressbar {-webkit-app-region: drag;}
    makes it draggable, you just gotta be more careful with your selectors. The window buttons do work for me with your code, so hard to tell why they don't in your case.



  • Researches continue.
    If I do so:

    /
    header hide (with title bar) for save space
    /
    #header {
    min-height: 0 !important;
    z-index: auto !important;
    }

    The buttons dissapear.
    And if to add this:

    .window-buttongroup {
    -webkit-app-region: no-drag;
    z-index: 2;
    }

    That they appear, but don't work.
    Then I add this:

    .toolbar-addressbar {
    -webkit-app-region: drag;
    margin-right: 140px;
    }

    That works fine, buttons appears and do things. But they have just white background and this is a problem.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.