Current section
Files
Jump to
Current section
Files
lib/assets/sql_cell/main.css
.app {
font-family: "Inter";
box-sizing: border-box;
--gray-50: #f8fafc;
--gray-100: #f0f5f9;
--gray-200: #e1e8f0;
--gray-300: #cad5e0;
--gray-400: #91a4b7;
--gray-500: #61758a;
--gray-600: #445668;
--gray-800: #1c2a3a;
--blue-100: #ecf0ff;
}
input,
select,
textarea,
button {
font-family: inherit;
}
.header {
display: flex;
align-items: stretch;
justify-content: flex-start;
background-color: var(--blue-100);
padding: 8px 16px;
border: solid 1px var(--gray-300);
border-radius: 0.5rem 0.5rem 0 0;
border-bottom: solid 1px var(--gray-200);
gap: 16px;
}
.input {
padding: 8px 12px;
background-color: var(--gray-50);
font-size: 0.875rem;
border: 1px solid var(--gray-200);
border-radius: 0.5rem;
color: var(--gray-600);
}
.input::placeholder {
color: var(--gray-400);
}
.input:focus {
outline: none;
}
.input--xs {
width: auto;
min-width: 150px;
}
.input--text {
max-width: 50%;
}
.input-label {
display: block;
margin-bottom: 2px;
font-size: 0.875rem;
color: var(--gray-800);
font-weight: 500;
}
.inline-input-label {
display: block;
margin-bottom: 2px;
color: var(--gray-600);
font-weight: 500;
padding-right: 6px;
font-size: 0.875rem;
text-transform: uppercase;
}
.field {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.inline-field {
display: flex;
flex-direction: row;
align-items: baseline;
}
.nonexistent {
opacity: 0.6;
}
.section {
border: solid 1px var(--gray-300);
border-top: 0;
border-bottom: 0;
}
.help-box {
padding: 16px;
white-space: pre-wrap;
font-weight: 500;
font-size: 0.875rem;
background-color: var(--gray-100);
color: var(--gray-500);
}
.settings-box {
padding: 16px;
}
.hidden {
display: none;
}
.icon-button {
background: none;
border: none;
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
color: var(--gray-500);
line-height: 1;
}
.icon-button:hover {
color: var(--gray-900);
}
.icon-button:focus {
outline: none;
}
.icon-button:disabled {
color: var(--gray-300);
cursor: default;
}
.ri {
font-size: 1.25rem;
vertical-align: middle;
line-height: 1;
}
.grow {
flex-grow: 1;
flex-shrink: 3;
}
select.input {
appearance: none;
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01Ljk5OTg5IDQuOTc2NzFMMTAuMTI0OSAwLjg1MTcwOEwxMS4zMDMyIDIuMDMwMDRMNS45OTk4OSA3LjMzMzM3TDAuNjk2NTU1IDIuMDMwMDRMMS44NzQ4OSAwLjg1MTcwOEw1Ljk5OTg5IDQuOTc2NzFaIiBmaWxsPSIjNjE3NThBIi8+Cjwvc3ZnPgo=");
background-repeat: no-repeat;
background-position: center right 10px;
background-size: 10px;
padding-right: 28px;
}
.info-box {
margin-bottom: 24px;
padding: 16px;
border-radius: 0.5rem;
font-weight: 500;
font-size: 0.875rem;
background-color: var(--gray-100);
color: var(--gray-500);
}
.info-box p {
margin: 0;
padding: 0.3em 0;
}
.info-box p:first-child {
padding-top: 0;
}
.strong {
color: var(--gray-600);
padding-left: 0;
}