diff --git a/components.js b/components.js
index b43ea08..8195f6f 100644
--- a/components.js
+++ b/components.js
@@ -1,7 +1,7 @@
// Components downloaded: chips,copy,form,input,notifications,popup,select,spinner,textarea,theme-toggle
const smChips = document.createElement("template"); smChips.innerHTML = '', customElements.define("sm-chips", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smChips.content.cloneNode(!0)), this.chipsWrapper = this.shadowRoot.querySelector(".sm-chips"), this.coverLeft = this.shadowRoot.querySelector(".cover--left"), this.coverRight = this.shadowRoot.querySelector(".cover--right"), this.navButtonLeft = this.shadowRoot.querySelector(".nav-button--left"), this.navButtonRight = this.shadowRoot.querySelector(".nav-button--right"), this.slottedOptions = void 0, this._value = void 0, this.scrollDistance = 0, this.assignedElements = [], this.scrollLeft = this.scrollLeft.bind(this), this.scrollRight = this.scrollRight.bind(this), this.fireEvent = this.fireEvent.bind(this), this.setSelectedOption = this.setSelectedOption.bind(this) } get value() { return this._value } set value(t) { this.setSelectedOption(t) } scrollLeft() { this.chipsWrapper.scrollBy({ left: -this.scrollDistance, behavior: "smooth" }) } scrollRight() { this.chipsWrapper.scrollBy({ left: this.scrollDistance, behavior: "smooth" }) } setSelectedOption(t) { this._value !== t && (this._value = t, this.assignedElements.forEach(e => { e.value == t ? (e.setAttribute("selected", ""), e.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" })) : e.removeAttribute("selected") })) } fireEvent() { this.dispatchEvent(new CustomEvent("change", { bubbles: !0, composed: !0, detail: { value: this._value } })) } connectedCallback() { this.setAttribute("role", "listbox"); const t = this.shadowRoot.querySelector("slot"); t.addEventListener("slotchange", e => { n.disconnect(), i.disconnect(), this.observeSelf.disconnect(), clearTimeout(this.slotChangeTimeout), this.slotChangeTimeout = setTimeout(() => { this.assignedElements = t.assignedElements(), this.assignedElements.forEach(t => { t.hasAttribute("selected") && (this._value = t.value) }), this.observeSelf.observe(this) }, 0) }); const e = new ResizeObserver(t => { t.forEach(t => { if (t.contentBoxSize) { const e = Array.isArray(t.contentBoxSize) ? t.contentBoxSize[0] : t.contentBoxSize; this.scrollDistance = .6 * e.inlineSize } else this.scrollDistance = .6 * t.contentRect.width }) }); e.observe(this), this.observeSelf = new IntersectionObserver((t, e) => { t.forEach(t => { t.isIntersecting && !this.hasAttribute("multiline") && this.assignedElements.length > 0 && (n.observe(this.assignedElements[0]), i.observe(this.assignedElements[this.assignedElements.length - 1]), e.unobserve(this)) }) }, { threshold: 1 }), this.chipsWrapper.addEventListener("option-clicked", t => { this._value !== t.target.value && (this.setSelectedOption(t.target.value), this.fireEvent()) }); const n = new IntersectionObserver(t => { t.forEach(t => { t.isIntersecting ? (this.navButtonLeft.classList.add("hide"), this.coverLeft.classList.add("hide")) : (this.navButtonLeft.classList.remove("hide"), this.coverLeft.classList.remove("hide")) }) }, { threshold: 1, root: this }), i = new IntersectionObserver(t => { t.forEach(t => { t.isIntersecting ? (this.navButtonRight.classList.add("hide"), this.coverRight.classList.add("hide")) : (this.navButtonRight.classList.remove("hide"), this.coverRight.classList.remove("hide")) }) }, { threshold: 1, root: this }); this.navButtonLeft.addEventListener("click", this.scrollLeft), this.navButtonRight.addEventListener("click", this.scrollRight) } disconnectedCallback() { this.navButtonLeft.removeEventListener("click", this.scrollLeft), this.navButtonRight.removeEventListener("click", this.scrollRight) } }); const smChip = document.createElement("template"); smChip.innerHTML = ' ', customElements.define("sm-chip", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smChip.content.cloneNode(!0)), this._value = void 0, this.radioButton = this.shadowRoot.querySelector("input"), this.fireEvent = this.fireEvent.bind(this), this.handleKeyDown = this.handleKeyDown.bind(this) } get value() { return this._value } fireEvent() { this.dispatchEvent(new CustomEvent("option-clicked", { bubbles: !0, composed: !0, detail: { value: this._value } })) } handleKeyDown(t) { "Enter" !== t.key && "Space" !== t.key || this.fireEvent() } connectedCallback() { this.setAttribute("role", "option"), this.setAttribute("tabindex", "0"), this._value = this.getAttribute("value"), this.addEventListener("click", this.fireEvent), this.addEventListener("keydown", this.handleKeyDown) } disconnectedCallback() { this.removeEventListener("click", this.fireEvent), this.removeEventListener("keydown", this.handleKeyDown) } });
const smCopy = document.createElement("template"); smCopy.innerHTML = '', customElements.define("sm-copy", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smCopy.content.cloneNode(!0)), this.copyContent = this.shadowRoot.querySelector(".copy-content"), this.copyButton = this.shadowRoot.querySelector(".copy-button"), this.copy = this.copy.bind(this) } static get observedAttributes() { return ["value"] } set value(t) { this.setAttribute("value", t) } get value() { return this.getAttribute("value") } fireEvent() { this.dispatchEvent(new CustomEvent("copy", { composed: !0, bubbles: !0, cancelable: !0 })) } copy() { navigator.clipboard.writeText(this.copyContent.textContent).then(t => this.fireEvent()).catch(t => console.error(t)) } connectedCallback() { this.copyButton.addEventListener("click", this.copy) } attributeChangedCallback(t, n, o) { "value" === t && (this.copyContent.textContent = o) } disconnectedCallback() { this.copyButton.removeEventListener("click", this.copy) } });
-const smForm = document.createElement("template"); smForm.innerHTML = `
`, customElements.define("sm-form", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smForm.content.cloneNode(!0)), this.form = this.shadowRoot.querySelector("form"), this.invalidFields = !1, this.skipSubmit = !1, this.isFormValid = !1, this.supportedElements = new Set(["INPUT", "SM-INPUT", "SM-TEXTAREA", "SM-CHECKBOX", "TAGS-INPUT", "FILE-INPUT", "SM-SWITCH", "SM-RADIO"]), this.debounce = this.debounce.bind(this), this._checkValidity = this._checkValidity.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.reset = this.reset.bind(this), this.elementsChanged = this.elementsChanged.bind(this) } static get observedAttributes() { return ["skip-submit"] } get validity() { return this.isFormValid } debounce(t, e) { let i = null; return (...s) => { window.clearTimeout(i), i = window.setTimeout(() => { t.apply(null, s) }, e) } } _checkValidity() { this.submitButton && (this.invalidFields = this._requiredElements.filter(([t, e]) => e ? !t.isValid : !t.checkValidity()), this.isFormValid = 0 === this.invalidFields.length, this.skipSubmit || (this.submitButton.disabled = !this.isFormValid), this.isFormValid ? this.dispatchEvent(new CustomEvent("valid", { bubbles: !0, composed: !0 })) : this.dispatchEvent(new CustomEvent("invalid", { bubbles: !0, composed: !0 }))) } handleKeydown(t) { if ("Enter" === t.key && t.target.tagName.includes("INPUT")) { if (this.invalidFields.length) for (let [e, i] of this._requiredElements) { let s = i ? !e.isValid : !e.checkValidity(); if (s) { (e?.shadowRoot?.lastElementChild || e).animate([{ transform: "translateX(-1rem)" }, { transform: "translateX(1rem)" }, { transform: "translateX(-0.5rem)" }, { transform: "translateX(0.5rem)" }, { transform: "translateX(0)" },], { duration: 300, easing: "ease" }), i ? e.focusIn() : e.focus(); break } } else this.submitButton && this.submitButton.click(), this.dispatchEvent(new CustomEvent("submit", { bubbles: !0, composed: !0 })) } } reset() { this.formElements.forEach(([t, e]) => { e ? t.reset() : t.value = "" }) } elementsChanged() { this.formElements = [...this.querySelectorAll("input, sm-input, sm-textarea, sm-checkbox, tags-input, file-input, sm-switch, sm-radio")].map(t => [t, t.tagName.includes("-")]), this._requiredElements = this.formElements.filter(([t]) => t.hasAttribute("required")), this.submitButton = this.querySelector('[variant="primary"], [type="submit"]'), this.resetButton = this.querySelector('[type="reset"]'), this.resetButton && this.resetButton.addEventListener("click", this.reset), this._checkValidity() } connectedCallback() { let t = this.debounce(this.elementsChanged, 100); this.shadowRoot.querySelector("slot").addEventListener("slotchange", t), this.addEventListener("input", this.debounce(this._checkValidity, 100)), this.addEventListener("keydown", this.debounce(this.handleKeydown, 100)), this.mutationObserver = new MutationObserver(e => { e.forEach(e => { ("childList" === e.type && [...e.addedNodes].some(t => this.supportedElements.has(t.tagName)) || [...e.removedNodes].some(t => this.supportedElements.has(t.tagName))) && t() }) }), this.mutationObserver.observe(this, { childList: !0, subtree: !0 }) } attributeChangedCallback(t, e, i) { "skip-submit" === t && (this.skipSubmit = null !== i) } disconnectedCallback() { this.removeEventListener("input", this.debounce(this._checkValidity, 100)), this.removeEventListener("keydown", this.debounce(this.handleKeydown, 100)), this.mutationObserver.disconnect() } });
+const smForm = document.createElement("template"); smForm.innerHTML = ` `, customElements.define("sm-form", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smForm.content.cloneNode(!0)), this.form = this.shadowRoot.querySelector("form"), this.invalidFields, this.skipSubmit = !1, this.isFormValid = !1, this.supportedElements = "input, sm-input, sm-textarea, sm-checkbox, tags-input, file-input, sm-switch, sm-radio", this._requiredElements = [], this.debounce = this.debounce.bind(this), this._checkValidity = this._checkValidity.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.reset = this.reset.bind(this), this.elementsChanged = this.elementsChanged.bind(this) } static get observedAttributes() { return ["skip-submit"] } get validity() { return this.isFormValid } debounce(e, t) { let i = null; return (...s) => { window.clearTimeout(i), i = window.setTimeout(() => { e.apply(null, s) }, t) } } _checkValidity() { this.submitButton && 0 !== this._requiredElements.length && (this.invalidFields = 0, this._requiredElements.forEach(([e, t]) => { (t && !e.isValid || !t && !e.checkValidity()) && this.invalidFields++ }), this.isFormValid = 0 === this.invalidFields, this.skipSubmit || (this.submitButton.disabled = !this.isFormValid), this.dispatchEvent(new CustomEvent(this.isFormValid ? "valid" : "invalid", { bubbles: !0, composed: !0 }))) } handleKeydown(e) { if ("Enter" === e.key && e.target.tagName.includes("INPUT")) { if (0 === this.invalidFields) this.submitButton && this.submitButton.click(), this.dispatchEvent(new CustomEvent("submit", { bubbles: !0, composed: !0 })); else for (let [t, i] of this._requiredElements) { let s = i ? !t.isValid : !t.checkValidity(); if (s) { (t?.shadowRoot?.lastElementChild || t).animate([{ transform: "translateX(-1rem)" }, { transform: "translateX(1rem)" }, { transform: "translateX(-0.5rem)" }, { transform: "translateX(0.5rem)" }, { transform: "translateX(0)" },], { duration: 300, easing: "ease" }), i ? t.focusIn() : t.focus(); break } } } } reset() { this.formElements.forEach(([e, t]) => { t ? e.reset() : e.value = "" }) } elementsChanged() { this.formElements = [...this.querySelectorAll(this.supportedElements)].map(e => [e, e.tagName.includes("-")]), this._requiredElements = this.formElements.filter(([e]) => e.hasAttribute("required")), this.submitButton = this.querySelector('[variant="primary"], [type="submit"]'), this.resetButton = this.querySelector('[type="reset"]'), this.resetButton && this.resetButton.addEventListener("click", this.reset), this._checkValidity() } connectedCallback() { let e = this.debounce(this.elementsChanged, 100); this.addEventListener("input", this.debounce(this._checkValidity, 100)), this.addEventListener("keydown", this.debounce(this.handleKeydown, 100)), this.shadowRoot.querySelector("slot").addEventListener("slotchange", e), this.mutationObserver = new MutationObserver(t => { t.forEach(t => { ("childList" === t.type && [...t.addedNodes].some(e => 1 === e.nodeType && e.querySelector(this.supportedElements)) || [...t.removedNodes].some(e => 1 === e.nodeType && e.querySelector(this.supportedElements))) && e() }) }), this.mutationObserver.observe(this, { childList: !0, subtree: !0 }) } attributeChangedCallback(e, t, i) { "skip-submit" === e && (this.skipSubmit = null !== i) } disconnectedCallback() { this.removeEventListener("input", this.debounce(this._checkValidity, 100)), this.removeEventListener("keydown", this.debounce(this.handleKeydown, 100)), this.mutationObserver.disconnect() } });
const smInput = document.createElement("template"); smInput.innerHTML = ' ', customElements.define("sm-input", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smInput.content.cloneNode(!0)), this.inputParent = this.shadowRoot.querySelector(".input"), this.input = this.shadowRoot.querySelector("input"), this.clearBtn = this.shadowRoot.querySelector(".clear"), this.label = this.shadowRoot.querySelector(".label"), this.feedbackText = this.shadowRoot.querySelector(".feedback-text"), this.outerContainer = this.shadowRoot.querySelector(".outer-container"), this.optionList = this.shadowRoot.querySelector(".datalist"), this._helperText = "", this._errorText = "", this.isRequired = !1, this.datalist = [], this.validationFunction = void 0, this.reflectedAttributes = ["value", "required", "disabled", "type", "inputmode", "readonly", "min", "max", "pattern", "minlength", "maxlength", "step", "list", "autocomplete"], this.reset = this.reset.bind(this), this.clear = this.clear.bind(this), this.focusIn = this.focusIn.bind(this), this.focusOut = this.focusOut.bind(this), this.fireEvent = this.fireEvent.bind(this), this.checkInput = this.checkInput.bind(this), this.allowOnlyNum = this.allowOnlyNum.bind(this), this.handleOptionClick = this.handleOptionClick.bind(this), this.handleInputNavigation = this.handleInputNavigation.bind(this), this.handleDatalistNavigation = this.handleDatalistNavigation.bind(this), this.handleFocus = this.handleFocus.bind(this), this.handleBlur = this.handleBlur.bind(this) } static get observedAttributes() { return ["value", "placeholder", "required", "disabled", "type", "inputmode", "readonly", "min", "max", "pattern", "minlength", "maxlength", "step", "helper-text", "error-text", "list"] } get value() { return this.input.value } set value(t) { t !== this.input.value && (this.input.value = t, this.checkInput()) } get placeholder() { return this.getAttribute("placeholder") } set placeholder(t) { this.setAttribute("placeholder", t) } get type() { return this.getAttribute("type") } set type(t) { this.setAttribute("type", t) } get validity() { return this.input.validity } get disabled() { return this.hasAttribute("disabled") } set disabled(t) { t ? this.inputParent.classList.add("disabled") : this.inputParent.classList.remove("disabled") } get readOnly() { return this.hasAttribute("readonly") } set readOnly(t) { t ? this.setAttribute("readonly", "") : this.removeAttribute("readonly") } set customValidation(t) { this.validationFunction = t } set errorText(t) { this._errorText = t } set helperText(t) { this._helperText = t } get isValid() { if ("" !== this.input.value) { const t = this.input.checkValidity(); let e = !0; return this.validationFunction && (e = Boolean(this.validationFunction(this.input.value))), t && e ? (this.feedbackText.classList.remove("error"), this.feedbackText.classList.add("success"), this.feedbackText.textContent = "") : this._errorText && (this.feedbackText.classList.add("error"), this.feedbackText.classList.remove("success"), this.feedbackText.innerHTML = ` ${this._errorText}`), t && e } } reset() { this.value = "" } clear() { this.value = "", this.input.focus(), this.fireEvent() } focusIn() { this.input.focus() } focusOut() { this.input.blur() } fireEvent() { let t = new Event("input", { bubbles: !0, cancelable: !0, composed: !0 }); this.dispatchEvent(t) } searchDatalist(t) { const e = this.datalist.filter(e => e.toLowerCase().includes(t.toLowerCase())); if (e.sort((e, n) => { const i = e.toLowerCase().indexOf(t.toLowerCase()), s = n.toLowerCase().indexOf(t.toLowerCase()); return i - s }), e.length) { if (this.optionList.children.length > e.length) { const t = this.optionList.children.length - e.length; for (let e = 0; e < t; e++)this.optionList.removeChild(this.optionList.lastChild) } e.forEach((t, e) => { if (this.optionList.children[e]) this.optionList.children[e].textContent = t; else { const e = document.createElement("li"); e.textContent = t, e.classList.add("datalist-item"), e.setAttribute("tabindex", "0"), this.optionList.appendChild(e) } }), this.optionList.classList.remove("hidden") } else this.optionList.classList.add("hidden") } checkInput(t) { this.hasAttribute("readonly") || ("" !== this.input.value ? this.clearBtn.classList.remove("hidden") : this.clearBtn.classList.add("hidden")), this.hasAttribute("placeholder") && "" !== this.getAttribute("placeholder").trim() && ("" !== this.input.value ? (this.animate ? this.inputParent.classList.add("animate-placeholder") : this.label.classList.add("hidden"), this.datalist.length && (this.searchTimeout && clearTimeout(this.searchTimeout), this.searchTimeout = setTimeout(() => { this.searchDatalist(this.input.value.trim()) }, 100))) : (this.animate ? this.inputParent.classList.remove("animate-placeholder") : this.label.classList.remove("hidden"), this.feedbackText.textContent = "", this.datalist.length && (this.optionList.innerHTML = "", this.optionList.classList.add("hidden")))) } allowOnlyNum(t) { 1 === t.key.length && (("." !== t.key || !t.target.value.includes(".") && 0 !== t.target.value.length) && ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "."].includes(t.key) || t.preventDefault()) } handleOptionClick(t) { this.input.value = t.target.textContent, this.optionList.classList.add("hidden"), this.input.focus() } handleInputNavigation(t) { "ArrowDown" === t.key ? (t.preventDefault(), this.optionList.children.length && this.optionList.children[0].focus()) : "ArrowUp" === t.key && (t.preventDefault(), this.optionList.children.length && this.optionList.children[this.optionList.children.length - 1].focus()) } handleDatalistNavigation(t) { "ArrowUp" === t.key ? (t.preventDefault(), this.shadowRoot.activeElement.previousElementSibling ? this.shadowRoot.activeElement.previousElementSibling.focus() : this.input.focus()) : "ArrowDown" === t.key ? (t.preventDefault(), this.shadowRoot.activeElement.nextElementSibling ? this.shadowRoot.activeElement.nextElementSibling.focus() : this.input.focus()) : "Enter" !== t.key && " " !== t.key || (t.preventDefault(), this.input.value = t.target.textContent, this.optionList.classList.add("hidden"), this.input.focus()) } handleFocus(t) { this.datalist.length && this.searchDatalist(this.input.value.trim()) } handleBlur(t) { this.datalist.length && this.optionList.classList.add("hidden") } connectedCallback() { this.animate = this.hasAttribute("animate"), this.setAttribute("role", "textbox"), this.input.addEventListener("input", this.checkInput), this.clearBtn.addEventListener("click", this.clear), this.datalist.length && (this.optionList.addEventListener("click", this.handleOptionClick), this.input.addEventListener("keydown", this.handleInputNavigation), this.optionList.addEventListener("keydown", this.handleDatalistNavigation)), this.input.addEventListener("focusin", this.handleFocus), this.addEventListener("focusout", this.handleBlur) } attributeChangedCallback(t, e, n) { e !== n && (this.reflectedAttributes.includes(t) && (this.hasAttribute(t) ? this.input.setAttribute(t, this.getAttribute(t) ? this.getAttribute(t) : "") : this.input.removeAttribute(t)), "placeholder" === t ? (this.label.textContent = n, this.setAttribute("aria-label", n)) : this.hasAttribute("value") ? this.checkInput() : "type" === t ? this.hasAttribute("type") && "number" === this.getAttribute("type") ? (this.input.setAttribute("inputmode", "decimal"), this.input.addEventListener("keydown", this.allowOnlyNum)) : this.input.removeEventListener("keydown", this.allowOnlyNum) : "helper-text" === t ? this._helperText = this.getAttribute("helper-text") : "error-text" === t ? this._errorText = this.getAttribute("error-text") : "required" === t ? (this.isRequired = this.hasAttribute("required"), this.isRequired ? this.setAttribute("aria-required", "true") : this.setAttribute("aria-required", "false")) : "readonly" === t ? this.hasAttribute("readonly") ? this.inputParent.classList.add("readonly") : this.inputParent.classList.remove("readonly") : "disabled" === t ? this.hasAttribute("disabled") ? this.inputParent.classList.add("disabled") : this.inputParent.classList.remove("disabled") : "list" === t && this.hasAttribute("list") && "" !== this.getAttribute("list").trim() && (this.datalist = this.getAttribute("list").split(","))) } disconnectedCallback() { this.input.removeEventListener("input", this.checkInput), this.clearBtn.removeEventListener("click", this.clear), this.input.removeEventListener("keydown", this.allowOnlyNum), this.optionList.removeEventListener("click", this.handleOptionClick), this.input.removeEventListener("keydown", this.handleInputNavigation), this.optionList.removeEventListener("keydown", this.handleDatalistNavigation), this.input.removeEventListener("focusin", this.handleFocus), this.removeEventListener("focusout", this.handleBlur) } });
const smNotifications = document.createElement("template"); smNotifications.innerHTML = ' ', customElements.define("sm-notifications", class extends HTMLElement { constructor() { super(), this.shadow = this.attachShadow({ mode: "open" }).append(smNotifications.content.cloneNode(!0)), this.notificationPanel = this.shadowRoot.querySelector(".notification-panel"), this.animationOptions = { duration: 300, fill: "forwards", easing: "cubic-bezier(0.175, 0.885, 0.32, 1.275)" }, this.push = this.push.bind(this), this.createNotification = this.createNotification.bind(this), this.removeNotification = this.removeNotification.bind(this), this.clearAll = this.clearAll.bind(this), this.remove = this.remove.bind(this), this.handlePointerMove = this.handlePointerMove.bind(this), this.startX = 0, this.currentX = 0, this.endX = 0, this.swipeDistance = 0, this.swipeDirection = "", this.swipeThreshold = 0, this.startTime = 0, this.swipeTime = 0, this.swipeTimeThreshold = 200, this.currentTarget = null, this.mediaQuery = window.matchMedia("(min-width: 640px)"), this.handleOrientationChange = this.handleOrientationChange.bind(this), this.isLandscape = !1 } randString(n) { let t = ""; const i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; for (let e = 0; e < n; e++)t += i.charAt(Math.floor(Math.random() * i.length)); return t } createNotification(n, t = {}) { const { pinned: i = !1, icon: e = "", action: o } = t, r = document.createElement("div"); r.id = this.randString(8), r.classList.add("notification"); let a = ""; return a += ` ${e}
`, o && (a += ` `), i && (r.classList.add("pinned"), a += ' '), r.innerHTML = a, r } push(n, t = {}) { const i = this.createNotification(n, t); return this.isLandscape ? this.notificationPanel.append(i) : this.notificationPanel.prepend(i), this.notificationPanel.animate([{ transform: `translateY(${this.isLandscape ? "" : "-"}${i.clientHeight}px)` }, { transform: "none" }], this.animationOptions), i.animate([{ transform: "translateY(-1rem)", opacity: "0" }, { transform: "none", opacity: "1" }], this.animationOptions).onfinish = (n => { n.target.commitStyles(), n.target.cancel() }), i.querySelector(".action") && i.querySelector(".action").addEventListener("click", t.action.callback), i.id } removeNotification(n, t = "left") { if (!n) return; const i = "left" === t ? "-" : "+"; n.animate([{ transform: this.currentX ? `translateX(${this.currentX}px)` : "none", opacity: "1" }, { transform: `translateX(calc(${i}${Math.abs(this.currentX)}px ${i} 1rem))`, opacity: "0" }], this.animationOptions).onfinish = (() => { n.remove() }) } remove(n) { const t = this.notificationPanel.querySelector(`#${n}`); t && this.removeNotification(t) } clearAll() { Array.from(this.notificationPanel.children).forEach(n => { this.removeNotification(n) }) } handlePointerMove(n) { this.currentX = n.clientX - this.startX, this.currentTarget.style.transform = `translateX(${this.currentX}px)` } handleOrientationChange(n) { this.isLandscape = n.matches, n.matches } connectedCallback() { this.handleOrientationChange(this.mediaQuery), this.mediaQuery.addEventListener("change", this.handleOrientationChange), this.notificationPanel.addEventListener("pointerdown", n => { n.target.closest(".close") ? this.removeNotification(n.target.closest(".notification")) : n.target.closest(".notification") && (this.swipeThreshold = n.target.closest(".notification").getBoundingClientRect().width / 2, this.currentTarget = n.target.closest(".notification"), this.currentTarget.setPointerCapture(n.pointerId), this.startTime = Date.now(), this.startX = n.clientX, this.startY = n.clientY, this.notificationPanel.addEventListener("pointermove", this.handlePointerMove)) }), this.notificationPanel.addEventListener("pointerup", n => { this.endX = n.clientX, this.endY = n.clientY, this.swipeDistance = Math.abs(this.endX - this.startX), this.swipeTime = Date.now() - this.startTime, this.endX > this.startX ? this.swipeDirection = "right" : this.swipeDirection = "left", this.swipeTime < this.swipeTimeThreshold ? this.swipeDistance > 50 && this.removeNotification(this.currentTarget, this.swipeDirection) : this.swipeDistance > this.swipeThreshold ? this.removeNotification(this.currentTarget, this.swipeDirection) : this.currentTarget.animate([{ transform: `translateX(${this.currentX}px)` }, { transform: "none" }], this.animationOptions).onfinish = (n => { n.target.commitStyles(), n.target.cancel() }), this.notificationPanel.removeEventListener("pointermove", this.handlePointerMove), this.notificationPanel.releasePointerCapture(n.pointerId), this.currentX = 0 }); const n = new MutationObserver(n => { n.forEach(n => { "childList" === n.type && n.addedNodes.length && !n.addedNodes[0].classList.contains("pinned") && setTimeout(() => { this.removeNotification(n.addedNodes[0]) }, 5e3) }) }); n.observe(this.notificationPanel, { childList: !0 }) } disconnectedCallback() { mediaQueryList.removeEventListener("change", handleOrientationChange) } });
class Stack { constructor() { this.items = [] } push(t) { this.items.push(t) } pop() { return 0 == this.items.length ? "Underflow" : this.items.pop() } peek() { return this.items[this.items.length - 1] } } const popupStack = new Stack, smPopup = document.createElement("template"); smPopup.innerHTML = ` `, customElements.define("sm-popup", class extends HTMLElement { constructor() { super(), this.attachShadow({ mode: "open" }).append(smPopup.content.cloneNode(!0)), this.allowClosing = !1, this.isOpen = !1, this.offset = 0, this.touchStartY = 0, this.touchEndY = 0, this.touchStartTime = 0, this.touchEndTime = 0, this.touchEndAnimation = void 0, this.focusable, this.autoFocus, this.mutationObserver, this.popupContainer = this.shadowRoot.querySelector(".popup-container"), this.backdrop = this.shadowRoot.querySelector(".backdrop"), this.dialogBox = this.shadowRoot.querySelector(".popup"), this.popupBodySlot = this.shadowRoot.querySelector(".popup-body slot"), this.popupHeader = this.shadowRoot.querySelector(".popup-top"), this.resumeScrolling = this.resumeScrolling.bind(this), this.setStateOpen = this.setStateOpen.bind(this), this.show = this.show.bind(this), this.hide = this.hide.bind(this), this.handleTouchStart = this.handleTouchStart.bind(this), this.handleTouchMove = this.handleTouchMove.bind(this), this.handleTouchEnd = this.handleTouchEnd.bind(this), this.detectFocus = this.detectFocus.bind(this), this.handleSoftDismiss = this.handleSoftDismiss.bind(this), this.debounce = this.debounce.bind(this) } static get observedAttributes() { return ["open"] } get open() { return this.isOpen } animateTo(t, e, i) { let s = t.animate(e, { ...i, fill: "both" }); return s.finished.then(() => { s.commitStyles(), s.cancel() }), s } resumeScrolling() { let t = document.body.style.top; window.scrollTo(0, -1 * parseInt(t || "0")), document.body.style.overflow = "", document.body.style.top = "initial" } setStateOpen() { if (!this.isOpen || this.offset) { let t = window.innerWidth > 640 ? "scale(1.1)" : `translateY(${this.offset ? `${this.offset}px` : "100%"})`; this.animateTo(this.dialogBox, [{ opacity: this.offset ? 1 : 0, transform: t }, { opacity: 1, transform: "none" },], { duration: 300, easing: "ease" }) } } show(t = {}) { let { pinned: e = !1, payload: i } = t; if (this.isOpen) return; let s = { duration: 300, easing: "ease" }; return this.payload = i, popupStack.push({ popup: this, permission: e }), popupStack.items.length > 1 && this.animateTo(popupStack.items[popupStack.items.length - 2].popup.shadowRoot.querySelector(".popup"), [{ transform: "none" }, { transform: window.innerWidth > 640 ? "scale(0.95)" : "translateY(-1.5rem)" },], s), this.popupContainer.classList.remove("hide"), this.offset || (this.backdrop.animate([{ opacity: 0 }, { opacity: 1 },], s).onfinish = () => { this.resolveOpen(this.payload) }, this.dispatchEvent(new CustomEvent("popupopened", { bubbles: !0, composed: !0, detail: { payload: this.payload } })), document.body.style.overflow = "hidden", document.body.style.top = `-${window.scrollY}px`), this.setStateOpen(), this.pinned = e, this.isOpen = !0, setTimeout(() => { let t = this.autoFocus || this.focusable?.[0] || this.dialogBox; t && (t.tagName.includes("-") ? t.focusIn() : t.focus()) }, 0), this.hasAttribute("open") || (this.setAttribute("open", ""), this.addEventListener("keydown", this.detectFocus), this.resizeObserver.observe(this), this.mutationObserver.observe(this, { attributes: !0, childList: !0, subtree: !0 }), this.popupHeader.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), this.backdrop.addEventListener("mousedown", this.handleSoftDismiss)), { opened: new Promise(t => { this.resolveOpen = t }), closed: new Promise(t => { this.resolveClose = t }) } } hide(t = {}) { let { payload: e } = t, i = { duration: 150, easing: "ease" }; this.backdrop.animate([{ opacity: 1 }, { opacity: 0 }], i), this.animateTo(this.dialogBox, [{ opacity: 1, transform: window.innerWidth > 640 ? "none" : `translateY(${this.offset ? `${this.offset}px` : "0"})` }, { opacity: 0, transform: window.innerWidth > 640 ? "scale(1.1)" : "translateY(100%)" },], i).finished.finally(() => { this.popupContainer.classList.add("hide"), this.dialogBox.style = "", this.removeAttribute("open"), this.forms.length && this.forms.forEach(t => t.reset()), this.dispatchEvent(new CustomEvent("popupclosed", { bubbles: !0, composed: !0, detail: { payload: e || this.payload } })), this.resolveClose(e || this.payload), this.isOpen = !1 }), popupStack.pop(), popupStack.items.length ? this.animateTo(popupStack.items[popupStack.items.length - 1].popup.shadowRoot.querySelector(".popup"), [{ transform: window.innerWidth > 640 ? "scale(0.95)" : "translateY(-1.5rem)" }, { transform: "none" },], i) : this.resumeScrolling(), this.resizeObserver.disconnect(), this.mutationObserver.disconnect(), this.removeEventListener("keydown", this.detectFocus), this.popupHeader.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), this.backdrop.removeEventListener("mousedown", this.handleSoftDismiss) } handleTouchStart(t) { this.offset = 0, this.popupHeader.addEventListener("touchmove", this.handleTouchMove, { passive: !0 }), this.popupHeader.addEventListener("touchend", this.handleTouchEnd, { passive: !0 }), this.touchStartY = t.changedTouches[0].clientY, this.touchStartTime = t.timeStamp } handleTouchMove(t) { this.touchStartY < t.changedTouches[0].clientY && (this.offset = t.changedTouches[0].clientY - this.touchStartY, this.touchEndAnimation = window.requestAnimationFrame(() => { this.dialogBox.style.transform = `translateY(${this.offset}px)` })) } handleTouchEnd(t) { if (this.touchEndTime = t.timeStamp, cancelAnimationFrame(this.touchEndAnimation), this.touchEndY = t.changedTouches[0].clientY, this.threshold = .3 * this.dialogBox.getBoundingClientRect().height, this.touchEndTime - this.touchStartTime > 200) { if (this.touchEndY - this.touchStartY > this.threshold) { if (this.pinned) { this.setStateOpen(); return } this.hide() } else this.setStateOpen() } else if (this.touchEndY > this.touchStartY) { if (this.pinned) { this.setStateOpen(); return } this.hide() } this.popupHeader.removeEventListener("touchmove", this.handleTouchMove, { passive: !0 }), this.popupHeader.removeEventListener("touchend", this.handleTouchEnd, { passive: !0 }) } detectFocus(t) { if ("Tab" === t.key && this.focusable.length) { if (!this.firstFocusable) { for (let e = 0; e < this.focusable.length; e++)if (!this.focusable[e].disabled) { this.firstFocusable = this.focusable[e]; break } } if (!this.lastFocusable) { for (let i = this.focusable.length - 1; i >= 0; i--)if (!this.focusable[i].disabled) { this.lastFocusable = this.focusable[i]; break } } t.shiftKey && document.activeElement === this.firstFocusable ? (t.preventDefault(), this.lastFocusable.tagName.includes("SM-") ? this.lastFocusable.focusIn() : this.lastFocusable.focus()) : t.shiftKey || document.activeElement !== this.lastFocusable || (t.preventDefault(), this.firstFocusable.tagName.includes("SM-") ? this.firstFocusable.focusIn() : this.firstFocusable.focus()) } } updateFocusableList() { this.focusable = this.querySelectorAll('sm-button:not([disabled]), button:not([disabled]), [href], sm-input, input:not([readonly]), sm-select, select, sm-checkbox, sm-textarea, textarea, [tabindex]:not([tabindex="-1"])'), this.autoFocus = this.querySelector("[autofocus]"), this.firstFocusable = null, this.lastFocusable = null } handleSoftDismiss() { this.pinned ? this.dialogBox.animate([{ transform: "translateX(-1rem)" }, { transform: "translateX(1rem)" }, { transform: "translateX(-0.5rem)" }, { transform: "translateX(0.5rem)" }, { transform: "translateX(0)" },], { duration: 300, easing: "ease" }) : this.hide() } debounce(t, e) { let i = null; return (...s) => { window.clearTimeout(i), i = window.setTimeout(() => { t.apply(null, s) }, e) } } connectedCallback() { this.popupBodySlot.addEventListener("slotchange", this.debounce(() => { this.forms = this.querySelectorAll("sm-form"), this.updateFocusableList() }, 0)), this.resizeObserver = new ResizeObserver(t => { t.forEach(t => { if (t.contentBoxSize) { let e = Array.isArray(t.contentBoxSize) ? t.contentBoxSize[0] : t.contentBoxSize; this.threshold = .3 * e.blockSize.height } else this.threshold = .3 * t.contentRect.height }) }), this.mutationObserver = new MutationObserver(t => { this.updateFocusableList() }) } disconnectedCallback() { this.resizeObserver.disconnect(), this.mutationObserver.disconnect(), this.removeEventListener("keydown", this.detectFocus), this.popupHeader.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), this.backdrop.removeEventListener("mousedown", this.handleSoftDismiss) } attributeChangedCallback(t) { "open" === t && this.hasAttribute("open") && this.show() } });
diff --git a/css/main.css b/css/main.css
index 01c306f..797ea02 100644
--- a/css/main.css
+++ b/css/main.css
@@ -1076,9 +1076,6 @@ ul {
.task h4 {
margin-top: 0.4rem;
}
-.task .assigned-interns .assigned-intern {
- padding: 0.4rem;
-}
.admin-reply__description {
max-width: 100%;
@@ -1099,6 +1096,12 @@ ul {
padding: 1rem;
}
+#task_editing_popup [contenteditable] {
+ padding: 0.8rem;
+ background-color: rgba(var(--text-color), 0.06);
+ border-radius: 0.5rem;
+}
+
#dashboard_page {
padding-bottom: 5rem;
grid-template-columns: minmax(0, 1fr);
@@ -1318,11 +1321,9 @@ ul {
display: flex;
gap: 1rem;
justify-content: space-evenly;
+ flex-wrap: wrap;
margin: 1.5rem 0;
}
-#stats_wrapper > * {
- flex: 1;
-}
.stat {
display: flex;
@@ -1330,6 +1331,7 @@ ul {
align-items: center;
text-align: center;
gap: 0.5rem;
+ flex: 1;
}
.stat__display {
display: grid;
@@ -1519,6 +1521,11 @@ ul {
padding: 0.2rem 0.4rem;
font-weight: 500;
}
+.admin-task .intern-section {
+ margin: 0 -1rem;
+ background-color: rgba(var(--text-color), 0.03);
+ padding: 1rem;
+}
.tag {
padding: 0.4rem 0.8rem;
@@ -1572,12 +1579,7 @@ ul {
word-wrap: break-word;
}
-.assigned-interns {
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
-}
-.assigned-interns .assigned-intern {
+.assigned-intern {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
@@ -1590,8 +1592,9 @@ ul {
align-items: center;
white-space: nowrap;
text-transform: capitalize;
+ height: 100%;
}
-.assigned-interns .assigned-intern .unassign-intern-button {
+.assigned-intern .unassign-intern-button {
padding: 0.4rem;
margin-right: -0.4rem;
}
@@ -1618,34 +1621,6 @@ ul {
padding: 0.6rem 0.8rem;
}
-#task_context {
- position: absolute;
- top: 0;
- right: 0;
- margin: -1rem 1rem 0 1rem;
- list-style: none;
- width: -webkit-fit-content;
- width: -moz-fit-content;
- width: fit-content;
- border-radius: 0.5rem;
- transition: 0.3s opacity;
- background-color: rgba(var(--foreground-color), 1);
- box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.16);
- transform-origin: top right;
- border: solid thin rgba(var(--text-color), 0.16);
-}
-#task_context li {
- display: flex;
- align-items: center;
- font-size: 0.9rem;
- margin: 0.2rem;
- padding: 0.6rem 0.8rem;
- border-radius: 0.3rem;
-}
-#task_context li .icon {
- margin-right: 0.5rem;
-}
-
#branch_container {
display: flex;
flex-flow: row wrap;
@@ -2285,6 +2260,9 @@ input[type=date]:focus {
#post_update_popup {
--width: 28rem;
}
+ #task_editing_popup {
+ --width: 42rem;
+ }
#updates_page {
height: 100%;
gap: 1rem;
diff --git a/css/main.min.css b/css/main.min.css
index aa0017f..9dc8fac 100644
--- a/css/main.min.css
+++ b/css/main.min.css
@@ -1 +1 @@
-*{padding:0;margin:0;box-sizing:border-box;font-family:"Roboto",sans-serif}:root{font-size:clamp(1rem,1.2vmax,1.2rem)}html,body{height:100%}body{--accent-color: #3d5afe;--secondary-color: #ffac2e;--text-color: 34, 34, 34;--foreground-color: 252, 253, 255;--background-color: 246, 248, 253;--danger-color: rgb(255, 75, 75);--green: #1cad59;--yellow: rgb(220, 165, 0);--dark-red: #d40e1e;--red: #f50000;--kinda-pink: #e40273;--purple: #462191;--shady-blue: #324de6;--nice-blue: #3d5afe;--maybe-cyan: #00b0ff;--teal: #00bcd4;--mint-green: #16c79a;--yellowish-green: #66bb6a;--greenish-yellow: #8bc34a;--dark-teal: #11698e;--tangerine: #ff6f00;--orange: #ff9100;--redish-orange: #ff3d00;color:rgba(var(--text-color), 1);background-color:rgba(var(--background-color), 1);overflow:hidden}body[data-theme=dark]{--accent-color: #92a2ff;--secondary-color: #d60739;--text-color: 200, 200, 200;--foreground-color: 27, 28, 29;--background-color: 21, 22, 22;--danger-color: rgb(255, 106, 106);--green: #00e676;--yellow: rgb(255, 213, 5);--dark-red: #ff5e7e;--red: #ff6098;--kinda-pink: #c44ae6;--purple: #9565f7;--shady-blue: #8295fb;--nice-blue: #6d83ff;--maybe-cyan: #66cfff;--teal: #6aeeff;--mint-green: #4dffd2;--yellowish-green: #9effa2;--greenish-yellow: #c7fc8b;--dark-teal: #51cbff;--tangerine: #ffac6d;--orange: #ffbe68;--redish-orange: #ff8560}body[data-theme=dark] ::-webkit-calendar-picker-indicator{filter:invert(1)}h1,h2,h3,h4,h5,h6{letter-spacing:-0.01em;font-weight:700}p,strong{line-height:1.7;color:rgba(var(--text-color), 0.9);max-width:70ch}img{-o-object-fit:cover;object-fit:cover}a:where([class]){color:inherit;text-decoration:none}a:where([class]):focus-visible{box-shadow:0 0 0 .1rem rgba(var(--text-color), 1) inset}a{color:var(--accent-color)}a:-webkit-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:-moz-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}button,.button{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:inline-flex;border:none;background-color:rgba(0,0,0,0);overflow:hidden;color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;font-size:inherit;font-weight:500;white-space:nowrap;padding:.8rem;border-radius:.3rem;justify-content:center;flex-shrink:0}button:focus-visible,.button:focus-visible{outline:var(--accent-color) solid medium}button:not(:disabled),.button:not(:disabled){cursor:pointer}.button{background-color:rgba(var(--text-color), 0.02);border:solid thin rgba(var(--text-color), 0.06)}.button--primary{color:rgba(var(--background-color), 1);background-color:var(--accent-color)}.button--primary .icon{fill:rgba(var(--background-color), 1)}.button--colored{color:var(--accent-color)}.button--colored .icon{fill:var(--accent-color)}.button--danger{background-color:rgba(255,115,115,.062745098);color:var(--danger-color)}.button--danger .icon{fill:var(--danger-color)}.button--small{padding:.4rem .6rem}.button--outlined{border:solid rgba(var(--text-color), 0.3) .1rem;background-color:rgba(var(--foreground-color), 1)}.button--transparent{background-color:rgba(0,0,0,0)}button:disabled{opacity:.4;cursor:not-allowed;filter:saturate(0)}.cta{text-transform:uppercase;font-size:.8rem;font-weight:700;letter-spacing:.05em;padding:.8rem 1rem}.icon{width:1.2rem;height:1.2rem;fill:rgba(var(--text-color), 0.8);flex-shrink:0}.icon-only{padding:.5rem;border-radius:.3rem;aspect-ratio:1/1}a:-webkit-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:-moz-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}details summary{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;align-items:center;justify-content:space-between;color:var(--accent-color)}details[open] summary{margin-bottom:1rem}details[open]>summary .down-arrow{transform:rotate(180deg)}sm-input,sm-textarea,tags-input{--border-radius: 0.5rem;--background-color: rgba(var(--foreground-color), 1)}sm-input button .icon,sm-textarea button .icon,tags-input button .icon{fill:var(--accent-color)}sm-textarea{--max-height: 32ch}sm-spinner{--size: 1.5rem;--stroke-width: 0.1rem}cube-loader{--size: 1.2rem}sm-select{--padding: 0.8rem;--min-width: fit-content;--select-border-radius: 0.5rem}sm-select[open]{z-index:10}sm-option{font-size:.9rem}sm-chips{--gap: 0.3rem}sm-chip{position:relative;font-size:.9rem;--border-radius: 0.5rem;--padding: 0.5rem 0.8rem;--background: rgba(var(--text-color), 0.06);-webkit-user-select:none;-moz-user-select:none;user-select:none}sm-chip[selected]{--background: var(--accent-color);color:rgba(var(--background-color), 1)}collapsed-text{--button-background: rgba(var(--foreground-color), 1)}collapsed-text:not([open]){cursor:pointer}ul{list-style:none}.overflow-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wrap-around{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.full-bleed{grid-column:1/-1}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.sticky{position:-webkit-sticky;position:sticky}.top-0{top:0}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grid{display:grid}.flow-column{grid-auto-flow:column}.gap-0-3{gap:.3rem}.gap-0-5{gap:.5rem}.gap-1{gap:1rem}.gap-1-5{gap:1.5rem}.gap-2{gap:2rem}.gap-3{gap:3rem}.text-align-right{text-align:right}.text-align-left{text-align:left}.align-items-start{align-items:flex-start}.align-items-center{align-items:center}.align-content-start{align-content:flex-start}.align-start{align-content:flex-start}.align-center{align-items:center}.align-end{align-items:flex-end}.text-center{text-align:center}.justify-start{justify-items:start}.justify-content-start{justify-content:start}.justify-content-center{justify-content:center}.justify-right{margin-left:auto}.align-self-center{align-self:center}.align-self-end{align-self:end}.justify-self-center{justify-self:center}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.flex-direction-column{flex-direction:column}.space-between{justify-content:space-between}.space-evenly{justify-content:space-evenly}.w-100{width:100%}.h-100{height:100%}.padding-block-1{padding-block:1rem}.margin-right-0-3{margin-right:.3rem}.margin-right-0-5{margin-right:.5rem}.margin-right-1{margin-right:1rem}.margin-left-0-5{margin-left:.5rem}.margin-left-auto{margin-left:auto}.margin-right-auto{margin-right:auto}.margin-top-1{margin-top:1rem}.margin-bottom-0-5{margin-bottom:.5rem}.margin-bottom-1{margin-bottom:1rem}.margin-bottom-2{margin-bottom:2rem}.margin-block-0-5{margin-block:.5rem}.margin-block-1{margin-block:1rem}.margin-block-1-5{margin-block:1.5rem}.margin-inline-1{margin-inline:1rem}.margin-inline-1-5{margin-inline:1.5rem}.hidden{display:none !important}.h1{font-size:2.5rem}.h2{font-size:2rem}.h3{font-size:1.4rem}.h4{font-size:1rem}.h5{font-size:.8rem}.grid-3{grid-template-columns:1fr auto auto}.flow-column{grid-auto-flow:column}.w-100{width:100%}.color-0-8{color:rgba(var(--text-color), 0.8)}.weight-400{font-weight:400}.weight-500{font-weight:500}.ws-pre-line{white-space:pre-line}.card{background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;padding:max(1rem,3vw)}.ripple{height:8rem;width:8rem;position:absolute;border-radius:50%;transform:scale(0);background:radial-gradient(circle, rgba(var(--text-color), 0.3) 0%, rgba(0, 0, 0, 0) 50%);pointer-events:none}.interactive{position:relative;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}.button__icon{height:1.2rem;width:1.2rem}.button__icon--left{margin-right:.5rem}.button__icon--right{margin-left:.5rem}[data-editable]{transition:padding .2s}[data-editable]:focus-within{padding:.5em;border-radius:.3rem;outline:none;background-color:rgba(var(--text-color), 0.06);box-shadow:0 0 0 .1rem var(--accent-color) inset}.multi-state-button{display:grid;text-align:center;align-items:center;justify-items:center}.multi-state-button>*{grid-area:1/1/2/2}.multi-state-button button{z-index:1;width:100%}.password-field label{display:flex;justify-content:center}.password-field label input:checked~.visible{display:none}.password-field label input:not(:checked)~.invisible{display:none}#confirmation_popup,#prompt_popup{flex-direction:column}#confirmation_popup h4,#prompt_popup h4{font-size:1.2rem;margin-bottom:1rem}#confirmation_popup .flex,#prompt_popup .flex{margin-top:1rem}.popup__header{position:relative;display:grid;gap:.5rem;width:100%;padding:0 1.5rem;align-items:center}.popup__header>*{grid-row:1}.popup__header h3,.popup__header h4{grid-column:1/-1;justify-self:center;align-self:center}.popup__header__close{grid-column:1;margin-left:-1rem;justify-self:flex-start}.page{height:100%}.page__header{display:flex;justify-content:space-between;margin-bottom:1.5rem;min-height:8rem}.page__header .grid{margin-top:auto}.page__header h1{margin-top:auto;font-size:2rem}.page-layout{display:grid;gap:1.5rem 0;grid-template-columns:1.5rem minmax(0, 1fr) 1.5rem;align-content:flex-start}.page-layout>*{grid-column:2/3}#secondary_pages{display:grid;width:100%;grid-template-rows:-webkit-min-content minmax(0, 1fr);grid-template-rows:min-content minmax(0, 1fr);grid-template-areas:"header" "content"}#secondary_pages header{padding:1rem}#secondary_pages .inner-page{width:100%;height:100%;grid-area:content}.inner-page{gap:1rem;display:grid;position:relative;padding:1rem;grid-template-columns:minmax(0, 1fr);height:100%}#landing{padding:0 1rem;overflow-y:auto;padding-bottom:3rem;align-content:flex-start}.landing__card{display:grid;position:relative;flex-shrink:0;margin:0 auto;padding:2rem max(1rem,4vw);border-radius:1rem;align-items:center;width:min(100%,56rem)}.landing__card h1{font-size:max(2rem,3vw)}.landing__card img{width:min(100%,16rem);height:auto}.landing__card:first-of-type{background-color:#2a2c35;color:#fff}.landing__card:first-of-type h1{mix-blend-mode:soft-light}#landing_tasks_wrapper{margin:1rem auto 0 auto;width:min(100%,48rem)}#display_task_search_wrapper{position:-webkit-sticky;position:sticky;top:0;z-index:1;padding:.5rem 0;background:rgba(var(--background-color), 1)}#display_task_list{margin-top:1rem;padding-bottom:1.5rem}#sign_in,#sign_up{justify-items:center;align-content:center}#sign_in section,#sign_up section{margin-top:-8rem;width:min(26rem,100%)}#sign_in sm-form,#sign_up sm-form{margin:2rem 0}#sign_up .h2{margin-bottom:.5rem}.generated-keys-wrapper{padding:1rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem}#flo_id_warning{padding-bottom:1.5rem}#flo_id_warning .icon{height:3rem;width:3rem;padding:.8rem;overflow:visible;background-color:#ffc107;border-radius:3rem;fill:rgba(0,0,0,.8)}#task_details{position:fixed;width:100%;height:100%;inset:0;display:grid;overflow:hidden auto;z-index:10}#task_details>*{grid-area:1/1/2/2}#task_details__backdrop{background-color:rgba(0,0,0,.5)}#task_details_wrapper{padding:0 max(1rem,4vw);background-color:rgba(var(--foreground-color), 1);padding-bottom:3rem;width:min(100%,70ch);justify-self:flex-end;box-shadow:-1rem 0 2rem rgba(0,0,0,.1)}#task_description{margin-top:1rem}#main_page{height:100%;grid-template-rows:auto 1fr auto;grid-template-areas:"main-header" "sub-pages" "main-nav"}#sub_page_container{grid-area:sub-pages;height:100%;overflow-y:auto;display:grid}#sub_page_container>*{grid-area:1/1}#main_header{grid-area:main-header;display:grid;gap:.8rem 1rem;padding:.5rem 1rem;width:100%;align-items:center;grid-template-columns:1fr auto;border-bottom:solid thin rgba(var(--text-color), 0.2)}#user_profile_button{background-color:rgba(var(--text-color), 0.06);border-radius:2rem;font-size:.8rem;padding:.6rem .8rem}#main_nav{grid-area:main-nav;position:relative;display:flex;align-items:center;background-color:rgba(var(--foreground-color), 1)}.nav-list__item{display:flex;flex-direction:column;align-items:center;width:100%;padding:.5rem 0;-webkit-tap-highlight-color:rgba(0,0,0,0);font-size:.8rem;font-weight:500;color:rgba(var(--text-color), 0.8)}.nav-list__item--active{pointer-events:none;background-color:rgba(var(--text-color), 1);color:rgba(var(--foreground-color), 1)}.nav-list__item--active .icon{fill:rgba(var(--foreground-color), 1)}.nav-list__item--active .icon--outlined{display:none}.nav-list__item--active .icon--filled{display:inline-block}.nav-list__item:not(.nav-list__item--active) .icon--outlined{display:inline-block}.nav-list__item:not(.nav-list__item--active) .icon--filled{display:none}.nav-list__item .icon{margin-bottom:.3rem}.display-task{display:flex;flex-direction:column;gap:.8rem;padding:max(2vw,1rem);border-radius:.5rem;background-color:rgba(var(--foreground-color), 1);width:100%;border:solid thin rgba(var(--text-color), 0.1);font-size:.9rem}.display-task__category{display:inline-flex;padding:.3rem .5rem;background-color:rgba(var(--text-color), 0.06);border-radius:.3rem;font-size:.9rem;color:rgba(var(--text-color), 0.8);text-transform:capitalize;font-weight:500;height:100%;align-items:center}.display-task__category:is(a){color:var(--accent-color)}.display-task__title{color:rgba(var(--text-color), 0.9);font-size:1.2rem;font-weight:500}.display-task__description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.display-task__detail{display:flex;gap:.3rem;background-color:rgba(var(--text-color), 0.06);border-radius:1rem;padding:.4rem .8rem;color:rgba(var(--text-color), 0.8)}.display-task__detail__value{font-weight:500}.display-task p{line-height:1.5}.task{display:grid;grid-template-columns:auto 1fr;margin-right:1rem}.task .task__branch_container{padding-bottom:2rem}.task:last-of-type .left .line{transform:scaleY(0)}.task .left{display:flex;position:relative;justify-content:center;padding-top:.3rem}.task .left .circle{display:inline-flex;position:relative;align-self:flex-start;height:1.2rem;padding:.16rem;aspect-ratio:1/1;border-radius:50%;background:linear-gradient(rgba(var(--text-color), 0.1), rgba(var(--text-color), 0.1)),linear-gradient(rgba(var(--foreground-color), 1), rgba(var(--foreground-color), 1));z-index:1}.task .left .circle .icon{width:100%;height:100%}.task .left .line{position:absolute;left:50%;height:100%;width:2px;transform:translateX(-50%) scaleY(1);background-color:rgba(var(--text-color), 0.4)}.task .right{margin-left:1rem;display:flex;flex-direction:column;width:100%;gap:.7rem}.task .right .apply-cont{width:100%;display:flex;flex-direction:row}.task .right .apply-cont h4{flex:1}.task .right:last-child{margin-bottom:1rem}.task h4{margin-top:.4rem}.task .assigned-interns .assigned-intern{padding:.4rem}.admin-reply__description{max-width:100%}.completed .left .circle{background:var(--green)}.completed .left .circle .icon{fill:rgba(var(--foreground-color), 1)}.completed .left .line{background-color:#00c853 !important}.padding{padding:1rem}#dashboard_page{padding-bottom:5rem;grid-template-columns:minmax(0, 1fr);overflow-y:auto;align-items:flex-start;padding:0 1rem 1rem 1rem}.logo{display:flex;align-items:center}.project-card{padding:1rem;margin:.2rem;border-radius:.5rem;font-weight:500;line-height:1.5;text-transform:capitalize;color:rgba(var(--text-color), 0.8)}#intern_leaderboard_container{height:100%;border-radius:0}#all_interns_list,#admin_page__intern_list{gap:.5rem;grid-template-columns:repeat(auto-fill, minmax(16rem, 1fr))}#all_interns_list .intern-card,#admin_page__intern_list .intern-card{margin:0;gap:1rem;background-color:rgba(var(--foreground-color), 1)}.intern-card{display:flex;padding:1rem;margin:.2rem;border-radius:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.8rem 1rem;gap:.8rem;color:inherit}.intern-card input{height:1.3em;width:1.3em}.intern-card .icon{height:1rem;width:1rem;margin-left:.2rem}.intern-card__status{display:flex;font-size:.8rem;font-weight:500;color:rgba(var(--text-color), 0.8);background-color:rgba(var(--text-color), 0.06);padding:.2rem .4rem;border-radius:.3rem;margin-right:auto}.intern-card__initials{display:flex;height:2.6rem;width:2.6rem;justify-content:center;align-items:center;border-radius:50%;color:var(--color);font-weight:700;font-size:1rem;text-transform:uppercase;background-color:rgba(var(--text-color), 0.06)}.intern-card__score-wrapper{font-weight:500;font-size:1.2rem}.request-card{display:grid;position:relative;padding:1rem;width:min(64rem,100%);margin:0 auto;gap:.3rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;margin-bottom:.5rem;border:solid rgba(var(--text-color), 0.1) thin}.request-card time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.request-card__description{width:100%;font-size:1rem}.reject-app{margin-left:auto;margin-right:.5rem}#updates_page{align-content:flex-start}#updates_page sm-select{--max-height: 50vh}#updates{transition:opacity .3s ease}.intern-update{display:grid;gap:.5rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.update__topic{font-weight:500;font-size:1rem;margin-top:.5rem;text-transform:capitalize;max-width:65ch}.update__sender,.admin-reply__title{font-size:.85rem;font-weight:500;background-color:rgba(var(--text-color), 0.06);padding:.3rem .5rem;margin:0 -0.5rem;border-radius:1rem}.update__time{font-size:.85rem;color:rgba(var(--text-color), 0.8)}.admin-reply{position:relative;padding:1rem;padding-left:1.5rem;margin-left:.5rem;gap:.3rem}.admin-reply::before{content:"";position:absolute;width:.1rem;height:calc(100% - 1rem);left:0;background-color:rgba(var(--text-color), 0.5)}.admin-reply__title{justify-self:flex-start}.container-header{display:flex;align-items:center;width:100%;padding:1rem}.container-header h4{flex:1}#intern_profile__initials{position:relative;height:4rem;width:4rem;font-size:1.3rem;color:var(--color)}#intern_profile__name{font-size:1.5rem;padding:.4rem .5rem;border-radius:.5rem}#intern_profile__name[contenteditable=true]{background-color:rgba(var(--text-color), 0.1)}#edit_intern_name{min-width:3.5rem}.icon--star{fill:var(--orange)}#stats_wrapper{display:flex;gap:1rem;justify-content:space-evenly;margin:1.5rem 0}#stats_wrapper>*{flex:1}.stat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem}.stat__display{display:grid;justify-items:center;align-items:center;height:4rem}.stat__display>*{grid-area:1/1}.stat__circle{height:100%;stroke-width:10;overflow:visible;stroke-dasharray:400;stroke-dashoffset:var(--progress, 400);transform:rotate(-90deg);transition:stroke-dashoffset 1s}.stat__count{font-size:1.2rem;font-weight:700}.stat p{color:rgba(var(--text-color), 0.8);font-size:.9rem;max-width:8ch;line-height:1.2}#intern_rating .stat__circle{fill:rgba(var(--text-color), 0.06);stroke:var(--rating-color, --green)}#intern_rating .stat__count{color:var(--rating-color, --green)}#intern_complete_tasks .stat__circle{fill:rgba(255,61,0,.062745098);stroke-dashoffset:0}#intern_complete_tasks .stat__count{color:var(--orange)}#intern_points .stat__circle{fill:rgba(109,131,255,.062745098);stroke-dashoffset:0}#intern_points .stat__count{color:var(--nice-blue)}#intern_profile{display:flex;flex-wrap:wrap;gap:1.5rem}#intern_profile__left{position:relative;width:min(26rem,100%);border-radius:.5rem;background-color:rgba(var(--foreground-color), 1);padding:1rem}#intern_profile__right{flex:1}#intern_profile__status{position:absolute;top:0;right:0;padding:.3rem .5rem;border-radius:.3rem;font-size:.9rem;font-weight:500;color:rgba(var(--text-color), 0.8);margin:1rem;background-color:rgba(var(--text-color), 0.06)}.intern_profile__task{align-items:center;width:100%;gap:.3rem;margin-top:1rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.intern_profile__task p{font-weight:500}.intern_profile__task time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.intern_profile__task--assigned{display:flex;justify-content:space-between;flex-wrap:wrap}.intern_profile__task--completed{display:grid;grid-template-columns:minmax(0, 1fr) auto}.intern_profile__task--completed h4{grid-column:1/-1}#commit_changes_button[data-badge]::after{content:attr(data-badge);display:inline-flex;padding:.2em;background-color:rgba(var(--foreground-color), 1);color:var(--accent-color);font-weight:700;line-height:1em;min-width:1em;justify-content:center;border-radius:1rem;font-size:.9rem;margin-left:.3rem;-webkit-animation:bounce .5s infinite alternate;animation:bounce .5s infinite alternate;transform-origin:bottom}@-webkit-keyframes bounce{0%{transform:translateY(0) scaleY(0.9)}100%{transform:translateY(-0.2rem)}}@keyframes bounce{0%{transform:translateY(0) scaleY(0.9)}100%{transform:translateY(-0.2rem)}}.branch-button{display:flex;padding:.5rem;border-radius:.2rem;text-transform:capitalize;justify-self:start;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.85rem}.branch-button--active{opacity:1;color:#fff;background:var(--accent-color)}#task_list{gap:.5rem;padding:1rem 0 1.5rem 0}.admin-task{display:grid;align-content:flex-start;padding:1rem;gap:.5rem;border-radius:.5rem;background:rgba(var(--foreground-color), 1)}.admin-task .task-title{line-height:1.6;font-size:1.1rem}.admin-task__task-number{font-size:.8rem;color:rgba(var(--text-color), 0.8);border:solid .1em var(--accent-color);border-radius:.3rem;padding:.2rem .4rem;font-weight:500}.tag{padding:.4rem .8rem;border-radius:3rem;font-size:.9rem;font-weight:500;color:var(--green);border:solid .1rem var(--green)}.task__branch_container:not(:empty){display:grid;gap:.5rem;padding:.5rem 0}.task__branch_container .branch-button{position:relative;background-color:rgba(0,0,0,0);padding:0;padding-left:2rem;margin:.5rem 0}.task__branch_container .branch-button::before{position:absolute;content:"";top:-50%;left:0;display:inline-flex;width:1rem;height:100%;align-self:flex-start;margin-right:.8rem;border-left:solid;border-bottom:solid;border-width:.15rem;border-color:rgba(var(--text-color), 0.6);border-radius:0 0 0 .2rem}.task__branch_container .branch-button+.branch-button::before{top:calc(-50% - 1.5rem);height:calc(100% + 1.5rem)}.task-option{margin-right:-0.5rem}.task-description{margin:0;overflow-wrap:break-word;word-wrap:break-word}.assigned-interns{display:flex;flex-wrap:wrap;gap:.5rem}.assigned-interns .assigned-intern{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;font-size:.9rem;padding:0 .4rem;border-radius:.3rem;border:1px solid rgba(var(--text-color), 0.24);align-items:center;white-space:nowrap;text-transform:capitalize}.assigned-interns .assigned-intern .unassign-intern-button{padding:.4rem;margin-right:-0.4rem}.menu{position:absolute;z-index:5;top:calc(100% + .3rem);background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;padding:.2rem;box-shadow:0 .3rem 1.5rem rgba(0,0,0,.2);left:0;min-width:100%;border:solid thin rgba(var(--text-color), 0.2)}.menu__item{border-radius:.3rem;color:rgba(var(--text-color), 0.8);width:100%;justify-content:flex-start}.menu__item button{padding:.6rem .8rem}#task_context{position:absolute;top:0;right:0;margin:-1rem 1rem 0 1rem;list-style:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-radius:.5rem;transition:.3s opacity;background-color:rgba(var(--foreground-color), 1);box-shadow:0 1rem 2rem rgba(0,0,0,.16);transform-origin:top right;border:solid thin rgba(var(--text-color), 0.16)}#task_context li{display:flex;align-items:center;font-size:.9rem;margin:.2rem;padding:.6rem .8rem;border-radius:.3rem}#task_context li .icon{margin-right:.5rem}#branch_container{display:flex;flex-flow:row wrap;margin:.5rem 0 1rem 0}#intern_list_popup{flex-direction:column}#intern_search_field{margin-bottom:1rem}#intern_list_container{height:100%;overflow-y:auto}#intern_list_container .intern-card{padding:.8rem 0;margin:0}#task_display_container{padding:0 1rem;height:100%;gap:1rem;overflow-y:hidden}#task_display_container>*{height:100%;overflow-y:hidden}.drop-zone{display:flex;flex-direction:column;height:100%;gap:.3rem;align-content:flex-start;overflow-y:auto;padding-bottom:2rem}.drop-zone:empty{position:relative;min-height:8rem;background-color:rgba(var(--text-color), 0.06);border-radius:.5rem}.drop-zone:empty::after{content:"Drop here";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-size:1.5rem;font-weight:500;color:rgba(var(--text-color), 0.6)}#display_task_map{position:relative;padding-right:1rem;border-right:solid thin rgba(var(--text-color), 0.16)}.displayable-task{-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:1rem;border-radius:.5rem;border:solid thin rgba(var(--text-color), 0.1);background-color:rgba(var(--foreground-color), 1);transition:box-shadow .2s;box-shadow:0 0 0 rgba(0,0,0,.16)}.displayable-task__project{font-size:.9rem;padding:.2rem .5rem;background-color:rgba(var(--text-color), 0.06);border-radius:.3rem;opacity:.8;margin-right:auto}.displayable-task.draggable{display:grid;grid-template-columns:auto 1fr;cursor:move}.displayable-task.draggable .dragging-handle{display:flex;height:100%;align-items:center;grid-area:1/1/3/2;align-self:center}#loading{display:grid;text-align:center;place-content:center;justify-items:center}#pinned_project_section{position:relative;overflow:hidden}#project_explorer{padding:0;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}#project_explorer__breadcrumbs{padding:1rem}.breadcrumb{font-weight:500}.breadcrumb .icon{margin:0 .5rem}.breadcrumb--active{pointer-events:none;color:rgba(var(--text-color), 0.9)}#project_explorer__right{gap:1rem;align-items:flex-start;align-content:flex-start;padding:0 1rem}#pin_project_button{margin-left:1rem}#admin_page{position:relative;display:grid;padding:0;height:100%;overflow:hidden;grid-template-rows:auto 1fr}#admin_page__header{padding:.5rem 1rem}#admin_views{display:grid;height:100%;overflow-y:hidden}#admin_views>*{grid-area:1/1}#project_editing_panel{position:relative;height:100%;padding:0 max(4vw,1rem);overflow-y:auto;padding-bottom:2rem;flex:1}#admin_page__intern_list{display:grid;padding:0 1rem}#admin_page__intern_list .button{justify-content:flex-start;border-radius:.5rem}#admin_page__intern_list .button .icon{padding:.6rem;height:2.6rem;width:2.6rem;background-color:rgba(var(--text-color), 0.04);border-radius:3rem;margin-right:1rem}#update_of_project{color:rgba(var(--text-color), 0.8)}#update_of_task{font-size:1.3rem;margin:.4rem 0 1.8rem 0}ul{padding:0;list-style:none}#assigned_task_list{display:grid;gap:1rem;align-content:flex-start;grid-template-columns:minmax(0, 1fr)}.task-card{display:grid;gap:.5rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.task-card .task__completion-timeline{gap:1rem;background-color:rgba(var(--text-color), 0.04);padding:.5rem 1rem;margin:0 -1rem .5rem -1rem;border:solid thin rgba(var(--text-color), 0.1)}.task-card .task__completion-timeline.deadline-passed{background-color:var(--danger-color);color:rgba(var(--foreground-color), 1)}.task-card .task__completion-timeline:hover .task__completion-timeline__progress__disc::before{content:"";position:absolute;display:flex;width:0;height:0;top:1rem;border-style:solid;border-width:0 .4rem .4rem .4rem;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--accent-color) rgba(0,0,0,0)}.task-card .task__completion-timeline:hover .task__completion-timeline__progress__disc::after{content:"Completing task early will give you more points.";position:absolute;display:flex;top:calc(100% + .5rem);left:50%;transform:translateX(-50%);font-size:.9rem;text-align:center;width:11rem;padding:.5rem;color:rgba(var(--text-color), 0.8);background-color:var(--accent-color);border-radius:.5rem;box-shadow:0 .5rem .5rem rgba(0,0,0,.16);color:rgba(var(--background-color), 1)}.task-card .task__completion-timeline__progress{display:flex;align-items:center;width:100%;height:.2rem;background:linear-gradient(90deg, rgb(89, 90, 255) 0%, rgb(162, 0, 167) 60%, rgb(215, 43, 43) 80%);border-radius:.5rem}.task-card .task__completion-timeline__progress__bar{height:.2rem;background-color:rgba(var(--text-color), 1);border-radius:inherit;width:var(--progress)}.task-card .task__completion-timeline__progress__disc{position:relative;display:flex;height:.8rem;aspect-ratio:1/1;background-color:var(--accent-color);border-radius:.5rem;z-index:1;margin-left:-0.4rem}.task__project-title{font-size:.8rem;margin:0 -0.5em;margin-bottom:.5rem;border-radius:1rem;padding:.3rem .5rem;justify-self:flex-start;color:rgba(var(--text-color), 0.8);background-color:rgba(var(--text-color), 0.06)}.task__title{font-size:1.1rem;margin-bottom:1rem}.task__description{word-wrap:break-word;overflow-wrap:break-word;color:rgba(var(--text-color), 0.8);margin-top:.2rem}.temp-task{padding:1rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem}#internship_requests_list{padding-bottom:2rem}.status-card{display:grid;gap:1rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.status-card__time{font-size:.8rem;color:rgba(var(--text-color), 0.8)}.status-card__status{justify-content:flex-end}.status-card__status .icon{height:1em;width:1em}.status-card.accepted .icon{fill:var(--green)}.status-card.rejected .icon{fill:var(--danger-color)}.status-card.pending .icon{fill:var(--yellow)}#projects_container{display:flex;height:100%;overflow-y:hidden}#projects_container__left{height:100%;overflow-y:auto;width:100%}#projects_container__left .list-container{height:100%;overflow-y:auto;padding-bottom:2rem}#projects_container__left .empty-state{padding:1rem;text-align:center}#update_filters_wrapper{gap:1.5rem}input[type=date]{display:flex;width:100%;padding:.8rem .6rem;border:none;border-radius:.5rem;font-weight:500;font-family:inherit;font-size:inherit;color:inherit;background-color:rgba(var(--text-color), 0.06)}input[type=date]:focus{outline:none;box-shadow:0 0 0 .1rem var(--accent-color)}#requests_container{padding:0 1rem;gap:1.5rem;overflow-y:auto}#user_role{justify-self:start;font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;padding:.4rem .8rem;border-radius:.3rem;border:solid var(--accent-color) thin}#pinned_project_section{display:grid;gap:1rem}#pinned_projects{display:grid;gap:.3rem;grid-template-columns:repeat(auto-fill, minmax(20rem, 1fr))}.pinned-card{color:inherit;display:flex;border-radius:.5rem;gap:1rem;padding:1rem;background-color:rgba(var(--foreground-color), 1);align-items:center}.pinned-card .project-icon{display:grid;background-color:rgba(var(--text-color), 0.06);place-content:center;place-items:center;border-radius:2rem}.pinned-card .project-icon>*{grid-area:1/1}.pinned-card .project-icon .icon{fill:var(--accent-color)}.pinned-card .progress-icon{transform:rotate(-90deg);stroke-dasharray:76;stroke-dashoffset:var(--progress, 0);stroke-width:2;stroke:var(--accent-color);height:3rem;width:3rem;overflow:visible;padding:.1rem}.pinned-card .project__title{color:rgba(var(--text-color), 0.9)}.pinned-card .project__title:hover{color:var(--accent-color)}.pinned-card .project__complete-percent{font-size:.8rem;opacity:.8}@media only screen and (max-width: 640px){.list-container{padding-bottom:5rem}.status-card__status{grid-area:1/2/2/3}.status-card__details{grid-area:2/1/3/3}.landing__card:first-of-type{text-align:center;justify-items:center}.landing__card:first-of-type .flex{justify-content:center}.landing__card:first-of-type img{grid-area:1/1/2/2}#user_profile_button{grid-area:1/1/2/2}theme-toggle{grid-area:1/2/2/3}#main_nav{justify-content:space-evenly}#task_search_input{width:100%}#dashboard_view_selector{margin:1rem -1rem 0 -1rem;width:calc(100% + 2rem);max-width:initial}#dashboard_view_selector>:first-child{margin-left:1rem}#dashboard_view_selector>:last-child{margin-right:1rem}.admin-task{margin:0 -1rem;border-radius:0}#task_display_container{flex-direction:column}.hide-on-mobile{display:none !important}}@media only screen and (min-width: 640px){.hide-on-desktop{display:none !important}sm-popup{--width: 26rem}.popup__header{padding:1rem 1.5rem 0 1.5rem}.landing__card{grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}.landing__card img{justify-self:flex-end}#task_details .button--primary{width:-webkit-max-content;width:-moz-max-content;width:max-content}#main_header{grid-template-columns:1fr auto auto}#main_nav{padding:1rem .5rem;background-color:rgba(var(--background-color), 1);flex-direction:column}#main_nav theme-toggle{margin:1rem;margin-top:auto}.nav-list__item{flex-direction:row;align-items:center;justify-content:center;border-radius:.5rem;padding:.8rem;margin-bottom:.25rem;font-size:1rem;aspect-ratio:1/1}.nav-list__item .icon{margin-bottom:0}.nav-list__item_title{display:none}.project-card--active{background-color:rgba(var(--text-color), 0.1)}.project-card--active::before{content:"";position:absolute;top:0;left:0;bottom:0;margin:auto 0;width:.2rem;height:1.5em;background-color:var(--accent-color);border-radius:0 .2rem .2rem 0}#sign_in{width:24rem;height:auto;border-radius:.4rem}#dashboard_page{grid-template-columns:1fr 18rem;grid-template-rows:auto 1fr}#dashboard_page>:not(#intern_leaderboard_container,#dashboard_view_selector){grid-column:1;width:min(48rem,100%);margin:0 auto}#dashboard_view_selector{width:min(48rem,100%);margin:1rem auto 0 auto}#intern_leaderboard_container{position:-webkit-sticky;position:sticky;top:0;grid-column:2;grid-row:1/3;border-left:solid thin rgba(var(--text-color), 0.2)}#all_interns_page__header{grid-template-columns:1fr auto}#intern_info_popup{--width: min(64rem, 100%)}#admin_page{padding:0}#projects_container__left{width:18rem}#project_explorer{display:grid;height:100%;gap:0;grid-template-columns:16rem 3fr;background-color:rgba(var(--foreground-color), 0.3);overflow-y:auto}#project_explorer__left{height:100%;overflow-y:auto;padding-bottom:1.5rem}#project_explorer__right{height:100%;overflow-y:auto;padding:1.5rem 4vw;background-color:rgba(var(--foreground-color), 0.5)}#main_page{grid-template-columns:4rem minmax(0, 1fr);grid-template-areas:"main-header main-header" "main-nav sub-pages"}.display-task .display-task__detail:last-of-type{margin-left:auto}#post_update_popup{--width: 28rem}#updates_page{height:100%;gap:1rem;grid-template-areas:"updates update-filters";grid-template-columns:minmax(0, 1fr) 20rem;overflow-y:hidden}#update_filters_wrapper{padding:1rem;border-radius:.5rem;align-content:flex-start;grid-area:update-filters;background-color:rgba(var(--foreground-color), 1)}#updates_wrapper{height:100%;overflow-y:auto;grid-area:updates}#intern_list_popup{--height: 80vh}.status-card{align-items:center;font-size:.9rem;grid-template-columns:6rem 1fr 8rem}#requests_container{grid-template-columns:14rem 1fr}#requests_container>:nth-child(2){width:min(48rem,100%);margin:0 auto}#intern_profile__left{position:-webkit-sticky;position:sticky;top:1rem;align-self:flex-start;padding:1.5rem}#profile_popup{--width: 32rem}}@media only screen and (min-width: 1280px){#main_page{grid-template-columns:12rem minmax(0, 1fr);grid-template-areas:"main-header main-header" "main-nav sub-pages"}#main_nav{align-items:flex-start}.nav-list__item{justify-content:flex-start;aspect-ratio:initial}.nav-list__item .icon{margin-right:.5rem}.nav-list__item_title{display:inline-block}}@media(any-hover: hover){::-webkit-scrollbar{width:.5rem;height:.5rem}::-webkit-scrollbar-thumb{background:rgba(var(--text-color), 0.3);border-radius:1rem}::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-color), 0.5)}.interactive{transition:background-color .2s}.interactive:hover{background-color:rgba(var(--text-color), 0.04)}}.gu-mirror{position:fixed;z-index:9999 !important;box-shadow:0 1rem 2rem rgba(0,0,0,.16)}.gu-hide{display:none !important}.gu-unselectable{-webkit-user-select:none !important;-moz-user-select:none !important;user-select:none !important}.gu-transit{opacity:.2}
\ No newline at end of file
+*{padding:0;margin:0;box-sizing:border-box;font-family:"Roboto",sans-serif}:root{font-size:clamp(1rem,1.2vmax,1.2rem)}html,body{height:100%}body{--accent-color: #3d5afe;--secondary-color: #ffac2e;--text-color: 34, 34, 34;--foreground-color: 252, 253, 255;--background-color: 246, 248, 253;--danger-color: rgb(255, 75, 75);--green: #1cad59;--yellow: rgb(220, 165, 0);--dark-red: #d40e1e;--red: #f50000;--kinda-pink: #e40273;--purple: #462191;--shady-blue: #324de6;--nice-blue: #3d5afe;--maybe-cyan: #00b0ff;--teal: #00bcd4;--mint-green: #16c79a;--yellowish-green: #66bb6a;--greenish-yellow: #8bc34a;--dark-teal: #11698e;--tangerine: #ff6f00;--orange: #ff9100;--redish-orange: #ff3d00;color:rgba(var(--text-color), 1);background-color:rgba(var(--background-color), 1);overflow:hidden}body[data-theme=dark]{--accent-color: #92a2ff;--secondary-color: #d60739;--text-color: 200, 200, 200;--foreground-color: 27, 28, 29;--background-color: 21, 22, 22;--danger-color: rgb(255, 106, 106);--green: #00e676;--yellow: rgb(255, 213, 5);--dark-red: #ff5e7e;--red: #ff6098;--kinda-pink: #c44ae6;--purple: #9565f7;--shady-blue: #8295fb;--nice-blue: #6d83ff;--maybe-cyan: #66cfff;--teal: #6aeeff;--mint-green: #4dffd2;--yellowish-green: #9effa2;--greenish-yellow: #c7fc8b;--dark-teal: #51cbff;--tangerine: #ffac6d;--orange: #ffbe68;--redish-orange: #ff8560}body[data-theme=dark] ::-webkit-calendar-picker-indicator{filter:invert(1)}h1,h2,h3,h4,h5,h6{letter-spacing:-0.01em;font-weight:700}p,strong{line-height:1.7;color:rgba(var(--text-color), 0.9);max-width:70ch}img{-o-object-fit:cover;object-fit:cover}a:where([class]){color:inherit;text-decoration:none}a:where([class]):focus-visible{box-shadow:0 0 0 .1rem rgba(var(--text-color), 1) inset}a{color:var(--accent-color)}a:-webkit-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:-moz-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}button,.button{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:inline-flex;border:none;background-color:rgba(0,0,0,0);overflow:hidden;color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;font-size:inherit;font-weight:500;white-space:nowrap;padding:.8rem;border-radius:.3rem;justify-content:center;flex-shrink:0}button:focus-visible,.button:focus-visible{outline:var(--accent-color) solid medium}button:not(:disabled),.button:not(:disabled){cursor:pointer}.button{background-color:rgba(var(--text-color), 0.02);border:solid thin rgba(var(--text-color), 0.06)}.button--primary{color:rgba(var(--background-color), 1);background-color:var(--accent-color)}.button--primary .icon{fill:rgba(var(--background-color), 1)}.button--colored{color:var(--accent-color)}.button--colored .icon{fill:var(--accent-color)}.button--danger{background-color:rgba(255,115,115,.062745098);color:var(--danger-color)}.button--danger .icon{fill:var(--danger-color)}.button--small{padding:.4rem .6rem}.button--outlined{border:solid rgba(var(--text-color), 0.3) .1rem;background-color:rgba(var(--foreground-color), 1)}.button--transparent{background-color:rgba(0,0,0,0)}button:disabled{opacity:.4;cursor:not-allowed;filter:saturate(0)}.cta{text-transform:uppercase;font-size:.8rem;font-weight:700;letter-spacing:.05em;padding:.8rem 1rem}.icon{width:1.2rem;height:1.2rem;fill:rgba(var(--text-color), 0.8);flex-shrink:0}.icon-only{padding:.5rem;border-radius:.3rem;aspect-ratio:1/1}a:-webkit-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:-moz-any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}a:any-link:focus-visible{outline:rgba(var(--text-color), 1) .1rem solid}details summary{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;align-items:center;justify-content:space-between;color:var(--accent-color)}details[open] summary{margin-bottom:1rem}details[open]>summary .down-arrow{transform:rotate(180deg)}sm-input,sm-textarea,tags-input{--border-radius: 0.5rem;--background-color: rgba(var(--foreground-color), 1)}sm-input button .icon,sm-textarea button .icon,tags-input button .icon{fill:var(--accent-color)}sm-textarea{--max-height: 32ch}sm-spinner{--size: 1.5rem;--stroke-width: 0.1rem}cube-loader{--size: 1.2rem}sm-select{--padding: 0.8rem;--min-width: fit-content;--select-border-radius: 0.5rem}sm-select[open]{z-index:10}sm-option{font-size:.9rem}sm-chips{--gap: 0.3rem}sm-chip{position:relative;font-size:.9rem;--border-radius: 0.5rem;--padding: 0.5rem 0.8rem;--background: rgba(var(--text-color), 0.06);-webkit-user-select:none;-moz-user-select:none;user-select:none}sm-chip[selected]{--background: var(--accent-color);color:rgba(var(--background-color), 1)}collapsed-text{--button-background: rgba(var(--foreground-color), 1)}collapsed-text:not([open]){cursor:pointer}ul{list-style:none}.overflow-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wrap-around{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.full-bleed{grid-column:1/-1}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.sticky{position:-webkit-sticky;position:sticky}.top-0{top:0}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grid{display:grid}.flow-column{grid-auto-flow:column}.gap-0-3{gap:.3rem}.gap-0-5{gap:.5rem}.gap-1{gap:1rem}.gap-1-5{gap:1.5rem}.gap-2{gap:2rem}.gap-3{gap:3rem}.text-align-right{text-align:right}.text-align-left{text-align:left}.align-items-start{align-items:flex-start}.align-items-center{align-items:center}.align-content-start{align-content:flex-start}.align-start{align-content:flex-start}.align-center{align-items:center}.align-end{align-items:flex-end}.text-center{text-align:center}.justify-start{justify-items:start}.justify-content-start{justify-content:start}.justify-content-center{justify-content:center}.justify-right{margin-left:auto}.align-self-center{align-self:center}.align-self-end{align-self:end}.justify-self-center{justify-self:center}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.flex-direction-column{flex-direction:column}.space-between{justify-content:space-between}.space-evenly{justify-content:space-evenly}.w-100{width:100%}.h-100{height:100%}.padding-block-1{padding-block:1rem}.margin-right-0-3{margin-right:.3rem}.margin-right-0-5{margin-right:.5rem}.margin-right-1{margin-right:1rem}.margin-left-0-5{margin-left:.5rem}.margin-left-auto{margin-left:auto}.margin-right-auto{margin-right:auto}.margin-top-1{margin-top:1rem}.margin-bottom-0-5{margin-bottom:.5rem}.margin-bottom-1{margin-bottom:1rem}.margin-bottom-2{margin-bottom:2rem}.margin-block-0-5{margin-block:.5rem}.margin-block-1{margin-block:1rem}.margin-block-1-5{margin-block:1.5rem}.margin-inline-1{margin-inline:1rem}.margin-inline-1-5{margin-inline:1.5rem}.hidden{display:none !important}.h1{font-size:2.5rem}.h2{font-size:2rem}.h3{font-size:1.4rem}.h4{font-size:1rem}.h5{font-size:.8rem}.grid-3{grid-template-columns:1fr auto auto}.flow-column{grid-auto-flow:column}.w-100{width:100%}.color-0-8{color:rgba(var(--text-color), 0.8)}.weight-400{font-weight:400}.weight-500{font-weight:500}.ws-pre-line{white-space:pre-line}.card{background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;padding:max(1rem,3vw)}.ripple{height:8rem;width:8rem;position:absolute;border-radius:50%;transform:scale(0);background:radial-gradient(circle, rgba(var(--text-color), 0.3) 0%, rgba(0, 0, 0, 0) 50%);pointer-events:none}.interactive{position:relative;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}.button__icon{height:1.2rem;width:1.2rem}.button__icon--left{margin-right:.5rem}.button__icon--right{margin-left:.5rem}[data-editable]{transition:padding .2s}[data-editable]:focus-within{padding:.5em;border-radius:.3rem;outline:none;background-color:rgba(var(--text-color), 0.06);box-shadow:0 0 0 .1rem var(--accent-color) inset}.multi-state-button{display:grid;text-align:center;align-items:center;justify-items:center}.multi-state-button>*{grid-area:1/1/2/2}.multi-state-button button{z-index:1;width:100%}.password-field label{display:flex;justify-content:center}.password-field label input:checked~.visible{display:none}.password-field label input:not(:checked)~.invisible{display:none}#confirmation_popup,#prompt_popup{flex-direction:column}#confirmation_popup h4,#prompt_popup h4{font-size:1.2rem;margin-bottom:1rem}#confirmation_popup .flex,#prompt_popup .flex{margin-top:1rem}.popup__header{position:relative;display:grid;gap:.5rem;width:100%;padding:0 1.5rem;align-items:center}.popup__header>*{grid-row:1}.popup__header h3,.popup__header h4{grid-column:1/-1;justify-self:center;align-self:center}.popup__header__close{grid-column:1;margin-left:-1rem;justify-self:flex-start}.page{height:100%}.page__header{display:flex;justify-content:space-between;margin-bottom:1.5rem;min-height:8rem}.page__header .grid{margin-top:auto}.page__header h1{margin-top:auto;font-size:2rem}.page-layout{display:grid;gap:1.5rem 0;grid-template-columns:1.5rem minmax(0, 1fr) 1.5rem;align-content:flex-start}.page-layout>*{grid-column:2/3}#secondary_pages{display:grid;width:100%;grid-template-rows:-webkit-min-content minmax(0, 1fr);grid-template-rows:min-content minmax(0, 1fr);grid-template-areas:"header" "content"}#secondary_pages header{padding:1rem}#secondary_pages .inner-page{width:100%;height:100%;grid-area:content}.inner-page{gap:1rem;display:grid;position:relative;padding:1rem;grid-template-columns:minmax(0, 1fr);height:100%}#landing{padding:0 1rem;overflow-y:auto;padding-bottom:3rem;align-content:flex-start}.landing__card{display:grid;position:relative;flex-shrink:0;margin:0 auto;padding:2rem max(1rem,4vw);border-radius:1rem;align-items:center;width:min(100%,56rem)}.landing__card h1{font-size:max(2rem,3vw)}.landing__card img{width:min(100%,16rem);height:auto}.landing__card:first-of-type{background-color:#2a2c35;color:#fff}.landing__card:first-of-type h1{mix-blend-mode:soft-light}#landing_tasks_wrapper{margin:1rem auto 0 auto;width:min(100%,48rem)}#display_task_search_wrapper{position:-webkit-sticky;position:sticky;top:0;z-index:1;padding:.5rem 0;background:rgba(var(--background-color), 1)}#display_task_list{margin-top:1rem;padding-bottom:1.5rem}#sign_in,#sign_up{justify-items:center;align-content:center}#sign_in section,#sign_up section{margin-top:-8rem;width:min(26rem,100%)}#sign_in sm-form,#sign_up sm-form{margin:2rem 0}#sign_up .h2{margin-bottom:.5rem}.generated-keys-wrapper{padding:1rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem}#flo_id_warning{padding-bottom:1.5rem}#flo_id_warning .icon{height:3rem;width:3rem;padding:.8rem;overflow:visible;background-color:#ffc107;border-radius:3rem;fill:rgba(0,0,0,.8)}#task_details{position:fixed;width:100%;height:100%;inset:0;display:grid;overflow:hidden auto;z-index:10}#task_details>*{grid-area:1/1/2/2}#task_details__backdrop{background-color:rgba(0,0,0,.5)}#task_details_wrapper{padding:0 max(1rem,4vw);background-color:rgba(var(--foreground-color), 1);padding-bottom:3rem;width:min(100%,70ch);justify-self:flex-end;box-shadow:-1rem 0 2rem rgba(0,0,0,.1)}#task_description{margin-top:1rem}#main_page{height:100%;grid-template-rows:auto 1fr auto;grid-template-areas:"main-header" "sub-pages" "main-nav"}#sub_page_container{grid-area:sub-pages;height:100%;overflow-y:auto;display:grid}#sub_page_container>*{grid-area:1/1}#main_header{grid-area:main-header;display:grid;gap:.8rem 1rem;padding:.5rem 1rem;width:100%;align-items:center;grid-template-columns:1fr auto;border-bottom:solid thin rgba(var(--text-color), 0.2)}#user_profile_button{background-color:rgba(var(--text-color), 0.06);border-radius:2rem;font-size:.8rem;padding:.6rem .8rem}#main_nav{grid-area:main-nav;position:relative;display:flex;align-items:center;background-color:rgba(var(--foreground-color), 1)}.nav-list__item{display:flex;flex-direction:column;align-items:center;width:100%;padding:.5rem 0;-webkit-tap-highlight-color:rgba(0,0,0,0);font-size:.8rem;font-weight:500;color:rgba(var(--text-color), 0.8)}.nav-list__item--active{pointer-events:none;background-color:rgba(var(--text-color), 1);color:rgba(var(--foreground-color), 1)}.nav-list__item--active .icon{fill:rgba(var(--foreground-color), 1)}.nav-list__item--active .icon--outlined{display:none}.nav-list__item--active .icon--filled{display:inline-block}.nav-list__item:not(.nav-list__item--active) .icon--outlined{display:inline-block}.nav-list__item:not(.nav-list__item--active) .icon--filled{display:none}.nav-list__item .icon{margin-bottom:.3rem}.display-task{display:flex;flex-direction:column;gap:.8rem;padding:max(2vw,1rem);border-radius:.5rem;background-color:rgba(var(--foreground-color), 1);width:100%;border:solid thin rgba(var(--text-color), 0.1);font-size:.9rem}.display-task__category{display:inline-flex;padding:.3rem .5rem;background-color:rgba(var(--text-color), 0.06);border-radius:.3rem;font-size:.9rem;color:rgba(var(--text-color), 0.8);text-transform:capitalize;font-weight:500;height:100%;align-items:center}.display-task__category:is(a){color:var(--accent-color)}.display-task__title{color:rgba(var(--text-color), 0.9);font-size:1.2rem;font-weight:500}.display-task__description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.display-task__detail{display:flex;gap:.3rem;background-color:rgba(var(--text-color), 0.06);border-radius:1rem;padding:.4rem .8rem;color:rgba(var(--text-color), 0.8)}.display-task__detail__value{font-weight:500}.display-task p{line-height:1.5}.task{display:grid;grid-template-columns:auto 1fr;margin-right:1rem}.task .task__branch_container{padding-bottom:2rem}.task:last-of-type .left .line{transform:scaleY(0)}.task .left{display:flex;position:relative;justify-content:center;padding-top:.3rem}.task .left .circle{display:inline-flex;position:relative;align-self:flex-start;height:1.2rem;padding:.16rem;aspect-ratio:1/1;border-radius:50%;background:linear-gradient(rgba(var(--text-color), 0.1), rgba(var(--text-color), 0.1)),linear-gradient(rgba(var(--foreground-color), 1), rgba(var(--foreground-color), 1));z-index:1}.task .left .circle .icon{width:100%;height:100%}.task .left .line{position:absolute;left:50%;height:100%;width:2px;transform:translateX(-50%) scaleY(1);background-color:rgba(var(--text-color), 0.4)}.task .right{margin-left:1rem;display:flex;flex-direction:column;width:100%;gap:.7rem}.task .right .apply-cont{width:100%;display:flex;flex-direction:row}.task .right .apply-cont h4{flex:1}.task .right:last-child{margin-bottom:1rem}.task h4{margin-top:.4rem}.admin-reply__description{max-width:100%}.completed .left .circle{background:var(--green)}.completed .left .circle .icon{fill:rgba(var(--foreground-color), 1)}.completed .left .line{background-color:#00c853 !important}.padding{padding:1rem}#task_editing_popup [contenteditable]{padding:.8rem;background-color:rgba(var(--text-color), 0.06);border-radius:.5rem}#dashboard_page{padding-bottom:5rem;grid-template-columns:minmax(0, 1fr);overflow-y:auto;align-items:flex-start;padding:0 1rem 1rem 1rem}.logo{display:flex;align-items:center}.project-card{padding:1rem;margin:.2rem;border-radius:.5rem;font-weight:500;line-height:1.5;text-transform:capitalize;color:rgba(var(--text-color), 0.8)}#intern_leaderboard_container{height:100%;border-radius:0}#all_interns_list,#admin_page__intern_list{gap:.5rem;grid-template-columns:repeat(auto-fill, minmax(16rem, 1fr))}#all_interns_list .intern-card,#admin_page__intern_list .intern-card{margin:0;gap:1rem;background-color:rgba(var(--foreground-color), 1)}.intern-card{display:flex;padding:1rem;margin:.2rem;border-radius:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.8rem 1rem;gap:.8rem;color:inherit}.intern-card input{height:1.3em;width:1.3em}.intern-card .icon{height:1rem;width:1rem;margin-left:.2rem}.intern-card__status{display:flex;font-size:.8rem;font-weight:500;color:rgba(var(--text-color), 0.8);background-color:rgba(var(--text-color), 0.06);padding:.2rem .4rem;border-radius:.3rem;margin-right:auto}.intern-card__initials{display:flex;height:2.6rem;width:2.6rem;justify-content:center;align-items:center;border-radius:50%;color:var(--color);font-weight:700;font-size:1rem;text-transform:uppercase;background-color:rgba(var(--text-color), 0.06)}.intern-card__score-wrapper{font-weight:500;font-size:1.2rem}.request-card{display:grid;position:relative;padding:1rem;width:min(64rem,100%);margin:0 auto;gap:.3rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;margin-bottom:.5rem;border:solid rgba(var(--text-color), 0.1) thin}.request-card time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.request-card__description{width:100%;font-size:1rem}.reject-app{margin-left:auto;margin-right:.5rem}#updates_page{align-content:flex-start}#updates_page sm-select{--max-height: 50vh}#updates{transition:opacity .3s ease}.intern-update{display:grid;gap:.5rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.update__topic{font-weight:500;font-size:1rem;margin-top:.5rem;text-transform:capitalize;max-width:65ch}.update__sender,.admin-reply__title{font-size:.85rem;font-weight:500;background-color:rgba(var(--text-color), 0.06);padding:.3rem .5rem;margin:0 -0.5rem;border-radius:1rem}.update__time{font-size:.85rem;color:rgba(var(--text-color), 0.8)}.admin-reply{position:relative;padding:1rem;padding-left:1.5rem;margin-left:.5rem;gap:.3rem}.admin-reply::before{content:"";position:absolute;width:.1rem;height:calc(100% - 1rem);left:0;background-color:rgba(var(--text-color), 0.5)}.admin-reply__title{justify-self:flex-start}.container-header{display:flex;align-items:center;width:100%;padding:1rem}.container-header h4{flex:1}#intern_profile__initials{position:relative;height:4rem;width:4rem;font-size:1.3rem;color:var(--color)}#intern_profile__name{font-size:1.5rem;padding:.4rem .5rem;border-radius:.5rem}#intern_profile__name[contenteditable=true]{background-color:rgba(var(--text-color), 0.1)}#edit_intern_name{min-width:3.5rem}.icon--star{fill:var(--orange)}#stats_wrapper{display:flex;gap:1rem;justify-content:space-evenly;flex-wrap:wrap;margin:1.5rem 0}.stat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;flex:1}.stat__display{display:grid;justify-items:center;align-items:center;height:4rem}.stat__display>*{grid-area:1/1}.stat__circle{height:100%;stroke-width:10;overflow:visible;stroke-dasharray:400;stroke-dashoffset:var(--progress, 400);transform:rotate(-90deg);transition:stroke-dashoffset 1s}.stat__count{font-size:1.2rem;font-weight:700}.stat p{color:rgba(var(--text-color), 0.8);font-size:.9rem;max-width:8ch;line-height:1.2}#intern_rating .stat__circle{fill:rgba(var(--text-color), 0.06);stroke:var(--rating-color, --green)}#intern_rating .stat__count{color:var(--rating-color, --green)}#intern_complete_tasks .stat__circle{fill:rgba(255,61,0,.062745098);stroke-dashoffset:0}#intern_complete_tasks .stat__count{color:var(--orange)}#intern_points .stat__circle{fill:rgba(109,131,255,.062745098);stroke-dashoffset:0}#intern_points .stat__count{color:var(--nice-blue)}#intern_profile{display:flex;flex-wrap:wrap;gap:1.5rem}#intern_profile__left{position:relative;width:min(26rem,100%);border-radius:.5rem;background-color:rgba(var(--foreground-color), 1);padding:1rem}#intern_profile__right{flex:1}#intern_profile__status{position:absolute;top:0;right:0;padding:.3rem .5rem;border-radius:.3rem;font-size:.9rem;font-weight:500;color:rgba(var(--text-color), 0.8);margin:1rem;background-color:rgba(var(--text-color), 0.06)}.intern_profile__task{align-items:center;width:100%;gap:.3rem;margin-top:1rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.intern_profile__task p{font-weight:500}.intern_profile__task time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.intern_profile__task--assigned{display:flex;justify-content:space-between;flex-wrap:wrap}.intern_profile__task--completed{display:grid;grid-template-columns:minmax(0, 1fr) auto}.intern_profile__task--completed h4{grid-column:1/-1}#commit_changes_button[data-badge]::after{content:attr(data-badge);display:inline-flex;padding:.2em;background-color:rgba(var(--foreground-color), 1);color:var(--accent-color);font-weight:700;line-height:1em;min-width:1em;justify-content:center;border-radius:1rem;font-size:.9rem;margin-left:.3rem;-webkit-animation:bounce .5s infinite alternate;animation:bounce .5s infinite alternate;transform-origin:bottom}@-webkit-keyframes bounce{0%{transform:translateY(0) scaleY(0.9)}100%{transform:translateY(-0.2rem)}}@keyframes bounce{0%{transform:translateY(0) scaleY(0.9)}100%{transform:translateY(-0.2rem)}}.branch-button{display:flex;padding:.5rem;border-radius:.2rem;text-transform:capitalize;justify-self:start;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.85rem}.branch-button--active{opacity:1;color:#fff;background:var(--accent-color)}#task_list{gap:.5rem;padding:1rem 0 1.5rem 0}.admin-task{display:grid;align-content:flex-start;padding:1rem;gap:.5rem;border-radius:.5rem;background:rgba(var(--foreground-color), 1)}.admin-task .task-title{line-height:1.6;font-size:1.1rem}.admin-task__task-number{font-size:.8rem;color:rgba(var(--text-color), 0.8);border:solid .1em var(--accent-color);border-radius:.3rem;padding:.2rem .4rem;font-weight:500}.admin-task .intern-section{margin:0 -1rem;background-color:rgba(var(--text-color), 0.03);padding:1rem}.tag{padding:.4rem .8rem;border-radius:3rem;font-size:.9rem;font-weight:500;color:var(--green);border:solid .1rem var(--green)}.task__branch_container:not(:empty){display:grid;gap:.5rem;padding:.5rem 0}.task__branch_container .branch-button{position:relative;background-color:rgba(0,0,0,0);padding:0;padding-left:2rem;margin:.5rem 0}.task__branch_container .branch-button::before{position:absolute;content:"";top:-50%;left:0;display:inline-flex;width:1rem;height:100%;align-self:flex-start;margin-right:.8rem;border-left:solid;border-bottom:solid;border-width:.15rem;border-color:rgba(var(--text-color), 0.6);border-radius:0 0 0 .2rem}.task__branch_container .branch-button+.branch-button::before{top:calc(-50% - 1.5rem);height:calc(100% + 1.5rem)}.task-option{margin-right:-0.5rem}.task-description{margin:0;overflow-wrap:break-word;word-wrap:break-word}.assigned-intern{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;font-size:.9rem;padding:0 .4rem;border-radius:.3rem;border:1px solid rgba(var(--text-color), 0.24);align-items:center;white-space:nowrap;text-transform:capitalize;height:100%}.assigned-intern .unassign-intern-button{padding:.4rem;margin-right:-0.4rem}.menu{position:absolute;z-index:5;top:calc(100% + .3rem);background-color:rgba(var(--foreground-color), 1);border-radius:.5rem;padding:.2rem;box-shadow:0 .3rem 1.5rem rgba(0,0,0,.2);left:0;min-width:100%;border:solid thin rgba(var(--text-color), 0.2)}.menu__item{border-radius:.3rem;color:rgba(var(--text-color), 0.8);width:100%;justify-content:flex-start}.menu__item button{padding:.6rem .8rem}#branch_container{display:flex;flex-flow:row wrap;margin:.5rem 0 1rem 0}#intern_list_popup{flex-direction:column}#intern_search_field{margin-bottom:1rem}#intern_list_container{height:100%;overflow-y:auto}#intern_list_container .intern-card{padding:.8rem 0;margin:0}#task_display_container{padding:0 1rem;height:100%;gap:1rem;overflow-y:hidden}#task_display_container>*{height:100%;overflow-y:hidden}.drop-zone{display:flex;flex-direction:column;height:100%;gap:.3rem;align-content:flex-start;overflow-y:auto;padding-bottom:2rem}.drop-zone:empty{position:relative;min-height:8rem;background-color:rgba(var(--text-color), 0.06);border-radius:.5rem}.drop-zone:empty::after{content:"Drop here";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-size:1.5rem;font-weight:500;color:rgba(var(--text-color), 0.6)}#display_task_map{position:relative;padding-right:1rem;border-right:solid thin rgba(var(--text-color), 0.16)}.displayable-task{-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:1rem;border-radius:.5rem;border:solid thin rgba(var(--text-color), 0.1);background-color:rgba(var(--foreground-color), 1);transition:box-shadow .2s;box-shadow:0 0 0 rgba(0,0,0,.16)}.displayable-task__project{font-size:.9rem;padding:.2rem .5rem;background-color:rgba(var(--text-color), 0.06);border-radius:.3rem;opacity:.8;margin-right:auto}.displayable-task.draggable{display:grid;grid-template-columns:auto 1fr;cursor:move}.displayable-task.draggable .dragging-handle{display:flex;height:100%;align-items:center;grid-area:1/1/3/2;align-self:center}#loading{display:grid;text-align:center;place-content:center;justify-items:center}#pinned_project_section{position:relative;overflow:hidden}#project_explorer{padding:0;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}#project_explorer__breadcrumbs{padding:1rem}.breadcrumb{font-weight:500}.breadcrumb .icon{margin:0 .5rem}.breadcrumb--active{pointer-events:none;color:rgba(var(--text-color), 0.9)}#project_explorer__right{gap:1rem;align-items:flex-start;align-content:flex-start;padding:0 1rem}#pin_project_button{margin-left:1rem}#admin_page{position:relative;display:grid;padding:0;height:100%;overflow:hidden;grid-template-rows:auto 1fr}#admin_page__header{padding:.5rem 1rem}#admin_views{display:grid;height:100%;overflow-y:hidden}#admin_views>*{grid-area:1/1}#project_editing_panel{position:relative;height:100%;padding:0 max(4vw,1rem);overflow-y:auto;padding-bottom:2rem;flex:1}#admin_page__intern_list{display:grid;padding:0 1rem}#admin_page__intern_list .button{justify-content:flex-start;border-radius:.5rem}#admin_page__intern_list .button .icon{padding:.6rem;height:2.6rem;width:2.6rem;background-color:rgba(var(--text-color), 0.04);border-radius:3rem;margin-right:1rem}#update_of_project{color:rgba(var(--text-color), 0.8)}#update_of_task{font-size:1.3rem;margin:.4rem 0 1.8rem 0}ul{padding:0;list-style:none}#assigned_task_list{display:grid;gap:1rem;align-content:flex-start;grid-template-columns:minmax(0, 1fr)}.task-card{display:grid;gap:.5rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.task-card .task__completion-timeline{gap:1rem;background-color:rgba(var(--text-color), 0.04);padding:.5rem 1rem;margin:0 -1rem .5rem -1rem;border:solid thin rgba(var(--text-color), 0.1)}.task-card .task__completion-timeline.deadline-passed{background-color:var(--danger-color);color:rgba(var(--foreground-color), 1)}.task-card .task__completion-timeline:hover .task__completion-timeline__progress__disc::before{content:"";position:absolute;display:flex;width:0;height:0;top:1rem;border-style:solid;border-width:0 .4rem .4rem .4rem;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--accent-color) rgba(0,0,0,0)}.task-card .task__completion-timeline:hover .task__completion-timeline__progress__disc::after{content:"Completing task early will give you more points.";position:absolute;display:flex;top:calc(100% + .5rem);left:50%;transform:translateX(-50%);font-size:.9rem;text-align:center;width:11rem;padding:.5rem;color:rgba(var(--text-color), 0.8);background-color:var(--accent-color);border-radius:.5rem;box-shadow:0 .5rem .5rem rgba(0,0,0,.16);color:rgba(var(--background-color), 1)}.task-card .task__completion-timeline__progress{display:flex;align-items:center;width:100%;height:.2rem;background:linear-gradient(90deg, rgb(89, 90, 255) 0%, rgb(162, 0, 167) 60%, rgb(215, 43, 43) 80%);border-radius:.5rem}.task-card .task__completion-timeline__progress__bar{height:.2rem;background-color:rgba(var(--text-color), 1);border-radius:inherit;width:var(--progress)}.task-card .task__completion-timeline__progress__disc{position:relative;display:flex;height:.8rem;aspect-ratio:1/1;background-color:var(--accent-color);border-radius:.5rem;z-index:1;margin-left:-0.4rem}.task__project-title{font-size:.8rem;margin:0 -0.5em;margin-bottom:.5rem;border-radius:1rem;padding:.3rem .5rem;justify-self:flex-start;color:rgba(var(--text-color), 0.8);background-color:rgba(var(--text-color), 0.06)}.task__title{font-size:1.1rem;margin-bottom:1rem}.task__description{word-wrap:break-word;overflow-wrap:break-word;color:rgba(var(--text-color), 0.8);margin-top:.2rem}.temp-task{padding:1rem;background-color:rgba(var(--foreground-color), 1);border-radius:.5rem}#internship_requests_list{padding-bottom:2rem}.status-card{display:grid;gap:1rem;padding:1rem;border-radius:.5rem;background-color:rgba(var(--foreground-color), 1)}.status-card__time{font-size:.8rem;color:rgba(var(--text-color), 0.8)}.status-card__status{justify-content:flex-end}.status-card__status .icon{height:1em;width:1em}.status-card.accepted .icon{fill:var(--green)}.status-card.rejected .icon{fill:var(--danger-color)}.status-card.pending .icon{fill:var(--yellow)}#projects_container{display:flex;height:100%;overflow-y:hidden}#projects_container__left{height:100%;overflow-y:auto;width:100%}#projects_container__left .list-container{height:100%;overflow-y:auto;padding-bottom:2rem}#projects_container__left .empty-state{padding:1rem;text-align:center}#update_filters_wrapper{gap:1.5rem}input[type=date]{display:flex;width:100%;padding:.8rem .6rem;border:none;border-radius:.5rem;font-weight:500;font-family:inherit;font-size:inherit;color:inherit;background-color:rgba(var(--text-color), 0.06)}input[type=date]:focus{outline:none;box-shadow:0 0 0 .1rem var(--accent-color)}#requests_container{padding:0 1rem;gap:1.5rem;overflow-y:auto}#user_role{justify-self:start;font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;padding:.4rem .8rem;border-radius:.3rem;border:solid var(--accent-color) thin}#pinned_project_section{display:grid;gap:1rem}#pinned_projects{display:grid;gap:.3rem;grid-template-columns:repeat(auto-fill, minmax(20rem, 1fr))}.pinned-card{color:inherit;display:flex;border-radius:.5rem;gap:1rem;padding:1rem;background-color:rgba(var(--foreground-color), 1);align-items:center}.pinned-card .project-icon{display:grid;background-color:rgba(var(--text-color), 0.06);place-content:center;place-items:center;border-radius:2rem}.pinned-card .project-icon>*{grid-area:1/1}.pinned-card .project-icon .icon{fill:var(--accent-color)}.pinned-card .progress-icon{transform:rotate(-90deg);stroke-dasharray:76;stroke-dashoffset:var(--progress, 0);stroke-width:2;stroke:var(--accent-color);height:3rem;width:3rem;overflow:visible;padding:.1rem}.pinned-card .project__title{color:rgba(var(--text-color), 0.9)}.pinned-card .project__title:hover{color:var(--accent-color)}.pinned-card .project__complete-percent{font-size:.8rem;opacity:.8}@media only screen and (max-width: 640px){.list-container{padding-bottom:5rem}.status-card__status{grid-area:1/2/2/3}.status-card__details{grid-area:2/1/3/3}.landing__card:first-of-type{text-align:center;justify-items:center}.landing__card:first-of-type .flex{justify-content:center}.landing__card:first-of-type img{grid-area:1/1/2/2}#user_profile_button{grid-area:1/1/2/2}theme-toggle{grid-area:1/2/2/3}#main_nav{justify-content:space-evenly}#task_search_input{width:100%}#dashboard_view_selector{margin:1rem -1rem 0 -1rem;width:calc(100% + 2rem);max-width:initial}#dashboard_view_selector>:first-child{margin-left:1rem}#dashboard_view_selector>:last-child{margin-right:1rem}.admin-task{margin:0 -1rem;border-radius:0}#task_display_container{flex-direction:column}.hide-on-mobile{display:none !important}}@media only screen and (min-width: 640px){.hide-on-desktop{display:none !important}sm-popup{--width: 26rem}.popup__header{padding:1rem 1.5rem 0 1.5rem}.landing__card{grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}.landing__card img{justify-self:flex-end}#task_details .button--primary{width:-webkit-max-content;width:-moz-max-content;width:max-content}#main_header{grid-template-columns:1fr auto auto}#main_nav{padding:1rem .5rem;background-color:rgba(var(--background-color), 1);flex-direction:column}#main_nav theme-toggle{margin:1rem;margin-top:auto}.nav-list__item{flex-direction:row;align-items:center;justify-content:center;border-radius:.5rem;padding:.8rem;margin-bottom:.25rem;font-size:1rem;aspect-ratio:1/1}.nav-list__item .icon{margin-bottom:0}.nav-list__item_title{display:none}.project-card--active{background-color:rgba(var(--text-color), 0.1)}.project-card--active::before{content:"";position:absolute;top:0;left:0;bottom:0;margin:auto 0;width:.2rem;height:1.5em;background-color:var(--accent-color);border-radius:0 .2rem .2rem 0}#sign_in{width:24rem;height:auto;border-radius:.4rem}#dashboard_page{grid-template-columns:1fr 18rem;grid-template-rows:auto 1fr}#dashboard_page>:not(#intern_leaderboard_container,#dashboard_view_selector){grid-column:1;width:min(48rem,100%);margin:0 auto}#dashboard_view_selector{width:min(48rem,100%);margin:1rem auto 0 auto}#intern_leaderboard_container{position:-webkit-sticky;position:sticky;top:0;grid-column:2;grid-row:1/3;border-left:solid thin rgba(var(--text-color), 0.2)}#all_interns_page__header{grid-template-columns:1fr auto}#intern_info_popup{--width: min(64rem, 100%)}#admin_page{padding:0}#projects_container__left{width:18rem}#project_explorer{display:grid;height:100%;gap:0;grid-template-columns:16rem 3fr;background-color:rgba(var(--foreground-color), 0.3);overflow-y:auto}#project_explorer__left{height:100%;overflow-y:auto;padding-bottom:1.5rem}#project_explorer__right{height:100%;overflow-y:auto;padding:1.5rem 4vw;background-color:rgba(var(--foreground-color), 0.5)}#main_page{grid-template-columns:4rem minmax(0, 1fr);grid-template-areas:"main-header main-header" "main-nav sub-pages"}.display-task .display-task__detail:last-of-type{margin-left:auto}#post_update_popup{--width: 28rem}#task_editing_popup{--width: 42rem}#updates_page{height:100%;gap:1rem;grid-template-areas:"updates update-filters";grid-template-columns:minmax(0, 1fr) 20rem;overflow-y:hidden}#update_filters_wrapper{padding:1rem;border-radius:.5rem;align-content:flex-start;grid-area:update-filters;background-color:rgba(var(--foreground-color), 1)}#updates_wrapper{height:100%;overflow-y:auto;grid-area:updates}#intern_list_popup{--height: 80vh}.status-card{align-items:center;font-size:.9rem;grid-template-columns:6rem 1fr 8rem}#requests_container{grid-template-columns:14rem 1fr}#requests_container>:nth-child(2){width:min(48rem,100%);margin:0 auto}#intern_profile__left{position:-webkit-sticky;position:sticky;top:1rem;align-self:flex-start;padding:1.5rem}#profile_popup{--width: 32rem}}@media only screen and (min-width: 1280px){#main_page{grid-template-columns:12rem minmax(0, 1fr);grid-template-areas:"main-header main-header" "main-nav sub-pages"}#main_nav{align-items:flex-start}.nav-list__item{justify-content:flex-start;aspect-ratio:initial}.nav-list__item .icon{margin-right:.5rem}.nav-list__item_title{display:inline-block}}@media(any-hover: hover){::-webkit-scrollbar{width:.5rem;height:.5rem}::-webkit-scrollbar-thumb{background:rgba(var(--text-color), 0.3);border-radius:1rem}::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-color), 0.5)}.interactive{transition:background-color .2s}.interactive:hover{background-color:rgba(var(--text-color), 0.04)}}.gu-mirror{position:fixed;z-index:9999 !important;box-shadow:0 1rem 2rem rgba(0,0,0,.16)}.gu-hide{display:none !important}.gu-unselectable{-webkit-user-select:none !important;-moz-user-select:none !important;user-select:none !important}.gu-transit{opacity:.2}
\ No newline at end of file
diff --git a/css/main.scss b/css/main.scss
index 2bff49b..43e2d37 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -1047,10 +1047,6 @@ ul {
h4 {
margin-top: 0.4rem;
}
-
- .assigned-interns .assigned-intern {
- padding: 0.4rem;
- }
}
.admin-reply__description {
max-width: 100%;
@@ -1071,6 +1067,14 @@ ul {
padding: 1rem;
}
+#task_editing_popup {
+ [contenteditable] {
+ padding: 0.8rem;
+ background-color: rgba(var(--text-color), 0.06);
+ border-radius: 0.5rem;
+ }
+}
+
#dashboard_page {
padding-bottom: 5rem;
grid-template-columns: minmax(0, 1fr);
@@ -1277,10 +1281,8 @@ ul {
display: flex;
gap: 1rem;
justify-content: space-evenly;
+ flex-wrap: wrap;
margin: 1.5rem 0;
- & > * {
- flex: 1;
- }
}
.stat {
display: flex;
@@ -1288,6 +1290,7 @@ ul {
align-items: center;
text-align: center;
gap: 0.5rem;
+ flex: 1;
&__display {
display: grid;
justify-items: center;
@@ -1466,6 +1469,11 @@ ul {
padding: 0.2rem 0.4rem;
font-weight: 500;
}
+ .intern-section {
+ margin: 0 -1rem;
+ background-color: rgba(var(--text-color), 0.03);
+ padding: 1rem;
+ }
}
.tag {
padding: 0.4rem 0.8rem;
@@ -1521,26 +1529,21 @@ ul {
overflow-wrap: break-word;
word-wrap: break-word;
}
-
-.assigned-interns {
+.assigned-intern {
+ position: relative;
+ user-select: none;
display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- .assigned-intern {
- position: relative;
- user-select: none;
- display: flex;
- font-size: 0.9rem;
- padding: 0 0.4rem;
- border-radius: 0.3rem;
- border: 1px solid rgba(var(--text-color), 0.24);
- align-items: center;
- white-space: nowrap;
- text-transform: capitalize;
- .unassign-intern-button {
- padding: 0.4rem;
- margin-right: -0.4rem;
- }
+ font-size: 0.9rem;
+ padding: 0 0.4rem;
+ border-radius: 0.3rem;
+ border: 1px solid rgba(var(--text-color), 0.24);
+ align-items: center;
+ white-space: nowrap;
+ text-transform: capitalize;
+ height: 100%;
+ .unassign-intern-button {
+ padding: 0.4rem;
+ margin-right: -0.4rem;
}
}
.menu {
@@ -1564,33 +1567,6 @@ ul {
}
}
}
-
-#task_context {
- position: absolute;
- top: 0;
- right: 0;
- margin: -1rem 1rem 0 1rem;
- list-style: none;
- width: fit-content;
- border-radius: 0.5rem;
- transition: 0.3s opacity;
- background-color: rgba(var(--foreground-color), 1);
- box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.16);
- transform-origin: top right;
- border: solid thin rgba(var(--text-color), 0.16);
-
- li {
- display: flex;
- align-items: center;
- font-size: 0.9rem;
- margin: 0.2rem;
- padding: 0.6rem 0.8rem;
- border-radius: 0.3rem;
- .icon {
- margin-right: 0.5rem;
- }
- }
-}
#branch_container {
display: flex;
flex-flow: row wrap;
@@ -2232,6 +2208,9 @@ input[type="date"] {
#post_update_popup {
--width: 28rem;
}
+ #task_editing_popup {
+ --width: 42rem;
+ }
#updates_page {
height: 100%;
gap: 1rem;
diff --git a/index.html b/index.html
index b724957..d2d4b71 100644
--- a/index.html
+++ b/index.html
@@ -423,43 +423,6 @@
Add task
-
- -
-
- Edit title
-
- -
-
- Edit description
-
- -
-
- Create new Branch
-
- -
-
- Mark as complete
-
-