body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
transition: background-color 0.3s, color 0.3s;
}
body.light-mode {
background-color: #f0f0f0;
color: #333;
}
body.dark-mode {
background-color: #2c2c2c;
color: #00ffff;
}
.layout-window {
width: 100%;
max-width: 1000px;
background-color: #ffffff;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.top-row, .middle-row, .bottom-row {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
}
.left-column, .right-column {
display: flex;
flex-direction: column;
}
#name-input, #work-hours, #start-button, #finish-button, #reset-all-button {
padding: 10px;
font-size: 16px;
margin-bottom: 10px;
}
.radio-buttons {
margin-top: 10px;
}
#work-timer {
font-size: 18px;
font-weight: bold;
}
#start-button, #finish-button, .counter-button {
padding: 10px 20px;
font-size: 18px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#start-button:hover, #finish-button:hover, .counter-button:hover {
background-color: #45a049;
}
.main-container {
display: flex;
flex-direction: column;
gap: 2rem;
width: 100%;
max-width: 1000px;
}
.container {
background-color: #ffffff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: order 0.3s ease-in-out;
}
#chat-container, #email-container {
text-align: center;
}
#chat-container {
order: 1;
}
#email-container {
order: 2;
}
#chat-container.email-first {
order: 2;
}
#email-container.email-first {
order: 1;
}
.chat-counter {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
#counter {
font-size: 24px;
font-weight: bold;
}
#lastClick {
margin-top: 20px;
}
#lastClick ul {
list-style-type: none;
padding: 0;
display: inline-block;
text-align: left;
}
.email-entry {
display: flex;
gap: 10px;
margin-bottom: 10px;
align-items: center;
justify-content: center;
width: 100%;
}
.ref-input {
width: 20% !important;
min-width: 80px;
}
.comments-input {
width: 75% !important;
}
.flag-container {
display: flex;
align-items: center;
width: 5%;
min-width: 40px;
}
.email-entry input[type="checkbox"] {
margin-right: 5px;
}
.email-entry .fa-flag {
cursor: pointer;
}
.email-entry.flagged {
background-color: #ffe6e6;
}
.mode-toggle {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 24px;
cursor: pointer;
transition: background-color 0.3s;
}
.mode-toggle:hover {
background-color: #45a049;
}
.small-text {
font-size: 0.8rem;
margin-top: 0.5rem;
}
#email-stats {
display: flex;
justify-content: space-around;
margin-bottom: 1rem;
}
#reset-all-button, #reset-email-button {
background-color: #f44336;
color: white;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
}
#reset-all-button:hover, #reset-email-button:hover {
background-color: #d32f2f;
}
#work-hours {
padding: 10px;
font-size: 16px;
margin-bottom: 10px;
width: 100%;
}
/* Dark mode styles */
.dark-mode .layout-window,
.dark-mode .container {
background-color: #3a3a3a;
color: #00ffff;
}
.dark-mode #name-input,
.dark-mode #work-hours,
.dark-mode #start-button,
.dark-mode #finish-button,
.dark-mode .counter-button,
.dark-mode .email-entry input[type="text"] {
background-color: #2c2c2c;
color: #00ffff;
border: 1px solid #00ffff;
}
.dark-mode #start-button,
.dark-mode #finish-button,
.dark-mode .counter-button {
background-color: #008080;
}
.dark-mode #start-button:hover,
.dark-mode #finish-button:hover,
.dark-mode .counter-button:hover {
background-color: #006666;
}
.dark-mode .email-entry.flagged {
background-color: #660000;
}
.dark-mode .clicks-list h3 {
background-color: #3a3a3a;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.dark-mode ::-webkit-scrollbar-track {
background: #2c2c2c;
}
.dark-mode ::-webkit-scrollbar-thumb {
background: #00ffff;
}
.dark-mode ::-webkit-scrollbar-thumb:hover {
background: #00cccc;
}