ribc/css/main.css
2021-07-01 19:28:42 +05:30

2067 lines
35 KiB
CSS

* {
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: #1976D2;
--light-shade: rgba(var(--text-color), 0.06);
--text-color: 17, 17, 17;
--text-color-light: 100, 100, 100;
--foreground-color: 255, 255, 255;
--background-color: #F6f6f6;
--error-color: red;
color: rgba(var(--text-color), 1);
background: var(--background-color);
display: flex;
flex-direction: column;
}
body[data-theme=dark] {
--accent-color: #42A5F5;
--text-color: 240, 240, 240;
--text-color-light: 170, 170, 170;
--foreground-color: 20, 20, 20;
--background-color: #0a0a0a;
--error-color: rgb(255, 106, 106);
}
/* h1,h2,h3,h4,h5,h6{
font-family: 'Montserrat', sans-serif;
} */
.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;
}
p {
font-size: 0.8;
max-width: 60ch;
line-height: 1.7;
color: rgba(var(--text-color), 0.8);
}
p:not(:last-of-type) {
margin-bottom: 1rem;
}
img {
object-fit: cover;
}
a {
color: inherit;
text-decoration: none;
}
a:focus-visible {
box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset;
}
button {
position: relative;
display: inline-flex;
overflow: hidden;
align-items: center;
background: none;
cursor: pointer;
outline: none;
color: inherit;
font-size: 0.9rem;
font-weight: 500;
border-radius: 0.2rem;
padding: 0.5rem 0.6rem;
-webkit-tap-highlight-color: transparent;
border: none;
}
button:focus-visible {
outline: rgba(var(--text-color), 1) 0.1rem solid;
}
a.button:any-link {
position: relative;
display: inline-flex;
align-items: center;
background: none;
cursor: pointer;
outline: none;
font-weight: 500;
font-size: 0.8rem;
border-radius: 0.3rem;
padding: 0.5rem 0.6rem;
align-self: flex-start;
text-decoration: none;
color: rgba(var(--text-color), 0.7);
-webkit-tap-highlight-color: transparent;
background-color: rgba(var(--text-color), 0.06);
}
a.button:any-link .icon {
margin-right: 0.3rem;
height: 1.2rem;
}
a:any-link:focus-visible {
outline: rgba(var(--text-color), 1) 0.1rem solid;
}
.button {
background-color: rgba(var(--text-color), 0.06);
}
sm-button {
--border-radius: 0.3rem;
}
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;
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.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;
}
.direction-column {
flex-direction: column;
}
.space-between {
justify-content: space-between;
}
.w-100 {
width: 100%;
}
.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;
}
.button__icon--left {
margin-right: 0.5rem;
}
.button__icon--right {
margin-left: 0.5rem;
}
.popup__header {
display: grid;
gap: 0.5rem;
width: 100%;
padding: 0 1.5rem 0 0.5rem;
align-items: center;
grid-template-columns: auto 1fr;
}
.popup__header__close {
padding: 0.5rem;
cursor: pointer;
}
#confirmation_popup,
#prompt_popup {
flex-direction: column;
}
#confirmation_popup h4,
#prompt_popup h4 {
font-weight: 500;
margin-bottom: 0.5rem;
}
#confirmation_popup sm-button,
#prompt_popup sm-button {
margin: 0;
}
#confirmation_popup .flex,
#prompt_popup .flex {
padding: 0;
margin-top: 1rem;
}
#confirmation_popup .flex sm-button:first-of-type,
#prompt_popup .flex sm-button:first-of-type {
margin-right: 0.6rem;
margin-left: auto;
}
input[type=checkbox] {
display: none;
}
.checkbox svg {
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
height: 1.6rem;
width: 1.6rem;
}
.checkbox svg .check {
stroke-dashoffset: 70;
stroke-dasharray: 70;
-webkit-transition: stroke-dashoffset 0.3s ease;
transition: stroke-dashoffset 0.3s ease;
}
.checkbox input:checked + svg {
stroke: #00C853;
}
.checkbox input:checked + svg .check {
stroke-dashoffset: 0;
}
#settings_page {
padding: 1rem;
}
#settings_page section {
width: 100%;
border-bottom: 1px solid rgba(var(--text-color), 0.1);
display: -ms-grid;
display: grid;
padding-bottom: 1rem;
}
#settings_page section:last-of-type {
border: none;
}
#settings_page h3,
#settings_page h4 {
display: flexbox;
width: 100%;
-ms-flex-item-align: center;
align-self: center;
}
#settings_page h5 {
margin: 0;
-ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center;
font-weight: normal;
opacity: 0.9;
}
#settings_page button {
background: transparent;
border: 1px solid var(--accent-color);
color: var(--accent-color);
margin: 1rem 0;
width: -webkit-min-content;
width: -moz-min-content;
width: min-content;
white-space: nowrap;
}
#settings_page button .icon {
fill: var(--accent-color);
}
#settings_page > div {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 100%;
padding: 1rem 0;
-ms-flex-line-pack: center;
align-content: center;
}
#settings_page .row {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
#settings_page .row span {
font-size: 0.8rem;
}
#settings_page .border-card {
color: inherit;
text-decoration: none;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0.5rem 0;
width: auto;
}
#settings_page .border-card svg {
fill: var(--accent-color);
display: flexbox;
height: 2rem;
-ms-flex-item-align: center;
align-self: center;
margin: 0.5rem;
}
.container-card {
position: relative;
background: rgba(var(--foreground-color), 1);
border-radius: 0.4rem;
}
.solid-background {
transition: background-color 2s;
background: rgba(var(--foreground-color), 1);
}
a {
color: var(--accent-color);
text-decoration: none;
}
.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: rgba(var(--foreground-color), 1);
}
.task {
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 1fr;
grid-template-columns: auto 1fr;
margin: 0 1rem;
}
.task:last-of-type .left .line {
-webkit-transform: scaleY(0);
transform: scaleY(0);
}
.task .left {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: relative;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-top: 0.5rem;
}
.task .left .circle {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
position: relative;
-ms-flex-item-align: start;
align-self: flex-start;
height: 1rem;
width: 1rem;
border-radius: 50%;
background: rgba(var(--foreground-color), 1);
border: solid 2px rgba(var(--text-color), 0.4);
z-index: 1;
}
.task .left .line {
position: absolute;
left: 50%;
height: 100%;
width: 2px;
-webkit-transform: translateX(-50%) scaleY(1);
transform: translateX(-50%) scaleY(1);
background-color: rgba(var(--text-color), 0.4);
}
.task .right {
margin-left: 1rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 100%;
}
.task .right .apply-cont {
width: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
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;
}
.task p {
white-space: pre-line;
padding-bottom: 2rem;
}
.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;
margin: 1rem;
animation: fadein 0.4s ease;
}
.fade-in {
-webkit-animation: fadein 0.4s ease;
animation: fadein 0.4s ease;
}
@-webkit-keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.title {
font-weight: 500;
}
.padding {
padding: 1rem;
}
#dashboard {
padding-bottom: 5rem;
-ms-grid-columns: auto;
grid-template-columns: auto;
}
.input {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 100%;
margin: 1rem 0;
background: rgba(var(--text-color), 0.06);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border-radius: 0.2rem;
overflow: hidden;
}
.input input,
.input textarea {
color: var(--light-text);
padding: 1rem 0.5rem;
width: 100%;
font-size: 1rem;
background: transparent;
margin-left: 0;
}
.input input:focus,
.input textarea:focus {
outline: none;
}
.input svg {
height: 1.2rem;
width: 1.2rem;
margin: 0 0.5rem 0 1rem;
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
}
.input:focus-within {
background: rgba(0, 0, 0, 0.1);
}
input,
button,
textarea {
position: relative;
border: none;
font-size: 1rem;
border-radius: 0.2rem;
}
button[disabled] {
opacity: 0.5 !important;
cursor: default;
}
.show {
display: block;
}
.hide-on-mobile,
.hide-page-on-mobile {
display: none;
}
.hide-on-desktop {
display: initial;
}
.no-transformations {
-webkit-transform: none !important;
transform: none !important;
}
.no-bottom-margin {
margin-bottom: 0;
}
.top-margin {
margin-top: 0.3rem;
}
.chatInput {
overflow: hidden;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0;
}
.chatInput textarea {
resize: none;
line-height: 1.6;
}
.chatInput button {
-webkit-transition: -webkit-transform 0.3s ease;
transition: -webkit-transform 0.3s ease;
transition: transform 0.3s ease;
transition: transform 0.3s ease, -webkit-transform 0.3s ease;
-webkit-transform: scale(0);
transform: scale(0);
-ms-flex-item-align: end;
align-self: flex-end;
padding: 1rem;
}
.chatInput button svg {
margin: 0;
fill: rgba(var(--text-color), 1);
}
#top_nav {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0.5rem;
z-index: 4;
}
#top_nav .spacer {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
#top_nav .logo {
margin-right: 0.5rem;
}
.logo {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-size: 1.2rem;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
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;
}
.active {
opacity: 1 !important;
color: var(--accent-color);
}
.active svg {
fill: var(--accent-color);
}
.svg-margin-right svg {
margin-right: 0.5rem;
}
.project-card {
text-transform: capitalize;
}
.intern-card {
user-select: none;
}
.intern-card span:first-of-type {
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
padding: 0.8rem;
border-radius: 50%;
background: #673AB7;
margin-right: 1rem;
color: white;
font-weight: 500;
font-size: 1.2rem;
line-height: 0;
}
.intern-card span:first-of-type::after {
content: "";
display: block;
padding-bottom: 100%;
}
.intern-card span:nth-of-type(2) {
flex: 1;
text-transform: capitalize;
flex-shrink: 0;
}
.intern-card span:nth-of-type(3) {
display: inline-flex;
align-items: center;
align-content: center;
font-weight: 500;
font-size: 1.2rem;
color: var(--light-text);
}
.intern-card span:nth-of-type(3) svg {
fill: #FF5722 !important;
height: 1rem !important;
width: 1rem !important;
margin-right: 0.2rem;
}
.card {
display: flex;
flex-direction: row;
position: relative;
align-items: center;
margin-bottom: 0.5rem;
padding: 1rem;
}
.request-card {
display: flex;
position: relative;
margin-bottom: 0.5rem;
-webkit-box-align: left;
-ms-flex-align: left;
align-items: left;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 1rem;
border-bottom: 1px solid rgba(var(--text-color), 0.1);
}
.request-card p {
margin-top: 0;
width: 100%;
font-size: 1rem;
}
.request-card b {
font-weight: 500;
}
.request-card button {
padding: 0.2rem 0.6rem 0.2rem 0;
}
.request-card button:first-of-type {
margin-left: auto;
}
.request-card:last-of-type {
border-bottom: none;
}
.dropdown {
position: relative;
}
.dropdown-content {
overflow: hidden;
position: absolute;
z-index: 2;
margin: 1rem;
right: 2rem;
min-width: 24rem;
background: rgba(var(--foreground-color), 1);
box-shadow: 0 0.5rem 1rem -0.5rem rgba(0, 0, 0, 0.24);
border-radius: 0.5rem;
}
#intern_updates .container-header {
padding-right: 0;
border-bottom: 1px solid rgba(var(--text-color), 0.1);
}
#intern_updates .container-header button {
padding: 1rem 0;
border-bottom: 0.2rem solid transparent;
border-radius: 0;
opacity: 0.7;
}
#intern_updates .container-header button:first-of-type {
margin-right: 1rem;
}
#intern_updates .container-header button:last-of-type {
margin-right: 1rem;
}
#intern_updates .container-header .active {
color: rgba(var(--text-color), 1);
border-bottom: 0.2rem solid var(--accent-color);
}
#update_container,
#requests_container {
display: flex;
max-height: 80vh;
overflow-y: auto;
flex-direction: column;
}
#updates {
transition: opacity 0.3s ease;
}
.update {
display: flex;
flex-direction: column;
padding: 1rem;
}
.update__project-name {
font-size: 1.2rem;
max-width: 60ch;
margin: 0.3rem 0 0.5rem 0;
font-weight: bold;
text-transform: capitalize;
}
.update__sender {
color: var(--accent-color);
font-size: 0.9rem;
font-weight: 500;
}
.update__message {
white-space: pre-line;
}
.container-header {
display: flex;
align-items: center;
flex-direction: row;
width: 100%;
padding: 0 1rem;
}
.container-header h3 {
flex: 1;
font-weight: 500;
}
.container-header span {
color: var(--accent-color);
border-radius: 0.2rem;
margin-right: 0.2rem;
padding: 0.5rem 1rem;
font-weight: 500;
}
.back-arrow {
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
width: 2rem;
height: 2rem;
padding: 0.5rem 0.5rem 0.5rem 0;
cursor: pointer;
}
.close-svg,
.tick-mark {
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
height: 2rem;
width: 2rem;
}
.close-svg {
padding: 0.6rem;
}
#textCopied {
padding: 1rem;
border-radius: 2rem;
background: var(--sec-color);
position: fixed;
bottom: 0;
pointer-events: none;
margin: 2rem 0;
left: 50%;
transform: translateX(-50%);
transition: 0.3s opacity ease;
z-index: 10;
}
#intern_info {
flex-direction: column;
}
#intern_info div {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
margin-bottom: 1rem;
}
#intern_info div span {
flex: 1;
word-break: break-all;
font-size: 0.9rem;
}
#intern_info div svg {
fill: rgba(var(--text-color), 1);
height: 2.5rem;
padding: 0.6rem;
overflow: visible;
}
#intern_info .gold-fill {
fill: #FF5722;
}
#intern_info #update_intern_score h4 {
margin: 0;
font-size: 2rem;
}
#intern_info #update_intern_score button {
border: 1px solid rgba(var(--text-color), 0.1);
}
#intern_info #update_intern_score button svg {
stroke-width: 10;
fill: none;
stroke: var(--accent-color);
}
#intern_info #update_intern_score rect {
stroke: transparent;
}
#intern_info h3 {
text-transform: capitalize;
}
#intern_info h4,
#intern_info h5 {
margin-top: 0.5rem;
}
#project_info {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.branch-btn {
border-radius: 0;
padding: 0.5rem;
border-radius: 0.2rem;
margin: 0.5rem 0.5rem 0.5rem 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.active-branch {
opacity: 1;
color: var(--accent-color);
background: rgba(var(--text-color), 0.04);
}
.active-project {
background: rgba(var(--text-color), 0.06);
}
.opac {
opacity: 1 !important;
}
.task-list-item {
display: -ms-grid;
display: grid;
-ms-grid-columns: auto auto 1fr auto;
grid-template-columns: auto auto 1fr auto;
grid-template-areas: "status . title options" "status . interns interns" "status . description description";
padding: 1rem;
gap: 0.5rem;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: rgba(var(--text-color), 0.02);
}
.task-list-item .checkbox {
-ms-grid-row-span: 3;
grid-area: status;
padding: 0.5rem 0.5rem 0.5rem 0;
-ms-flex-item-align: start !important;
align-self: flex-start !important;
}
.task-list-item:first-of-type {
margin-top: 1rem;
border-radius: 0.2rem 0.2rem 0 0;
}
.task-list-item:last-of-type {
border-radius: 0 0 0.2rem 0.2rem;
border-bottom: none;
margin-bottom: 1rem;
}
.task-list-item h4 {
font-weight: 500;
margin: 0;
}
.task-list-item .title {
grid-area: title;
}
.task-list-item .assigned-interns {
-ms-grid-column-span: 2;
grid-area: interns;
}
.task-list-item .task-option {
grid-area: options;
cursor: pointer;
opacity: 1;
-webkit-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
}
.task-list-item .task-option svg {
width: 2rem;
height: 2rem;
padding: 0.5rem;
overflow: visible;
fill: rgba(var(--text-color), 0.8);
}
.task-list-item p {
-ms-grid-column-span: 2;
grid-area: description;
margin: 0;
text-overflow: ellipsis;
overflow: hidden;
max-width: 100%;
}
.assigned-interns {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.assigned-interns .assigned-intern {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: -webkit-box;
display: -ms-flexbox;
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);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
white-space: nowrap;
text-transform: capitalize;
}
.assigned-interns .assigned-intern button {
padding: 0.2rem;
}
.assigned-interns .assigned-intern button svg {
padding: 0.2rem;
height: 1rem;
width: 1rem;
}
.commit {
color: var(--accent-color);
border: 1px solid var(--accent-color);
padding: 0.6rem;
}
#task_context {
-webkit-transition: 0.3s opacity ease;
transition: 0.3s opacity ease;
top: 0;
right: 0;
margin: 0 2rem;
list-style: none;
padding: 0.5rem 0;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
border-radius: 0.2rem;
position: absolute;
background: rgba(var(--foreground-color), 1);
-webkit-box-shadow: 0.2rem 0.4rem 1rem rgba(0, 0, 0, 0.24), -0.1rem -0.2rem 0.4rem rgba(0, 0, 0, 0.16);
box-shadow: 0.2rem 0.4rem 1rem rgba(0, 0, 0, 0.24), -0.1rem -0.2rem 0.4rem rgba(0, 0, 0, 0.16);
}
#task_context li {
padding: 0.8rem 1rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
#task_context li svg {
margin-right: 1rem;
width: 1.2rem;
height: 1.2rem;
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
}
.temp-task {
padding: 1rem;
background: rgba(var(--text-color), 0.02);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.temp-task .input {
margin: 0.4rem 0;
}
#branch_container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin: 1rem 0;
}
#notification {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
#bottom_nav {
position: fixed;
bottom: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
width: 100vw;
background: rgba(var(--foreground-color), 1);
z-index: 4;
border-top: 1px solid rgba(var(--text-color), 0.1);
}
#bottom_nav button {
padding: 0.2rem;
width: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 0.7rem;
font-weight: normal;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
#bottom_nav button svg {
margin: 0.4rem;
}
#show_message {
-webkit-transform: translate(0, 0.4rem);
transform: translate(0, 0.4rem);
-webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
transition: transform 0.3s ease, opacity 0.3s ease;
transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
-webkit-box-shadow: 0.2rem 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
box-shadow: 0.2rem 0.4rem 0.8rem rgba(0, 0, 0, 0.16);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
color: white;
position: fixed;
bottom: 0;
right: 0;
width: 100%;
z-index: 11;
}
#show_message span {
font-weight: 500;
padding: 1rem;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
#show_message button {
padding: 0.5rem 1rem;
margin: 0;
}
#show_message button svg {
stroke: white;
}
#interns_list {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-width: 20rem;
}
#interns_list #interns_list_container {
min-height: 50vh;
max-height: 50vh;
overflow-y: auto;
}
#best_interns_container,
#project_list_container {
margin-bottom: 1rem;
}
#best_interns_container .container-header,
#project_list_container .container-header {
padding-right: 0;
}
#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;
}
.header {
position: -webkit-sticky;
position: sticky;
top: 0;
background: rgba(var(--foreground-color), 1);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row;
flex-flow: row;
border-bottom: 1px solid rgba(var(--text-color), 0.1);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
z-index: 2;
}
.header svg {
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
height: 2rem;
width: 2rem;
cursor: pointer;
padding: 0.4rem;
margin-left: 1rem;
}
.header h3 {
padding: 0 0.5rem;
display: inline-flexbox;
}
.appear-on-scroll-up {
position: fixed !important;
top: 0;
width: 100%;
height: 4rem !important;
}
#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: rgba(var(--foreground-color), 1);
}
.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;
}
#loading_page__footer .icon {
height: 4rem;
width: 4rem;
}
.loader {
height: 2rem;
width: 2rem;
stroke-width: 8;
overflow: visible;
stroke: var(--accent-color);
fill: none;
stroke-dashoffset: 180;
stroke-dasharray: 180;
animation: load 3.6s linear infinite, spin 1s linear infinite;
}
@keyframes load {
50% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: -180;
}
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
#status_map_container {
position: relative;
overflow: hidden;
background: #B9F6CA;
}
#status_map_container .branch-btn {
color: rgba(0, 0, 0, 0.8);
}
#status_map_container p {
color: rgba(0, 0, 0, 0.9);
}
#status_map_container .active-branch {
color: white;
background: rgba(0, 200, 83, 0.6);
}
#status_map_container #status_map {
position: relative;
z-index: 1;
padding: 1rem;
color: #000;
}
#status_map_container #status_map h2 {
margin: 0.4rem 0;
text-transform: capitalize;
}
#status_map_container #status_map .circle {
background: #B9F6CA;
border: 2px solid rgba(0, 0, 0, 0.4);
}
#status_map_container #status_map .line {
background: rgba(0, 0, 0, 0.4);
}
#status_map_container #status_map .assigned-intern {
border: rgba(0, 0, 0, 0.4) 1px solid;
}
#status_map_container #status_map .apply-btn {
color: #1B5E20;
background: rgba(0, 200, 83, 0.2);
}
.apply-btn {
padding: 0.3rem 0.6rem;
}
.watching {
position: relative;
padding-left: 1rem;
padding-top: 1rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: #000;
z-index: 1;
}
.watching h4 {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: 500;
}
.watching button {
padding: 1rem;
}
.watching button svg {
fill: none !important;
fill: none;
stroke: rgba(var(--text-color), 0.8);
stroke-width: 6;
overflow: visible;
stroke: #000;
}
#right {
padding: 0 1rem;
}
#right div:first-of-type h2 {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
margin: 0.4rem 0;
}
#right div:first-of-type button {
border: 1px solid rgba(var(--text-color), 0.06);
}
.center {
position: relative;
display: -ms-grid;
display: grid;
place-content: center;
height: 100%;
text-align: center;
}
.slide-left {
-webkit-animation: slide-left 0.4s ease;
animation: slide-left 0.4s ease;
}
@-webkit-keyframes slide-left {
100% {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
opacity: 0;
}
}
@keyframes slide-left {
100% {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
opacity: 0;
}
}
.update-mi svg {
-webkit-animation: shake 0.6s ease;
animation: shake 0.6s ease;
-webkit-transform-origin: top;
transform-origin: top;
}
@-webkit-keyframes shake {
0% {
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}
20% {
-webkit-transform: rotate(-30deg);
transform: rotate(-30deg);
}
40% {
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
}
60% {
-webkit-transform: rotate(-20deg);
transform: rotate(-20deg);
}
80% {
-webkit-transform: rotate(10deg);
transform: rotate(10deg);
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@keyframes shake {
0% {
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}
20% {
-webkit-transform: rotate(-30deg);
transform: rotate(-30deg);
}
40% {
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
}
60% {
-webkit-transform: rotate(-20deg);
transform: rotate(-20deg);
}
80% {
-webkit-transform: rotate(10deg);
transform: rotate(10deg);
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
.settings-mi svg {
-webkit-animation: rot 0.6s ease;
animation: rot 0.6s ease;
-webkit-transform-origin: center;
transform-origin: center;
}
@-webkit-keyframes rot {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
}
}
@keyframes rot {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
}
}
.capitalise {
text-transform: capitalize;
}
#show_all,
#project_explorer {
margin: 0;
}
#admin_panel {
padding: 0 1.5rem;
display: grid;
gap: 1.5rem;
}
#admin_panel__header {
display: grid;
gap: 0 1rem;
padding: 0.5rem 0;
grid-template-columns: 1fr auto;
align-items: center;
}
#project_editing_panel {
padding: 1rem;
}
@media only screen and (min-width: 640px) {
.hide-on-desktop {
display: none !important;
}
.hide-on-mobile {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.hide-page-on-mobile {
display: -ms-grid;
display: grid;
}
sm-popup {
--width: 24rem;
}
.popup__header {
padding: 1.5rem 1.5rem 0 0.5rem;
}
.page,
#show_all,
#project_explorer {
margin: 1rem 4vw;
}
#top_nav {
padding: 1rem 2vw;
}
#settings_page {
padding: 1rem 2rem;
}
.logo {
-webkit-box-pack: left;
-ms-flex-pack: left;
justify-content: left;
width: auto;
}
#show_message {
-webkit-transform: translate(0.4rem, 0);
transform: translate(0.4rem, 0);
margin: 1rem;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
border-radius: 0.2rem;
}
#sign_in {
width: 24rem;
height: auto;
border-radius: 0.4rem;
}
#floating_btn {
margin: 1rem;
}
#dashboard {
-ms-grid-columns: 3fr 1fr;
grid-template-columns: 3fr 1fr;
}
#dashboard #status_map_container {
-ms-flex-item-align: start;
align-self: flex-start;
}
#dashboard #status_map_container .watching {
padding-left: 2rem;
}
#dashboard #status_map_container #status_map {
padding: 1rem 2rem;
}
.task .apply-btn {
opacity: 0;
-webkit-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
}
.task:hover .apply-btn {
opacity: 1;
}
#intern_info {
width: 24rem;
}
.hover {
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease;
cursor: pointer;
}
.hover:hover {
background: rgba(var(--text-color), 0.06);
}
#admin_panel {
grid-template-columns: 16rem 1fr;
grid-template-rows: auto 1fr;
grid-template-areas: "admin-header admin-header" ". .";
}
#admin_panel__header {
grid-area: admin-header;
}
#edit_data_fig {
width: 16rem;
-ms-grid-column-align: center;
justify-self: center;
}
#interns,
#projects {
display: flex;
flex-direction: column;
max-height: calc(100vh - 16rem);
overflow-y: auto;
}
.task-list-item .task-option {
opacity: 0;
}
.task-list-item:hover .task-option {
opacity: 1;
}
#project_explorer {
display: -ms-grid;
display: grid;
align-items: flex-start;
-ms-grid-columns: 1fr 3fr;
grid-template-columns: 1fr 3fr;
grid-template-areas: "header header" "left right";
}
#project_explorer .header {
border-radius: 0.4rem 0.4rem 0 0;
-ms-grid-column-span: 2;
grid-area: header;
}
#project_explorer #left {
position: -webkit-sticky;
position: sticky;
top: 4.8rem;
grid-area: left;
-ms-flex-item-align: start;
align-self: flex-start;
border-right: 1px solid rgba(var(--text-color), 0.06);
}
#project_explorer #left h4 {
margin-top: 0;
margin-bottom: 0.5rem;
color: #29B6F6;
font-size: 0.9rem;
}
#project_explorer #right {
grid-area: right;
}
}
#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;
}
#assigned_task_list {
display: grid;
align-content: flex-start;
gap: 1.5rem;
}
.task-card {
display: grid;
padding: 1rem;
}
.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.5rem;
margin-bottom: 1rem !important;
}
.task__description {
white-space: pre-line;
color: rgba(var(--text-color), 0.8);
}
.send-update-button {
grid-area: send-button;
border: solid 1px;
color: var(--accent-color);
}
.send-update-button .icon {
height: 1.2rem;
width: 1.2rem;
fill: var(--accent-color);
}
@media only screen and (min-width: 1280px) {
.page,
#show_all,
#project_explorer {
margin: 1rem 8vw;
}
}
@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;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(var(--text-color), 0.5);
}
.send-update-button {
opacity: 0;
transition: opacity 0.3s;
}
.task-card:hover .send-update-button {
opacity: 1;
}
}
@media (any-hover: none) {
.task-option,
.apply-btn {
opacity: 1;
}
}