// 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/. // // This Source Code Form is "Incompatible With Secondary Licenses", as // defined by the Mozilla Public License, v. 2.0. // // Copyright (c) 2020 UXBOX Labs SL .workspace-header { align-items: center; background-color: $color-gray-50; border-bottom: 1px solid $color-gray-60; display: flex; height: 48px; padding: $x-small $medium $x-small 55px; position: relative; z-index: 12; justify-content: space-between; .main-icon { align-items: center; background-color: $color-gray-60; border-bottom: 1px solid $color-gray-50; cursor: pointer; display: flex; height: 100%; justify-content: center; left: 0; position: absolute; top: 0; width: 48px; a { height: 30px; svg { fill: $color-gray-30; height: 30px; width: 28px; } &:hover { svg { fill: $color-primary; } } } } .menu-section { display: flex; justify-content: flex-start; align-items: center; } .shared-badge { margin-left: $x-small; height: 16px; width: 16px; display: flex; align-items: center; justify-content: center; svg { fill: $color-gray-20; height: 12px; width: 12px; } } .users-section { display: flex; } .options-section { display: flex; justify-content: flex-end; align-items: center; position: relative; > * { margin-left: $big; } .zoom-dropdown { top: 45px; left: 98px; } } .project-tree { align-items: center; display: flex; margin-left: $x-small; 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; cursor: pointer; &:hover { color: $color-primary; } } } .file-name { margin: 0; padding: 0; border: none; border-bottom: 1px solid $color-gray-10; background: $color-gray-50; color: $color-gray-10; margin-bottom: -1px; } } .menu { position: absolute; top: 40px; left: 40px; width: 270px; z-index: 12; @include animation(0,.2s,fadeInDown); background-color: $color-white; border-radius: $br-small; box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25); li { cursor: pointer; font-size: $fs14; padding: $small; display: flex; justify-content: space-between; svg { fill: $color-gray-60; height: 12px; width: 12px; } span { color: $color-gray-60; margin: 0 $x-small; } .shortcut { color: $color-gray-20; font-size: $fs12; } &:hover { background-color: $color-primary-lighter; } &.feedback { border-top: 1px solid $color-gray-10; } } } .active-users { 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; } } } } .persistence-status-widget { display: flex; margin-right: 10px; /* border: 1px solid red; */ width: 150px; justify-content: flex-end; > div { display: flex; &.error { .label { color: $color-danger; } .icon svg { fill: $color-danger; } } &.pending { .label { color: $color-warning; } .icon svg { fill: $color-warning; } } } .icon { padding: 0px 10px; } .label { color: $color-gray-30; font-size: $fs14; } svg { width: 12px; height: 12px; fill: $color-gray-30; } }