appointments-software / frontend / app / src / index.css
index.css
Raw
.dark-theme {
  --navbar: #0d0d0d;
  --textField: #282b2d;
  --text: white;
  --lightDarkToggle: white;
  --navbarTextHover: #191919;
  --heroContainer: #131313;
  --lightDarkToggleIcon: black;
  background: #191919;
  transition: background-color 0.1s;
}
.light-theme {
  --navbar: #0d0d0d;
  --textField: rgb(202, 202, 202);
  --text: #0d0d0d;
  --lightDarkToggle: black;
  --navbarTextHover: #3d62eb;
  --heroContainer: #dddddd;
  --lightDarkToggleIcon: white;
  background: white;
  transition: background-color 0.1s;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --accentColor: #2555ff;
}

body::-webkit-scrollbar {
  width: 1em;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(102, 102, 102);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

@font-face {
  font-family: "InterMedium";
  font-style: normal;
  font-weight: 500;
  src: local("Inter"),
    url(./fonts/Inter/static/Inter-Medium.ttf) format(truetype);
}

@font-face {
  font-family: "InterBold";
  font-style: normal;
  font-weight: 700;
  src: local("Inter"), url(./fonts/Inter/static/Inter-Bold.ttf) format(truetype);
}

@font-face {
  font-family: "InterRegular";
  font-style: normal;
  font-weight: 400;
  src: local("Inter"),
    url(./fonts/Inter/static/Inter-Regular.ttf) format(truetype);
}

.generic-row-20px {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.generic-column-20px {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.nav-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  padding: 30px 150px;
  height: 70px;
  width: 100%;
  background-color: var(--navbar);
}

.nav-bar-header {
  width: 183px;
  height: 24px;
  font-family: "InterBold", sans-serif;
  font-size: 18px;
  display: flex;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  color: white;
}

.nav-bar-header:hover {
  color: white;
}

.nav-bar-options {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.nav-bar-text {
  font-family: "InterMedium", sans-serif;
  font-size: 18px;
  display: flex;
  text-align: center;
  line-height: 24px;
  color: white;
  padding: 10px;
  text-decoration: none;
}

.nav-bar-text:hover {
  color: white;
  background-color: var(--navbarTextHover);
  border-radius: 10px;
  transition: 0.2s;
}

.section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.hero-section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 100px 100px;
  border-radius: 10px;
  background-color: var(--heroContainer);
}

.section-title {
  font-family: "InterBold", sans-serif;
  font-size: 48px;
  color: var(--text);
  text-align: center;
}

.section-paragraph {
  font-family: "InterRegular", sans-serif;
  font-size: 18px;
  color: var(--text);
  text-align: center;
  max-width: 950px;
}

.section-subtitle {
  font-family: "InterBold", sans-serif;
  font-size: 28px;
  color: var(--text);
  text-align: center;
  max-width: 950px;
}

.section-detail {
  font-family: "InterRegular", sans-serif;
  font-size: 12px;
  color: var(--text);
  text-align: center;
  max-width: 950px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 200px;
  align-items: center;
}

.action-button {
  display: flex;
  flex-direction: row;
  font-family: "InterBold", sans-serif;
  font-size: 14px;
  line-height: 17px;
  padding: 15px 25px;
  background-color: var(--accentColor);
  border-radius: 10px;
  border: none;
  color: white;
}

.secondary-button {
  display: flex;
  flex-direction: row;
  font-family: "InterBold", sans-serif;
  font-size: 14px;
  line-height: 17px;
  padding: 15px 25px;
  background-color: #ffffff;
  border-radius: 10px;
  /* border: 2px solid;
  border-color: #2555ff; */
  color: var(--accentColor);
}

.action-button:hover {
  background-color: #1542e4;
}

.landing-content {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 95px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min-content;
}

.feature-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 100%;
  overflow: auto;
}

.box {
  display: block;
  background-color: var(--textField);
  width: 250px;
  height: 250px;
}

.contact-form-field {
  border-radius: 10px;
  border: none;
  width: 400px;
  height: 50px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: "InterRegular", sans-serif;
  font-size: 18px;
  background-color: var(--textField);
  color: var(--text);
}

.contact-form-message {
  border-radius: 10px;
  border: none;
  width: 820px;
  padding: 15px 20px;
  font-family: "InterRegular", sans-serif;
  font-size: 18px;
  background-color: var(--textField);
  color: var(--text);
}

.error {
  color: red;
}

.light-dark-toggle {
  width: 40px;
  height: 40px;
  margin-left: 60px;
  border: none;
  border-radius: 100%;
  padding: 5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  bottom: 150px;
  background-color: var(--lightDarkToggle);
}

.light-dark-toggle-inner {
  width: 15px;
  height: 30px;
  border: none;
  border-top-right-radius: 200% 100%;
  border-bottom-right-radius: 200% 100%;
  background-color: var(--lightDarkToggleIcon);
}

.footer {
  height: 100px;
  margin-top: 50px;
  background-color: var(--navbar);
}

* {
  transition: color 0.5s;
}

/* Profile Dashboard */
.dashboard-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 100px;
  width: 100%;
  gap: 80px;
  /* background-color: red; */
}

.people-container {
  display: flex;
  flex-direction: column;
  background-color: var(--heroContainer);
  gap: 30px;
  padding: 26px 15px;
  border-radius: 10px;
}

.people-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 650px;
  overflow: auto;
}

.person,
.person-selected {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 200px;
  border-radius: 10px;
  gap: 10px;
  padding: 20px;
  cursor: pointer;
}

.person:hover,
.person-selected {
  background-color: var(--navbarTextHover);
}

.circle {
  height: 60px;
  width: 60px;
  background-color: var(--textField);
  border-radius: 100%;
}

.calendar-and-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 80px;
}

.calendar-container,
.details-container {
  display: flex;
  flex-direction: column;
  background-color: var(--heroContainer);
  gap: 20px;
  width: 640px;
  height: 600px;
  padding: 26px 15px;
  border-radius: 10px;
}

.details-container {
  width: 600px;
}

.calendar-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}

.calendar-days-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-week-box,
.calendar-day-box,
.calendar-day-box-selected {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 60px;
  height: 60px;
}

.calendar-day-box,
.calendar-day-box-selected {
  justify-content: center;
}

.calendar-day-box:hover {
  border: 2px solid white;
}

.calendar-day-box-selected {
  border: 2px solid white;
}

.time-empty,
.time-filled {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  background-color: var(--accentColor);
}

.time-filled {
  background-color: var(--navbarTextHover);
}

.time-empty:hover,
.time-filled:hover {
  border: 2px solid white;
}

/* #apptDetails {
  display: none;
  position: absolute;
  margin-top: 10%;
  color: var(--text);
  background-color: rgba(0, 0, 0, 0.3);
} */

.my-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal Content/Box */
.my-modal-content {
  background-color: #191919;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 50%; /* Could be more or less, depending on screen size */
  overflow: auto;
}