1
0
Fork 0
forked from gitea/nas

Merge commit 'f877aa9d70' into kb_migration

This commit is contained in:
KMY 2023-05-07 14:50:12 +09:00
commit 32f0e619f0
440 changed files with 6249 additions and 3435 deletions

View file

@ -547,7 +547,7 @@ ul.rules-list {
}
}
@media (max-width: 697px) {
@media (width <= 697px) {
.email-container,
.col-1,
.col-2,

View file

@ -33,7 +33,7 @@
border-radius: 4px 4px 0 0;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
height: 200px;
}
}
@ -158,7 +158,7 @@
color: lighten($inverted-text-color, 10%);
}
@media screen and (max-width: 700px) {
@media screen and (width <= 700px) {
padding: 30px 20px;
.page {

View file

@ -1362,7 +1362,7 @@ a.sparkline {
}
}
@media screen and (max-width: 930px) {
@media screen and (width <= 930px) {
grid-template-columns: minmax(0, 1fr);
}
}
@ -1648,7 +1648,7 @@ a.sparkline {
}
}
@media screen and (max-width: 800px) {
@media screen and (width <= 800px) {
border: 0;
&__item {

View file

@ -521,7 +521,7 @@ body > [data-popper-placement] {
outline: 0;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@ -542,7 +542,7 @@ body > [data-popper-placement] {
all: unset;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
height: 100px !important; // Prevent auto-resize textarea
resize: vertical;
}
@ -1838,7 +1838,6 @@ a.account__display-name {
.status__avatar {
width: 46px;
height: 46px;
box-shadow: 0 0 0 2px $ui-base-color;
}
.muted {
@ -2468,7 +2467,7 @@ $ui-header-height: 55px;
display: none;
}
@media screen and (min-width: 320px) {
@media screen and (width >= 320px) {
.logo--wordmark {
display: block;
}
@ -2580,7 +2579,7 @@ $ui-header-height: 55px;
overflow: hidden;
}
@media screen and (min-width: 631px) {
@media screen and (width >= 631px) {
.columns-area {
padding: 0;
}
@ -2640,7 +2639,7 @@ $ui-header-height: 55px;
&:hover,
&:focus,
&:active {
@media screen and (min-width: 631px) {
@media screen and (width >= 631px) {
background: lighten($ui-base-color, 14%);
border-bottom-color: lighten($ui-base-color, 14%);
}
@ -2657,7 +2656,7 @@ $ui-header-height: 55px;
}
}
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
.tabs-bar__link {
span {
display: inline;
@ -2880,7 +2879,7 @@ $ui-header-height: 55px;
color: $darker-text-color;
}
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
padding: 40px;
}
}
@ -2990,7 +2989,7 @@ $ui-header-height: 55px;
height: 36px;
color: $dark-text-color;
@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
display: flex;
}
}
@ -3042,7 +3041,7 @@ $ui-header-height: 55px;
position: sticky;
background: $ui-base-color;
@media screen and (min-width: 600) {
@media screen and (width >= 600) {
padding: 0 40px;
}
@ -3164,6 +3163,10 @@ $ui-header-height: 55px;
}
.compose-form__highlightable {
display: flex;
flex-direction: column;
overflow: hidden;
flex: 0 1 auto;
border-radius: 4px;
transition: box-shadow 300ms linear;
@ -3310,7 +3313,7 @@ $ui-header-height: 55px;
user-select: none;
}
@media screen and (min-height: 640px) {
@media screen and (height >= 640px) {
display: block;
}
}
@ -3659,19 +3662,19 @@ $ui-header-height: 55px;
}
}
@media screen and (max-height: 810px) {
@media screen and (height <= 810px) {
.trends__item:nth-of-type(3) {
display: none;
}
}
@media screen and (max-height: 720px) {
@media screen and (height <= 720px) {
.trends__item:nth-of-type(2) {
display: none;
}
}
@media screen and (max-height: 670px) {
@media screen and (height <= 670px) {
display: none;
}
@ -3755,7 +3758,7 @@ $ui-header-height: 55px;
margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@ -3858,6 +3861,10 @@ a.status-card {
}
.status-card-video {
// Firefox has a bug where frameborder=0 iframes add some extra blank space
// see https://bugzilla.mozilla.org/show_bug.cgi?id=155174
overflow: hidden;
iframe {
width: 100%;
height: 100%;
@ -4555,7 +4562,7 @@ a.status-card.compact:hover {
background: lighten($ui-base-color, 4%);
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@ -5910,7 +5917,7 @@ a.status-card.compact:hover {
font-weight: 700;
margin-bottom: 15px;
@media screen and (max-height: 800px) {
@media screen and (height <= 800px) {
font-size: 22px;
}
}
@ -6097,7 +6104,7 @@ a.status-card.compact:hover {
display: flex;
border-top: 1px solid $ui-secondary-color;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
flex-wrap: wrap;
overflow-y: auto;
}
@ -6108,7 +6115,7 @@ a.status-card.compact:hover {
box-sizing: border-box;
width: 50%;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
width: 100%;
}
}
@ -6130,13 +6137,13 @@ a.status-card.compact:hover {
color: $inverted-text-color;
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 10vh;
}
}
.focal-point-modal__content {
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 40vh;
}
}
@ -6187,7 +6194,7 @@ a.status-card.compact:hover {
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
padding: 10px;
max-width: 100%;
order: 2;
@ -6405,30 +6412,25 @@ a.status-card.compact:hover {
z-index: 9999;
}
.media-gallery__gifv__label {
display: block;
.media-gallery__item__badges {
position: absolute;
color: $primary-text-color;
background: rgba($base-overlay-background, 0.5);
bottom: 6px;
inset-inline-start: 6px;
padding: 2px 6px;
border-radius: 2px;
font-size: 11px;
font-weight: 600;
z-index: 1;
pointer-events: none;
opacity: 0.9;
transition: opacity 0.1s ease;
line-height: 18px;
display: flex;
gap: 2px;
}
.media-gallery__gifv {
&:hover {
.media-gallery__gifv__label {
opacity: 1;
}
}
.media-gallery__gifv__label {
display: block;
color: $white;
background: rgba($black, 0.65);
padding: 2px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 700;
z-index: 1;
pointer-events: none;
line-height: 18px;
}
.attachment-list {
@ -6503,17 +6505,28 @@ a.status-card.compact:hover {
position: relative;
width: 100%;
min-height: 64px;
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 50% 50%;
gap: 2px;
}
.media-gallery__item {
border: 0;
box-sizing: border-box;
display: block;
float: left;
position: relative;
border-radius: 4px;
overflow: hidden;
&--tall {
grid-row: span 2;
}
&--wide {
grid-column: span 2;
}
&.standalone {
.media-gallery__item-gifv-thumbnail {
transform: none;
@ -7217,7 +7230,7 @@ noscript {
}
}
@media screen and (max-width: 630px) and (max-height: 400px) {
@media screen and (width <= 630px) and (height <= 400px) {
$duration: 400ms;
$delay: 100ms;
@ -7347,7 +7360,7 @@ noscript {
background: lighten($ui-base-color, 4%);
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@ -7438,7 +7451,7 @@ noscript {
width: 380px;
overflow: hidden;
@media screen and (max-width: 420px) {
@media screen and (width <= 420px) {
width: 90%;
}
@ -7493,7 +7506,7 @@ noscript {
width: 380px;
overflow: hidden;
@media screen and (max-width: 420px) {
@media screen and (width <= 420px) {
width: 90%;
}
@ -7592,7 +7605,7 @@ noscript {
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
img,
video {
max-height: 100%;
@ -8412,6 +8425,7 @@ noscript {
font-weight: 500;
cursor: pointer;
color: $darker-text-color;
aspect-ratio: 16 / 9;
i {
display: block;
@ -9150,7 +9164,7 @@ noscript {
margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
display: block;
h4 {

View file

@ -2,7 +2,7 @@
width: 700px;
margin: 0 auto;
@media screen and (max-width: 740px) {
@media screen and (width <= 740px) {
width: 100%;
margin: 0;
}
@ -44,7 +44,7 @@
margin-top: 40px;
box-sizing: border-box;
@media screen and (max-width: 400px) {
@media screen and (width <= 400px) {
width: 100%;
margin-top: 0;
padding: 20px;
@ -64,7 +64,7 @@
margin-bottom: 10px;
border-bottom: 1px solid $ui-base-color;
@media screen and (max-width: 440px) {
@media screen and (width <= 440px) {
width: 100%;
margin: 0;
padding: 20px;

View file

@ -59,7 +59,7 @@
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
grid-gap: 10px;
@media screen and (max-width: 1350px) {
@media screen and (width <= 1350px) {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

View file

@ -722,7 +722,7 @@ code {
}
}
@media screen and (max-width: 740px) and (min-width: 441px) {
@media screen and (440px < width <= 740px) {
margin-top: 40px;
}

View file

@ -30,7 +30,7 @@
}
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
.account-header {
margin-top: 0;
}

View file

@ -63,7 +63,7 @@
}
}
@media screen and (max-width: 740px) {
@media screen and (width <= 740px) {
.detailed-status,
.status,
.load-more {

View file

@ -362,7 +362,7 @@ a.table-action-link {
}
}
@media screen and (max-width: 870px) {
@media screen and (width <= 870px) {
.accounts-table tbody td.optional {
display: none;
}