discourse-data-explorer/assets/stylesheets/explorer.scss

134 lines
2.5 KiB
SCSS

.https-warning {
color: $danger;
}
.query-editor {
border: 1px solid dark-light-diff($primary, $secondary, 80%, -20%);
margin-bottom: 15px;
.editor-panel {
float: left;
width: 65%;
.ace-wrapper {
position: relative;
height: 400px;
width: 100%;
}
.ace_editor {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
}
.right-panel {
float: right;
width: calc(35% - 0px);
.schema {
border-left: 1px solid dark-light-diff($primary, $secondary, 80%, -20%);
height: 400px;
overflow-y: scroll;
overflow-x: hidden;
color: dark-light-diff($primary, $secondary, 20%, -20%);
font-size: 11px;
.schema-table-name {
font-weight: bold;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 80%, -20%);
padding-left: 5px;
.fa {
width: 6px;
}
}
ul {
list-style-type: none;
margin: 0;
}
dl {
margin: 0;
}
dl > div > * {
padding-top: 2px;
padding-bottom: 2px;
}
dl > div {
clear:both;
}
dt {
display: inline-block;
vertical-align: text-top;
overflow-wrap: break-word;
width: 110px;
margin-left: 5px;
&.sensitive {
color: $danger;
}
}
dd {
display: inline-block;
vertical-align: text-top;
width: 70px;
color: $tertiary;
margin: 0;
padding-left: 7px;
border-left: 1px dotted dark-light-diff($primary, $secondary, 80%, -20%);
.schema-typenotes {
color: dark-light-diff($primary, $secondary, 50%, -20%);
font-style: italic;
}
}
}
}
.grippie {
clear: both;
}
}
.query-edit {
.name h2 {
display: inline-block;
}
.desc textarea {
width: 200px;
}
&:not(.editing) .desc {
margin: 10px 0;
}
}
.clear { clear: both; }
.schema-title {
display: block;
margin: auto;
}
.schema input {
padding: 4px;
margin: 3px;
width: calc(100% - 7px - 7px - 1px);
}
.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;
}