Files
microsoft__playwright-cli/src/traceViewer/web/ui/actionListView.css
T
2020-09-14 10:44:45 -07:00

96 lines
2.0 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.
*/
action-list {
flex: none;
width: var(--sidebar-width);
display: flex;
overflow: hidden;
position: relative;
contain: size;
}
action-list > list-view {
overflow: auto;
padding: 0 var(--layout-gap);
}
action-entry {
position: relative;
}
action-list action-entry {
display: flex;
flex-direction: column;
flex: auto;
overflow: hidden;
border: 3px solid var(--background);
margin-top: var(--layout-gap);
user-select: none;
padding: 0 5px 5px 5px;
}
action-list > list-view > list-item {
cursor: pointer;
}
action-list > list-view > list-item:hover action-entry {
border-color: var(--inactive-focus-ring);
}
action-list > list-view > list-item.selected action-entry {
border-color: var(--inactive-focus-ring);
}
action-list > list-view > list-item.selected:focus action-entry {
border-color: var(--orange);
}
action-list action-title {
display: inline;
white-space: nowrap;
font-weight: 600;
}
action-list action-entry action-header {
display: block;
align-items: center;
margin: 5px 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
action-list action-entry action-selector {
display: inline;
padding-left: 5px;
}
action-list action-thumbnail {
flex: none;
display: flex;
align-items: center;
justify-content: center;
width: 200px;
height: 100px;
box-shadow: var(--box-shadow);
}
action-list action-thumbnail img {
max-width: 200px;
max-height: 100px;
}