go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/projects/nodes/static/_nextjs/src/css/site.css (about)

     1  /*
     2   * Copyright (c) 2024 - Present. Will Charczuk. All rights reserved.
     3   * Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository.
     4   */
     5  @import "./normalize.css";
     6  @import "~@blueprintjs/core";
     7  @import "~@blueprintjs/icons";
     8  @import "~@blueprintjs/table";
     9  @import "~@blueprintjs/select";
    10  @import "~reactflow/dist/style.css";
    11  @import "./skeleton.css";
    12  @import "./colors.css";
    13  @import "./edit-table.css";
    14  @import "./watched-nodes.css";
    15  @import "./display-value.css";
    16  
    17  #app {
    18    background-color: var(--bg-color-darkest);
    19    width: 100vw;
    20    height: 100vh;
    21  }
    22  
    23  #flow-container {
    24    width: 100vw;
    25    height: calc(100vh - 50px);
    26  }
    27  
    28  #title {
    29    font-family: monospace;
    30    font-size: 32px;
    31    line-height: 32px;
    32    margin: 0;
    33  }
    34  
    35  .label-value-row {
    36    display: flex;
    37    flex-direction: row;
    38    margin-top: 5px;
    39  }
    40  
    41  .label-value-row:first-of-type {
    42    margin-top: 0px;
    43  }
    44  
    45  .label-value-label {
    46    flex: 1;
    47    max-width: 100px;
    48    text-align: right;
    49    margin-right: 10px;
    50    font-weight: bold;
    51  }
    52  
    53  .label-value-value {
    54    flex: 2;
    55    color: var(--text-color-muted);
    56  }
    57  
    58  .label-value-value .bp5-tag {
    59    margin-right: 5px;
    60  }
    61  
    62  .label-value-value .bp5-tag span {
    63    color: var(--text-color-muted);
    64  }
    65  
    66  .react-flow__attribution {
    67    display: none;
    68  }
    69  
    70  .react-flow__edge-textbg {
    71    fill: var(--bg-color-light);
    72  }
    73  
    74  .react-flow__edge-text {
    75    fill: var(--text-color-muted);
    76  }
    77  
    78  .react-flow__controls-button {
    79    background-color: var(--bg-color-light);
    80    border-color: var(--bg-color-light);
    81  }
    82  
    83  .react-flow__controls-button svg path {
    84    fill: var(--text-color-muted);
    85    stroke: var(--text-color-muted);
    86  }
    87  
    88  .bp5-label {
    89    flex: 1;
    90    max-width: 150px;
    91    text-align: right;
    92  }
    93  
    94  .bp5-form-content {
    95    flex: 2;
    96  }
    97  
    98  .bp5-dialog {
    99    min-width: 400px;
   100  }
   101  
   102  .bp5-dialog-body .bp5-label {
   103    min-width: 75px;
   104    width: max-content;
   105  }
   106  
   107  .bp5-dark .bp5-code-block {
   108    margin-top: 0px;
   109    margin-bottom: 0px;
   110  }
   111  
   112  .node-context-menu {
   113    position: absolute;
   114    z-index: 10;
   115  }
   116  
   117  .react-flow__node .node {
   118    user-select: text;
   119    cursor: auto;
   120  }
   121  
   122  .node.bp5-section {
   123    overflow: visible;
   124    border-radius: 5px;
   125    border-bottom-left-radius: 5px;
   126    border-bottom-right-radius: 5px;
   127    ;
   128  }
   129  
   130  .react-flow__node .node .bp5-section-header {
   131    user-select: none;
   132    cursor: grab;
   133  }
   134  
   135  .react-flow__node .node .bp5-section-header-left {
   136    padding-top: 7px;
   137    padding-bottom: 5px;
   138  }
   139  
   140  .react-flow__node .node .bp5-section-header:active {
   141    user-select: none;
   142    cursor: grabbing;
   143  }
   144  
   145  .expand-collapse {
   146    padding: 5px;
   147  }
   148  
   149  .expand-collapse-button {
   150    display: block;
   151    margin-bottom: 5px;
   152    margin-left: auto;
   153    min-height: 15px;
   154  }
   155  
   156  .expand-collapse-content {
   157    background-color: var(--bg-color-dark);
   158  }
   159  
   160  .node-outer {
   161    position: relative;
   162  }
   163  
   164  .node-handle {
   165    position: relative;
   166    padding-top: 2px;
   167    padding-left: 5px;
   168    padding-right: 5px;
   169    padding-bottom: 5px;
   170    margin-bottom: 5px;
   171    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 1px 1px 0 rgba(17, 20, 24, 0.4);
   172    background-color: var(--bg-color);
   173  }
   174  
   175  .node-outer .node-resize-handle {
   176    border-color: var(--bg-color-light);
   177    border-width: 5px;
   178    background-color: transparent;
   179    height: 20px;
   180    width: 20px;
   181  }
   182  
   183  .node-outer .node-resize-handle.top.left {
   184    top: 8px;
   185    left: 8px;
   186    border-bottom: none;
   187    border-right: none;
   188  }
   189  
   190  .node-outer .node-resize-handle.top.right {
   191    top: 8px;
   192    left: calc(100% - 8px);
   193    border-bottom: none;
   194    border-left: none;
   195  }
   196  
   197  .node-outer .node-resize-handle.bottom.right {
   198    top: calc(100% - 8px);
   199    left: calc(100% - 8px);
   200    border-top: none;
   201    border-left: none;
   202  }
   203  
   204  .node-outer .node-resize-handle.bottom.left {
   205    top: calc(100% - 8px);
   206    left: 8px;
   207    border-top: none;
   208    border-right: none;
   209  }
   210  
   211  .node-handle-inner {
   212    display: flex;
   213    flex-direction: row;
   214    margin-top: 5px;
   215  }
   216  
   217  .node-handle-name {
   218    flex: 2;
   219    font-size: 12px;
   220  }
   221  
   222  .node-handle-type {
   223    flex: 1;
   224    font-size: 12px;
   225    margin-left: 5px;
   226  }
   227  
   228  .node-handle-description {
   229    flex: 5;
   230    font-size: 10px;
   231    line-height: 15px;
   232    color: var(--text-color-muted);
   233    margin-left: 5px;
   234  }
   235  
   236  .node-handle .react-flow__handle.react-flow__handle-right,
   237  .node-handle .react-flow__handle.react-flow__handle-left {
   238    background: var(--bg-color);
   239    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 1px 1px 0 rgba(17, 20, 24, 0.4);
   240    position: relative;
   241    transform: none;
   242    min-width: initial;
   243    min-height: initial;
   244    border: none;
   245    border-radius: inherit;
   246    top: 0;
   247    height: 100%;
   248    width: 10px;
   249    user-select: none;
   250  }
   251  
   252  .node-handle.node-handle-input .react-flow__handle {
   253    position: absolute;
   254    left: -23px;
   255  }
   256  
   257  .node-handle.node-handle-input .react-flow__handle:hover {
   258    background: rgba(143, 153, 168, 0.15);
   259  }
   260  
   261  .node-handle.node-handle-output .react-flow__handle {
   262    position: absolute;
   263    right: -23px;
   264  }
   265  
   266  .node-handle.node-handle-output .react-flow__handle:hover {
   267    background: rgba(143, 153, 168, 0.15);
   268  }
   269  
   270  .react-flow__node {
   271    border: 2px solid transparent;
   272  }
   273  
   274  .react-flow__node .node-observer {
   275    border: 2px solid var(--colors-blue-primary);
   276  }
   277  
   278  .react-flow__node .node-observer .bp5-icon svg {
   279    fill: var(--colors-blue-primary);
   280  }
   281  
   282  .react-flow__node .node-var {
   283    border: 2px solid var(--colors-red-primary);
   284  }
   285  
   286  .react-flow__node .node-var .bp5-icon svg {
   287    fill: var(--colors-red-primary);
   288  }
   289  
   290  .react-flow__node .node-table {
   291    border: 2px solid var(--colors-red-primary);
   292  }
   293  
   294  .react-flow__node .node-table .bp5-icon svg {
   295    fill: var(--colors-red-primary);
   296  }
   297  
   298  .dialog-logs {
   299    min-width: calc(100vw - 200px);
   300  }
   301  
   302  .header-profile-image {
   303    height: 30px;
   304    width: 30px;
   305    border-radius: 30px;
   306  }