82 lines
1.2 KiB
CSS
82 lines
1.2 KiB
CSS
.warnings-sidebar {
|
|
width: 320px;
|
|
height: 100%;
|
|
background: canvas;
|
|
border-left: 2px solid black;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.warnings-header {
|
|
padding: 12px;
|
|
border-bottom: 1px solid #2a2a2e;
|
|
}
|
|
|
|
.severity-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.severity-tab {
|
|
flex: 1;
|
|
padding: 4px;
|
|
background: ButtonFace;
|
|
color: GrayText;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.count {
|
|
padding: 4px;
|
|
color: GrayText;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.severity-tab.active {
|
|
color: ButtonText;
|
|
border: 2px solid currentColor;
|
|
}
|
|
|
|
.warning-group-header {
|
|
background: ButtonFace;
|
|
}
|
|
|
|
.warnings-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.warnings-empty {
|
|
margin: auto;
|
|
}
|
|
|
|
.warning-item {
|
|
display: flex;
|
|
margin: 5px;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.warning-item:hover {
|
|
background: ButtonFace;
|
|
}
|
|
|
|
.warning-item--error {
|
|
border: 2px solid red;
|
|
}
|
|
|
|
.warning-item--warning {
|
|
border: 3px solid orange;
|
|
}
|
|
|
|
.warning-item--info {
|
|
border: 3px solid steelblue;
|
|
}
|
|
|
|
.warning-item .meta {
|
|
font-size: 11px;
|
|
opacity: 0.6;
|
|
} |