@import '_vars'; $btn-width:120px; /* Dropdown Button */ .dropbtn { background-color: $bg-color; color: $txt-color; //padding: 16px; //font-size: 16px; //border: none; min-width: $btn-width; border-top: $button-border; border-right: $button-border-small; border-bottom: $button-border; border-left: $button-border-small; &.border-left{ border-left : $button-border; } &.border-right{ border-right : $button-border; } } /* The container
- needed to position the dropdown content */ .dropdown { position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; position: absolute; min-width: $btn-width; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } /* Links inside the dropdown */ .dropdown-content a { color: black; //padding: 12px 16px; //text-decoration: none; display: block; //border: $button-border; background-color: $txt-color; padding: 5px; button { //background-color: transparent; border: none; } } /* Change color of dropdown links on hover */ .dropdown-content a:hover { //background-color: $txt-color; //color: $bg-color; button{ //background-color: $txt-color; //color: $bg-color; cursor: pointer; } } /* Show the dropdown menu on hover */ .dropdown:hover .dropdown-content {display: block;} /* Change the background color of the dropdown button when the dropdown content is shown */ .dropdown:hover .dropbtn { //background-color: $txt-color; //color: $bg-color; } /*menububble */ .menububble { visibility: hidden; background-color: black; border-radius: 5px; z-index: 100; padding: 5px; position: fixed; top: 15px; //width: 50vw; //margin: auto; bottom : unset !important; left: unset !important; //position: absolute; //bottom: 25px; //left:0px; } .menububble.is-active { visibility: visible; } .menububble button { background-color: black; border: none; color: white; border-radius: 5px; } #link__button{ min-width: 80px; }