a1a9a57048
split functionality to 3 different stylesheets
281 lines
4.8 KiB
SCSS
281 lines
4.8 KiB
SCSS
@import url(mobile-style.css);
|
|
@import url(mid-screen-style.css);
|
|
@import url(lg-screen-style.css);
|
|
@import url(sidebar-style.css);
|
|
// Set up the global font styles
|
|
@import url(fontawesome-all.min.css);
|
|
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700");
|
|
/* Global style settings */
|
|
|
|
#previewBtn.active,
|
|
#show-hide-btn.active,
|
|
.ref-list button.active,
|
|
#open-ref.active,
|
|
#mobile-open-ref.active {
|
|
background-color: var(--primary) !important;
|
|
color: var(--light) !important;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
#save-check {
|
|
color: var(--success);
|
|
opacity: 0;
|
|
font-size: 20pt;
|
|
margin-left: 15px;
|
|
|
|
&.saving {
|
|
color: var(--warning);
|
|
opacity: 1;
|
|
}
|
|
|
|
&.error {
|
|
color: var(--error);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
#ui-datepicker-div {
|
|
z-index: 11 !important;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto Slab', 'Open Sans', sans-serif !important;
|
|
background-color: var(--background);
|
|
color: var(--text);
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
color: var(--text);
|
|
font-family: 'Roboto Slab', serif;
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
margin: 0 0 1.5em 0;
|
|
}
|
|
h2 {
|
|
font-size: 1.5em;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tab button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 80px;
|
|
width: 60px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
-moz-appearance: none;
|
|
-webkit-appearance: none;
|
|
-ms-appearance: none;
|
|
appearance: none;
|
|
-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
|
-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
|
-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
|
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
|
background-color: transparent;
|
|
border-radius: 0.5em;
|
|
border: 0;
|
|
box-shadow: inset 0 0 0 2px var(--primary);
|
|
color: var(--primary) !important;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-family: "Roboto Slab", serif;
|
|
font-size: 0.8em;
|
|
font-weight: 700;
|
|
height: 3em;
|
|
letter-spacing: 0.075em;
|
|
line-height: 3em;
|
|
padding: 0 2em;
|
|
// min-width: 30px;
|
|
// max-width: 60px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
button.button i {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.input-warning {
|
|
border: solid 2px var(--warning) !important;
|
|
}
|
|
|
|
.input-error {
|
|
border: solid 2px var(--error) !important;
|
|
}
|
|
|
|
.ref-btn-header { grid-area: ref-btn-header; }
|
|
|
|
.ref-btn {
|
|
grid-area: ref-btn;
|
|
|
|
.ref-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
height: 100vh;
|
|
padding: 1px;
|
|
margin: 1px;
|
|
list-style: none;
|
|
}
|
|
}
|
|
|
|
.ref-text {
|
|
grid-area: ref-text;
|
|
|
|
display: block;
|
|
overflow-y: scroll;
|
|
// width: 100%;
|
|
border: var(--border) solid 1px;
|
|
border-radius: 10px;
|
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
|
|
z-index: 1;
|
|
// position: relative;
|
|
|
|
h2 {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#refQuery {
|
|
position: fixed;
|
|
background-color: var(--background);
|
|
z-index: 999;
|
|
width: 400px;
|
|
height: 200px;
|
|
border: solid 2px var(--border);
|
|
border-radius: 10px;
|
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
|
|
margin: 10px 50px;
|
|
padding: 5px;
|
|
}
|
|
|
|
#chapter-range, #verse-range {
|
|
color: var(--text);
|
|
}
|
|
|
|
.note-header {
|
|
grid-area: note-header;
|
|
}
|
|
|
|
.notes {
|
|
z-index: 10;
|
|
}
|
|
|
|
#notePreview {
|
|
display: none;
|
|
z-index: 9;
|
|
}
|
|
|
|
.ref-header {
|
|
grid-area: ref-header;
|
|
}
|
|
|
|
/** drowndown button */
|
|
.dropdown {
|
|
position: relative;
|
|
// height: 20px;
|
|
}
|
|
|
|
.dropdown select {
|
|
background-color: var(--background);
|
|
color: var(--text);
|
|
|
|
option:hover {
|
|
background-color: var(--primary);
|
|
color: var(--text);
|
|
}
|
|
}
|
|
|
|
/* slider switch */
|
|
/* The switch - the box around the slider */
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 42px;
|
|
height: 24px;
|
|
}
|
|
|
|
/* Hide default HTML checkbox */
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
/* The slider */
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
-webkit-transition: .5s;
|
|
transition: .5s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: white;
|
|
-webkit-transition: 0.5s;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
input:focus + .slider {
|
|
box-shadow: 0 0 1px var(--primary);
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
-webkit-transform: translateX(18px);
|
|
-ms-transform: translateX(18px);
|
|
transform: translateX(18px);
|
|
}
|
|
|
|
/* Rounded sliders */
|
|
.slider.round {
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#refQuery, #passage-popup, #modal-backdrop, #modal-container {
|
|
display: none;
|
|
}
|
|
|
|
h2.dirty {
|
|
color: darkorange;
|
|
}
|
|
|
|
textarea {
|
|
padding: 0.75em 1em;
|
|
}
|
|
|
|
#note-table a, #note-table a:active {
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
} |