De huidige gebedssectie is verplaatst naar de onderkant van het scherm met absolute positionering. De oude `huidig-gebed` CSS is verwijderd en vervangen door de nieuwe `huidig-gebed-bottom` klasse. Dit zorgt voor een consistentere en responsieve gebruikersinterface. Daarnaast zijn flexbox layouts geïntroduceerd om de tijds- en weersinformatie naast elkaar weer te geven, waardoor de interface op verschillende schermformaten beter functioneert. JavaScript is bijgewerkt om de juiste klasse te selecteren voor de naamweergave in de countdown.
1295 lines
24 KiB
CSS
1295 lines
24 KiB
CSS
@import url('colors.css');
|
|
|
|
:root {
|
|
--panel-radius: 0rem;
|
|
--panel-shadow: var(--shadow);
|
|
--tijdkleur-light: var(--text-primary-light);
|
|
--tijdkleur-dark: var(--text-primary-dark);
|
|
--icoon-light: var(--text-primary-light);
|
|
--icoon-dark: var(--text-primary-dark);
|
|
}
|
|
|
|
html.light {
|
|
--bg: var(--bg-light);
|
|
--text: var(--text-primary-light);
|
|
--weather-temp: var(--text-primary-light);
|
|
--panel-bg: var(--panel-bg-light);
|
|
--panel-text: var(--text-primary-light);
|
|
--accent: var(--accent-blue);
|
|
--accent-blue: #f0f0f0;
|
|
--panel-border: var(--border-light);
|
|
--list-bg: var(--bg-light);
|
|
--list-border: var(--border-light);
|
|
--active-bg: var(--active-bg-light);
|
|
--tijdkleur: var(--tijdkleur-light);
|
|
--icoon-kleur: var(--icoon-light);
|
|
--card-bg: var(--white);
|
|
--border-color: var(--border-light);
|
|
--primary-color: var(--accent-blue);
|
|
--text-color: var(--text-primary-light);
|
|
--text-secondary: var(--text-secondary-light);
|
|
}
|
|
|
|
html.dark, body.dark {
|
|
--bg: var(--bg-dark);
|
|
--text: var(--text-primary-dark);
|
|
--panel-bg: var(--panel-bg-dark);
|
|
--panel-text: var(--text-primary-dark);
|
|
--accent: var(--white);
|
|
--accent-blue: var(--text-primary-light);
|
|
--panel-border: var(--text-primary-light);
|
|
--list-bg: var(--white-10);
|
|
--list-border: var(--text-primary-light);
|
|
--active-bg: var(--active-bg-dark);
|
|
--tijdkleur: var(--tijdkleur-dark);
|
|
--icoon-kleur: var(--icoon-dark);
|
|
--card-bg: var(--white-10);
|
|
--border-color: var(--border-dark);
|
|
--primary-color: var(--white);
|
|
--text-color: var(--text-primary-dark);
|
|
--text-secondary: var(--text-secondary-dark);
|
|
}
|
|
|
|
body, html {
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
background-color: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Specifieke styling voor settings pagina */
|
|
body.settings-page {
|
|
overflow-y: auto;
|
|
height: auto;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.left {
|
|
flex: 1;
|
|
background: url('/static/moskee.png') center/cover no-repeat;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.overlay {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
color: #fff;
|
|
flex: 1;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
gap: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
.tijdstip {
|
|
margin-bottom: 2rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.tijdstip #current-time {
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
font-size: 6rem;
|
|
font-weight: bold;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 0.5rem;
|
|
color: #fff;
|
|
text-shadow: 2px 2px 8px #000;
|
|
}
|
|
|
|
.tijdstip .datum {
|
|
font-size: 1.5rem;
|
|
color: #e0e6ed;
|
|
}
|
|
|
|
.datum-sectie {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.gregorian-datum {
|
|
font-size: 1.4rem;
|
|
color: #e0e6ed;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.hijri-datum-arabic {
|
|
font-size: 1.3rem;
|
|
color: var(--accent);
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
font-weight: 600;
|
|
direction: rtl;
|
|
text-align: left;
|
|
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.hijri-datum-dutch {
|
|
font-size: 1.1rem;
|
|
color: #c0c6d0;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
font-weight: 300;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Hadith sectie in linker overlay */
|
|
.hadith-section {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 2rem 0;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.hadith-section blockquote {
|
|
font-style: italic;
|
|
font-size: 1.8rem;
|
|
background: none;
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #fff;
|
|
text-align: center;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
line-height: 1.4;
|
|
text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.hadith-section blockquote footer {
|
|
font-size: 1.1rem;
|
|
color: var(--accent);
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
/* Oude huidig-gebed CSS verwijderd - nu huidig-gebed-bottom gebruikt */
|
|
|
|
.right {
|
|
flex: 1;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
background: var(--panel-bg);
|
|
color: var(--panel-text);
|
|
border-radius: var(--panel-radius) 0 0 var(--panel-radius);
|
|
box-shadow: var(--panel-shadow);
|
|
min-width: 350px;
|
|
/* max-width: 600px; */
|
|
border: 1px solid var(--panel-border);
|
|
position: relative;
|
|
}
|
|
|
|
#hadith-dua-pane {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
blockquote {
|
|
font-style: italic;
|
|
font-size: 2.4rem;
|
|
background: none;
|
|
border: none;
|
|
margin: 2rem 0 0.5rem 0;
|
|
padding: 0;
|
|
color: var(--panel-text);
|
|
text-align: center;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
blockquote footer {
|
|
font-size: 1.3rem;
|
|
color: var(--primary-color);
|
|
margin-top: 1rem;
|
|
text-align: right;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
}
|
|
|
|
.gebedstijden {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 2rem 0;
|
|
border-radius: 1rem;
|
|
background: var(--list-bg);
|
|
box-shadow: 0 2px 8px 0 rgba(31, 64, 104, 0.10);
|
|
}
|
|
|
|
.gebedstijden li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.7rem 1.2rem;
|
|
border-bottom: 1px solid var(--list-border);
|
|
font-size: 1.3rem;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
}
|
|
|
|
.gebedstijden li.active {
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
background: var(--active-bg);
|
|
border-left: 4px solid var(--primary-color);
|
|
}
|
|
|
|
.icoontjes {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
font-size: 1.7rem;
|
|
margin-top: auto;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
#themeToggle {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: transparent;
|
|
font-size: 1.5rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
z-index: 99;
|
|
color: var(--accent);
|
|
text-shadow: 1px 1px 4px #000;
|
|
}
|
|
|
|
.switch-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.switch-buttons button {
|
|
background: var(--accent-blue);
|
|
color: var(--text);
|
|
border: none;
|
|
padding: 0.7rem 2rem;
|
|
border-radius: 1.2rem 1.2rem 0 0;
|
|
font-size: 1.1rem;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
cursor: pointer;
|
|
opacity: 0.8;
|
|
transition: background 0.2s, opacity 0.2s, color 0.2s;
|
|
box-shadow: 0 2px 8px 0 rgba(31, 64, 104, 0.10);
|
|
}
|
|
|
|
.switch-buttons button.active {
|
|
background: var(--accent);
|
|
color: var(--bg);
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.app {
|
|
flex-direction: column;
|
|
}
|
|
.right {
|
|
border-radius: var(--panel-radius) var(--panel-radius) 0 0;
|
|
min-width: unset;
|
|
max-width: unset;
|
|
width: 100%;
|
|
padding: 1.2rem;
|
|
}
|
|
.right.compact-sidebar {
|
|
min-width: unset;
|
|
max-width: unset;
|
|
flex: unset;
|
|
padding: 1.2rem;
|
|
}
|
|
.compact-sidebar .vertical-tijden {
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
height: auto;
|
|
}
|
|
.compact-sidebar .tijden-en-icoontjes {
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.compact-sidebar .weather-section {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
.compact-sidebar .weather-main {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
.compact-sidebar .weather-details {
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
}
|
|
.hadith-tijden-row {
|
|
flex-direction: column;
|
|
}
|
|
.hadith-center {
|
|
margin: 0.5rem;
|
|
padding: 1.5rem;
|
|
}
|
|
.hadith-center blockquote {
|
|
font-size: 1.8rem;
|
|
}
|
|
.vertical-tijden {
|
|
flex-direction: row;
|
|
min-width: unset;
|
|
padding: 1.2rem 0 0 0;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
.tijden-en-icoontjes {
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Tijd-weer layout voor tablets */
|
|
.tijd-weer-row {
|
|
gap: 2rem;
|
|
}
|
|
|
|
.weather-section-left {
|
|
max-width: 250px;
|
|
}
|
|
|
|
.left {
|
|
min-height: 40vh;
|
|
}
|
|
|
|
.overlay {
|
|
min-height: 40vh;
|
|
}
|
|
|
|
/* Tijd-weer layout responsive */
|
|
.tijd-weer-row {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.weer-column {
|
|
margin-top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Weer sectie links responsive */
|
|
.weather-section-left {
|
|
padding: 1rem;
|
|
max-width: none;
|
|
}
|
|
|
|
.weather-section-left .weather-temp {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.weather-section-left .weather-desc {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.weather-section-left .weather-details {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.weather-section-left .weather-detail {
|
|
font-size: 0.8rem;
|
|
text-align: left;
|
|
}
|
|
|
|
/* Huidig gebed bottom responsive */
|
|
.huidig-gebed-bottom {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.huidig-gebed-bottom .naam {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.huidig-gebed-bottom #countdown {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.tijd-weer-row {
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.weather-section-left {
|
|
max-width: 220px;
|
|
}
|
|
|
|
.weather-section-left .weather-temp {
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.tijdstip #current-time, #countdown {
|
|
font-size: 2.2rem;
|
|
}
|
|
.huidig-gebed-bottom .naam {
|
|
font-size: 1.2rem;
|
|
}
|
|
.right {
|
|
padding: 0.7rem;
|
|
}
|
|
.hadith-section blockquote {
|
|
font-size: 1.2rem;
|
|
}
|
|
.hadith-section blockquote footer {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.gregorian-datum {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.hijri-datum-arabic {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hijri-datum-dutch {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Tijd-weer layout responsive */
|
|
.tijd-weer-row {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.weer-column {
|
|
margin-top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Weer sectie links responsive */
|
|
.weather-section-left {
|
|
padding: 1rem;
|
|
max-width: none;
|
|
}
|
|
|
|
.weather-section-left .weather-temp {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.weather-section-left .weather-desc {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.weather-section-left .weather-details {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.weather-section-left .weather-detail {
|
|
font-size: 0.8rem;
|
|
text-align: left;
|
|
}
|
|
|
|
/* Huidig gebed bottom responsive */
|
|
.huidig-gebed-bottom {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.huidig-gebed-bottom .naam {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.huidig-gebed-bottom #countdown {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
|
|
.right.new-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
background: var(--panel-bg);
|
|
color: var(--panel-text);
|
|
border-radius: var(--panel-radius) 0 0 var(--panel-radius);
|
|
box-shadow: var(--panel-shadow);
|
|
min-width: 350px;
|
|
/* max-width: 600px; */
|
|
border: 1px solid var(--panel-border);
|
|
position: relative;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Compact sidebar voor index.html */
|
|
.right.new-layout.compact-sidebar {
|
|
min-width: 120px;
|
|
max-width: 120px;
|
|
flex: 0 0 120px;
|
|
justify-content: space-between;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.compact-sidebar .vertical-tijden {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.hadith-tijden-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.hadith-center {
|
|
flex: 1 1 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 2.5rem 2rem 2.5rem 2.5rem;
|
|
background: var(--card-bg);
|
|
border-radius: 8px;
|
|
margin: 1rem;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.hadith-center blockquote {
|
|
font-size: 2.2rem;
|
|
text-align: left;
|
|
color: var(--text-color);
|
|
margin: 0;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.hadith-center blockquote footer {
|
|
font-size: 1.1rem;
|
|
color: var(--primary-color);
|
|
margin-top: 1.2rem;
|
|
text-align: left;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
}
|
|
|
|
.vertical-tijden {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 90px;
|
|
background: none;
|
|
/* padding: 2.5rem 1.2rem 2.5rem 0; */
|
|
height: 100%;
|
|
}
|
|
|
|
.gebedstijden-verticaal {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 0 2.5rem 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.gebedstijden-verticaal li {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
padding: 0.3rem 0;
|
|
font-size: 1.1rem;
|
|
color: #bbb;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
transition: color 0.2s, font-weight 0.2s;
|
|
}
|
|
|
|
.gebedstijden-verticaal li.active {
|
|
color: var(--accent);
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.gebedstijden-verticaal .naam {
|
|
font-size: 0.95em;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.gebedstijden-verticaal .tijd {
|
|
font-size: 0.95em;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.vertical-icoontjes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
margin-top: 1.5rem;
|
|
font-size: 1.6rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.tijden-en-icoontjes {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.7rem;
|
|
}
|
|
|
|
.tijden-en-icoontjes li {
|
|
font-size: 1.25rem;
|
|
color: #fff;
|
|
opacity: 0.85;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
letter-spacing: 0.04em;
|
|
transition: color 0.2s, opacity 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.tijden-en-icoontjes .tijd {
|
|
font-size: 1.25rem;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
color: #fff;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.tijden-en-icoontjes .icoon-link {
|
|
font-size: 1.35rem;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
background: none;
|
|
border: none;
|
|
opacity: 0.85;
|
|
transition: color 0.2s, opacity 0.2s;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.tijden-en-icoontjes .icoon-link:hover {
|
|
color: var(--accent);
|
|
opacity: 1;
|
|
}
|
|
|
|
.tijden-rij {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: auto;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.tijden-rij .naam {
|
|
font-size: 1.05rem;
|
|
color: var(--tijdkleur) !important;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
opacity: 0.85;
|
|
letter-spacing: 0.04em;
|
|
text-align: center;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
.tijden-rij .tijd {
|
|
font-size: 1.15rem;
|
|
color: var(--tijdkleur) !important;
|
|
font-family: 'Lato', Arial, sans-serif;
|
|
opacity: 0.85;
|
|
text-align: center;
|
|
}
|
|
|
|
.icoon-link .material-icons {
|
|
font-size: 1.7rem;
|
|
color: var(--icoon-kleur) !important;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
transition: color 0.2s, opacity 0.2s;
|
|
}
|
|
|
|
.icoon-link:hover .material-icons {
|
|
color: #1e7d4d;
|
|
}
|
|
|
|
#themeToggle .material-icons {
|
|
color: var(--icoon-kleur) !important;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
/* Weer sectie styling */
|
|
.weather-section {
|
|
margin-top: auto;
|
|
padding: 1.2rem;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 0;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
}
|
|
|
|
/* Weer sectie in compact sidebar */
|
|
.compact-sidebar .weather-section {
|
|
margin-top: 0;
|
|
padding: 1rem 0.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.compact-sidebar .weather-main {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.compact-sidebar .weather-temp {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.compact-sidebar .weather-desc {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.compact-sidebar .weather-details {
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
margin-top: 0.5rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.compact-sidebar .weather-detail {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.weather-info {
|
|
text-align: left;
|
|
}
|
|
|
|
.weather-main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.weather-temp {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--tijdkleur);
|
|
font-family: 'Cairo', sans-serif;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.weather-desc {
|
|
font-size: 1rem;
|
|
color: var(--tijdkleur);
|
|
opacity: 0.7;
|
|
font-family: 'Lato', sans-serif;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.weather-details {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-top: 0.8rem;
|
|
border-top: 1px solid var(--border-color);
|
|
padding-top: 0.8rem;
|
|
}
|
|
|
|
.weather-detail {
|
|
font-size: 0.9rem;
|
|
color: var(--tijdkleur);
|
|
opacity: 0.7;
|
|
flex: 1;
|
|
text-align: center;
|
|
font-family: 'Lato', sans-serif;
|
|
}
|
|
|
|
/* Responsive aanpassingen voor weer */
|
|
@media (max-width: 768px) {
|
|
.weather-section {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.weather-temp {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.weather-details {
|
|
flex-direction: row;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* Instellingen pagina styling */
|
|
.settings-container {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 2rem;
|
|
background: var(--panel-bg);
|
|
border-radius: 0;
|
|
border: none;
|
|
box-shadow: none;
|
|
min-height: 100vh;
|
|
max-height: none;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.settings-header {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.settings-header h1 {
|
|
font-family: 'Cairo', sans-serif;
|
|
font-size: 2rem;
|
|
color: var(--primary-color);
|
|
text-align: center;
|
|
margin: 0.5rem 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: var(--accent);
|
|
transform: translateX(-5px);
|
|
}
|
|
|
|
.back-link .material-icons {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.settings-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-row.three-columns {
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
}
|
|
|
|
.form-row .form-group {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
font-size: 1rem;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.form-group label .material-icons {
|
|
font-size: 1.3rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.form-group input[type="number"],
|
|
.form-group input[type="time"],
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.7rem;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
background: var(--card-bg);
|
|
color: var(--text-color);
|
|
font-size: 0.95rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-group input[type="number"]:focus,
|
|
.form-group input[type="time"]:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: #fff;
|
|
box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.audio-section {
|
|
background: var(--list-bg);
|
|
padding: 1.2rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
height: fit-content;
|
|
}
|
|
|
|
.audio-preview-section {
|
|
background: var(--list-bg);
|
|
padding: 1.2rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
height: fit-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.audio-row {
|
|
align-items: stretch;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.audio-preview {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: 0.6rem;
|
|
}
|
|
|
|
.preview-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 1.2rem;
|
|
background: var(--accent);
|
|
color: var(--accent-blue);
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.preview-btn:hover {
|
|
background: var(--primary-color);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.preview-btn .material-icons {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.checkboxes {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 0.8rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
padding: 0.8rem;
|
|
background: var(--card-bg);
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border-color);
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.checkbox-item:hover {
|
|
background: var(--active-bg);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.checkbox-item input[type="checkbox"] {
|
|
width: auto;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
.checkbox-item label {
|
|
margin: 0;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.8rem 1.5rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-transform: none;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: var(--accent-blue);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-color);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--card-bg);
|
|
color: var(--text-color);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--active-bg);
|
|
border-color: var(--accent);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-primary .material-icons,
|
|
.btn-secondary .material-icons {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Responsive design voor instellingen */
|
|
@media (max-width: 768px) {
|
|
.settings-container {
|
|
padding: 1.5rem;
|
|
min-height: 100vh;
|
|
max-height: none;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.settings-header h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.settings-section {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.audio-row {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.audio-section,
|
|
.audio-preview-section {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.checkboxes {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.button-group {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.8rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
html.light .hadith-center {
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
html.dark .hadith-center {
|
|
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Weer sectie in linker overlay */
|
|
.weather-section-left {
|
|
margin-top: 0;
|
|
padding: 1.2rem;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 8px;
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
backdrop-filter: blur(10px);
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.weather-section-left .weather-info {
|
|
text-align: left;
|
|
}
|
|
|
|
.weather-section-left .weather-main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.weather-section-left .weather-temp {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
font-family: 'Cairo', sans-serif;
|
|
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.weather-section-left .weather-desc {
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
opacity: 0.9;
|
|
font-family: 'Lato', sans-serif;
|
|
text-transform: capitalize;
|
|
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.weather-section-left .weather-details {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-top: 0.8rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
|
padding-top: 0.8rem;
|
|
}
|
|
|
|
.weather-section-left .weather-detail {
|
|
font-size: 0.9rem;
|
|
color: #fff;
|
|
opacity: 0.8;
|
|
flex: 1;
|
|
text-align: center;
|
|
font-family: 'Lato', sans-serif;
|
|
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.tijd-weer-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.tijd-column {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.weer-column {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Huidig gebed sectie onderaan het scherm */
|
|
.huidig-gebed-bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 2rem;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
z-index: 10;
|
|
}
|
|
|
|
.huidig-gebed-bottom .naam {
|
|
font-family: 'Cairo', Arial, sans-serif;
|
|
font-size: 4rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
color: #fff;
|
|
text-shadow: 2px 2px 8px #000;
|
|
}
|
|
|
|
.huidig-gebed-bottom #countdown {
|
|
font-size: 6rem;
|
|
font-weight: bold;
|
|
margin-top: 0.5rem;
|
|
color: #fff;
|
|
text-shadow: 2px 2px 8px #000;
|
|
}
|