github.com/siglens/siglens@v0.0.0-20240328180423-f7ce9ae441ed/static/css/tracing.css (about)

     1  
     2  :root{
     3      --subsection-border: var(--white-3);
     4      --search-input-border: var(--white-4);
     5      --graph-link: var(--white-3);
     6      --link-label: var(--white-0);
     7      --border-shadow: var(--shadow-1);
     8     --search-box-input: var(--black-2);
     9     --search-box-input-trace: var(--black-2);
    10     --sort-box: var(--black-2);
    11     --head-trace: var(--black-2);
    12     --time-tick:var(--black-3);
    13  }
    14  
    15  [data-theme='light']{
    16      --subsection-border: var(--white-4);
    17      --search-input-border: var(--white-3);
    18      --graph-link: var(--white-4);
    19      --link-label: var(--black-2);
    20      --border-shadow: var(--shadow-2);
    21      --search-box-input: var(--white-1);
    22      --search-box-input-trace: var(--white-0);
    23      --sort-box: var(--white-0);
    24      --head-trace: var(--white-1);
    25      --time-tick:var(--white-3);
    26  }
    27  
    28  .subsection-navbar {
    29      display: flex;
    30  }
    31  
    32  .subsection-buttons {
    33      margin-top: 10px;
    34      display: flex;
    35      height: 30px;
    36      border-radius: 5px;
    37      width: fit-content;
    38      align-items: center;
    39      background: var(--myOrg-input);
    40      padding: 4px;
    41  }
    42  
    43  .section-button {
    44      padding: 4px 10px 5px 10px;
    45      height: 22px;
    46      width: fit-content;
    47      border-radius: 5px;
    48      background: var(--myOrg-input);
    49      display: flex;
    50      align-items: center;
    51      justify-content: center;
    52      margin: 0px;
    53  }
    54  
    55  .section-button a{
    56      text-decoration: none;
    57      color: var(--subsection-border);
    58  }
    59  
    60  .section-button.active a{
    61      color:  var(--datatable-header-text-color);
    62      font-weight: 400;
    63  }
    64  
    65  .section-button.active {
    66      height: 22px;
    67      border: 1px solid #6347D9;
    68      background: var(--tab-active-background);
    69  }
    70  
    71  .search-input{
    72      border-radius: 5px;
    73      border: 1px solid var(--search-input-border);
    74      background: var(--search-bar-bg);
    75      height: 32px;
    76      font-size: 14px;
    77  }
    78  
    79  .p-20{
    80      padding: 20px;
    81  }
    82  
    83  /* Dependency Graph */
    84  #dependency-graph-container,#error-msg-container {
    85      margin-top: 20px;
    86      height: 100%; 
    87      width: 100%;
    88  }
    89  
    90  #dependency-graph-container svg ,#error-msg-container{
    91      width: 100%;
    92      height: 100%;
    93      box-shadow: var(--box-shadow);
    94      background-color: var(--black1-to-white0);
    95      border: 1px solid var(--search-input-border);
    96      border-radius: 10px;
    97  }
    98  
    99  #error-msg-container p{
   100      text-align: center;
   101      font-size: 20px;
   102      line-height: 31px;
   103      font-weight: var(--fw-500);
   104      color: var(--empty-response-text-color);
   105      margin: auto ;
   106      margin-top: 50px;
   107  }
   108  
   109  #arrowhead path {
   110      fill: var(--graph-link);
   111      stroke: none;
   112  }
   113  
   114  .line {
   115      stroke: var(--graph-link);
   116      stroke-width: 1.2;
   117  }
   118  
   119  .label {
   120      text-anchor: end;
   121      fill: var(--graph-link);
   122      font-size: 16px;
   123  }
   124  
   125  .link-label {
   126      text-anchor: middle;
   127      fill: var(--link-label);
   128      font-weight: bold;
   129      font-size: 16px;
   130  }
   131  
   132  /* Service Health  */
   133  #tracing-container #ag-grid{
   134      border: 1px solid var(--search-input-border);
   135      box-shadow: var(--box-shadow);
   136      border-radius: 5px;
   137  }
   138  
   139  #tracing-container .ag-header-viewport,
   140  #tracing-container .ag-header-cell{
   141    background-color: var(--alerting-table-bg-color);
   142  }
   143  
   144  #tracing-container .ag-row-position-absolute::after{
   145    content: '';
   146    position: absolute;
   147    left: 10px;
   148    width: 98%;
   149    height: 1px;
   150    background-color: var(--alerting-table-line-color);
   151    bottom: 0;
   152  }
   153  
   154  #tracing-container .ag-theme-mycustomtheme .ag-root-wrapper-body, #tracing-container .ag-theme-mycustomtheme .ag-center-cols-container  {
   155      background-color: var(--black1-to-white0) !important;
   156  }
   157  
   158  #tracing-container #ag-grid .ag-row:hover {
   159      background: var(--alerting-table-hover);
   160      cursor: pointer;
   161  }
   162  
   163  .service-name{
   164      font-size: 18px;
   165      cursor: pointer;
   166      margin-bottom: 0;
   167  }
   168  
   169  .service-health-text{
   170      font-size: 18px;
   171      color: #6F6B7B;
   172      cursor: pointer;
   173      margin-bottom: 0;
   174  }
   175  
   176  #one-service-overview .chart-container{
   177      width: 49%;
   178  }
   179  
   180  #one-service-overview .chart_container{
   181      width: 100%;
   182  }
   183  .search #date-picker-btn {
   184      width: 100% !important;
   185      justify-content: space-between;
   186  }
   187  
   188  .spans-box,
   189  .graph-info,
   190  .sorts-method,
   191  .warn-content,
   192  .warn-head,
   193  .page-block {
   194      display: flex;
   195      flex-direction: row;
   196      justify-content: space-between;
   197  }
   198  
   199  .page-block {
   200      margin-top: 20px;
   201  }
   202  
   203  .dropdown-box,
   204  .dropdown-sort-box,
   205  .dropdown-download-box,
   206  .input-box,
   207  .right-section {
   208      display: flex;
   209      flex-direction: column;
   210      justify-content: space-between;
   211  }
   212  
   213  .search {
   214      margin-right: 25px;
   215      display: flex;
   216      flex-direction: column;
   217      padding: 20px;
   218      height: 530px;
   219      width: 32%;
   220      min-width: 270px;
   221  }
   222  
   223  .warn-box,
   224  .section-center,
   225  .graph-info,
   226  .search {
   227      border: 1px solid var(--border-btn-color);
   228      box-shadow: 0px 2px 8px 0px var(--border-shadow);
   229      border-radius: 10px;
   230      background-color: var(--default-tab);
   231  }
   232  
   233  .duration {
   234      display: flex;
   235      flex-direction: row;
   236  }
   237  
   238  .right-section {
   239      display: flex;
   240      justify-content: flex-start;
   241      flex-direction: column;
   242      width: 68%;
   243  }
   244  
   245  .section-center {
   246      width: 100%;
   247      margin-top: 12px;
   248      min-height: 280px;
   249  }
   250  
   251  .warn-bottom {
   252      margin-top: 5px;
   253      height: 100%;
   254  }
   255  
   256  .warn-head {
   257      background-color: var(--head-trace);
   258      height: 30%;
   259      align-items: center;
   260      font-size: 14px;
   261      padding: 0 15px;
   262      font-weight: 600;
   263      border-radius: 10px 10px 0 0;
   264  }
   265  
   266  .graph-info {
   267      min-height: 60px;
   268      align-items: center;
   269      padding: 0 20px;
   270  }
   271  
   272  input.form-control {
   273      background: var(--search-box-input) !important;
   274      border: 1px solid var(--border-btn-color) !important;
   275  }
   276  
   277  .download-trace {
   278      background: var(--sort-box) !important;
   279      border: 1px solid var(--border-btn-color) !important;
   280      border-radius: 5px;
   281      height: 40px;
   282      color: var(--text-color);
   283      font-size: 1rem;
   284  }
   285  
   286  .download-trace {
   287      width: 150px;
   288  }
   289  
   290  .graph-show {
   291      width: 100%;
   292      height: 100%;
   293  }
   294  
   295  .dropdown-box,
   296  .input-box,
   297  .search-trace-btn {
   298      margin-top: 14px;
   299  }
   300  
   301  .input-box{
   302      width: 100%;
   303  }
   304  
   305  .sort-dropdown {
   306      width: 100px;
   307  }
   308  
   309  .tags-second {
   310      margin-left: 10px;
   311  }
   312  
   313  .search-text,
   314  .traces-number {
   315      font-weight: 600;
   316      font-size: 16px;
   317  }
   318  
   319  .sorts-method {
   320      align-items: center;
   321      width: 380px;
   322  }
   323  
   324  .dropdown-download-box {
   325      margin-top: 0;
   326      width: 160px;
   327  }
   328  
   329  .dropdown-sort-box {
   330      margin-top: 0;
   331      width: 150px;
   332  }
   333  
   334  .form-control {
   335      height: 32px;
   336  }
   337  
   338  .lookback {
   339      margin-top: 20px;
   340      display: flex;
   341      flex-direction: column;
   342  }
   343  
   344  .search-trace-btn-box {
   345      display: flex;
   346      flex-direction: row;
   347      justify-content: right;
   348  }
   349  
   350  .search-trace-btn {
   351      background-color: var(--purple-1);
   352      border: none;
   353      color: var(--white) !important;
   354      width: 48%;
   355      height: 32px;
   356  }
   357  
   358  .empty-result-show {
   359      display: flex;
   360      flex-direction: row;
   361      justify-content: center;
   362      align-items: center;
   363      color: var(--empty-response-text-color);
   364      height: 100%;
   365      font-size: 22px;
   366  }
   367  
   368  .warn-box {
   369      height: 124px;
   370      margin-top: 20px;
   371      cursor: pointer;
   372  }
   373  
   374  .error-span,
   375  .total-span {
   376      width: 100px;
   377      border-radius: 5px;
   378      display: flex;
   379      flex-direction: row;
   380      justify-content: center;
   381      align-items: center;
   382  }
   383  
   384  .spans-box {
   385      width: 220px;
   386      height: 30px;
   387  }
   388  
   389  .error-span {
   390      border: 1px solid var(--error-trace);
   391      color: var(--error-trace);
   392      background: var(--trace-error-shadow);
   393  }
   394  
   395  .total-span {
   396      border: 1px solid var(--border-switch);
   397      background-color: var(--table-head-bg-color);
   398      color: var(--text-color);
   399  }
   400  
   401  .warn-content {
   402      padding: 12px 15px;
   403  }
   404  
   405  .warn-content-right {
   406      display: flex;
   407      flex-direction: column;
   408      align-items: end;
   409      justify-content: flex-start;
   410  }
   411  
   412  .how-long-time {
   413      color: var(--border-switch);
   414  }
   415  
   416  .search-trace-btn:hover,
   417  .search-trace-btn.active {
   418      background-color: var(--btn-hover-or-click-bg-color);
   419  }
   420  .downloadresult-btn,
   421  .mostrecent-btn {
   422      background-color: var(--search-box-input-trace);
   423      height: 30px;
   424  }
   425  
   426  .span-id-text {
   427      color: var(--subsection-border);
   428      margin-left: 6px;
   429  }
   430  
   431  #app-container{
   432      height: 100vh;
   433  }
   434  
   435  #dashboard{
   436      overflow-y: auto;
   437  }
   438  
   439  /* Trace Timeline View */
   440  
   441  #timeline-container{
   442      margin-top: 14px;
   443      box-shadow: var(--box-shadow);
   444      background-color: var(--black1-to-white0);
   445      border: 1px solid var(--search-input-border);
   446      border-radius: 10px;
   447      padding-bottom: 40px;
   448      overflow: auto; 
   449      width: 100%;
   450      height: 80vh; 
   451  }
   452  
   453  .back-to-search-traces{
   454      cursor: pointer;
   455      padding: 0.25rem 0.5rem;
   456      color: var(--purple-1);
   457      font-weight: 600;
   458  }
   459  
   460  .trace-name{
   461      font-size: 18px;
   462      font-weight: bold;
   463  }
   464  
   465  .trace-details{
   466      margin-top: 8px;
   467      font-size: 14px;
   468      color: var(--subsection-border);
   469      font-weight: normal !important;
   470  
   471  }
   472  
   473  .trace-name .trace-id{
   474      margin-left: 10px;
   475      font-size: 16px !important;
   476  }
   477  
   478  .trace-details div{
   479      margin-right: 30px;
   480      font-weight: normal;
   481  }
   482  
   483  .trace-details span{
   484      margin-left: 6px;
   485      font-weight: bold !important;
   486  }
   487  
   488  .time-label {
   489      font-size: 14px;
   490      fill: var(--text-color);
   491      margin-bottom: 10px;
   492  }
   493  
   494  .time-tick {
   495      stroke: var(--time-tick);
   496      stroke-width: 1;
   497      shape-rendering: crispEdges;
   498  }
   499  
   500  .node-label {
   501      font-size: 14px;
   502  }
   503  
   504  .anomalous-node {
   505      fill: red;
   506  }
   507  
   508  .normal-node {
   509      fill: var(--text-color);
   510  }
   511  
   512  .tooltip-gantt {
   513      position: absolute;
   514      z-index: 10;
   515      display: none;
   516      color: var(--text-color) !important;
   517      border: 1px var(--accent-color) solid !important;
   518      background-color: var(--ui-widget-bg-color) !important;
   519      padding: 5px;
   520      border-radius: 5px;
   521      font-size: 13px;
   522  }
   523  
   524  .tooltip-design {
   525      color: var(--text-color) !important;
   526      background-color: var(--bg-color) !important;
   527      padding: 5px !important;
   528      border-radius: 5px !important;
   529      font-size: 13px !important;
   530  }
   531  
   532  circle:hover{
   533      cursor: pointer;
   534  }
   535  
   536  .subsection-navbar .dropdown-menu.daterangepicker.show{
   537      height: 162px !important;
   538      padding: 8px !important;
   539  }
   540  .subsection-navbar .inner-range{
   541      grid-template-columns: repeat(2, 1fr) !important;
   542  }