Files
sermon-notes/assets/css/mid-screen-style.css
T
2026-06-13 12:10:40 -04:00

162 lines
3.8 KiB
CSS

@media screen and (min-width: 1051px) and (max-width: 1500px) {
:root {
--sidebar-width: 20em;
--sidebar-header-width: 15em;
--hidden-sidebar-width: -20em;
--hidden-sidebar-header-width: -15em;
}
.mobile-note-header, #note-list {
display: none;
}
.container #sidebar-link.toggle {
left: 20em;
}
.container {
position: relative;
height: 100vh;
overflow-x: hidden;
display: grid;
grid-template-columns: 60px 35% 0.95fr;
grid-template-rows: 60px 1fr;
gap: 5px 5px;
grid-auto-flow: row;
grid-template-areas: "ref-btn-header ref-header note-header" "ref-btn ref-text notes";
}
.container #sidebar-header, .container #sidebar {
position: absolute;
left: 0;
z-index: 10000;
transition: left 0.5s ease-in-out;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
box-sizing: border-box;
}
.container #sidebar-header {
top: 0;
width: calc(var(--sidebar-header-width) + 40px);
height: 60px;
padding: 0 !important;
overflow: visible !important;
}
.container #sidebar {
top: 61px;
width: var(--sidebar-width);
height: calc(100vh - 61px);
padding: 15px;
}
.container #sidebar .inner {
width: 100%;
}
.container #sidebar-header #search {
padding: 19px;
width: 15em !important;
}
.container #sidebar-link.toggle {
left: calc(var(--sidebar-header-width) + 40px);
}
.container.sidebar-collapsed #sidebar {
left: var(--hidden-sidebar-width);
box-shadow: none;
}
.container.sidebar-collapsed #sidebar-header {
left: calc(var(--hidden-sidebar-header-width) - 40px);
box-shadow: none;
}
.container .fields-container {
display: none;
}
.bottom-row {
height: calc(100vh - 75px);
}
.notes {
display: flex;
flex-direction: column;
grid-template-columns: 1fr;
grid-template-rows: 75px 1fr;
gap: 2px 0px;
grid-template-areas: "fields-container" "note-text";
grid-area: notes;
}
.notes .fields-container {
justify-content: space-evenly;
flex-wrap: wrap;
width: 99.5%;
}
.notes .fields-container input[type=text], .notes .fields-container select {
background-color: var(--background);
color: var(--text);
height: 1.5em;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border-radius: 0.375em;
border: solid 1px var(--dark);
outline: 0;
padding: 0 1em;
text-decoration: none;
font-size: 14pt;
font-weight: 400;
line-height: 1.65;
flex-basis: auto;
flex-grow: 1;
flex-shrink: 1;
min-width: 50px;
max-width: 200px;
}
.notes .note-text {
height: 100%;
width: 98.5%;
}
.notes .note-text textarea {
height: -webkit-fill-available;
height: -moz-available;
height: stretch;
width: 95.5%;
border-radius: 10px;
background-color: transparent;
color: var(--text);
font-family: "Roboto Sans";
}
.note-header, .ref-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.note-header h2, .ref-header h2 {
margin: 0;
}
.note-header select, .ref-header select {
background-color: var(--background);
color: var(--text);
height: 1.5em;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border-radius: 0.375em;
border: solid 1px var(--dark);
outline: 0;
padding: 0 1em;
text-decoration: none;
font-size: 14pt;
font-weight: 400;
line-height: 1.65;
flex-basis: auto;
flex-grow: 1;
flex-shrink: 2;
min-width: 50px;
max-width: 200px;
margin-right: 3px;
}
input#query {
font-size: 10pt !important;
padding: 0 !important;
}
#old-notes {
padding: 15px !important;
}
#menu {
padding: 15px !important;
}
#sidebar header.major {
margin: 0 15px !important;
}
}/*# sourceMappingURL=mid-screen-style.css.map */