page-installation-package {
  display: block;

  sharp-switch {
    margin-top: 5px;
    margin-left: 5px;
  }

  .table-no-results {
    line-height: 40px;
  }

  .fa {
    color: var(--global-theme-color-light, #00BBB4);
    margin: 0 8px;
    cursor: pointer;
  }

  .fa-sliders {
    font-size: 14px;
  }

  .fa-times-circle {
    color: red;
    font-size: 16px;
  }

  .operate-layer {
    display: flex;
    margin-bottom: 15px;

    .btn {
      padding: 6px;
      border-radius: 4px;
    }

    .fa {
      margin: 0;
    }

    .batch-layer {
      flex: 1;

      .btn-ok {
        border: 1px solid var(--global-theme-color-light, #00BBB4);
        color: var(--global-theme-color-light, #00BBB4);
        background: #FFF;
        padding: 5px;
      }
    }
  }

  .table-format-list {
    border: none;

    tr {
      height: 28px;
      line-height: 28px;

      th, td {
        border: none;
        border-bottom: 1px solid #E7E7E7;
        padding: 0 10px;

        & > label {
          display: block;
          margin-bottom: 0;
          cursor: pointer;
        }
      }
    }

    thead {
      background: linear-gradient(to bottom, #FFF, #F3F3F3) !important;

      tr {
        height: 30px;
        line-height: 30px;

        th {
          color: #555;
          font-size: 12px;
          border-top: 1px solid #E7E7E7;
          border-bottom: 1px solid #E7E7E7;
          border-right: 1px solid #E7E7E7;

          &:first-child {
            border-left: 1px solid #E7E7E7;
            border-top-left-radius: 3px;
            border-bottom-left-radius: 3px;
          }

          &:last-child {
            border-right: 1px solid #E7E7E7;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
          }

          &.version-th {
            width: 120px;
            padding: 0;
          }

          &.operate-th {
            padding-right: 0;
            padding-top: 0;
          }

          .times-circle {
            float: right;
            display: block;
            width: 40px;
            background: linear-gradient(to bottom, #FFF, #CECECE) !important;
            text-align: center;

            .fa {
              font-size: 16px;
              position: relative;
              vertical-align: top;
              top: 8px;
            }
          }
        }
      }
    }

    tbody {
      tr:nth-child(even) {
        background: white;
      }

      tr {

        .enabled {
          color: #00C8C1;
        }

        .disabled {
          color: #8D8D8D;
        }

        td {
          div {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }

        &:hover {
          background: white;
        }

        &.newly-tr {
          background: rgba(248, 248, 248, 1);

          &:hover {
            background: rgba(248, 248, 248, 1);
          }

          td {
            padding: 0;

            input {
              padding: 0 10px;
            }

            &.padding-left {
              padding-left: 10px;
            }

            &.input-org {
              color: gray;
              cursor: default;
            }
          }

          input, textarea, select {
            background: rgba(248, 248, 248, 1);
            display: block;
            border: none;

            &.form-control.ng-touched.ng-invalid {
              border: 1px solid #D96557;
            }
          }

          textarea {
            height: 34px;
            min-height: 34px;
            max-height: 53px;
          }
        }
      }
    }
  }

  .inline-operate-layer {
    display: flex;

    .form-control-layer {
      flex: 1;
    }

    .inline-btn-layer {
      width: 80px;

      .btn {
        margin-left: 5px;
        padding: 0 3px;
        font-size: 12px;

        &.btn-cancel {
          background: white;
          border: 1px solid var(--global-theme-color-light, #00BBB4);
          color: var(--global-theme-color-light, #00BBB4);
        }
      }
    }
  }

  .no-data-table {
    border: none;
  }

  .nil-tr {
    line-height: 400px;

    &:hover {
      background: #FFF;
    }

    td {
      text-align: center;
      color: #CECECE;
    }
  }
}

.tooltip.installation-package-tooltip {
  max-width: 300px;

  .tooltip-inner {
    text-align: left;
    padding: 5px 8px;
    overflow: hidden;
    white-space: normal;
    max-width: 280px;
    display: block;
    word-break: break-all;
  }
}
