// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // // Copyright (c) 2015-2016 Andrey Antukh // Copyright (c) 2015-2016 Juan de la Cruz .library-bar { background-color: $color-white; bottom: 0; height: 100%; left: 0; position: fixed; width: 230px; .library-bar-inside { display: flex; flex-direction: column; height: 100%; padding-top: 40px; .library-tabs { align-items: center; background-color: $secondary-ui-bg; display: flex; justify-content: space-around; margin: 0; padding-top: 12px; li { background-color: darken($secondary-ui-bg, 10%); border-top-left-radius: 3px; border-top-right-radius: 3px; color: $color-gray; cursor: pointer; font-weight: bold; font-size: $fs14; padding: .6rem; text-align: center; width: 118px; &:hover { color: $color-white; } &.current { background-color: $primary-ui-bg; color: $main-ui-color; } } } .library-elements { display: flex; flex-direction: column; height: calc(95% - 1rem); margin-bottom: 1rem; overflow-y: auto; padding-bottom: 20px; li { cursor: pointer; display: flex; flex-direction: column; flex-shrink: 0; padding: $small $medium; span.element-title { color: $intense-ui-text; font-size: $fs14; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; } &.recent-projects { border-top: 1px solid $dark-ui-bg; border-bottom: 1px solid $dark-ui-bg; } input.element-title { border: 0; height: 30px; padding: 5px; } .close { background: $primary-ui-bg; cursor: pointer; padding: 5px 10px; svg { fill: $color-gray; height: 20px; transform: rotate(45deg) translateY(7px); width: 20px; } } .element-subtitle { color: $color-gray-light; font-style: italic; } &:hover { background-color: $main-ui-color; color: $intense-ui-text; } &.current { span.element-title, .element-subtitle { color: $intense-ui-text; font-weight: bold; } input.element-title { color: $color-gray-dark; } } } } } } .projects-row { align-items: center; display: flex; padding: $medium; span { color: $color-gray-30; font-size: $fs14; } .add-project { align-items: center; background-color: $dark-ui-bg; border-radius: $br-small; border: 1px solid transparent; cursor: pointer; display: flex; justify-content: center; margin-left: auto; padding: $x-small; svg { fill: $soft-ui-icons; height: 16px; width: 16px; } &:hover { background-color: $main-ui-color; svg { fill: $soft-ui-icons; } } } } .dashboard-search { align-items: center; border: 1px solid $color-gray-10; display: flex; margin: $medium; .input-text { background: $color-white; border: 0; color: $intense-ui-text; font-size: $fs14; padding: 4px 8px; margin: 0; max-width: 170px; width: 100%; } .clear-search { align-items: center; cursor: pointer; display: flex; height: 28px; padding: 0 5px; svg { fill: $medium-ui-icons; height: 15px; transform: rotate(45deg); width: 15px; &:hover { fill: $color-danger; } } } }