sermon-notes/public/css/style.scss
2024-07-02 01:33:24 -04:00

298 lines
4.3 KiB
SCSS

/* Style for the 3-column layout */
body {
margin: 0;
}
/* Style for hamburger menu */
.inner {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: stretch;
align-content: flex-start;
max-width: 1060px;
/* Adjust to your desired width */
margin: 0 auto;
}
.ref-tab {
width: 60px;
padding-top: 55px !important;
}
.ref-tab ul {
margin: 0;
padding: 0;
}
.ref-tab ul li {
list-style: none;
list-style-type: none;
}
.tab {
margin-bottom: 3px;
}
/**/
.tab button {
display: flex;
justify-content: center;
align-items: center;
height: 80px;
width: 100%;
text-align: center;
font-size: 14px;
margin-bottom: 3px;
}
.ref {
width: 36%;
}
.ref>div#ref {
vertical-align: top;
justify-content: flex-start;
align-content: flex-start;
overflow-y: scroll;
width: 100%;
height: 100%;
border: black solid 1px;
border-radius: 3px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
#ref {
padding: 3px 3px 3px 3px;
}
#passage {
width: 100px;
}
#newSpeaker {
display: none;
width: 110px;
}
#newSeries {
display: none;
width: 110px;
}
#fields-container {
display: none;
}
#fields-container.show {
display: block;
}
.notes {
width: 57%
}
textarea#notes {
width: 100%;
height: 100%;
font-size: 14pt;
}
#notePreview {
display: none;
overflow-x: scroll;
padding-left: 10px;
}
#notePreview ul,
#notePreview ol {
list-style-position: inside;
}
#previewBtn.active,
#show-hide-btn.active,
.tab button.active,
#openRefBtn.active {
background-color: #f56a6a !important;
color: white !important;
}
#note-header-left {
display: inline-flex;
flex-direction: row;
width: 25%;
}
#note-header-right {
display: inline-flex;
flex-direction: row-reverse;
width: 74%;
}
#note-header-left h2.dirty {
color: darkorange;
}
#note-list {
display: none;
height: 100%;
overflow-y: scroll;
}
#note-list ul {
margin: 0;
padding: 0;
list-style-type: none;
list-style: none;
}
div#refQuery {
display: none;
position: absolute;
z-index: 100;
background-color: rgba(0, 0, 0, 0.8);
width: 400px;
height: 200px;
}
div#refQuery #referenceSearch {
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
line-height: 1.5;
color: #333;
background-color: #f4f4f4;
width: 150px;
height: 25px;
cursor: pointer;
display: none;
}
#passage-popup {
display: none;
position: absolute;
z-index: 100;
background-color: #fff;
color: black;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
width: 300px;
height: 300px;
overflow-x: scroll;
}
#save-check {
opacity: 0;
text-align: right;
font-size: 20pt;
margin-left: 15px;
color: green;
}
#save-check.saving {
color: orange;
}
#save-check.error {
color: red;
}
#fields-container input,
#fields-container select {
width: 32.5%;
display: inline-block;
}
#old-notes article p:first-child {
margin-bottom: 0 !important;
font-size: 10pt;
}
#old-notes article a {
font-size: 12pt;
}
#old-notes article p:last-child {
font-size: 12pt;
}
.inner {
padding-left: 0;
}
.ref h2 {
display: inline-block;
}
#ref {
font-size: 12pt;
}
#ref ol,
#ref ul {
list-style-position: inside;
}
#referenceBook {
display: none;
}
.recording-link {
font-size: 8pt;
color: blue;
text-decoration: none;
}
.fas-trash-alt {
color: red;
cursor: pointer;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #000;
opacity: 0.5;
z-index: 1000;
}
.modal-container {
position: absolute;
width: 300px;
/* adjust this to your desired modal width */
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
z-index: 1001;
}
.modal-header {
background-color: #f5f5f5;
padding: 10px;
border-bottom: 1px solid #ddd;
}
.modal-body {
padding: 20px;
}
.modal-footer {
background-color: #f5f5f5;
padding: 10px;
border-top: 1px solid #ddd;
}
.btn-secondary {
color: #337ab7;
}