playwright/packages/trace-viewer/src/ui/uiModeView.css
Dmitry Gozman a41cebc1c9
feat(ui mode): introduce Testing Options and Settings (#31841)
Testing Options control tests, while Settings are UI mode settings.

<img width="298" alt="Screenshot 2024-07-25 at 10 54 22 AM"
src="https://github.com/user-attachments/assets/7b6f5fff-687b-48d1-80b3-d1e6f2a257e8">


These sections are separately expandable, collapsed by default.

<img width="294" alt="Screenshot 2024-07-24 at 2 06 25 PM"
src="https://github.com/user-attachments/assets/5d35ac8c-9289-46ca-aaa2-ebc5419fa0c4">

References #31520.

---------

Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Simon Knott <info@simonknott.de>
2024-07-25 11:23:43 -07:00

111 lines
2.3 KiB
CSS

/*
Copyright (c) Microsoft Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.ui-mode-sidebar {
background-color: var(--vscode-sideBar-background);
}
.ui-mode-sidebar > .settings-toolbar {
border-top: 1px solid var(--vscode-panel-border);
cursor: pointer;
}
.ui-mode-sidebar > .settings-view {
margin: 0 0 3px 23px;
}
.ui-mode-sidebar input[type=search] {
flex: auto;
}
.ui-mode-sidebar .toolbar-button:not([disabled]) .codicon-play {
color: var(--vscode-debugIcon-restartForeground);
}
.ui-mode-sidebar .toolbar-button:not([disabled]) .codicon-debug-stop {
color: var(--vscode-debugIcon-stopForeground);
}
.ui-mode .section-title {
display: flex;
flex: auto;
flex-direction: row;
align-items: center;
font-size: 11px;
text-transform: uppercase;
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
padding: 8px;
height: 30px;
}
.ui-mode-sidebar img {
flex: none;
margin-left: 6px;
width: 24px;
height: 24px;
}
.ui-mode .disconnected {
display: flex;
align-items: center;
justify-content: center;
flex: auto;
flex-direction: column;
background-color: var(--vscode-editor-background);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
line-height: 24px;
}
.disconnected .title {
font-size: 24px;
font-weight: bold;
margin-bottom: 30px;
}
.status-line {
flex: auto;
white-space: nowrap;
line-height: 22px;
padding-left: 10px;
display: flex;
flex-direction: row;
align-items: center;
height: 30px;
}
.status-line > div {
overflow: hidden;
text-overflow: ellipsis;
}
.ui-mode-sidebar input[type=search] {
flex: auto;
padding: 0 5px;
line-height: 24px;
outline: none;
margin: 0 4px;
border: none;
color: var(--vscode-input-foreground);
background-color: var(--vscode-input-background);
}