2018-07-24 16:11:02 -04:00
|
|
|
.ffz-dialog {
|
2017-11-13 01:23:39 -05:00
|
|
|
&:not(.maximized) {
|
|
|
|
position: absolute;
|
|
|
|
top: 25%;
|
|
|
|
left: 25%;
|
|
|
|
|
|
|
|
z-index: 99999999;
|
|
|
|
|
2021-03-20 18:47:12 -04:00
|
|
|
--width: #{"min(75vw, 128rem)"};
|
|
|
|
--height: #{"min(75vh, calc(0.75 * var(--width)))"};
|
|
|
|
|
|
|
|
top: #{"calc(calc(100vh - var(--height)) / 2)"};
|
|
|
|
left: #{"calc(calc(100vw - var(--width)) / 2)"};
|
2017-11-13 01:23:39 -05:00
|
|
|
|
2021-03-12 20:16:39 -05:00
|
|
|
min-width: 64rem;
|
|
|
|
min-height: 30rem;
|
|
|
|
|
2021-03-21 12:50:45 -04:00
|
|
|
max-width: 75vw;
|
|
|
|
max-height: 75vh;
|
|
|
|
|
2021-03-12 20:16:39 -05:00
|
|
|
width: 75vw;
|
|
|
|
width: var(--width);
|
|
|
|
|
|
|
|
height: 50vh;
|
2021-03-20 18:47:12 -04:00
|
|
|
height: var(--height);
|
2017-11-13 01:23:39 -05:00
|
|
|
|
2023-09-26 17:40:25 -04:00
|
|
|
border-radius: var(--border-radius-extra-large);
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
> header {
|
|
|
|
cursor: move;
|
2023-09-26 17:40:25 -04:00
|
|
|
border-top-left-radius: var(--border-radius-extra-large);
|
|
|
|
border-top-right-radius: var(--border-radius-extra-large);
|
2017-11-13 01:23:39 -05:00
|
|
|
}
|
2018-07-05 20:27:17 -04:00
|
|
|
|
|
|
|
&.faded {
|
2018-07-09 21:35:31 -04:00
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
2018-07-05 20:27:17 -04:00
|
|
|
}
|
2017-11-13 01:23:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.maximized {
|
2017-11-13 16:28:17 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
2018-11-12 13:34:53 -05:00
|
|
|
&, .tw-root--theme-dark & {
|
2017-11-15 22:00:49 -05:00
|
|
|
border: none !important;
|
|
|
|
}
|
2017-11-13 01:23:39 -05:00
|
|
|
|
|
|
|
> header {
|
|
|
|
cursor: default;
|
2017-11-15 22:00:49 -05:00
|
|
|
padding: .9rem 3rem;
|
2017-11-13 01:23:39 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-22 19:09:28 +01:00
|
|
|
&.exclusive {
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
.want-ps {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
> header {
|
|
|
|
user-select: none;
|
2017-11-15 22:00:49 -05:00
|
|
|
padding: .9rem 1rem .9rem 2rem;
|
2017-11-13 01:23:39 -05:00
|
|
|
|
|
|
|
.tw-search-input {
|
|
|
|
max-width: 40rem
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-09 16:02:25 -04:00
|
|
|
.ffz-has-dialog {
|
|
|
|
position: relative;
|
2017-11-13 01:23:39 -05:00
|
|
|
|
4.55.2
* Fixed: Do not set `src` for images on Firefox, since that causes animations to reset when a new image is added to the DOM with the same `src`. For some reason. Thanks, Firefox.
* Fixed: The FFZ Control Center, Emote Cards, and Link Cards are now all aware of each other in a limited sense. The most recently interacted-with window will appear on top of the others.
* Fixed: Channel page links not having enhanced tool-tip preview support. (Still no link cards when you click them, but it's a start.)
* Developer: Made it so the Link Tester in Debugging > Data Sources will properly open link cards, as long as you have link cards enabled.
* API Added: Update to the latest FFZ rich tokens format, which has a new `i18n_select` token. This allows, for example, the link preview service to return multiple languages of titles and descriptions for a YouTube video so that your client can pick the best one to display.
* Experiment Changed: The "API-Based Link Lookups" experiment now has a third option that uses Cloudflare Workers. It's set very low while I try to gauge how much traffic it would see, and if this is a viable option.
2023-10-09 19:25:29 -04:00
|
|
|
& > :not(.ffz-dialog):not(.ffz__tooltip):not(.ffz-viewer-card) {
|
2019-10-09 16:02:25 -04:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2017-11-13 01:23:39 -05:00
|
|
|
}
|