Files
easy-slides/dist-cli/theme/styles/presenter.css
T

144 lines
2.8 KiB
CSS

.easy-presenter-gate {
position: fixed;
inset: 0;
z-index: 2147483646;
display: none;
width: 100vw;
height: 100dvh;
max-width: none;
max-height: none;
margin: 0;
border: 0;
padding: 0;
place-items: center;
overflow: auto;
background: #f6f5f2;
color: #222;
font-family: Lato, "Noto Sans SC", "PingFang SC", sans-serif;
}
.easy-presenter-gate[open] {
display: grid;
}
.easy-presenter-gate::backdrop {
background: #f6f5f2;
}
body.easy-presenter-locked {
overflow: hidden;
}
.easy-presenter-dialog {
width: min(440px, calc(100vw - 40px));
border: 1px solid #d8d4d7;
border-top: 4px solid var(--easy-accent);
border-radius: 9px;
background: #fff;
padding: 34px;
box-shadow: 0 20px 70px rgba(45, 26, 42, .14);
}
.easy-presenter-dialog h1 {
margin: 0 0 10px;
font-size: 30px;
}
.easy-presenter-dialog p {
color: #666;
line-height: 1.55;
}
.easy-presenter-dialog form {
display: flex;
gap: 10px;
margin-top: 24px;
}
.easy-presenter-dialog input {
min-width: 0;
flex: 1;
border: 1px solid #aaa;
border-radius: 6px;
padding: 11px 12px;
font: inherit;
}
.easy-presenter-dialog button,
.easy-presenter-tools button,
.easy-presenter-launcher {
border: 0;
border-radius: 6px;
background: var(--easy-accent);
color: #fff;
padding: 10px 14px;
font: 600 14px/1.1 Lato, "Noto Sans SC", sans-serif;
cursor: pointer;
}
.easy-presenter-error {
color: #a21d32 !important;
font-weight: 600;
}
.easy-presenter-launcher {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 60;
opacity: .22;
transition: opacity .16s ease;
}
.easy-presenter-launcher:hover,
.easy-presenter-launcher:focus-visible {
opacity: 1;
}
.easy-presenter-tools {
position: fixed;
top: 12px;
right: 12px;
z-index: 1000;
display: flex;
gap: 6px;
padding: 6px;
border: 1px solid #d4d0d3;
border-radius: 8px;
background: rgba(255, 255, 255, .94);
box-shadow: 0 5px 22px rgba(0, 0, 0, .12);
}
.easy-presenter-tools button {
min-width: 34px;
background: #eee9ed;
color: #351231;
padding: 8px 10px;
}
.easy-presenter-tools button:last-child {
background: #5d1357;
color: #fff;
}
@media (max-width: 680px) {
.easy-presenter-tools {
right: auto;
left: 12px;
}
}
body.easy-presenter-active :is(.presenter-notes, [class*="presenter"] [class*="notes"], [class*="presenter"] [class*="note"] p) {
font-size: var(--easy-presenter-note-size) !important;
line-height: 1.65 !important;
}
body.easy-notes-contrast :is(.presenter-notes, [class*="presenter"] [class*="notes"], [class*="presenter"] [class*="note"]) {
background: #050505 !important;
color: #fff !important;
}
body.easy-notes-contrast :is(.presenter-notes, [class*="presenter"] [class*="notes"], [class*="presenter"] [class*="note"]) * {
color: inherit !important;
}