Merge upstream 'v2.4.3'

This commit is contained in:
Mike Barnes 2018-08-07 11:18:35 +10:00
commit 69d0b8ff68
3155 changed files with 8546 additions and 4037 deletions

View file

@ -22,3 +22,4 @@
@import 'mastodon/tables';
@import 'mastodon/admin';
@import 'mastodon/rtl';
@import 'mastodon/accessibility';

View file

@ -901,6 +901,27 @@ $small-breakpoint: 960px;
}
}
.attachment-list__list {
margin-left: 0;
list-style: none;
li {
font-size: inherit;
line-height: inherit;
font-weight: inherit;
margin-bottom: 0;
a {
color: $dark-text-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
@media screen and (max-width: $column-breakpoint) {
height: 90vh;
}

View file

@ -0,0 +1,14 @@
$black-emojis: '8ball' 'ant' 'back' 'black_circle' 'black_large_square' 'black_medium_small_square' 'black_medium_square' 'black_nib' 'black_small_square' 'bomb' 'bust_in_silhouette' 'camera' 'camera_with_flash' 'clubs' 'copyright' 'curly_loop' 'currency_exchange' 'end' 'heavy_check_mark' 'heavy_division_sign' 'heavy_dollar_sign' 'heavy_minus_sign' 'heavy_multiplication_x' 'heavy_plus_sign' 'lower_left_fountain_pen' 'on' 'registered' 'soon' 'spades' 'spider' 'tm' 'top' 'waving_black_flag' 'wavy_dash' 'video_game';
%white-emoji-outline {
filter: drop-shadow(1px 1px 0 $white) drop-shadow(-1px 1px 0 $white) drop-shadow(1px -1px 0 $white) drop-shadow(-1px -1px 0 $white);
transform: scale(.71);
}
.emojione {
@each $emoji in $black-emojis {
&[title=':#{$emoji}:'] {
@extend %white-emoji-outline;
}
}
}

View file

@ -440,6 +440,20 @@
overflow: hidden;
text-overflow: ellipsis;
height: 5.5em;
position: relative;
&::after {
display: block;
content: "";
width: 100%;
height: 100px;
position: absolute;
bottom: 0;
background: linear-gradient(to bottom, rgba($simple-background-color, 0.01) 0%, rgba($simple-background-color, 1) 100%);
left: 0;
border-radius: 0 0 4px 4px;
pointer-events: none;
}
}
}
}
@ -464,6 +478,7 @@
background: $simple-background-color;
&__header {
background: $base-shadow-color;
background-size: cover;
background-position: center center;
height: 90px;

View file

@ -302,12 +302,10 @@
height: 0;
transform-origin: bottom;
opacity: 0.0;
transition: all 0.4s ease;
&.spoiler-input--visible {
height: 47px;
opacity: 1.0;
transition: all 0.4s ease;
}
}
@ -568,6 +566,10 @@
}
}
.no-reduce-motion .spoiler-input {
transition: height 0.4s ease, opacity 0.4s ease;
}
.emojione {
font-size: inherit;
vertical-align: middle;
@ -723,6 +725,20 @@
vertical-align: middle;
}
.status__wrapper--filtered {
color: $dark-text-color;
border: 0;
font-size: inherit;
text-align: center;
line-height: inherit;
margin: 0;
padding: 15px;
box-sizing: border-box;
width: 100%;
clear: both;
border-bottom: 1px solid lighten($ui-base-color, 8%);
}
.status__prepend-icon-wrapper {
left: -26px;
position: absolute;

View file

@ -352,7 +352,7 @@ code {
position: relative;
.input input {
padding-right: 127px;
padding-right: 142px;
}
.append {
@ -366,6 +366,20 @@ code {
font-family: inherit;
pointer-events: none;
cursor: default;
max-width: 140px;
white-space: nowrap;
overflow: hidden;
&::after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 1px;
width: 5px;
background-image: linear-gradient(to right, rgba($ui-base-color, 0), $ui-base-color);
}
}
}
}
@ -598,3 +612,7 @@ code {
display: block;
}
}
.scope-danger {
color: $warning-red;
}

View file

@ -18,3 +18,9 @@
background: url('../images/cigarmanwoman.svg') no-repeat left bottom / contain;
}
}
@media screen and (max-width: 600px) {
.account-header {
margin-top: 0;
}
}

View file

@ -206,13 +206,19 @@ body.rtl {
}
.simple_form .input-with-append .input input {
padding-left: 127px;
padding-left: 142px;
padding-right: 0;
}
.simple_form .input-with-append .append {
right: auto;
left: 0;
&::after {
right: auto;
left: 0;
background-image: linear-gradient(to left, rgba($ui-base-color, 0), $ui-base-color);
}
}
.table th,

View file

@ -307,53 +307,57 @@
.embed {
.activity-stream {
box-shadow: none;
}
}
.entry {
.entry {
.detailed-status.light {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
.detailed-status.light {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
.detailed-status__display-name {
flex: 1;
margin: 0 5px 15px 0;
}
.detailed-status__display-name {
flex: 1;
margin: 0 5px 15px 0;
.button.button-secondary.logo-button {
flex: 0 auto;
font-size: 14px;
background: $ui-highlight-color;
color: $primary-text-color;
border: 0;
svg {
width: 20px;
height: auto;
vertical-align: middle;
margin-right: 5px;
path:first-child {
fill: $primary-text-color;
}
.button.button-secondary.logo-button {
flex: 0 auto;
font-size: 14px;
svg {
width: 20px;
height: auto;
vertical-align: middle;
margin-right: 5px;
path:first-child {
fill: $ui-primary-color;
}
path:last-child {
fill: $simple-background-color;
}
}
&:active,
&:focus,
&:hover {
svg path:first-child {
fill: lighten($ui-primary-color, 4%);
}
}
path:last-child {
fill: $ui-highlight-color;
}
}
.status__content,
.detailed-status__meta {
flex: 100%;
&:active,
&:focus,
&:hover {
background: lighten($ui-highlight-color, 10%);
svg path:last-child {
fill: lighten($ui-highlight-color, 10%);
}
}
}
.status__content,
.detailed-status__meta {
flex: 100%;
}
}
}