ToolJet/frontend/src/_styles/theme.scss
Navaneeth Pk 20cccd1df7
Responsive canvas (#1363)
* Better canvas

* Better canvas

* Better canvas

* Fix for resize

* Fix for drag

* Fix for drag

* Fix for drag

* Adjust width of components by # of grid lines

* Adjust components to comply with gridline based width

* Fix the width of rigth sidebar

* Fix for subcontainer resize issue

* Fix for dropped widget width (sc)

* Fix subcontainer drag width

* Fix grid for sub container

* Fix viewer

* Fix

* Fix

* Use RnD for dragging within canvas

* bounds for subcontainers

* fix for subcontainers

* Fix for mouseover issue

* Fix

* Fix widget widths

* Fixes chart

* Fixes qr scanner and divider

* Remove scaleValue

* Mmerge fix

* Mmerge fix

* Fix for ormconfig

* Fixes for comments

* Add comment where the user clicked

* Disable dragging on viewer

* Max width for canvas

* Fix for widget click events

* Fix for radio button

* Rebase widget width and left offset for responsive canvas

* Fix

* Fix the width of file picker

* Fix for calendar widget

* Disable zoom selector

* Fixes comment positions

* css fixes

* Fix

* Recompute width and offset of subcontainer widgets based on its parent's width

* Calculate container width separately for modal children while migrating to responsive

* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-11-16 17:14:09 +05:30

2524 lines
No EOL
43 KiB
SCSS

@import './tabler.scss';
@import './colors.scss';
body {
font-family: 'Roboto', sans-serif;
}
.navbar {
max-height: 48px;
min-height: auto;
.nav-item.active:after {
bottom: 0 !important;
}
}
.emoji-mart-scroll {
border-bottom: 0;
margin-bottom: 6px;
}
.emoji-mart-scroll + .emoji-mart-bar {
display: none;
}
.editor {
.header-container {
max-width: 100%;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.resizer-active {
border: solid 1px rgb(70, 165, 253) !important;
.top-right,
.top-left,
.bottom-right,
.bottom-left {
background: white;
border-radius: 10px;
border: solid 1px rgb(70, 165, 253);
}
}
.resizer-selected {
outline-width: thin;
outline-style: solid;
outline-color: #ffda7e;
}
.query-manager {
.btn {
height: 31px;
}
.header {
--tblr-gutter-x: 0rem;
}
.nav-header {
color: #3e525b;
.nav-tabs {
border-bottom: 0;
}
}
.query-details {
margin-top: 34px;
}
.advanced-options-container {
margin-top: 42px !important;
}
}
.left-sidebar {
scrollbar-width: none;
}
.left-sidebar::-webkit-scrollbar {
width: 0;
background: transparent;
}
.left-sidebar {
height: 100%;
width: 3%;
position: fixed;
z-index: 1;
left: 0;
overflow-x: hidden;
flex: 1 1 auto;
background-color: #fff;
background-clip: border-box;
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 1px 3px 0px;
.accordion-item {
border: solid rgba(101, 109, 119, 0.16);
border-width: 1px 0px 1px 0px;
}
.datasources-container {
height: 50%;
overflow-y: scroll;
tr {
border-color: #f1f1f1;
}
}
.variables-container {
height: 50%;
overflow-y: scroll;
}
.variables-container::-webkit-scrollbar-thumb,
.datasources-container::-webkit-scrollbar-thumb {
background: transparent;
height: 0;
width: 0;
}
.variables-container::-webkit-scrollbar,
.datasources-container::-webkit-scrollbar {
width: 0;
background: transparent;
height: 0;
}
.variables-container,
.datasources-container {
scrollbar-width: none;
}
.datasources-container {
bottom: 0;
height: 500px;
border: solid rgba(101, 109, 119, 0.16);
border-width: 1px 0px 1px 0px;
.datasources-header {
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 1px 0px;
}
}
}
.editor-sidebar {
height: 100%;
position: fixed;
z-index: 1;
right: 0;
overflow-x: hidden;
width: 300px;
flex: 1 1 auto;
top: 48px;
background-color: #fff;
background-clip: border-box;
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 0px 1px;
.nav-tabs .nav-link {
color: #3e525b;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.inspector {
.form-control-plaintext {
padding: 0;
}
.header {
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 1px 0px;
height: 40px;
.component-name {
font-weight: 500;
}
.component-action-button {
top: 8px;
right: 10px;
position: absolute;
}
}
.properties-container {
.field {
.form-label {
font-size: 12px;
}
.text-field {
height: 30px;
font-size: 12px;
}
.form-select {
height: 30px;
font-size: 12px;
}
.select-search__input {
padding: 0.2375rem 0.75rem;
font-size: 0.825rem;
}
}
}
}
.components-container::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
}
.components-container::-webkit-scrollbar-thumb {
background: transparent;
}
.components-container {
scrollbar-width: none;
}
.components-container {
height: 88%;
overflow: auto;
overflow-x: hidden;
.component-image-holder {
background: rgb(244, 246, 250);
border-radius: 0;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
img {
margin: 0 auto;
padding: 12px;
}
&:hover {
background: rgba(66, 153, 225, 0.1);
}
}
.component-title {
display: block;
font-weight: 400;
margin-top: 10px;
color: #3e525b;
white-space: nowrap;
font-size: 10px;
line-height: 12px;
max-width: 100%;
text-align: center;
}
.component-description {
color: grey;
font-size: 0.7rem;
}
}
}
.main {
margin-left: 3%;
width: 82%;
top: 0;
.canvas-container::-webkit-scrollbar {
width: 0;
background: transparent;
height: 0;
}
.canvas-container {
scrollbar-width: none;
}
.canvas-container::-webkit-scrollbar {
width: 0;
background: transparent;
}
.canvas-container {
height: 100%;
top: 48px;
position: fixed;
right: 300px;
left: 3%;
overflow-y: auto;
overflow-x: scroll;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
.show-grid {
background-image: linear-gradient(to right, rgba(194, 191, 191, 0.2) 1px, transparent 1px),
linear-gradient(to bottom, rgba(194, 191, 191, 0.2) 1px, transparent 1px);
}
.canvas-area {
min-height: 2400px;
background: #edeff5;
margin: 0px auto;
.resizer {
border: solid 1px transparent;
}
}
}
.query-pane {
scrollbar-width: none;
}
.query-pane::-webkit-scrollbar {
width: 0;
background: transparent;
}
.query-pane {
height: 350px;
position: fixed;
left: 3%;
right: 300px;
bottom: 0;
overflow-x: hidden;
flex: 1 1 auto;
background-color: #fff;
background-clip: border-box;
border: solid rgba(0, 0, 0, 0.125);
border-width: 1px 0px 0px 0px;
.table-responsive {
scrollbar-width: none;
}
.table-responsive::-webkit-scrollbar {
width: 0;
background: transparent;
}
.query-row {
cursor: pointer;
--tblr-gutter-x: 0rem;
.query-copy-button {
display: none;
}
}
.query-row-selected {
background: rgba(66, 153, 225, 0.1) !important;
}
.query-row:hover {
.query-copy-button {
display: inline-block;
}
}
.main-row {
height: 100%;
--tblr-gutter-x: 0rem;
}
.query-definition-pane-wrapper {
overflow-x: hidden;
overflow-y: scroll;
height: 100%;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
&::-webkit-scrollbar {
/* WebKit */
width: 0;
height: 0;
}
&::-webkit-scrollbar-thumb {
background: transparent;
}
}
.query-definition-pane {
.header {
position: absolute;
right: 0;
left: 25%;
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 1px 0px;
background: white;
z-index: 3;
padding-top: 1px;
}
.preview-header {
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 1px 0px;
}
}
.data-pane {
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 1px 0px 0px;
overflow-x: hidden;
overflow-y: scroll;
height: 100%;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
&::-webkit-scrollbar {
/* WebKit */
width: 0;
height: 0;
}
&::-webkit-scrollbar-thumb {
background: transparent;
}
.queries-container {
.queries-header {
border: solid rgba(0, 0, 0, 0.125);
border-width: 0px 0px 1px 0px;
--tblr-gutter-x: 0rem;
}
.query-list::-webkit-scrollbar {
width: 0;
background: transparent;
}
tr {
border-color: #f1f1f1;
}
}
.header {
height: 40px;
text-align: center;
}
}
}
}
@media screen and (max-height: 450px) {
.sidebar {
padding-top: 15px;
}
.sidebar a {
font-size: 18px;
}
}
}
.viewer {
.header-container {
max-width: 100%;
}
.main {
padding: 0px 10px;
.canvas-container {
scrollbar-width: none;
width: 100%;
// margin-left: 10%;
}
.canvas-container::-webkit-scrollbar {
width: 0;
background: transparent;
}
.canvas-container {
height: 100%;
position: fixed;
left: 0;
overflow-y: auto;
overflow-x: auto;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
.canvas-area {
width: 1280px;
min-height: 2400px;
background: #edeff5;
margin: 0px auto;
background-size: 80px 80px;
background-repeat: repeat;
}
}
}
}
.modal-header {
padding: 0 1.5rem 0 1.5rem;
}
.homepage-body {
overflow-y: scroll;
max-height: 100vh;
a {
color: inherit;
}
a:hover {
color: inherit;
text-decoration: none;
}
.app-action-buttons {
display: none;
}
.app-name {
line-height: 20px;
font-size: 0.9rem;
}
.app-card {
height: 155px;
max-height: 155px;
}
.create-app {
background: #eefcfe7a;
border: 1px dashed #9d9d9d;
}
.create-app:hover {
background: #4ac4d600;
}
.app-card:hover {
background: #4ac4d600;
.app-action-buttons {
display: inline-flex;
}
.app-name {
display: none;
}
}
}
.datasource-picker {
.select-search {
width: 300px;
}
}
.select-search {
width: 100%;
position: relative;
box-sizing: border-box;
}
.select-search *,
.select-search *::after,
.select-search *::before {
box-sizing: inherit;
}
/**
* Value wrapper
*/
.select-search__value {
position: relative;
z-index: 1;
}
.select-search__value::after {
content: '';
display: inline-block;
position: absolute;
top: calc(50% - 9px);
right: 19px;
width: 11px;
height: 11px;
}
/**
* Input
*/
.select-search__input {
display: block;
width: 100%;
padding: 0.4375rem 0.75rem;
font-size: 0.875rem;
font-weight: 400;
line-height: 1.4285714;
color: #232e3c;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #dadcde;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 0;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.select-search__input::-webkit-search-decoration,
.select-search__input::-webkit-search-cancel-button,
.select-search__input::-webkit-search-results-button,
.select-search__input::-webkit-search-results-decoration {
-webkit-appearance: none;
}
.select-search__input:not([readonly]):focus {
cursor: initial;
}
/**
* Options wrapper
*/
.select-search__select {
background: #fff;
box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.15);
}
/**
* Options
*/
.select-search__options {
list-style: none;
}
/**
* Option row
*/
.select-search__row:not(:first-child) {
border-top: 1px solid #eee;
}
/**
* Option
*/
.select-search__option,
.select-search__not-found {
display: block;
height: 36px;
width: 100%;
padding: 0 16px;
background: #fff;
border: none;
outline: none;
font-family: 'Roboto', sans-serif;
font-size: 14px;
text-align: left;
cursor: pointer;
}
.select-search--multiple .select-search__option {
height: 48px;
}
.select-search__option.is-highlighted,
.select-search__option:not(.is-selected):hover {
background: rgba(47, 204, 139, 0.1);
}
.select-search__option.is-highlighted.is-selected,
.select-search__option.is-selected:hover {
background: #2eb378;
color: #fff;
}
/**
* Group
*/
.select-search__group-header {
font-size: 10px;
text-transform: uppercase;
background: #eee;
padding: 8px 16px;
}
/**
* States
*/
.select-search.is-disabled {
opacity: 0.5;
}
.select-search.is-loading .select-search__value::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath fill='%232F2D37' d='M25,5A20.14,20.14,0,0,1,45,22.88a2.51,2.51,0,0,0,2.49,2.26h0A2.52,2.52,0,0,0,50,22.33a25.14,25.14,0,0,0-50,0,2.52,2.52,0,0,0,2.5,2.81h0A2.51,2.51,0,0,0,5,22.88,20.14,20.14,0,0,1,25,5Z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.6s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
background-size: 11px;
}
.select-search:not(.is-disabled) .select-search__input {
cursor: pointer;
}
/**
* Modifiers
*/
.select-search--multiple {
border-radius: 3px;
overflow: hidden;
}
.select-search:not(.is-loading):not(.select-search--multiple) .select-search__value::after {
transform: rotate(45deg);
border-right: 1px solid #000;
border-bottom: 1px solid #000;
pointer-events: none;
}
.select-search--multiple .select-search__input {
cursor: initial;
}
.select-search--multiple .select-search__input {
border-radius: 3px 3px 0 0;
}
.select-search--multiple:not(.select-search--search) .select-search__input {
cursor: default;
}
.select-search:not(.select-search--multiple) .select-search__input:hover {
border-color: #2fcc8b;
}
.select-search:not(.select-search--multiple) .select-search__select {
position: absolute;
z-index: 2;
right: 0;
left: 0;
border-radius: 3px;
overflow: auto;
max-height: 360px;
}
.select-search--multiple .select-search__select {
position: relative;
overflow: auto;
max-height: 260px;
border-top: 1px solid #eee;
border-radius: 0 0 3px 3px;
}
.select-search__not-found {
height: auto;
padding: 16px;
text-align: center;
color: #888;
}
.jet-table-footer {
.table-footer {
width: 100%;
}
}
.jet-data-table-header {
max-height: 50px;
}
.jet-data-table {
thead {
z-index: 2;
}
.table-row:hover,
.table-row:focus {
background: rgba(lightBlue, 0.25);
}
.table-row.selected {
--tblr-table-accent-bg: rgba(lightBlue, 0.25);
background: rgba(lightBlue, 0.25);
font-weight: 500;
}
td {
min-height: 40px;
overflow-x: initial;
margin: auto;
.text-container {
padding: 0;
margin: 0;
border: 0;
height: 100%;
outline: none;
}
}
td.spacious {
min-height: 47px;
}
td.compact {
min-height: 40px;
}
.has-dropdown,
.has-multiselect,
.has-text,
.has-datepicker,
.has-actions {
padding: 0 5px;
}
.has-text,
.has-actions {
margin: 0;
}
td {
.text-container:focus-visible,
.text-container:focus,
.text-container:focus-within,
.text-container:hover {
outline: none;
height: 100%;
}
display: flex!important;
.td-container {
margin-top: auto;
margin-bottom: auto;
}
}
td {
.text-container:focus {
position: sticky;
height: 120px;
overflow-y: scroll;
margin-top: -10px;
padding: 10px;
margin-left: -9px;
background: white;
box-shadow: rgba(15, 15, 15, 0/05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px,
rgba(15, 15, 15, 0.2) 0px 9px 24px;
white-space: initial;
}
.text-container:focus-visible,
.text-container:focus,
.text-container:focus-within,
.text-container:hover {
outline: none;
}
}
td {
.text-container::-webkit-scrollbar {
background: transparent;
height: 0;
width: 0;
}
}
td::-webkit-scrollbar {
background: transparent;
height: 0;
width: 0;
}
th:after {
content: ' ';
position: relative;
height: 0;
width: 0;
}
.sort-desc:after {
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #333;
border-bottom: 5px solid transparent;
left: 6px;
top: 8px;
}
.sort-asc:after {
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 0px solid transparent;
border-bottom: 5px solid #333;
left: 6px;
bottom: 8px;
}
}
.jet-data-table::-webkit-scrollbar {
background: transparent;
}
.jet-data-table:hover {
overflow-x: scroll;
overflow-y: scroll;
}
.jet-data-table {
overflow: hidden;
.form-check {
margin-bottom: 0;
}
.form-check-inline {
margin-right: 0;
}
.table-row {
cursor: pointer;
}
thead {
position: sticky;
top: 0px;
display: inline-block;
tr {
border-top: none;
}
}
tbody {
display: inline-block;
}
}
.btn-primary {
--tblr-btn-color: 60, 146, 220;
--tblr-btn-color-darker: 60, 133, 200;
border-color: none;
}
.form-check-input:checked {
background-color: #3c92dc;
border-color: rgba(101, 109, 119, 0.24);
}
.btn:focus,
.btn:active,
.form-check-input:focus,
.form-check-input:active,
.form-control:focus,
th:focus,
tr:focus {
outline: none !important;
box-shadow: none;
}
.jet-container {
// width: 100%;
}
.select-search__option {
color: rgb(90, 89, 89);
}
.select-search__option.is-selected {
background: rgba(176, 176, 176, 0.07);
color: #4d4d4d;
}
.select-search__option.is-highlighted.is-selected,
.select-search__option.is-selected:hover {
background: rgba(66, 153, 225, 0.1);
color: rgb(44, 43, 43);
}
.select-search__option.is-highlighted,
.select-search__option:hover {
background: rgba(66, 153, 225, 0.1);
}
.select-search__options {
margin-left: -33px;
}
.select-search__option.is-highlighted,
.select-search__option:not(.is-selected):hover {
background: rgba(66, 153, 225, 0.1);
}
.select-search:not(.select-search--multiple) .select-search__input:hover {
border-color: rgba(66, 153, 225, 0.1);
}
.DateInput_input {
font-weight: 300;
font-size: 14px;
padding: 4px 7px 2px;
padding: 4px 7px 2px;
width: 100px !important;
margin-left: 10px;
}
.jet-data-table {
display: inline-block;
height: 100%;
thead {
width: 100%;
}
.select-search:not(.is-loading):not(.select-search--multiple) .select-search__value::after {
display: none;
}
.custom-select {
.select-search:not(.select-search--multiple) .select-search__select {
top: 0px;
border: solid #9fa0a1 1px;
}
}
.tags {
width: 100%;
min-height: 20px;
.add-tag-button {
display: none;
}
.tag {
font-weight: 400;
font-size: 0.85rem;
letter-spacing: 0.04em;
text-transform: none;
.remove-tag-button {
margin-left: 5px;
margin-right: -7px;
display: none;
}
}
.form-control-plaintext {
font-size: 12px;
}
.form-control-plaintext:hover,
.form-control-plaintext:focus-visible {
outline: none;
}
}
.tags:hover {
.add-tag-button {
display: inline-flex;
}
}
.tag:hover {
.remove-tag-button {
display: inline-flex;
}
}
.th,
.td {
.resizer {
display: inline-block;
width: 5px;
height: 100%;
position: absolute;
right: 0;
top: 0;
transform: translateX(50%);
z-index: 1;
touch-action: none;
&.isResizing {
background: rgb(179, 173, 173);
}
}
}
}
.no-components-box {
border: 1px dashed #3e525b;
}
.form-control-plaintext:focus-visible {
outline: none;
outline-width: thin;
outline-style: solid;
outline-color: #3c92dc;
}
.form-control-plaintext:hover {
outline: none;
outline-width: thin;
outline-style: solid;
outline-color: rgba(66, 153, 225, 0.8);
}
.select-search__input:focus-visible {
outline: none;
outline-color: #4ac4d6;
}
.form-control-plaintext {
padding: 5px;
}
.table-filters {
position: absolute;
bottom: 0;
width: 80%;
max-width: 700px;
margin-right: 10%;
right: 0;
height: 300px;
z-index: 100;
}
.code-builder {
border: solid 1px #dadcde;
border-radius: 2px;
padding-top: 4px;
.variables-dropdown {
position: fixed;
right: 0;
width: 400px;
z-index: 200;
border: solid 1px #dadcde;
.group-header {
background: #f4f6fa;
}
}
}
.__react_component_tooltip {
z-index: 10000;
}
.select-search__value::after {
top: calc(50% - 2px);
right: 15px;
width: 5px;
height: 5px;
}
.progress-bar {
background-color: rgba(66, 153, 225, 0.7);
}
.popover-header {
background-color: #f4f6fa;
}
.popover-body {
.form-label {
font-size: 12px;
}
}
.mentions-popover {
}
.input-icon {
.input-icon-addon {
display: none;
}
}
.input-icon:hover {
.input-icon-addon {
display: flex;
}
}
.input-icon:focus {
.input-icon-addon {
display: flex;
}
}
.sub-section {
width: 100%;
display: block;
}
.text-muted {
color: #3e525b !important;
}
body {
color: #3e525b;
}
.RichEditor-root {
background: #fff;
border: 1px solid #ddd;
font-family: 'Georgia', serif;
font-size: 14px;
padding: 15px;
height: 100%;
}
.RichEditor-editor {
border-top: 1px solid #ddd;
cursor: text;
font-size: 16px;
margin-top: 10px;
}
.RichEditor-editor .public-DraftEditorPlaceholder-root,
.RichEditor-editor .public-DraftEditor-content {
margin: 0 -15px -15px;
padding: 15px;
}
.RichEditor-editor .public-DraftEditor-content {
min-height: 100px;
overflow-y: scroll;
}
.RichEditor-hidePlaceholder .public-DraftEditorPlaceholder-root {
display: none;
}
.RichEditor-editor .RichEditor-blockquote {
border-left: 5px solid #eee;
color: #666;
font-family: 'Hoefler Text', 'Georgia', serif;
font-style: italic;
margin: 16px 0;
padding: 10px 20px;
}
.RichEditor-editor .public-DraftStyleDefault-pre {
background-color: rgba(0, 0, 0, 0.05);
font-family: 'Inconsolata', 'Menlo', 'Consolas', monospace;
font-size: 16px;
padding: 20px;
}
.RichEditor-controls {
font-family: 'Helvetica', sans-serif;
font-size: 14px;
margin-bottom: 5px;
user-select: none;
}
.dropmenu{
position: relative;
display: inline-block;
margin-right: 16px;
.dropdownbtn{
color: #999;
background:none;
cursor: pointer;
outline: none;
border: none;
}
.dropdown-content {
display: none;
position: absolute;
z-index: 2;
width: 100%;
align-items: center;
border: 1px solid transparent;
border-radius: 4px;
box-shadow: 0 2px 6px 2px rgba(47, 54, 59, 0.15);
a {
text-decoration: none;
width: 100%;
position: relative;
display: block;
span {
text-align: center;
width: 100%;
text-align: center;
padding: 3px 0px;
}
}
}
}
.dropmenu .dropdown-content a:hover{
background-color: rgba(0, 0, 0, 0.05);
}
.dropmenu:hover {
.dropdownbtn{
color: #5890ff;
background-color: rgba(0, 0, 0, 0.05);
border-radius: 4px;
}
.dropdown-content{
display: block;
}
}
.RichEditor-styleButton {
color: #999;
cursor: pointer;
margin-right: 16px;
padding: 2px 0;
display: inline-block;
}
.RichEditor-activeButton {
color: #5890ff;
}
.transformation-editor {
.CodeMirror {
min-height: 70px;
}
}
.chart-data-input {
.CodeMirror {
min-height: 370px;
font-size: 0.8rem;
}
.code-hinter {
min-height: 370px;
}
}
.map-location-input {
.CodeMirror {
min-height: 120px;
font-size: 0.8rem;
}
.code-hinter {
min-height: 120px;
}
}
.rdt {
.form-control {
height: 100%;
}
}
.DateInput_input__focused {
border-bottom: 2px solid #3c92dc;
}
.CalendarDay__selected,
.CalendarDay__selected:active,
.CalendarDay__selected:hover {
background: #3c92dc;
border: 1px double #3c92dc;
}
.CalendarDay__selected_span {
background: #3c92dcc2;
border: #3c92dcc2;
}
.CalendarDay__selected_span:active,
.CalendarDay__selected_span:hover {
background: #3c92dc;
border: 1px double #3c92dc;
color: #fff;
}
.CalendarDay__hovered_span:active,
.CalendarDay__hovered_span:hover {
background: #3c92dc;
border: 1px double #3c92dc;
color: #fff;
}
.CalendarDay__hovered_span {
background: #83b8e7;
border: 1px double #83b8e7;
color: #fff;
}
.table-responsive {
margin-bottom: 0rem;
}
.code-hinter::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
}
.codehinter-query-editor-input {
.CodeMirror {
font-family: 'Roboto', sans-serif;
color: #263136;
overflow: hidden;
height: 50px !important;
}
.CodeMirror-vscrollbar {
overflow: hidden;
}
.CodeMirror-focused {
padding-top: 0;
height: 50px;
}
.CodeMirror-scroll {
position: absolute;
top: 0;
width: 100%;
}
}
.field {
.CodeMirror-scroll {
position: static;
top: 0;
}
}
.code-hinter {
height: 36px;
.form-control {
.CodeMirror {
font-family: 'Roboto', sans-serif;
height: 50px !important;
max-height: 300px;
}
}
.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar {
background: transparent;
height: 0;
width: 0;
}
.CodeMirror-scroll {
overflow: hidden !important;
}
}
.CodeMirror-hints {
font-family: 'Roboto', sans-serif;
font-size: 0.9rem;
padding: 0px;
z-index: 10000;
li.CodeMirror-hint-active {
background: #3c92dc;
}
.CodeMirror-hint {
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
}
.cm-matchhighlight {
color: #4299e1 !important;
background: rgba(66, 153, 225, 0.1) !important;
}
.nav-tabs .nav-link {
color: #3e525b;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.transformation-editor {
.CodeMirror {
min-height: 220px;
}
}
hr {
margin: 1rem 0;
}
.query-hinter {
min-height: 150px;
}
.codehinter-default-input {
font-family: 'Roboto', sans-serif;
padding: 0.0475rem 0rem;
display: block;
width: 100%;
font-size: 0.875rem;
font-weight: 400;
color: #232e3c;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #dadcde;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 4px;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
height: 30px;
.CodeMirror {
font-family: 'Roboto', sans-serif;
}
}
.codehinter-query-editor-input {
font-family: 'Roboto', sans-serif;
padding: 0.1775rem 0.75rem;
display: block;
width: 100%;
font-size: 0.875rem;
font-weight: 400;
color: #232e3c;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #dadcde;
appearance: none;
border-radius: 0;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
height: 36px !important;
}
.modal-component {
margin-top: 150px;
.modal-body {
padding: 0;
}
}
.draggable-box {
.config-handle {
top: -20px;
position: fixed;
max-height: 10px;
.badge {
font-size: 9px;
}
}
}
.modal-content {
.config-handle {
position: absolute;
.badge {
font-size: 9px;
}
}
}
.config-handle {
display: block;
}
.apps-table {
.app-title {
font-size: 1rem;
}
.row {
--tblr-gutter-x: 0rem;
}
}
.home-page,
.org-users-page {
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link.show,
.navbar .navbar-nav .show > .nav-link {
color: rgba(35, 46, 60, 0.7);
}
.nav-item {
font-size: 0.9rem;
}
img.svg-icon {
cursor: pointer;
padding-left: 2px;
border-radius: 10px;
}
img.svg-icon:hover {
background-color: rgba(224, 214, 214, 0.507);
}
}
.CodeMirror-placeholder {
color: #9e9e9e !important;
font-size: 0.7rem !important;
margin-top: 2px !important;
font-size: 12px !important;
}
.CodeMirror-code {
font-weight: 300;
}
.btn-primary {
border-color: transparent;
}
.text-widget {
overflow: auto;
}
.text-widget::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
}
.input-group-flat:focus-within {
box-shadow: none;
}
.map-widget {
.place-search-input {
box-sizing: border-box;
border: 1px solid transparent;
width: 240px;
height: 32px;
padding: 0 12px;
border-radius: 3px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
font-size: 14px;
outline: none;
text-overflow: ellipses;
position: absolute;
left: 50%;
margin-left: -120px;
}
.map-center {
position: fixed;
z-index: 1000;
}
}
.events-toggle-active {
.toggle-icon {
transform: rotate(180deg);
}
}
.events-toggle {
.toggle-icon {
display: inline-block;
margin-left: auto;
transition: 0.3s transform;
}
.toggle-icon:after {
content: '';
display: inline-block;
vertical-align: 0.306em;
width: 0.46em;
height: 0.46em;
border-bottom: 1px solid;
border-left: 1px solid;
margin-right: 0.1em;
margin-left: 0.4em;
transform: rotate(-45deg);
}
}
.nav-link-title {
font-weight: 500;
font-size: 0.9rem;
}
.navbar-nav {
.dropdown:hover {
.dropdown-menu {
display: block;
}
}
}
.query-manager-header {
.nav-item {
border-right: solid 1px #dadcde;
background: 0 0;
}
.nav-link {
height: 39px;
}
}
input:focus-visible {
outline: none;
}
.navbar-expand-md.navbar-light .nav-item.active:after {
border: 1px solid #3c92dc;
}
.org-users-page {
.select-search__input {
color: #617179;
}
.select-search-role {
position: absolute;
margin-top: -1rem;
}
.has-focus > .select-search__select > ul {
margin-bottom: 0;
}
}
.encrypted-icon {
margin-bottom: 0.25rem;
}
.widget-documentation-link {
position: fixed;
bottom: 0;
background: $white;
width: 100%;
z-index: 1;
}
.components-container {
.draggable-box {
cursor: move;
}
}
.column-sort-row {
border-radius: 0;
}
.jet-button {
&.btn-primary:hover {
background: var(--tblr-btn-color-darker) !important;
}
}
.editor-sidebar::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
-ms-overflow-style: none;
}
.editor-sidebar {
max-width: 300px;
scrollbar-width: none;
-ms-overflow-style: none;
}
.sketch-picker {
position: absolute;
}
.color-picker-input {
border: solid 1px rgb(223, 223, 223);
cursor: pointer;
}
.app-sharing-modal {
.form-control.is-invalid,
.was-validated .form-control:invalid {
border-color: #ffb0b0;
}
}
.widgets-list {
--tblr-gutter-x: 0px !important;
}
.input-with-icon {
position: relative;
display: flex;
flex: 1;
.icon-container {
position: absolute;
right: 10px;
top: calc(50% - 10px);
z-index: 3;
}
}
.dynamic-variable-preview {
min-height: 20px;
max-height: 500px;
overflow: auto;
line-height: 20px;
font-size: 12px;
margin-top: -2px;
word-wrap: break-word;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
box-sizing: border-box;
font-family: 'Source Code Pro', monospace;
.heading {
font-weight: 700;
white-space: pre;
text-transform: capitalize;
}
}
.user-email:hover {
text-decoration: none;
cursor: text;
}
.theme-dark {
.nav-item {
background: 0 0;
}
.navbar .navbar-nav .active > .nav-link,
.theme-dark .navbar .navbar-nav .nav-link.active,
.theme-dark .navbar .navbar-nav .nav-link.show,
.theme-dark .navbar .navbar-nav .show > .nav-link {
color:#fff;
}
.form-check > .form-check-input:not(:checked){
background-color:#fff;
}
.form-check-label{
color:white;
}
.left-sidebar .active {
background: #333c48;
}
.left-sidebar .left-sidebar-item {
border-bottom: 1px solid #333c48;
}
.nav-tabs .nav-link.active {
color: #fff !important;
}
.nav-tabs .nav-link {
color: #c3c3c3 !important;
}
.card-body > :last-child {
color: #fff !important;
}
.form-control {
border: 1px solid #324156;
}
.card {
background-color: #324156 !important;
}
.card .table tbody td a{
color: inherit;
}
.DateInput {
background: #1f2936;
}
.DateInput_input {
background-color: #1f2936;
}
.DateRangePickerInput {
background-color: #1f2936;
}
.DateInput_input__focused {
background: #1f2936;
}
.DateRangePickerInput__withBorder {
border: 1px solid #1f2936;
}
.main .canvas-container .canvas-area {
background: #2f3c4c;
}
.rdtOpen .rdtPicker {
color: black;
}
.editor .editor-sidebar .components-container .component-image-holder {
background: #2f3c4c !important;
border: 1px solid #2f3c4c !important;
center,
.component-title {
filter: brightness(0) invert(1);
}
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
border-color: transparent !important;
}
.modal-content,
.modal-header {
background-color: #1f2936 !important;
.text-muted {
color: #fff !important;
}
}
.modal-header {
border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}
.canvas-container {
background-color: #1f2936;
}
.editor .main .query-pane {
border: solid rgba(255, 255, 255, 0.09) !important;
border-width: 1px 0px 0px 0px !important;
}
.no-components-box {
background-color: #1f2936 !important;
center {
filter: brightness(0) invert(1);
}
}
.query-list {
.text-muted {
color: #fff !important;
}
}
.left-sidebar,
.editor-sidebar {
background-color: #1f2936 !important;
}
.editor-sidebar {
border: solid rgba(255, 255, 255, 0.09);
border-width: 0px 0px 0px 1px !important;
.nav-tabs {
border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}
}
.editor .editor-sidebar .nav-tabs .nav-link {
color: #fff;
img {
filter: brightness(0) invert(1);
}
}
.jet-table {
background-color: #1f2936 !important;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
background-color: #2f3c4c;
border-color: transparent !important;
}
.editor .main .query-pane .query-definition-pane .header {
border: solid rgba(255, 255, 255, 0.09);
border-width: 0px 0px 1px 0px !important;
background: #1f2936;
}
.left-sidebar {
border: solid rgba(255, 255, 255, 0.09);
border-width: 0px 1px 3px 0px;
.text-muted {
color: #fff !important;
}
}
.folder-list {
color: #fff !important;
}
.app-title {
color: #fff !important;
}
.RichEditor-root {
background: #1f2936;
border: 1px solid #2f3c4c;
}
.app-description {
color: #fff !important;
}
.btn-light,
.btn-outline-light {
background-color: #42546a !important;
--tblr-btn-color-text: #ffffff;
img {
filter: brightness(0) invert(1);
}
}
.editor .left-sidebar .datasources-container tr {
border-bottom: solid 1px rgba(255, 255, 255, 0.09);
}
.editor .left-sidebar .datasources-container .datasources-header {
border: solid rgba(255, 255, 255, 0.09) !important;
border-width: 0px 0px 1px 0px !important;
}
.query-manager-header .nav-item {
border-right: solid 1px rgba(255, 255, 255, 0.09);
.nav-link {
color: #c3c3c3;
}
}
.input-group-text {
border: solid 1px rgba(255, 255, 255, 0.09) !important;
}
.app-users-list {
.text-muted {
color: #fff !important;
}
}
.data-pane {
border: solid rgba(255, 255, 255, 0.09) !important;
border-width: 0px 1px 0px 0px !important;
}
.main .query-pane .data-pane .queries-container .queries-header {
border: solid rgba(255, 255, 255, 0.09) !important;
border-width: 0px 0px 1px 0px !important;
.text-muted {
color: #fff !important;
}
}
.query-pane {
background-color: #1f2936 !important;
}
.input-icon .input-icon-addon img {
filter: invert(1);
}
.svg-icon {
filter: brightness(0) invert(1);
}
.launch-btn {
filter: brightness(0.4) !important;
background: #8d9095;
}
.badge {
filter: brightness(1) invert(1);
.svg-icon {
filter: brightness(1) invert(0);
}
}
.alert {
background: transparent;
.text-muted {
color: #fff !important;
}
}
.editor .editor-sidebar .inspector .header {
border: solid rgba(255, 255, 255, 0.09) !important;
border-width: 0px 0px 1px 0px !important;
}
.hr-text {
color: #fff !important;
}
.skeleton-line::after {
background-image: linear-gradient(to right, #566177 0, #5a6170 40%, #4c5b79 80%);
}
.select-search__input {
color: rgb(224, 224, 224);
background-color: #2b3547;
border: 1px solid #2b3547;
}
.select-search__select {
background: #fff;
box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.15);
}
.select-search__row:not(:first-child) {
border-top: 1px solid #eee;
}
.select-search__option,
.select-search__not-found {
background: #fff;
}
.select-search__option.is-highlighted,
.select-search__option:not(.is-selected):hover {
background: rgba(47, 204, 139, 0.1);
}
.select-search__option.is-highlighted.is-selected,
.select-search__option.is-selected:hover {
background: #2eb378;
color: #fff;
}
.org-users-page {
.user-email,
.user-status {
filter: brightness(0) invert(1);
}
}
.react-json-view {
background-color: transparent !important;
}
.codehinter-default-input {
background-color: transparent;
border: 1px solid #333c48;
}
.color-picker-input {
border: solid 1px #333c48;
}
.codehinter-query-editor-input {
background-color: #272822;
border: 1px solid #2c3a4c;
border-radius: 0;
}
.codehinter-query-editor-input .CodeMirror {
height: 31px !important;
}
.codehinter-query-editor-input .CodeMirror {
color: #c3c3c3 !important;
}
.select-search:not(.is-loading):not(.select-search--multiple) .select-search__value::after {
transform: rotate(45deg);
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.widget-documentation-link {
background-color: #1f2936;
}
.widget-documentation-link a {
color: rgb(66, 153, 225);
}
}
.main-wrapper {
position: fixed;
min-height: 100%;
min-width: 100%;
}
.jet-table {
.global-search-field {
background: transparent;
}
}
.modal-backdrop.show {
opacity: 0.74;
}
.gui-select-wrappper .select-search__input {
height: 30px;
}
.theme-dark .input-group-text,
.theme-dark .markdown > table thead th,
.theme-dark .table thead th {
background: #1c252f;
color: #fff;
}
.sketch-picker {
z-index: 1000;
}
.no-padding {
padding: 0;
}
.nav-tabs {
font-weight: 300;
}
.nav-tabs .nav-link.active {
border: 0;
border-bottom: 1px solid #206bc4;
font-weight: 400;
}
.table-no-divider {
td {
border-bottom-width: 0px;
padding-left: 0;
}
}
.no-border {
border-radius: 0 !important;
}
input[type='text'] {
border-radius: 0 !important;
outline-color: #dadcde !important;
}
.widget-header {
text-transform: capitalize;
margin-top: 12px !important;
font-weight: 500;
font-size: 12px;
line-height: 12px;
}
.query-manager-events {
max-width: 400px;
}
.validation-without-icon {
background-image: none !important;
}
.dropdown-widget,
.multiselect-widget {
.form-label {
margin-bottom: 0px;
}
.select-search__input {
height: 100%;
}
.select-search__value {
height: 100%;
}
.select-search {
height: 100%
}
.select-search__options {
margin-bottom: 0 !important;
.select-search__option {
height: auto;
min-height: 30px;
}
}
}
.show {
display: block;
}
.hide {
display: none;
}
.draggable-box:focus-within {
z-index: 2 !important;
}
.cursor-wait {
cursor: wait;
}
.cursor-text{
cursor: text;
}
.cursor-none {
cursor: none;
}
.theme-dark .event-action {
filter: brightness(0) invert(1);
}
.event-action{
filter: brightness(0) invert(0);
}
.disabled {
pointer-events: none;
opacity: 0.4;
}
.DateRangePicker {
padding: 1.25px 5px;
}
.datepicker-widget {
.input-field {
min-height: 26px;
padding: 0;
padding-left: 2px;
}
}
.daterange-picker-widget {
.DateInput_input {
min-height: 24px;
line-height: normal;
border-bottom: 0px;
font-size: 0.85rem;
}
.DateRangePicker {
padding: 0;
}
.DateRangePickerInput_arrow_svg {
height: 17px;
}
}
.fw-400 {
font-weight: 400;
}
.fw-500 {
font-weight: 500;
}
.ligh-gray {
color: #656D77;
}
.nav-item {
background: #fff;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
letter-spacing: -0.1px;
text-align: left;
}
.nav-link {
min-width: 100px;
justify-content: center;
}
.nav-tabs .nav-link.active {
font-weight: 400 !important;
color: #0565FE !important;
}
.empty-title {
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 15px;
letter-spacing: -0.01em;
text-align: left;
}
//select-search-action
.popover-action-select-search > .select-search .select-search__select {
max-height: 200px;
overflow-y: scroll;
}
.calendar-widget.compact {
.rbc-time-view-resources .rbc-time-header-content {
min-width: auto;
}
.rbc-time-view-resources .rbc-day-slot {
min-width: 50px;
}
.rbc-time-view-resources .rbc-header,
.rbc-time-view-resources .rbc-day-bg {
width: 50px;
}
}
.calendar-widget.dont-highlight-today {
.rbc-today {
background-color: inherit;
}
.rbc-current-time-indicator {
display: none;
}
}
.calendar-widget {
padding: 10px;
background-color: white;
.rbc-day-slot .rbc-event, .rbc-day-slot .rbc-background-event {
border-left: 3px solid #26598533;
}
.rbc-toolbar {
font-size: 14px;
}
.rbc-event {
.rbc-event-label {
display: none;
}
}
.rbc-off-range-bg {
background-color: #f4f6fa;
}
.rbc-toolbar {
.rbc-btn-group {
button {
box-shadow: none;
border-radius: 0;
border-width: 1px;
}
}
}
}
.calendar-widget.hide-view-switcher {
.rbc-toolbar {
.rbc-btn-group:nth-of-type(3) {
display: none;
}
}
}
.calendar-widget.dark-mode {
background-color: #1d2a39;
.rbc-toolbar {
button {
color: white;
}
button:hover, button.rbc-active {
color: black;
}
}
.rbc-off-range-bg {
background-color: #2b394b;
}
.rbc-selected-cell {
background-color: #22242d;
}
.rbc-today {
background-color: #5a7ca8;
}
}
.calendar-widget.dark-mode.dont-highlight-today {
.rbc-today {
background-color: inherit;
}
}
.navbar .navbar-nav {
min-height: 2rem;
}
.navbar-brand-image {
height: 1.6rem;
}
.nav-tabs .nav-link.active {
font-weight: 400 !important;
margin-bottom: -1px !important;
}
.nav-tabs .nav-link {
font-weight: 400 !important;
margin: 0 !important;
}
.code-editor-widget {
border-radius: 0;
.CodeMirror {
border-radius: inherit;
margin-top: -1px!important;
}
}