church-notes/public/css/style.scss
2024-05-01 00:10:54 -04:00

261 lines
4.1 KiB
SCSS

/* Style for the 3-column layout */
body {
margin: 0;
}
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: stretch;
align-content: flex-start;
max-width: 1020px;
/* Adjust to your desired width */
margin: 0 auto;
}
.top-tab {
height: 50px;
width: 100%;
}
/* Style for hamburger menu */
.hamburger {
display: flex;
justify-content: space-between;
align-items: center;
margin: 15px 0 15px 15px;
border: black solid 1px;
cursor: pointer;
border-radius: 5px;
width: 20px;
height: 20px;
padding: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.fa-check {
color: green;
}
.fa-bars:before,
.fa-navicon:before {
padding: 3px;
}
// Display the menu links
ul.menu-open {
display: block !important;
background-color: #f9c74d;
padding: 10px;
z-index: 100;
list-style: none;
list-style-type: none;
position: fixed;
}
.ref-tab {
width: 60px;
}
/**/
.tab button {
display: flex;
justify-content: center;
align-items: center;
height: 100px;
width: 100%;
text-align: center;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 3px;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.8);
font-size: 14px;
&:hover {
background-color: #3e8e41;
}
}
.ref-tab ul {
margin: 0;
padding: 0;
}
.ref-tab ul li {
list-style: none;
list-style-type: none;
}
.ref {
width: 35%;
}
.ref>div#ref {
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);
}
#passage {
width: 100px;
}
#newSpeaker {
display: none;
width: 110px;
}
#newSeries {
display: none;
width: 110px;
}
#noteSearch {
display: none;
}
#fields-container {
display: none;
}
#show-hide-btn {
position: absolute;
}
.button {
top: 10px;
right: 20px;
font-size: 16px;
cursor: pointer;
background-color: #4CAF50;
/* green */
color: #fff;
/* white */
border: none;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
padding: 5px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
&:hover {
background-color: #3e8e41;
/* darker green */
}
&::before {
font-size: 16px;
cursor: pointer;
}
}
.button::before {
font-size: 16px;
cursor: pointer;
transition: transform 0.5s ease-in-out;
}
.button:hover::before {
transform: translateY(-10px);
}
#fields-container.show {
display: block;
}
.notes {
width: 55%
}
textarea#notes {
width: 100%;
height: 100%;
font-size: 14pt;
}
#notePreview {
display: none;
overflow-x: scroll;
}
#note-header-left,
#note-header-right {
display: inline-flex;
flex-direction: row;
width: 49%;
}
#note-header-right {
flex-direction: row-reverse !important;
}
#note-header-left h2.dirty {
color: darkorange;
}
#note-list {
display: none;
}
#note-list ul {
margin: 0;
padding: 0;
list-style-type: none;
list-style: none;
}
.noteListLinks {
cursor: pointer;
text-decoration: none;
color: purple;
font-weight: bold;
font-size: 16px;
}
div#refQuery {
display: none;
position: absolute;
z-index: 100;
background-color: rgba(0, 0, 0, 0.5);
}
div#refQuery #search {
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;
}
#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;
}