Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `Gemfile.lock`: Not a real conflict, upstream updated dependencies that were too close to glitch-soc-only ones in the file. - `app/controllers/oauth/authorized_applications_controller.rb`: Upstream changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's theming system. Ported upstream changes. - `app/controllers/settings/base_controller.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's theming system. Ported upstream changes. - `app/controllers/settings/sessions_controller.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's theming system. Ported upstream changes. - `app/models/user.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc not preventing moved accounts from logging in. Ported upstream changes while keeping the ability for moved accounts to log in. - `app/policies/status_policy.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's local-only toots. Ported upstream changes. - `app/serializers/rest/account_serializer.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's ability to hide followers count. Ported upstream changes. - `app/services/process_mentions_service.rb`: Upstream refactored and changed the logic surrounding suspended accounts. Minor conflict due to glitch-soc's local-only toots. Ported upstream changes. - `package.json`: Not a real conflict, upstream updated dependencies that were too close to glitch-soc-only ones in the file.
This commit is contained in:
		@@ -163,7 +163,8 @@
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.icon-button {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  display: inline-flex;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  color: $action-button-color;
 | 
			
		||||
  border: 0;
 | 
			
		||||
@@ -245,6 +246,14 @@
 | 
			
		||||
      background: rgba($base-overlay-background, 0.9);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &__counter {
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    width: 14px;
 | 
			
		||||
    margin-left: 4px;
 | 
			
		||||
    font-size: 12px;
 | 
			
		||||
    font-weight: 500;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.text-icon-button {
 | 
			
		||||
@@ -1139,24 +1148,6 @@
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  margin-top: 8px;
 | 
			
		||||
 | 
			
		||||
  &__counter {
 | 
			
		||||
    display: inline-flex;
 | 
			
		||||
    margin-right: 11px;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
 | 
			
		||||
    .status__action-bar-button {
 | 
			
		||||
      margin-right: 4px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__label {
 | 
			
		||||
      display: inline-block;
 | 
			
		||||
      width: 14px;
 | 
			
		||||
      font-size: 12px;
 | 
			
		||||
      font-weight: 500;
 | 
			
		||||
      color: $action-button-color;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.status__action-bar-button {
 | 
			
		||||
@@ -6502,6 +6493,10 @@ noscript {
 | 
			
		||||
        padding: 2px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      & > .icon-button {
 | 
			
		||||
        margin-right: 8px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      .button {
 | 
			
		||||
        margin: 0 8px;
 | 
			
		||||
      }
 | 
			
		||||
@@ -7011,3 +7006,119 @@ noscript {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.notification,
 | 
			
		||||
.status__wrapper {
 | 
			
		||||
  position: relative;
 | 
			
		||||
 | 
			
		||||
  &.unread {
 | 
			
		||||
    &::before {
 | 
			
		||||
      content: "";
 | 
			
		||||
      position: absolute;
 | 
			
		||||
      top: 0;
 | 
			
		||||
      left: 0;
 | 
			
		||||
      pointer-events: 0;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
      border-left: 2px solid $highlight-text-color;
 | 
			
		||||
      pointer-events: none;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.picture-in-picture {
 | 
			
		||||
  position: fixed;
 | 
			
		||||
  bottom: 20px;
 | 
			
		||||
  right: 20px;
 | 
			
		||||
  width: 300px;
 | 
			
		||||
 | 
			
		||||
  &__footer {
 | 
			
		||||
    border-radius: 0 0 4px 4px;
 | 
			
		||||
    background: lighten($ui-base-color, 4%);
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    padding-top: 12px;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: space-between;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &__header {
 | 
			
		||||
    border-radius: 4px 4px 0 0;
 | 
			
		||||
    background: lighten($ui-base-color, 4%);
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: space-between;
 | 
			
		||||
 | 
			
		||||
    &__account {
 | 
			
		||||
      display: flex;
 | 
			
		||||
      text-decoration: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .account__avatar {
 | 
			
		||||
      margin-right: 10px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .display-name {
 | 
			
		||||
      color: $primary-text-color;
 | 
			
		||||
      text-decoration: none;
 | 
			
		||||
 | 
			
		||||
      strong,
 | 
			
		||||
      span {
 | 
			
		||||
        display: block;
 | 
			
		||||
        text-overflow: ellipsis;
 | 
			
		||||
        overflow: hidden;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      span {
 | 
			
		||||
        color: $darker-text-color;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .video-player,
 | 
			
		||||
  .audio-player {
 | 
			
		||||
    border-radius: 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @media screen and (max-width: 415px) {
 | 
			
		||||
    width: 210px;
 | 
			
		||||
    bottom: 10px;
 | 
			
		||||
    right: 10px;
 | 
			
		||||
 | 
			
		||||
    &__footer {
 | 
			
		||||
      display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .video-player,
 | 
			
		||||
    .audio-player {
 | 
			
		||||
      border-radius: 0 0 4px 4px;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.picture-in-picture-placeholder {
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
  border: 2px dashed lighten($ui-base-color, 8%);
 | 
			
		||||
  background: $base-shadow-color;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  justify-content: center;
 | 
			
		||||
  margin-top: 10px;
 | 
			
		||||
  font-size: 16px;
 | 
			
		||||
  font-weight: 500;
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  color: $darker-text-color;
 | 
			
		||||
 | 
			
		||||
  i {
 | 
			
		||||
    display: block;
 | 
			
		||||
    font-size: 24px;
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
    margin-bottom: 10px;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus,
 | 
			
		||||
  &:active {
 | 
			
		||||
    border-color: lighten($ui-base-color, 12%);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user