/* * SonarQube * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ .workspace-nav { position: fixed; z-index: 451; bottom: 0; right: 0; height: 28px; } .workspace-nav-list { float: right; } .workspace-nav-item { position: relative; display: inline-flex; align-items: center; margin-right: var(--gridSize); } .workspace-nav-item-link { display: inline-flex; align-items: center; height: 28px; padding: 0 calc(3.5 * var(--gridSize)) 0 var(--gridSize); border: none; background-color: var(--gray40); color: #fff; font-size: var(--smallFontSize); } .workspace-nav-item-link:hover, .workspace-nav-item-link:focus { color: #fff; opacity: 0.9; } .workspace-nav-item-close { position: absolute; right: 4px; top: 4px; } .workspace-viewer { position: fixed; z-index: 450; bottom: 0; left: 0; right: 0; box-sizing: border-box; background-color: #fff; box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.175); } .workspace-viewer-header { position: relative; height: 30px; padding: 3px 10px; box-sizing: border-box; background-color: var(--gray40); color: #fff; font-weight: 300; } .workspace-viewer-name { float: left; line-height: var(--controlHeight); color: #fff; font-weight: 400; } .workspace-viewer-name i { margin-top: 3px; } .workspace-viewer-resize { position: absolute; top: 3px; left: 50%; width: 30px; height: 5px; margin-left: -15px; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSI1cHgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGlu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vPjwvZz48ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLDAsMCwxLDEyLDApIj48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiBzdHlsZT0iZmlsbDojNzc3O2ZpbGwtb3BhY2l0eTowLjU7Ii8+PC9nPjxnIHRyYW5zZm9ybT0ibWF0cml4KDEsMCwwLDEsMTYsMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHN0eWxlPSJmaWxsOiM3Nzc7ZmlsbC1vcGFjaXR5OjAuNTsiLz48L2c+PGcgdHJhbnNmb3JtPSJtYXRyaXgoMSwwLDAsMSwyMCwwKSI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjIiIGhlaWdodD0iMiIgc3R5bGU9ImZpbGw6Izc3NztmaWxsLW9wYWNpdHk6MC41OyIvPjwvZz48ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLDAsMCwxLDI0LDApIj48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiBzdHlsZT0iZmlsbDojNzc3O2ZpbGwtb3BhY2l0eTowLjU7Ii8+PC9nPjxnIHRyYW5zZm9ybT0ibWF0cml4KDEsMCwwLDEsMjgsMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHN0eWxlPSJmaWxsOiM3Nzc7ZmlsbC1vcGFjaXR5OjAuNTsiLz48L2c+PC9nPjwvZz48L3N2Zz4=); cursor: ns-resize; } .workspace-viewer-actions { float: right; } .workspace-viewer-actions a { color: inherit; } .workspace-header-icon:hover path, .workspace-header-icon:focus path { color: var(--gray40); } .workspace-viewer-container { height: calc(40vh - 30px); min-height: 100px; max-height: calc(95vh - 30px); padding: 5px 10px; overflow-y: scroll; overflow-x: auto; box-sizing: border-box; } .with-workspace .source-viewer { padding-bottom: 40vh; } .with-workspace .workspace-viewer .source-viewer { padding-bottom: 0; }