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

     1  * {
     2      box-sizing: border-box;
     3  }
     4  
     5  :root {
     6      --complete-bg-img: url(../assets/check-icon-black.svg);
     7      --save-btn-img: url(../assets/save-icon.svg);
     8      --dashboard-btn-img: url(../assets/dashbaord-white-icon.svg);
     9      --alerting-btn-img: url(../assets/alerting-white-icon.svg);
    10      --download-btn-img: url(../assets/download-icon-dark.svg);
    11      --show-record-btn-img: url(../assets/show-record-btn-dark.svg);
    12      --border-shadow: var(--shadow-1);
    13      --code-input-box-color: var(--black-1);
    14      --qb-input-box-color: var(--black-2);
    15      --qb-box-bg: var(--black-1);
    16      }
    17  
    18  [data-theme='light'] {
    19      --complete-bg-img: url(../assets/check-icon-light.svg);
    20      --save-btn-img: url(../assets/save-icon-light.svg);
    21      --dashboard-btn-img: url(../assets/dashboard-btn-light.svg);
    22      --alerting-btn-img: url(../assets/alerting-btn-light.svg);
    23      --download-btn-img: url(../assets/download-icon-light.svg);
    24      --show-record-btn-img: url(../assets/show-record-btn-light.svg);
    25      --border-shadow: var(--shadow-2);
    26      --code-input-box-color: var(--white-1);
    27      --qb-input-box-color: var(--white-1);
    28      --qb-box-bg: var(--white-0);
    29      }
    30  #query-language-btn{
    31      margin-left: 5px;
    32  }
    33  #filter-container {
    34      margin: 0;
    35      margin-top: 10px;
    36      background-color: var(--top-bar-bg-color-regular);
    37      height: 32px;
    38      display: block;
    39      border-radius: 5px;
    40  }
    41  #add-logs-to-db-btn,
    42  #alert-from-logs-btn{
    43      height: 30px;
    44  }
    45  #avail-fields-btn {
    46      height: 30px;
    47      font-family: "DINpro", Arial, sans-serif;
    48      font-size: 14px;
    49      padding: 0 20px;
    50  }
    51  #progress-div{
    52      margin-top: 0;
    53  }
    54  .sidebar-icon{
    55      z-index: 1;
    56  }
    57  .dashboard-box{
    58      height: 100vh;
    59  }
    60  .save-query-div{
    61      margin-bottom: 10px;
    62  }
    63  input.form-control {
    64      background: var(--code-input-box-color) !important;
    65  }
    66  .ui-autocomplete {
    67      width: 200px;
    68  }
    69  
    70  .group-by-reminder {
    71      background-color: var(--border-btn-color);
    72      color: var(--text-color);
    73      border-radius: 5px;
    74      width: 200px;
    75      display: flex;
    76      flex-direction: row;
    77      align-items: center;
    78      justify-content: center;
    79      height: 40px;
    80      font-size: 16px;
    81      margin: 0 10px 0 50px;
    82  }
    83  
    84  .group-by-box {
    85      display: flex;
    86      flex-direction: row;
    87      width: 100%;
    88  }
    89  
    90  .tags-input {
    91      display: flex;
    92      flex-direction: row;
    93      position: relative;
    94      border: 1px solid #ccc;
    95      border-radius: 4px;
    96      width: 570px;
    97  }
    98  
    99  .filter-box ul {
   100      list-style: none;
   101      margin: 5px 0 0 0;
   102      width: 0;
   103      flex: 1;
   104      overflow-x: auto;
   105      padding-left: 5px;
   106      scrollbar-width: none;
   107      -ms-overflow-style: none;
   108  }
   109  
   110  .filter-box ul::-webkit-scrollbar {
   111      height: 0;
   112  }
   113  
   114  .filter-box li {
   115      display: flex;
   116      flex-direction: row;
   117      background-color: var(--filter-color);
   118      color: var(--text-color);
   119      border-radius: 5px;
   120      padding: 0px 7px;
   121      margin-right: 5px;
   122      margin-bottom: 5px;
   123      white-space: nowrap;
   124      font-size: 14px;
   125      border: 1px solid var(--border-switch);
   126  }
   127  
   128  .tags-input input[type="text"] {
   129      border: none;
   130      outline: none;
   131      height: 40px;
   132  }
   133  
   134  .filter-box input[type="text"]:focus {
   135      outline: none;
   136  }
   137  
   138  .delete-button {
   139      border: none;
   140      color: var(--purple-3);
   141      background: none;
   142  }
   143  
   144  .display-rule {
   145      display: flex;
   146      flex-direction: row;
   147      justify-content: space-between;
   148      margin-top: 10px;
   149  }
   150  
   151  .func-input {
   152      width: 500px;
   153  }
   154  
   155  .column-input {
   156      width: 500px;
   157  }
   158  
   159  .tags-list {
   160      display: flex;
   161      flex-direction: row;
   162  }
   163  
   164  .filter-box {
   165      border: 1px solid var(--border-btn-color);
   166      background: var(--qb-input-box-color) !important;
   167      border-radius: 4px;
   168      height: 32px;
   169      display: flex;
   170      flex-direction: row;
   171      justify-content: space-between;
   172      align-items: center;
   173      overflow: hidden;
   174  }
   175  
   176  .completed,
   177  .cancel-enter,
   178  .add-con {
   179      margin: 0 4px 0 0;
   180      height: 26px;
   181      width: 26px;
   182      display: flex;
   183      flex-direction: row;
   184      align-items: center;
   185      justify-content: center;
   186      background-color: var(--default-tab);
   187      color: var(--text-color);
   188  }
   189  
   190  .symbol,
   191  .value-first,
   192  .column-first {
   193      width: 120px;
   194      height: 32px;
   195      color: var(--text-color) !important;
   196      margin-right: 5px;
   197  }
   198  
   199  .symbol,
   200  .value-first,
   201  .column-first {
   202      border: 1px solid var(--border-switch);
   203  }
   204  
   205  .add-third {
   206      margin: -1px;
   207  }
   208  
   209  .filter-con {
   210      position: relative;
   211      width: 100%;
   212  }
   213  
   214  .third-enter {
   215      display: flex;
   216      height: 43px;
   217      flex-direction: row;
   218      justify-content: space-between;
   219  }
   220  
   221  .column-third {
   222      width: 100% !important;
   223      height: 30px;
   224      margin-right: 10px;
   225  }
   226  
   227  .third-box {
   228      width: 100%;
   229      margin: -1px;
   230  }
   231  
   232  .second-enter {
   233      margin-right: 10px;
   234  }
   235  
   236  .add-filter {
   237      position: absolute;
   238      top: 42px;
   239      border-style: solid;
   240      border-color: var(--border-switch);
   241      border-radius: 4px;
   242      height: 40px;
   243      display: flex;
   244      flex-direction: row;
   245      align-items: center;
   246      padding: 0 5px;
   247      background-color: var(--border-btn-color);
   248      width: 100%;
   249      visibility: hidden;
   250      z-index: 100;
   251      font-size: 16px;
   252  }
   253  
   254  .ui-autocomplete {
   255      height: 150px !important;
   256      overflow-y: scroll;
   257      overflow-x: hidden;
   258      border-radius: 3px !important;
   259      font-size: 14px !important;
   260      scrollbar-width: none;
   261      -ms-overflow-style: none;
   262  }
   263  
   264  .ui-menu {
   265      width: 120px !important;
   266      font-size: 14px !important;
   267  }
   268  
   269  .ui-menu-item:hover {
   270      background-color: #6347D9 !important;
   271      transition-delay: 0S !important;
   272      border: none !important;
   273      font-size: 14px !important;
   274  }
   275  
   276  .ui-menu-item-wrapper:hover {
   277      background-color: #6347D9 !important;
   278      transition-delay: 0S !important;
   279      border: none !important;
   280      color: var(--white-0) !important;
   281  }
   282  
   283  .ui-menu-item .ui-menu-item-wrapper {
   284      background: var(--ui-widget-bg-color);
   285      color: var(--text-color);
   286  }
   287  
   288  .ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front{
   289      width: max-content!important;
   290      min-width: 120px;
   291  }
   292  
   293  .ui-tabs-tab {
   294      border-radius: 10px;
   295  }
   296  
   297  .custom-code-tab {
   298      border: 0 !important;
   299      font-size: 14px;
   300      background-color: var(--bg-color);
   301  }
   302  
   303  .ui-tabs .ui-tabs-panel {
   304      padding: 0 !important;
   305  }
   306  
   307  .ui-tabs ui-tabs-nav li {
   308      margin-left: 17px !important;
   309      width: 121px;
   310      display: flex;
   311      flex-direction: row;
   312      justify-content: center;
   313  }
   314  
   315  .query-text {
   316      height: 40px;
   317      width: 100%;
   318  }
   319  
   320  .search-img {
   321      background-image: url("../assets/search-img.svg");
   322      height: 32px;
   323      width: 32px;
   324      background-color: var(--purple-2);
   325      background-repeat: no-repeat;
   326      background-size: 50%;
   327      background-position: center;
   328      border-radius: 0 5px 5px 0;
   329      cursor: pointer;
   330  }
   331  .run-filter-btn {
   332      background-image: url("../assets/search-img.svg");
   333      height: 32px;
   334      width: 32px;
   335      background-color: var(--purple-2);
   336      background-repeat: no-repeat;
   337      background-size: 50%;
   338      background-position: center;
   339      border-radius: 0 5px 5px 0;
   340  }
   341  
   342  .cancel-search {
   343      background-image: url("../assets/close_white.svg") !important;
   344  }
   345  .run-filter-btn:hover,
   346  #run-filter-btn.active,
   347  .search-img:hover,
   348  .search-img.active{
   349      background-color: var(--btn-hover-or-click-bg-color);
   350  }
   351  .run-filter-btn:focus{
   352      border-radius: 0 5px 5px 0;
   353  }
   354  .query-box {
   355      padding: 8px 24px 0 24px;
   356      display: flex;
   357      flex-direction: row;
   358  }
   359  
   360  .tab-list {
   361      margin: 10px 24px 0 23px !important;
   362      width: 220px;
   363      height: 30px;
   364      border-radius: 5px;
   365      background: var(--myOrg-input);
   366      display: flex;
   367      flex-direction: row;
   368      justify-content: space-between;
   369  }
   370  
   371  .dropdown-box {
   372      display: flex;
   373      flex-direction: row;
   374      justify-content: space-between;
   375      position: absolute;
   376      right: 28px;
   377      top: 10px;
   378      width: 358px;
   379  }
   380  
   381  .tab-li {
   382      height: 34px;
   383      border-radius: 5px;
   384  }
   385  
   386  .tab-li-query {
   387      width: 125px;
   388  }
   389  
   390  .tab-li-code {
   391      width: 80px;
   392  }
   393  
   394  .ui-state-default {
   395      background-color: var(--default-tab) !important;
   396      display: flex;
   397      flex-direction: row;
   398      justify-content: center;
   399      align-items: center;
   400      border: none !important;
   401  }
   402  
   403  .ui-state-default a,
   404  .ui-state-default a:link,
   405  .ui-state-default a:visited,
   406  a.ui-button,
   407  a:link.ui-button,
   408  a:visited.ui-button,
   409  .ui-button {
   410      color: var(--border-switch) !important;
   411  }
   412  
   413  .ui-tabs .ui-tabs-nav .ui-state-active {
   414      background: var(--tab-active-background) !important;
   415      border: 1px solid var(--purple-1) !important;
   416  }
   417  
   418  .ui-state-active a,
   419  .ui-state-active a:link,
   420  .ui-state-active a:visited {
   421      color: var(--text-color) !important;
   422  }
   423  
   424  .ui-state-hover {
   425      background-color: rgba(99, 71, 217, 0.15);
   426      border: 1px solid var(--purple-1);
   427  }
   428  
   429  .ui-tabs .ui-tabs-nav li {
   430      margin: 0;
   431      background: var(--myOrg-input) !important;
   432      height: 22px;
   433      font-size: 14px;
   434      margin-top: 2px;
   435  }
   436  
   437  #index-btn,
   438  #date-picker-btn {
   439      padding: 0;
   440      font-size: 14px;
   441  }
   442  
   443  #index-btn {
   444      width: 89px;
   445  }
   446  
   447  .completed,
   448  .cancel-enter {
   449      border: 1px solid var(--border-switch);
   450  }
   451  
   452  .add-con {
   453      border: 1px solid var(--border-btn-color);
   454  }
   455  
   456  .form-control,
   457  .dropdown-toggle {
   458      border: 1px solid var(--border-btn-color) !important;
   459      font-size: 14px;
   460  }
   461  
   462  .form-control {
   463      border-radius: 5px 0 0 5px !important;
   464      border-right: 0;
   465      height: 32px;
   466  }
   467  
   468  .filter-info {
   469      box-shadow: 0px 2px 8px 0px var(--border-shadow);
   470      border: 1px solid var(--border-btn-color);
   471      border-radius: 10px;
   472      margin: 8px 24px 0 24px;
   473      padding: 5px 10px;
   474      background-color: var(--qb-box-bg);
   475  }
   476  
   477  .query-text,
   478  .group-by-reminder,
   479  .ui-widget,
   480  #filter-input.form-control{
   481      font-family: "DINpro", Arial, sans-serif !important;
   482  }
   483  .ui-widget{
   484      height: auto;
   485      width: auto;
   486  }
   487  
   488  .ui-autocomplete::-webkit-scrollbar {
   489      width: 0;
   490  }
   491  .ui-dialog-title{
   492      font-size: 18px;
   493  }
   494  .completed{
   495      background-image: var(--complete-bg-img);
   496      background-repeat: no-repeat;
   497      background-size: 50%;
   498      background-position: center;
   499  }
   500  .select-box{
   501      border-color: var(--purple-1);
   502  }
   503  #available-indexes{
   504      width: 210px;
   505      overflow-x: hidden;
   506      overflow-y: auto;
   507      transform: translate3d(0px, 42px, 0px);
   508      scrollbar-width: none; /* firefox */
   509      -ms-overflow-style: none;/* IE 10+ */
   510  }
   511  #available-indexes::-webkit-scrollbar {
   512      display: none;
   513      /* Chrome Safari */
   514  }
   515  .dropdown-menu{
   516      min-width: 0;
   517      padding: 0;
   518  }
   519  .index-dropdown-item{
   520      width: 182px;
   521  }
   522  .saveq-btn{
   523      background-image: var(--save-btn-img);
   524  }
   525  .add-logs-to-db-btn{
   526      background-image: var(--dashboard-btn-img);
   527  }
   528  .alert-from-logs-btn{
   529      background-image: var(--alerting-btn-img);
   530  }
   531  .download-all-logs-btn{
   532      background-image: var(--download-btn-img);
   533  }
   534  .show-record-intro-btn{
   535      background-image: var(--show-record-btn-img);
   536      margin-left: 10px;
   537      position: relative;
   538      border-radius: 5px;
   539      height: 40px;
   540  }
   541  .below-btn-img{
   542      background-size: 50%;
   543      background-repeat: no-repeat;
   544      background-position: center;
   545      height: 30px;
   546      width: 30px;
   547      border: 1px solid var(--border-btn-color);
   548  }
   549  
   550  .fields{
   551      margin-left: 10px;
   552  }
   553  .below-btn-img:hover,
   554  .add-con:hover,
   555  .cancel-enter:hover,
   556  .completed:hover{
   557      background-color: var(--drop-down-btn-bg-hover);
   558  }
   559  .run-filter-btn{
   560      height: 32px;
   561      border-radius: 0 5px 5px 0;
   562      border: none;
   563  }
   564  .filter-container {
   565      display: flex;
   566      margin-top: 6px;
   567      margin-left: 20px;
   568      margin-right: 24px;
   569      background-color: var(--top-bar-bg-color-regular);
   570  }
   571  .search-bar-container{
   572      width: 100%;
   573  }
   574  .show-record-popup{
   575      display: none;
   576  }
   577  div.show-record-popup {
   578      width: 404px;
   579      height: auto !important;
   580      padding: 0 !important;
   581      margin: 0 0 20px 30px !important;
   582  }
   583  .ui-dialog-buttonpane{
   584      position: relative;
   585      height: 65px;
   586  }
   587  .cancel-record-btn{
   588      position: absolute;
   589      right: 0;
   590      background: var(--component-bg-color) !important;
   591  }
   592  .cancel-record-btn:hover{
   593      background: var(--component-bg-color-hover) !important;
   594  }
   595  .ag-theme-mycustomtheme .ag-root-wrapper{
   596      border: 1px solid var(--border-btn-color);
   597  }
   598  
   599  .ag-row,
   600  .measureAggGrid .ag-row-even,
   601  .LogResultsGrid .ag-row-even{
   602      background-color: var(--default-tab) !important;
   603  }
   604  .ag-row::after,
   605  .LogResultsGrid .ag-row-even::after{
   606      content: '';
   607      position: absolute;
   608      left: 10px;
   609      width: calc(100% - 20px);
   610      height: 1px;
   611      background-color: var(--panel-table-line-color);
   612      bottom: 0;
   613  }
   614  .aggregations{
   615      color: var(--black-5) !important;
   616      margin-left: 10px;
   617  }
   618  .ag-header-viewport{
   619      border-bottom: 1px solid var(--panel-table-line-color);
   620  }
   621  .stop-search {
   622      background-color: var(--border-btn-color);
   623      opacity: 0.5; 
   624      cursor: not-allowed; 
   625  }
   626  .stop-search:hover{
   627      background-color: var(--border-btn-color);
   628  }
   629  .custom-chart-tab{
   630      padding: 0 26px;
   631      position: relative;
   632      height: 100%;
   633      background: none;
   634  }
   635  .tab-chart-list{
   636      height: 30px;
   637      top: 5px;
   638      border-radius: 5px;
   639      display: flex;
   640      flex-direction: row;
   641      justify-content: space-between;
   642      width: 180px;
   643      position: absolute;
   644      background-color: var(--myOrg-input);
   645  }
   646  #logs-view-controls {
   647      position: absolute;
   648      left: 214px;
   649      display: flex;
   650      justify-content: space-between;
   651      flex-direction: row;
   652      width: calc(100% - 214px);
   653  }
   654  #tabs-chart,
   655  #showTable{
   656      display: none;
   657      margin: 42px 0 0 0;
   658  }
   659  .tab-content-size{
   660      height: 100%;
   661  }
   662  .column-chart {
   663      width: 100%;
   664      height: calc(100% - 80px);
   665      overflow: hidden;
   666      border: 1px solid var(--search-input-border);
   667      box-shadow: var(--box-shadow);
   668      border-radius: 10px;
   669      padding: 10px;
   670      background: var(--black1-to-white0)
   671  }
   672  .show-table{
   673      height: calc(100% - 58px);
   674  }
   675  .hide-graph{
   676      display: none;
   677      height: calc(100% - 58px);
   678  }
   679  .hide-graph-text{
   680      display: flex;
   681      height: calc(100% - 58px);
   682      flex-direction: row;
   683      justify-content: center;
   684      align-items: center;
   685      font-size: 24px;
   686      font-weight: var(--fw-500);
   687      color: var(--empty-response-text-color);
   688      width: 100%; 
   689      height: 90%;
   690      margin-bottom: 50px;
   691      border: 1px solid var(--search-input-border);
   692      box-shadow: var(--box-shadow);
   693      border-radius: 10px;
   694      background: var(--black1-to-white0)
   695  }
   696  
   697  /* Position-relative container for query-input bar */
   698  .position-relative {
   699      position: relative;
   700      width: 100%;
   701  }
   702  
   703  /* Clear query button styles */
   704  #clear-query-btn {
   705      /* Position the button */
   706      position: absolute;
   707      top: 45%; /* Adjust vertically */
   708      right: 10px; /* Adjust horizontally */
   709      transform: translateY(-50%);
   710  
   711      /* Button appearance */
   712      background-color: transparent;
   713      color: rgb(111, 108, 123); /* R111 G108 B123 */
   714      font-family: "DINpro", Arial, sans-serif;
   715      font-weight: lighter;
   716      font-size: 20px;
   717      border: none;
   718      cursor: pointer;
   719      padding: 0;
   720      margin: 0;
   721  }