1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00
FrankerFaceZ/styles/dialog.scss
SirStendec 62bb6440f3 4.14.0
* Added: Profiles can now be toggled on and off, rather than relying on rules to control them.
* Added: Right-clicking the FFZ menu button in the top right of the page will open a Profiles dialog, letting you quickly toggle a profile on or off.
* Added: Profiles can now be enabled or disabled based upon the time of day.
* Added: Polish and Serbian pluralization rules.
* Fixed: Ensure tool-tips work on the new dashboard.
* Fixed: Ensure the FFZ Control Center works on the new dashboard.
2019-10-09 16:02:25 -04:00

70 lines
No EOL
812 B
SCSS

.ffz-dialog {
&:not(.maximized) {
position: absolute;
top: 25%;
left: 25%;
z-index: 99999999;
height: 50vh;
width: 50vw;
min-width: 640px;
min-height: 300px;
> header {
cursor: move;
}
&.faded {
opacity: 0.5;
&:hover {
opacity: 0.75;
}
}
}
&.maximized {
position: absolute;
top: 0 !important;
left: 0 !important;
width: 100%;
height: 100%;
&, .tw-root--theme-dark & {
border: none !important;
}
> header {
cursor: default;
padding: .9rem 3rem;
}
}
&.exclusive {
z-index: 1000;
}
.want-ps {
overflow-y: auto;
}
> header {
user-select: none;
padding: .9rem 1rem .9rem 2rem;
.tw-search-input {
max-width: 40rem
}
}
}
.ffz-has-dialog {
position: relative;
& > :not(.ffz-dialog) {
visibility: hidden;
}
}