blob: c645bf2aab5f87e87939195ed28ee85fc45c0165 [file] [log] [blame]
@import '../../../elements-sk/modules/styles/buttons';
json-source-sk {
spinner-sk {
width: 16px;
height: 16px;
border-width: 4px;
}
button {
display: flex;
text-align: center;
/* Ensure it can behave like a block or inline-block for text-align */
display: inline-block;
align-items: baseline;
width: auto;
align-content: center;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-evenly;
}
#controls {
display: inline-flex;
text-align: center;
/* Ensure it can behave like a block or inline-block for text-align */
display: inline-block;
align-items: baseline;
width: auto;
align-content: center;
flex-direction: row;
flex-wrap: nowrap;
}
#controls[hidden] {
display: none;
}
pre {
margin: 8px;
padding: 8px;
}
#json-dialog {
position: relative;
border: solid var(--on-background) 1px;
color: var(--on-background);
background: var(--background);
#closeIcon {
position: sticky;
display: block;
z-index: 2; /* Ensure it's above the content*/
float: right;
padding: 0;
border: none;
cursor: pointer;
}
#json-source {
position: relative;
overflow: auto;
top: 12px;
}
}
}