1579 lines
28 KiB
SCSS
1579 lines
28 KiB
SCSS
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
:root {
|
|
font-size: clamp(1rem, 1.2vmax, 3rem);
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
|
|
&,
|
|
* {
|
|
--accent-color: #5D54A4;
|
|
--text-color: 17, 17, 17;
|
|
--background-color: 240, 240, 255;
|
|
--foreground-color: rgb(248, 248, 255);
|
|
--danger-color: red;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
color: rgba(var(--text-color), 1);
|
|
background: rgba(var(--background-color), 1);
|
|
}
|
|
|
|
body[data-theme='dark'] {
|
|
|
|
&,
|
|
* {
|
|
--accent-color: #9D65C9;
|
|
--text-color: 240, 240, 240;
|
|
--text-color-light: 170, 170, 170;
|
|
--background-color: 10, 10, 10;
|
|
--foreground-color: rgb(20, 20, 20);
|
|
--danger-color: rgb(255, 106, 106);
|
|
}
|
|
::-webkit-calendar-picker-indicator {
|
|
filter: invert(1);
|
|
}
|
|
}
|
|
|
|
p {
|
|
max-width: 70ch;
|
|
line-height: 1.7;
|
|
color: rgba(var(--text-color), 0.8);
|
|
|
|
&:not(:last-of-type) {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
img {
|
|
object-fit: cover;
|
|
}
|
|
|
|
a:where([class]) {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:focus-visible {
|
|
box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
|
|
}
|
|
}
|
|
a{
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
border: none;
|
|
background-color: transparent;
|
|
overflow: hidden;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
button:disabled{
|
|
opacity: 0.5;
|
|
}
|
|
|
|
a.button{
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 0.3rem;
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
}
|
|
|
|
a:any-link:focus-visible {
|
|
outline: rgba(var(--text-color), 1) 0.1rem solid;
|
|
}
|
|
|
|
sm-button {
|
|
--border-radius: 0.3rem;
|
|
|
|
&[variant="primary"] {
|
|
.icon {
|
|
fill: rgba(var(--background-color), 1);
|
|
}
|
|
}
|
|
|
|
&[disabled] {
|
|
.icon {
|
|
fill: rgba(var(--text-color), 0.6);
|
|
}
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
}
|
|
|
|
.hide {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hide-completely {
|
|
display: none !important;
|
|
}
|
|
|
|
.no-transformations {
|
|
transform: none !important;
|
|
}
|
|
|
|
.overflow-ellipsis {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.breakable {
|
|
overflow-wrap: break-word;
|
|
word-wrap: break-word;
|
|
-ms-word-break: break-all;
|
|
word-break: break-word;
|
|
-ms-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
-webkit-hyphens: auto;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.full-bleed {
|
|
grid-column: 1/4;
|
|
}
|
|
|
|
.h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.h3 {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.h4 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.h5 {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.uppercase {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.capitalize {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
}
|
|
|
|
.grid-3 {
|
|
grid-template-columns: 1fr auto auto;
|
|
}
|
|
|
|
.flow-column {
|
|
grid-auto-flow: column;
|
|
}
|
|
|
|
.gap-0-5 {
|
|
gap: 0.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;
|
|
}
|
|
|
|
.align-start {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.align-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.justify-start {
|
|
justify-content: start;
|
|
}
|
|
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.justify-right {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.align-self-center {
|
|
align-self: center;
|
|
}
|
|
|
|
.justify-self-center {
|
|
justify-self: center;
|
|
}
|
|
|
|
.justify-self-start {
|
|
justify-self: start;
|
|
}
|
|
|
|
.justify-self-end {
|
|
justify-self: end;
|
|
}
|
|
|
|
.direction-column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.space-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100%;
|
|
}
|
|
|
|
.color-0-8 {
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
.weight-400 {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.weight-500 {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ripple {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
transform: scale(0);
|
|
background: rgba(var(--text-color), 0.16);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.interact {
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.observe-empty-state:empty {
|
|
display: none;
|
|
}
|
|
|
|
.observe-empty-state:not(:empty)~.empty-state {
|
|
display: none;
|
|
}
|
|
|
|
.icon {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
fill: rgba(var(--text-color), 0.9);
|
|
}
|
|
|
|
.button__icon {
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
|
|
&--left {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
&--right {
|
|
margin-left: 0.5rem;
|
|
}
|
|
}
|
|
|
|
#confirmation_popup,
|
|
#prompt_popup {
|
|
flex-direction: column;
|
|
|
|
h4 {
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
sm-button {
|
|
margin: 0;
|
|
}
|
|
|
|
.flex {
|
|
padding: 0;
|
|
margin-top: 1rem;
|
|
|
|
sm-button:first-of-type {
|
|
margin-right: 0.6rem;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.popup__header {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
padding: 0 1.5rem 0 0.5rem;
|
|
align-items: center;
|
|
grid-template-columns: auto 1fr auto;
|
|
}
|
|
|
|
.popup__header__close {
|
|
padding: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#main_page {
|
|
height: 100%;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-areas: 'main-header''sub-pages''main-nav';
|
|
}
|
|
|
|
#main_header {
|
|
grid-area: main-header;
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
position: sticky;
|
|
padding: 0.5rem 1rem;
|
|
background: var(--foreground-color);
|
|
z-index: 1;
|
|
}
|
|
|
|
#main_nav {
|
|
grid-area: main-nav;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
.nav-list__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
padding: 0.5rem 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: rgba(var(--text-color), 0.8);
|
|
|
|
&--active {
|
|
color: var(--accent-color);
|
|
|
|
.icon {
|
|
fill: var(--accent-color);
|
|
}
|
|
.icon--outlined{
|
|
display: none;
|
|
}
|
|
.icon--filled{
|
|
display: inline-block;
|
|
}
|
|
}
|
|
&:not(.nav-list__item--active) {
|
|
.icon--outlined{
|
|
display: inline-block;
|
|
}
|
|
.icon--filled{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
#sub_page_container {
|
|
grid-area: sub-pages;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.container-card {
|
|
position: relative;
|
|
background: var(--foreground-color);
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.medium-top-bottom-margin {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
#sign_in_page {
|
|
display: grid;
|
|
position: fixed;
|
|
z-index: 5;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
place-content: center;
|
|
background-color: var(--foreground-color);
|
|
gap: 1rem;
|
|
}
|
|
|
|
#sign_in_form {
|
|
width: 22rem;
|
|
}
|
|
|
|
|
|
.task {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
margin: 0 1rem;
|
|
.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: 0.5rem;
|
|
}
|
|
|
|
.task .left .circle {
|
|
display: inline-flex;
|
|
position: relative;
|
|
align-self: flex-start;
|
|
height: 1rem;
|
|
width: 1rem;
|
|
border-radius: 50%;
|
|
background: var(--foreground-color);
|
|
border: solid 2px rgba(var(--text-color), 0.4);
|
|
z-index: 1;
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
|
|
.task .right .apply-cont {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.task .right .apply-cont h4 {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.task h4 {
|
|
margin-top: 0.4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.timeline-task__description{
|
|
white-space: pre-line;
|
|
}
|
|
|
|
|
|
.task .assigned-interns .assigned-intern {
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.completed-task .left .circle {
|
|
border: solid 2px #00C853 !important;
|
|
background: #00C853 !important;
|
|
}
|
|
|
|
.completed-task .left .line {
|
|
background-color: #00C853 !important;
|
|
}
|
|
|
|
.page {
|
|
gap: 1rem;
|
|
display: grid;
|
|
position: relative;
|
|
padding: 1rem;
|
|
animation: fadein 0.3s;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
@keyframes fadein {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.task-title {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.padding {
|
|
padding: 1rem;
|
|
}
|
|
|
|
#dashboard_page {
|
|
padding-bottom: 5rem;
|
|
grid-template-columns: auto;
|
|
}
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1.2rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.logo .cls-2,
|
|
.logo .cls-3 {
|
|
fill: rgba(var(--text-color), 1);
|
|
font-size: 146.9px;
|
|
font-family: ArialMT, Arial;
|
|
}
|
|
|
|
.logo svg {
|
|
height: 2.5rem;
|
|
}
|
|
|
|
.logo h4 {
|
|
margin: 0;
|
|
}
|
|
|
|
.project-card {
|
|
padding: 1rem;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
text-transform: capitalize;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
.intern-card {
|
|
user-select: none;
|
|
padding: 0.8rem 1rem;
|
|
gap: 0.8rem;
|
|
grid-template-columns: auto 1fr auto;
|
|
}
|
|
|
|
.intern-card__initials{
|
|
display: flex;
|
|
height: 2.6rem;
|
|
width: 2.6rem;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 40%;
|
|
color: white;
|
|
font-weight: 500;
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.intern-card__score-wrapper {
|
|
font-weight: 500;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.intern-card .icon {
|
|
fill: #FF5722 !important;
|
|
height: 1rem !important;
|
|
width: 1rem !important;
|
|
margin-left: 0.2rem;
|
|
}
|
|
|
|
.request-card {
|
|
display: grid;
|
|
position: relative;
|
|
padding: 1rem;
|
|
sm-button{
|
|
--padding: 0.5rem 0.8rem;
|
|
}
|
|
}
|
|
|
|
.request-card__description{
|
|
width: 100%;
|
|
font-size: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.reject-app{
|
|
margin-left: auto;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
#updates_page{
|
|
sm-select{
|
|
--max-height: 50vh;
|
|
}
|
|
}
|
|
#updates {
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
#updates_page__project_selector{
|
|
strip-option{
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
#all_updates_list{
|
|
}
|
|
.intern-update {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
.update__topic {
|
|
font-weight: 500;
|
|
font-size: 1rem;
|
|
margin-top: 0.5rem;
|
|
text-transform: capitalize;
|
|
max-width: 65ch;
|
|
}
|
|
|
|
.update__sender {
|
|
color: var(--accent-color);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.update__time {
|
|
font-size: 0.85rem;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
.update__message {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.container-header {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.container-header h4 {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#intern_info_popup {
|
|
.grid{
|
|
& > *{
|
|
justify-self: center;
|
|
}
|
|
}
|
|
#update_intern_score{
|
|
width: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
#intern_info__initials{
|
|
margin-bottom: 1rem;
|
|
position: relative;
|
|
height: 3rem;
|
|
width: 3rem;
|
|
font-size: 1.3rem;
|
|
&::before{
|
|
content: '';
|
|
position: absolute;
|
|
background-color: inherit;
|
|
border-radius: inherit;
|
|
height: calc(100% + 1.5rem);
|
|
width: calc(100% + 1.5rem);
|
|
opacity: 0.3;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
#intern_info__name{
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.gold-fill {
|
|
fill: #FF5722;
|
|
}
|
|
#intern_info__score{
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#project_info {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.branch-button {
|
|
margin-bottom: 0.5rem;
|
|
display: flex;
|
|
border-radius: 0;
|
|
padding: 0.5rem;
|
|
border-radius: 0.2rem;
|
|
text-transform: capitalize;
|
|
justify-self: start;
|
|
align-items: center;
|
|
user-select: none;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
.icon{
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
}
|
|
}
|
|
|
|
.active-branch {
|
|
opacity: 1;
|
|
color: white;
|
|
background: var(--accent-color);
|
|
}
|
|
|
|
#task_list{
|
|
padding: 1rem 0 1.5rem 0;
|
|
}
|
|
.task-list-item {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
grid-template-areas: 'status title options'
|
|
'status interns interns'
|
|
'status description description'
|
|
'status . .';
|
|
align-content: flex-start;
|
|
padding: 1rem;
|
|
gap: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
background: rgba(var(--text-color), 0.02);
|
|
sm-checkbox {
|
|
grid-area: status;
|
|
align-self: flex-start;
|
|
padding: 0.2rem 0.5rem 0.5rem 0;
|
|
}
|
|
h4 {
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.task-title {
|
|
grid-area: title;
|
|
line-height: 1.6;
|
|
}
|
|
.assigned-interns {
|
|
grid-area: interns;
|
|
}
|
|
}
|
|
.task__branch_container{
|
|
&:not(:empty){
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0;
|
|
}
|
|
.branch-button{
|
|
position: relative;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
padding-left: 2rem;
|
|
margin: 0.5rem 0;
|
|
&::before{
|
|
position: absolute;
|
|
content: '';
|
|
top: -50%;
|
|
left: 0;
|
|
display: inline-flex;
|
|
width: 1rem;
|
|
height: 100%;
|
|
align-self: flex-start;
|
|
margin-right: 0.8rem;
|
|
border-left: solid;
|
|
border-bottom: solid;
|
|
border-width: 0.15rem;
|
|
border-color: rgba(var(--text-color), 0.6);
|
|
border-radius: 0 0 0 0.2rem;
|
|
}
|
|
}
|
|
.branch-button + .branch-button{
|
|
&::before{
|
|
top: calc(-50% - 1.5rem );
|
|
height: calc(100% + 1.5rem);
|
|
}
|
|
}
|
|
}
|
|
|
|
.task-option {
|
|
grid-area: options;
|
|
transition: opacity 0.3s ease;
|
|
padding: 0.5rem;
|
|
.icon{
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
}
|
|
}
|
|
|
|
.task-description{
|
|
grid-area: description;
|
|
margin: 0;
|
|
overflow-wrap: break-word;
|
|
word-wrap: break-word;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.assigned-interns {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.assigned-interns .assigned-intern {
|
|
user-select: none;
|
|
display: flex;
|
|
font-size: 0.8rem;
|
|
margin: 0.2rem 0.5rem 0.2rem 0;
|
|
padding: 0.2rem 0 0.2rem 0.4rem;
|
|
border-radius: 0.2rem;
|
|
border: 1px solid rgba(var(--text-color), 0.24);
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
text-transform: capitalize;
|
|
button {
|
|
padding: 0.2rem;
|
|
.icon {
|
|
height: 1rem;
|
|
width: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
#task_context {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin: -1rem 1rem 0 1rem;
|
|
list-style: none;
|
|
padding: 0.5rem 0;
|
|
width: max-content;
|
|
border-radius: 0.3rem;
|
|
transition: 0.3s opacity ease;
|
|
background-color: var(--foreground-color);
|
|
box-shadow: 0 0.5rem 1rem -0.3rem rgba(0, 0, 0, 0.3);
|
|
|
|
li {
|
|
padding: 0.8rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 0.9rem;
|
|
.icon {
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.temp-task {
|
|
.cancel-task-button{
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
#editing_panel__description{
|
|
margin-bottom: 2rem;
|
|
}
|
|
#branch_container {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0.5rem 0 1rem 0;
|
|
}
|
|
|
|
#intern_list_popup {
|
|
flex-direction: column;
|
|
}
|
|
#intern_search_field{
|
|
margin-bottom: 1rem;
|
|
}
|
|
#intern_list_container {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#best_interns_container,
|
|
#project_list_container {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#best_interns_container .container-header .icon,
|
|
#project_list_container .container-header .icon {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
#edit_data_fig {
|
|
fill: rgba(var(--text-color), 0.6);
|
|
width: 60vw;
|
|
margin: 2rem 0;
|
|
}
|
|
#loading_page {
|
|
display: grid;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 5;
|
|
text-align: center;
|
|
place-content: center;
|
|
justify-items: center;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
.loading-message {
|
|
font-size: 1.3rem;
|
|
margin: 1.5rem 0 0.5rem 0;
|
|
}
|
|
|
|
#loading_page__footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
padding: 1.5rem;
|
|
|
|
.icon {
|
|
height: 4rem;
|
|
width: 4rem;
|
|
}
|
|
}
|
|
|
|
#project_watching_section {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
#project_explorer {
|
|
padding: 0;
|
|
}
|
|
#project_explorer__right {
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
align-content: flex-start;
|
|
padding: 1rem;
|
|
}
|
|
#explorer_branch_container{
|
|
margin-top: 1.5rem;
|
|
}
|
|
#watch_project_button{
|
|
margin-left: 1rem;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
|
|
#admin_page {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
#project_editing_panel {
|
|
position: relative;
|
|
padding: 1rem 0;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
#editing_panel__title{
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.fab-actions{
|
|
display: grid;
|
|
gap: 1rem;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: 1rem;
|
|
justify-items: end;
|
|
text-align: end;
|
|
z-index: 5;
|
|
&[open]{
|
|
.fab-actions__item{
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
.fab{
|
|
.icon{
|
|
&:nth-of-type(1){
|
|
transform: scale(0) rotate(180deg);
|
|
}
|
|
&:nth-of-type(2){
|
|
transform: scale(1) rotate(0);
|
|
}
|
|
}
|
|
}
|
|
& ~ #fab_backdrop{
|
|
opacity: 1;
|
|
clip-path: circle(100%);
|
|
}
|
|
}
|
|
}
|
|
.fab-actions__item{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-self: end;
|
|
padding: 0.6rem 1rem;
|
|
border-radius: 2rem;
|
|
transform: translateY(1.5rem);
|
|
background-color: var(--foreground-color);
|
|
opacity: 0;
|
|
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
|
|
box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
|
|
user-select: none;
|
|
&:hover,
|
|
&:active{
|
|
transform: scale(0.9);
|
|
}
|
|
&:nth-of-type(1){
|
|
transition-delay: 0.2s;
|
|
}
|
|
&:nth-of-type(2){
|
|
transition-delay: 0.1s;
|
|
}
|
|
.icon{
|
|
fill: var(--accent-color);
|
|
margin-left: 0.5rem;
|
|
}
|
|
&-name{
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
.fab{
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
height: 3.2rem;
|
|
width: 3.2rem;
|
|
border-radius: 50%;
|
|
background-color: var(--accent-color);
|
|
box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.3s;
|
|
-webkit-tap-highlight-color: transparent;
|
|
&:active{
|
|
transform: scale(0.9);
|
|
}
|
|
.icon{
|
|
position: absolute;
|
|
height: 100%;
|
|
fill: white;
|
|
transition: transform 0.3s;
|
|
&:nth-of-type(1){
|
|
transform: scale(1) rotate(0);
|
|
}
|
|
&:nth-of-type(2){
|
|
transform: scale(0) rotate(-180deg);
|
|
}
|
|
}
|
|
}
|
|
#fab_backdrop{
|
|
position: fixed;
|
|
z-index: 3;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
opacity: 0;
|
|
clip-path: circle(0% at 100% 100%);
|
|
transition: clip-path 0.5s, opacity 0.5s;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#update_of_project {
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
#update_of_task {
|
|
font-size: 1.3rem;
|
|
margin: 0.4rem 0 1.8rem 0;
|
|
}
|
|
|
|
ul {
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
#intern_view{
|
|
}
|
|
|
|
#assigned_task_list {
|
|
display: grid;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
align-content: flex-start;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.task-card {
|
|
display: grid;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
.task__header {
|
|
display: grid;
|
|
gap: 0 0.5rem;
|
|
align-items: flex-start;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-areas: '. send-button''. send-button';
|
|
}
|
|
|
|
.task__project-title {
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
border-radius: 0.3rem;
|
|
padding: 0.3rem 0.5rem;
|
|
justify-self: flex-start;
|
|
margin-bottom: 0.5rem !important;
|
|
color: rgba(var(--text-color), 0.8);
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
}
|
|
|
|
.task__title {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
.task__description {
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
white-space: pre-line;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
.send-update-button {
|
|
grid-area: send-button;
|
|
--padding: 0.6rem 0.8rem;
|
|
color: var(--accent-color);
|
|
|
|
.icon {
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
fill: var(--accent-color);
|
|
}
|
|
}
|
|
|
|
#admin_page__left{
|
|
height: 100%;
|
|
overflow-y: hidden;
|
|
sm-tab-header{
|
|
--gap: 0;
|
|
--justify-content: stretch;
|
|
background-color: var(--foreground-color);
|
|
border-bottom: 1px solid rgba(var(--text-color), 0.2);
|
|
}
|
|
sm-tab{
|
|
justify-content: center;
|
|
}
|
|
sm-tab-panels,
|
|
sm-tab-panels > *{
|
|
height: 100%;
|
|
flex-direction: column;
|
|
}
|
|
sm-tab-panels{
|
|
overflow-y: hidden;
|
|
}
|
|
sm-tab-panels > *{
|
|
display: flex;
|
|
}
|
|
.list-container{
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding-bottom: 2rem;
|
|
}
|
|
.empty-state{
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
}
|
|
#update_filters_wrapper{
|
|
gap: 1.5rem;
|
|
}
|
|
input[type="date"]{
|
|
display: flex;
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
border: rgba(var(--text-color), 0.2) solid thin;
|
|
border-radius: 0.3rem;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
&:focus{
|
|
outline: none;
|
|
box-shadow: 0 0 0 0.1rem var(--accent-color);
|
|
}
|
|
}
|
|
.search__icon{
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
}
|
|
#user_role{
|
|
justify-self: start;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 0.3rem;
|
|
border: solid var(--accent-color) thin;
|
|
}
|
|
#project_watching_section{
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
#project_watchlist{
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(15rem ,1fr));
|
|
|
|
}
|
|
.watchlist_project_card{
|
|
color: inherit;
|
|
display: grid;
|
|
border-radius: 0.5rem;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background-color: rgba(var(--text-color), 0.04);
|
|
.project__title{
|
|
font-size: 1.1rem;
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
.progress-bar{
|
|
display: flex;
|
|
height: 0.5rem;
|
|
background-color: rgba(var(--text-color), 0.2);
|
|
border-radius: 1rem;
|
|
overflow: hidden;
|
|
align-self: flex-end;
|
|
.progress-value{
|
|
background-color: var(--accent-color);
|
|
transition: width 0.3s;
|
|
}
|
|
}
|
|
#username{
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
#logout{
|
|
margin-top: 1.5rem;
|
|
}
|
|
@media only screen and (max-width: 640px) {
|
|
.hide-on-mobile,
|
|
.hide-page-on-mobile {
|
|
display: none;
|
|
}
|
|
#project_editing_panel{
|
|
padding: 1rem;
|
|
}
|
|
.list-container{
|
|
padding-bottom: 5rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 640px) {
|
|
.hide-on-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
sm-popup {
|
|
--width: 26rem;
|
|
}
|
|
|
|
.popup__header {
|
|
padding: 1.5rem 1.5rem 0 0.75rem;
|
|
}
|
|
|
|
#main_nav {
|
|
padding: 0.5rem;
|
|
background-color: rgba(var(--background-color), 1);
|
|
flex-direction: column;
|
|
theme-toggle{
|
|
margin: 1rem;
|
|
margin-top: auto;
|
|
}
|
|
}
|
|
|
|
.nav-list__item {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
border-radius: 0.5rem;
|
|
padding: 0.8rem;
|
|
margin-bottom: 0.25rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
&--active {
|
|
background-color: rgba(var(--text-color), 0.06);
|
|
}
|
|
|
|
.icon {
|
|
margin-bottom: 0;
|
|
}
|
|
&_title{
|
|
display: none;
|
|
}
|
|
}
|
|
.project-card {
|
|
&--active{
|
|
background-color: rgba(var(--text-color), 0.1);
|
|
}
|
|
}
|
|
.page{
|
|
background-color: var(--foreground-color);
|
|
}
|
|
|
|
#sign_in {
|
|
width: 24rem;
|
|
height: auto;
|
|
border-radius: 0.4rem;
|
|
}
|
|
|
|
#dashboard_page {
|
|
grid-template-columns: 3fr 18rem;
|
|
}
|
|
|
|
#dashboard_page #project_watching_section {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
#admin_page {
|
|
padding: 1rem 0;
|
|
gap: 1rem;
|
|
grid-template-columns: 18rem minmax(0, 1fr);
|
|
grid-template-rows: 1fr;
|
|
}
|
|
#admin_page__left{
|
|
background-color: var(--foreground-color);
|
|
}
|
|
#project_editing_panel{
|
|
padding-right: 1rem;
|
|
}
|
|
#admin_page__left,
|
|
#project_editing_panel{
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
#edit_data_fig {
|
|
width: 16rem;
|
|
justify-self: center;
|
|
}
|
|
|
|
#project_explorer {
|
|
display: grid;
|
|
height: 100%;
|
|
grid-template-columns: 16rem 3fr;
|
|
grid-template-areas: 'left right';
|
|
}
|
|
#project_explorer__left {
|
|
grid-area: left;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding-bottom: 1.5rem;
|
|
border-right: 1px solid rgba(var(--text-color), 0.06);
|
|
background-color: rgba(var(--background-color), 1);
|
|
}
|
|
|
|
#project_explorer__left h4 {
|
|
margin-top: 0;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--accent-color);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#project_explorer__right {
|
|
grid-area: right;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
#main_page {
|
|
grid-template-columns: 4rem minmax(0, 1fr);
|
|
grid-template-areas: 'main-header main-header''main-nav sub-pages';
|
|
}
|
|
|
|
#post_update_popup{
|
|
--width: 28rem;
|
|
}
|
|
#updates_page{
|
|
height: 100%;
|
|
gap: 1rem;
|
|
grid-template-areas: 'updates update-filters';
|
|
grid-template-columns: minmax(0, 1fr) 20rem;
|
|
}
|
|
#update_filters_wrapper{
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
align-content: flex-start;
|
|
grid-area: update-filters;
|
|
background-color: var(--foreground-color);
|
|
}
|
|
#updates_wrapper{
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
grid-area: updates;
|
|
}
|
|
#all_interns_list{
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(14rem ,1fr));
|
|
.intern-card{
|
|
gap: 1.5rem 0.5rem;
|
|
padding: 1.5rem;
|
|
grid-template-columns: 1fr;
|
|
border-radius: 0.5rem;
|
|
background-color: var(--foreground-color);
|
|
&__initials{
|
|
position: relative;
|
|
grid-column: 1/3;
|
|
z-index: 1;
|
|
}
|
|
&__initials::after{
|
|
content: '';
|
|
position: absolute;
|
|
background-color: inherit;
|
|
border-radius: inherit;
|
|
height: calc(100% + 1rem);
|
|
width: calc(100% + 1rem);
|
|
opacity: 0.3;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
}
|
|
#intern_list_popup {
|
|
--height: 80vh;
|
|
}
|
|
#settings_page {
|
|
height: 100%;
|
|
align-items: flex-start;
|
|
padding: 2rem;
|
|
}
|
|
.watchlist_project_card{
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1280px) {
|
|
#main_page {
|
|
// gap: 0 1.5rem;
|
|
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 {
|
|
|
|
.icon {
|
|
margin-right: 0.5rem;
|
|
}
|
|
&_title{
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (any-hover: hover) {
|
|
::-webkit-scrollbar {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(var(--text-color), 0.3);
|
|
border-radius: 1rem;
|
|
|
|
&:hover {
|
|
background: rgba(var(--text-color), 0.5);
|
|
}
|
|
}
|
|
|
|
.interact:hover {
|
|
background: linear-gradient(rgba(var(--text-color), 0.06), rgba(var(--text-color), 0.06)), var(--foreground-color);
|
|
}
|
|
|
|
.send-update-button,
|
|
.task-option,
|
|
.apply-button {
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
|
|
.task-list-item:hover .task-option,
|
|
.task-option:focus-within,
|
|
.task:hover .apply-button,
|
|
.task-card:hover .send-update-button {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (any-hover: none) {
|
|
} |