<commit_before>@import '../mixins';

#desktop-app {
  // This is just a dummy wrapper needed because react doesn't like
  // being installed into <body>, see https://github.com/facebook/react/issues/3207
  &-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  // The main react component div
  &-chrome {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
  }

  // main non-window chrome wrapper
  &-contents {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }
}

#desktop-app-contents {
  &.commit-being-dragged {
    :not(input):not(textarea),
    :not(input):not(textarea)::after,
    :not(input):not(textarea)::before {
      cursor: not-allowed;
    }

    #desktop-app-toolbar {
      .toolbar-dropdown {
        &.branch-button {
          :not(input):not(textarea),
          :not(input):not(textarea)::after,
          :not(input):not(textarea)::before {
            cursor: default;
          }

          .branches-list-item {
            div {
              pointer-events: none;
            }
          }

          .list-item:not(.selected) {
            .branches-list-item:hover,
            .pull-request-item:hover {
              --text-color: var(--box-selected-active-text-color);
              --text-secondary-color: var(--box-selected-active-text-color);

              color: var(--text-color);
              background-color: var(--box-selected-active-background-color);
              cursor: copy;
            }
          }

          .branches-list-item.new-branch-drop:hover {
            --text-color: var(--box-selected-active-text-color);
            --text-secondary-color: var(--box-selected-active-text-color);

            color: var(--text-color);
            background-color: var(--box-selected-active-background-color);
            cursor: copy;
          }
        }
      }
    }

    #commit-list {
      :not(input):not(textarea),
      :not(input):not(textarea)::after,
      :not(input):not(textarea)::before {
        cursor: default;
      }
    }

    // 'squashing-enabled' class is due to feature flagging. If feature flag is
    // removed, we could move .list-item block up under the #commit-list above
    &.squashing-enabled {
      #commit-list {
        .list-item:not(.selected) {
          .commit:hover {
            --text-color: var(--box-selected-active-text-color);
            --text-secondary-color: var(--box-selected-active-text-color);

            color: var(--text-color);
            background-color: var(--box-selected-active-background-color);
          }
        }
      }
    }
  }
}<commit_msg>Remove tooltip on commits during drag<commit_after>@import '../mixins';

#desktop-app {
  // This is just a dummy wrapper needed because react doesn't like
  // being installed into <body>, see https://github.com/facebook/react/issues/3207
  &-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  // The main react component div
  &-chrome {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
  }

  // main non-window chrome wrapper
  &-contents {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }
}

#desktop-app-contents {
  &.commit-being-dragged {
    :not(input):not(textarea),
    :not(input):not(textarea)::after,
    :not(input):not(textarea)::before {
      cursor: not-allowed;
    }

    #desktop-app-toolbar {
      .toolbar-dropdown {
        &.branch-button {
          :not(input):not(textarea),
          :not(input):not(textarea)::after,
          :not(input):not(textarea)::before {
            cursor: default;
          }

          .branches-list-item {
            div {
              pointer-events: none;
            }
          }

          .list-item:not(.selected) {
            .branches-list-item:hover,
            .pull-request-item:hover {
              --text-color: var(--box-selected-active-text-color);
              --text-secondary-color: var(--box-selected-active-text-color);

              color: var(--text-color);
              background-color: var(--box-selected-active-background-color);
              cursor: copy;
            }
          }

          .branches-list-item.new-branch-drop:hover {
            --text-color: var(--box-selected-active-text-color);
            --text-secondary-color: var(--box-selected-active-text-color);

            color: var(--text-color);
            background-color: var(--box-selected-active-background-color);
            cursor: copy;
          }
        }
      }
    }

    #commit-list {
      :not(input):not(textarea),
      :not(input):not(textarea)::after,
      :not(input):not(textarea)::before {
        cursor: default;
      }
    }

    // 'squashing-enabled' class is due to feature flagging. If feature flag is
    // removed, we could move .list-item block up under the #commit-list above
    &.squashing-enabled {
      #commit-list {
        .list-item:not(.selected) {
          .commit:hover {
            --text-color: var(--box-selected-active-text-color);
            --text-secondary-color: var(--box-selected-active-text-color);

            color: var(--text-color);
            background-color: var(--box-selected-active-background-color);
          }

          .commit {
            div {
              pointer-events: none;
            }
          }
        }
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.14839061647572285, 'fraction_numerical': 0.008001454809965449, 'mean_word_length': 1.7486256871564219, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4296886', 'n_tokens_mistral': 1744, 'n_tokens_neox': 1636, 'n_words': 291}