// 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 .workspace-bar { align-items: center; background-color: $color-gray-50; border-bottom: 1px solid $color-gray-60; display: flex; height: 40px; padding: $x-small $medium $x-small 55px; position: relative; z-index: 12; .dropdown { position: absolute; top: 40px; left: 40px; width: 230px; z-index: 12; @include animation(0,.2s,fadeInDown); .workspace-menu { background-color: $color-gray-60; border-radius: $br-small; padding: 0 $small; li { font-size: $fs13; padding: $small 0; svg { fill: $color-gray-20; height: 12px; width: 12px; } span { color: $color-white; } &:hover { span { color: $color-primary; } svg { fill: $color-primary; } } } } } .main-icon { align-items: center; background-color: $color-gray-60; cursor: pointer; display: flex; height: 100%; justify-content: center; left: 0; position: absolute; top: 0; width: 40px; a { height: 30px; svg { fill: $color-gray-30; height: 30px; width: 28px; } &:hover { svg { fill: $color-primary; } } } } .menu-btn { align-items: center; background-color: $color-gray-60; cursor: pointer; border-radius: $br-small; display: flex; margin-right: $x-small; padding: $x-small; svg { height: 15px; fill: $color-gray-20; width: 15px; } &:hover { background-color: $color-primary; svg { fill: $color-gray-60; } } } .project-tree-btn { align-items: center; cursor: pointer; display: flex; padding: $x-small; svg { fill: $color-gray-20; height: 20px; margin-right: $small; width: 20px; } span { color: $color-white; font-size: $fs14; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; &.project-name { color: $color-gray-20; margin-right: $x-small; } } } .workspace-options { display: flex; margin: auto; } } .zoom-input { align-items: center; display: flex; span { color: $color-gray-10; font-size: $fs15; margin: 0 $x-small; } .add-zoom, .remove-zoom { align-items: center; background-color: $color-gray-60; border-radius: $br-small; cursor: pointer; color: $color-gray-20; display: flex; flex-shrink: 0; font-size: $fs20; font-weight: bold; height: 20px; justify-content: center; width: 20px; &:hover { background-color: $color-primary; color: $color-gray-60; } } } .options-btn { align-items: center; border-right: 4px double $color-gray-60; display: flex; margin: 0; &:last-child { border: none; } li { align-items: center; background-color: $color-gray-60; border: 1px solid transparent; border-radius: $br-small; cursor: pointer; display: flex; flex-shrink: 0; height: 30px; justify-content: center; margin: 0 $small; position: relative; width: 30px; a { padding-top: 6px; } svg { fill: $color-gray-20; height: 18px; width: 18px; } &:hover { background-color: $color-gray-10; border-color: $color-gray-60; } &.selected { background-color: $color-primary; svg { fill: $color-white; } } } } .secondary-options { align-items: center; display: flex; .view-mode { background-color: $color-gray-20; align-items: center; border-radius: $br-small; cursor: pointer; display: flex; flex-shrink: 0; height: 30px; justify-content: center; margin: 0 $small; position: relative; width: 30px; a { padding-top: 6px; } svg { fill: $color-gray-60; height: 18px; width: 18px; } &:hover { background-color: $color-primary; svg { fill: $color-gray-60; } } } } .user-multi { align-items: center; cursor: pointer; display: flex; margin: 0; li { margin-left: $small; position: relative; img { border: 3px solid #f3dd14; border-radius: 50%; flex-shrink: 0; height: 25px; width: 25px; } } } .multiuser-cursor { align-items: center; display: flex; left: 0; position: absolute; top: 0; z-index: 10000; svg { height: 15px; fill: #f3dd14; width: 15px; } span { background-color: #f3dd14; border-radius: $br-small; color: $color-black; font-size: $fs12; margin-left: $small; padding: $x-small; } }