/*
=========================================================================================
V6 Beta (requires widget.css to be re-compiled in finc - Test, Build CSS Files from LESS)
=========================================================================================
*/
html.is-beta-styling {
  // =====
  // Icons
  // =====
  // Actions (added fill='white' to SVG)
  footer button.is-button.actions {
    &:before { content:""; }
    background-position:center 1px;
    background-repeat:no-repeat;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath fill='white' d='M267.587-89.23q-25.832 0-43.633-17.801-17.8-17.801-17.8-43.604v-386.114q0-25.804 17.8-43.605 17.801-17.8 43.738-17.8h86.347v36.923h-86.347q-9.231 0-16.923 7.692-7.692 7.693-7.692 16.923v385.847q0 9.231 7.692 16.923 7.692 7.692 16.923 7.692h424.616q9.231 0 16.923-7.692 7.692-7.692 7.692-16.923v-385.847q0-9.23-7.692-16.923-7.692-7.692-16.923-7.692h-85.962v-36.923h85.962q25.937 0 43.738 17.8 17.8 17.801 17.8 43.605v386.114q0 25.803-17.8 43.604-17.801 17.8-43.632 17.8H267.587Zm194.144-255.578v-426.846l-84.616 84.615-26.346-26.192L480-842.462l129.231 129.231-25.962 26.192-84.615-84.615v426.846h-36.923Z'/%3E%3C/svg%3E");
  }



  // ====
  // Grid
  // ====
  div.is-grid-container {
    border:none;

    > div.is-grid {
      table.is-grid {
        // Heading Cells
        > thead > tr > th,
        > tbody > tr > th {
          background-color: #e2e2e2;
          box-shadow:none;
        }
        > thead > tr > th {
          padding:8px 6px 8px 6px;

          &:hover {
            background-color: #d2d2d2;
          }

          &.sortable {
            padding-right:28px;
          }

          /* Sorter */
          > div.sorter {
            background-color:transparent;
            border:none !important;

            &:hover {
              background-color:rgba(0,0,0,0.1);
            }

            &:after {
              color:rgba(0,0,0,0.3);
            }
          }

          /* Sorted */
          &.sorted {
            > div.sorter {
              &:after {
                color:rgba(0,0,0,1) !important;
              }
            }
          }
        }

        // Body
        > tbody > tr:nth-child(even) {
          background-color:white;  // No striping in this style (widget grids are styled automatically)
        }

        > tbody > tr {
          //&.even {
          //  background-color:white; // No striping in this style
          //}

          > td {
            padding:8px 6px 8px 6px;
            border:none;
            border-bottom:1px solid rgba(0,0,0,0.175);

            &:not(:last-child) {
              border-right:1px solid rgba(0,0,0,0.03); // Very feint
            }

            /* Row number/ selector cell */
            &.rowselector {
              background-color: #e2e2e2;

              &:hover {
                background-color: #d2d2d2;
              }
            }

            /* Cell hyperlink */
            > a:not(.nostyling) {
              background-color:rgba(0, 0, 0, 0.01);
              //border:1px solid rgba(0, 0, 0, 0.075);
              padding:4px 2px 4px 4px;
              //border-radius:4px;
              //color:#0645AD;

              &:hover {
                background-color:rgba(0, 0, 0, 0.04);
              }
            }

            /* Drilldown */
            &.is-grid-col-drilldown {
              padding:2px;

              a.is-drilldown-button:not(.icon) {
                display:block;
                border:none !important;
                border-radius: 0 !important;
                font-weight:bold;
                height:unset;
                width:unset;

                &:before {
                  font-size:16px;
                }

                &:hover {
                  border:none !important;
                  box-shadow:none;
                }
              }
            }
          }

        }
      }

    }
  }

}