veersuvrat/CalDining-169

View on GitHub
app/assets/stylesheets/navbar.css

Summary

Maintainability
Test Coverage
.navbar-container {
    background: #fff;
    margin-bottom: 56px;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.navbar-item {
    padding: 16.5px 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(0,0,0,.3);
    transition: linear 0.2s;
    -webkit-transition: linear 0.2s;
    -moz-transition: linear 0.2s;
}

.navbar-item:hover {
    color: rgba(0,0,0,.8);
}

#logo {
    height: 40px;
    width: 40px;
    padding: 8px 0;
}

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
    padding: 16.5px 20px;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    background: #fff;
    position: absolute;
    min-width: 180px;
    border: 1px solid rgba(0,0,0,.05);
    border-top: none;
}

/* Links inside the dropdown */
.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.fa-caret-down {
    margin-left: 4px;
}