Design patch 6 (#1285)

* Adjust embedded file width in comment section

* Fix design issues
This commit is contained in:
Rave | 図書館猫 2022-04-05 16:02:32 +02:00 committed by GitHub
parent aad06cdde0
commit 63079638a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 6 deletions

View file

@ -764,7 +764,7 @@
.claim-upload__progress--inner-text { .claim-upload__progress--inner-text {
position: absolute; position: absolute;
color: var(--color-primary-contrast); color: var(--color-text);
width: 80%; width: 80%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
@ -1286,6 +1286,25 @@ $claim-preview-progress-bar-height: 5px;
} }
} }
} }
.button--file-action {
width: auto;
max-width: 25.59px;
transition: max-width 0.1s;
padding: 0.3rem !important;
.button__label {
margin-top: 0;
padding-top: 0px;
margin-bottom: -4px;
margin-left: var(--spacing-xxs);
text-overflow: hidden;
}
&:hover {
width: auto;
max-width: 60px;
}
}
} }
.claim-preview__active { .claim-preview__active {
@ -1299,8 +1318,8 @@ $claim-preview-progress-bar-height: 5px;
.claim-preview:not(.claim-preview--collection-mine):before { .claim-preview:not(.claim-preview--collection-mine):before {
position: absolute; position: absolute;
top: -5px; top: 0px;
left: 78px; left: 68px;
content: ''; content: '';
z-index: 1; z-index: 1;
font-size: 4.6rem; font-size: 4.6rem;

View file

@ -83,6 +83,7 @@
.filePrice__key { .filePrice__key {
@extend .filePrice; @extend .filePrice;
color: var(--color-gray-5); color: var(--color-gray-5);
top: 0;
.icon { .icon {
fill: white; fill: white;

View file

@ -66,8 +66,16 @@
} }
.claim-preview__wrapper { .claim-preview__wrapper {
padding-top: 0;
.claim-preview-info {
padding-top: var(--spacing-s);
}
.claim__menu-button {
right: var(--spacing-xxs) !important;
}
&:hover { &:hover {
background-color: unset; // background-color: unset;
} }
} }

View file

@ -187,8 +187,9 @@ $control-bar-icon-size: 0.8rem;
.vjs-mouse-display { .vjs-mouse-display {
color: white !important; color: white !important;
background-color: lightgrey !important; background-color: lightgrey !important;
width: 8px !important; background-color: white !important;
margin-left: -5px !important; // width: 8px !important;
// margin-left: -5px !important;
} }
.vjs_video_3_ima-ad-container { .vjs_video_3_ima-ad-container {

View file

@ -1217,6 +1217,10 @@ img {
margin-bottom: -1px !important; margin-bottom: -1px !important;
// margin-left:2px !important; // margin-left:2px !important;
} }
.claim-link {
width: 40%;
margin-top: var(--spacing-xs);
}
} }
.hide-ribbon { .hide-ribbon {
.claim-tile__repost-author { .claim-tile__repost-author {
@ -1257,6 +1261,12 @@ a {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} }
.video-js .vjs-volume-level {
&::before {
color: white !important;
}
}
// Temporary fix for focus-visible // Temporary fix for focus-visible
*:focus-visible:not(.modal):not(.card):not(.wunderbar__input):not(.menu__list):not(.menu__list--header):not(.button--secondary):not(.button-like):not(.button-dislike):not(select):not(input):not(textarea):not(video):not([data-reach-tab-panels]):not([data-reach-tabs]):not([data-reach-tab-panel]):not(.CodeMirror-code):not(.MuiModal-root):not(.MuiPaper-root):not(.card):not(#onetrust-banner-sdk) { *:focus-visible:not(.modal):not(.card):not(.wunderbar__input):not(.menu__list):not(.menu__list--header):not(.button--secondary):not(.button-like):not(.button-dislike):not(select):not(input):not(textarea):not(video):not([data-reach-tab-panels]):not([data-reach-tabs]):not([data-reach-tab-panel]):not(.CodeMirror-code):not(.MuiModal-root):not(.MuiPaper-root):not(.card):not(#onetrust-banner-sdk) {
background-color: rgba(var(--color-primary-dynamic), 0.2) !important; background-color: rgba(var(--color-primary-dynamic), 0.2) !important;