mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-03-06 17:39:08 +00:00
108 lines
1.9 KiB
SCSS
108 lines
1.9 KiB
SCSS
.https-warning {
|
|
color: $danger;
|
|
}
|
|
|
|
.query-edit {
|
|
.name h2 {
|
|
display: inline-block;
|
|
}
|
|
.desc textarea {
|
|
width: 200px;
|
|
}
|
|
&:not(.editing) .desc {
|
|
margin: 10px 0;
|
|
}
|
|
.sql textarea {
|
|
width: 500px;
|
|
height: 350px;
|
|
font-family: monospace;
|
|
border-color: $tertiary;
|
|
}
|
|
.clear { clear: both; }
|
|
}
|
|
|
|
.schema {
|
|
border: 1px solid black;
|
|
overflow-y: scroll;
|
|
> div {
|
|
width: 306px;
|
|
}
|
|
max-height: 400px;
|
|
|
|
margin-bottom: 10px;
|
|
}
|
|
.schema-title {
|
|
display: block;
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
.schema input {
|
|
padding: 4px;
|
|
margin: 3px;
|
|
width: calc(100% - 7px - 7px - 1px);
|
|
}
|
|
.schema .schema-table:first-child {
|
|
border-top: 1px solid;
|
|
}
|
|
.schema-table-name {
|
|
background: dark-light-diff($primary, $secondary, 80%, -20%);
|
|
border-color: dark-light-diff($primary, $secondary, 60%, -20%);
|
|
font-weight: bold;
|
|
border-bottom: 1px solid;
|
|
padding-left: 5px;
|
|
}
|
|
.schema-table-cols {
|
|
|
|
}
|
|
.schema-table-col {
|
|
background: $secondary;
|
|
border-color: dark-light-diff($primary, $secondary, 60%, -20%);
|
|
border-bottom: 1px solid;
|
|
padding-left: 10px;
|
|
}
|
|
.schema-colname {
|
|
font-weight: bold;
|
|
|
|
display: inline-block;
|
|
width: 150px;
|
|
word-wrap: break-word;
|
|
vertical-align: text-top;
|
|
background: dark-light-diff($primary, $secondary, 98%, -20%);
|
|
|
|
&.sensitive {
|
|
color: $danger;
|
|
}
|
|
}
|
|
.schema-type {
|
|
display: inline-block;
|
|
max-width: 140px;
|
|
vertical-align: text-top;
|
|
}
|
|
.schema-typenotes {
|
|
color: dark-light-diff($primary, $secondary, 50%, -20%);
|
|
font-style: italic;
|
|
}
|
|
|
|
.query-params {
|
|
border: 1px solid dark-light-diff($primary, $secondary, 60%, -20%);
|
|
input {
|
|
margin: 9px;
|
|
}
|
|
.param {
|
|
display: inline-block;
|
|
overflow-x: visible;
|
|
}
|
|
.param-save {
|
|
float: right;
|
|
margin: 9px;
|
|
}
|
|
.param-name {
|
|
display: inline-block;
|
|
width: 70px;
|
|
}
|
|
}
|
|
|
|
.query-list, .query-create, .query-edit, .query-results, .query-params, .https-warning {
|
|
margin: 10px 0;
|
|
}
|