HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/admin/src/app/pages/lexicon/lexicon.component.scss
.filters {
  .filter {
    &.align-center {
      padding: 0 20px;
    }

    .add-word-button {
      padding-top: 6px;
      padding-bottom: 6px;
    }
  }
}

table.refs-list {
  td.mat-column-words {
    width: 350px;
  }

  td.mat-column-actions {
    width: 120px;
  }

  td.mat-column-source {
    width: 300px;
  }
}

table.words-list {
  tr.edit-word-row {
    height: 0;

    .edit-word-block {
      overflow: hidden;

      .relations {
        width: 80%;

        label {
          display: block;
        }

        .relation {
          display: flex;
          border-bottom: 1px dashed #E0E0E0;
          transition: background-color 0.2s;
          
          &:nth-child(2){
            border-top: 1px dashed #E0E0E0;
          }

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

          .predicate {
            width: 200px;
            padding: 5px 10px;
          }

          .object {
            flex: 1;
            padding: 5px 10px;
          }

          .actions {
            width: 80px;
          }
        }

        .new-relation {
          padding-top: 10px;

          .actions {
            padding-top: 10px;
          }
        }
      }
    }
  }

  tr.word-row, tr.word-row td {
    border-bottom-style: none;
  }

  tr.word-row {

    td:not(.mat-column-actions) {
      cursor: pointer;
    }
    
    &:hover {
      background-color: #F4F4F4;
    }
  }

  td.mat-column-lang {
    width: 80px;
  }

  td.mat-column-title {
    width: 300px;
  }

  td.mat-column-construct {
    width: 300px;
  }

  td.mat-column-actions {
    width: 120px;
  }
}

.word-results {
  .results {
    margin: 0;
    padding: 0;
    list-style: none;

    .result {
      display: flex;
      padding: 10px 0;
      border-bottom: 1px dashed #A0A0A0;

      .title {
        display: block;
        flex: 1;
        padding: 0 10px;
      }

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

      .lang {
        width: 40px;
        text-align: center;
        border-left: 1px solid #A0A0A0;
      }

      .action {
        width: 40px;
      }
    }
  }
}

.words-wrapper {
  padding: 10px 0;

  .word {
    display: flex;
    margin-bottom: 5px;

    span {
      display: block;

      &.lang {
        width: 40px;
        text-align: center;
        border-left: 1px solid #A0A0A0;
      }

      &.title {
        padding-right: 10px;
      }
    }
  }
}

// ---------- OLD ------------- //
/* 

.add-new {
  margin: 30px 0;

  h2 {
    font-size: 100%;
    font-weight: 700;
  }
}

.add-new-ref {
  .description {
    .field {
      margin: 10px 0;
    }
  }

  .sources {
    .source {
      font-size: 12px;
      line-height: 30px;
      cursor: pointer;

      &:hover {
        color: #0069D9;
      }
    }
  }
}

.word-results {
  .results {
    margin: 0;
    padding: 0;
    list-style: none;

    .result {
      display: flex;
      padding: 10px 0;
      border-bottom: 1px dashed #A0A0A0;

      .title {
        display: block;
        flex: 1;
        padding: 0 10px;
      }

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

      .lang {
        width: 40px;
        text-align: center;
        border-left: 1px solid #A0A0A0;
      }

      .action {
        width: 40px;
      }
    }
  }
}

.field.word {
  .word-input-wrapper {
    position: relative;
    flex: 1;

    ngb-typeahead-window {
      top: 20px !important;
      left: initial !important;
      right: 0 !important;
      transform: none !important;
    }
  }

  .input-group-append {
    .input-group-text {
      border-right: none;
      border-radius: 3px 0 0 3px;
    }
  }
}

.edit-word {
  padding: 10px 0;

  fieldset {
    display: flex;
    column-gap: 10px;

    .field {
      flex: 1;
      padding-bottom: 10px;
    }
  }


  .encyc {
    margin-top: 20px;
    
    .input-wrapper {
      position: relative;
      display: flex;
      width: 80%;

      input {
        border-radius: 0 3px 3px 0;
      }

      .btn {
        border-radius: 3px 0 0 3px;
        width: 40px;
      }
    }
  }

  .actions {
    padding-left: 13px;
  }
}

.new-word-form {
  textarea {
    height: 100px;
    margin-top: 10px;
  }

  input[type="text"] {
    margin-top: 10px;
  }
} */