mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-20 06:35:54 +02:00
558 lines
8.9 KiB
CSS
558 lines
8.9 KiB
CSS
@import '@radix-ui/colors/black-alpha.css';
|
|
@import '@radix-ui/colors/mauve.css';
|
|
@import '@radix-ui/colors/violet.css';
|
|
|
|
|
|
|
|
.ContextMenuContent,
|
|
.ContextMenuSubContent {
|
|
min-width: 135px;
|
|
background-color: white;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
padding: 5px;
|
|
box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px rgba(22, 23, 24, 0.2);
|
|
z-index: 99;
|
|
}
|
|
|
|
.ContextMenuItem,
|
|
.ContextMenuCheckboxItem,
|
|
.ContextMenuRadioItem,
|
|
.ContextMenuSubTrigger {
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
color: var(--violet-11);
|
|
border-radius: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 25px;
|
|
padding: 0 5px;
|
|
position: relative;
|
|
padding-left: 15px;
|
|
user-select: none;
|
|
outline: none;
|
|
}
|
|
|
|
.ContextMenuSubTrigger[data-state='open'] {
|
|
background-color: gray;
|
|
color: var(--violet-11);
|
|
}
|
|
|
|
.ContextMenuItem[data-disabled],
|
|
.ContextMenuCheckboxItem[data-disabled],
|
|
.ContextMenuRadioItem[data-disabled],
|
|
.ContextMenuSubTrigger[data-disabled] {
|
|
color: var(--mauve-8);
|
|
pointer-events: 'none';
|
|
}
|
|
|
|
.ContextMenuItem[data-highlighted],
|
|
.ContextMenuCheckboxItem[data-highlighted],
|
|
.ContextMenuRadioItem[data-highlighted],
|
|
.ContextMenuSubTrigger[data-highlighted] {
|
|
background-color: #dad9db;
|
|
color: var(--violet-11);
|
|
}
|
|
|
|
.ContextMenuLabel {
|
|
padding-left: 25px;
|
|
font-size: 12px;
|
|
line-height: 25px;
|
|
color: var(--mauve-11);
|
|
}
|
|
|
|
|
|
.ContextMenuItemIndicator {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 25px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.RightSlot {
|
|
margin-left: auto;
|
|
padding-left: 20px;
|
|
color: var(--mauve-11);
|
|
}
|
|
|
|
[data-highlighted]>.RightSlot {
|
|
color: white;
|
|
}
|
|
|
|
[data-disabled] .RightSlot {
|
|
color: var(--mauve-8);
|
|
}
|
|
|
|
.dropdown-menu {
|
|
min-width: 10rem;
|
|
}
|
|
|
|
.dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.3rem 1.2rem;
|
|
clear: both;
|
|
font-weight: 400;
|
|
color: #393a39;
|
|
text-align: inherit;
|
|
white-space: nowrap;
|
|
background-color: transparent;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: #dad9db;
|
|
color: var(--violet-11);
|
|
}
|
|
|
|
.itemColor {
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.folderComponent {
|
|
margin: 30px;
|
|
height: 100%;
|
|
}
|
|
|
|
.folderComponent::-webkit-scrollbar {
|
|
display: none;
|
|
/* for Chrome, Safari, and Opera */
|
|
}
|
|
|
|
.modal {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.folderBox {
|
|
/* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
margin: 10px ;
|
|
padding: 5px 0px 5px 40px; */
|
|
/* overflow: scroll;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 200px; */
|
|
margin: 10px;
|
|
/* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
|
|
|
|
|
|
|
|
}
|
|
|
|
.folderContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center
|
|
}
|
|
|
|
/* .folderBox:hover{
|
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
|
|
font-weight: bold;
|
|
} */
|
|
.pdfName {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.viewbotton {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.18);
|
|
padding: 8px 20px;
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.viewbotton:focus {
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.folderRender {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
position: relative;
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 20px;
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.pdfContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
margin-top: 20px;
|
|
align-items: center;
|
|
|
|
justify-content: space-around
|
|
}
|
|
|
|
.pdfContainer .box:last-child {
|
|
margin-left: 0;
|
|
/* Override the margin on the last box */
|
|
margin-right: auto;
|
|
/* Align it to the start */
|
|
}
|
|
|
|
.icon-container {
|
|
position: relative;
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 10px;
|
|
display: inline-block;
|
|
|
|
cursor: pointer
|
|
}
|
|
|
|
.hrStyle {
|
|
margin-top: 0rem !important;
|
|
margin-bottom: 0rem !important;
|
|
border: 0;
|
|
border-top: 1px solid rgba(0, 0, 0, .1);
|
|
}
|
|
|
|
.pdf-icon {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.status-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background-color: #fff;
|
|
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 50%;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
.status-badge i {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Status-specific colors */
|
|
.completed {
|
|
background-color: #4CAF50;
|
|
color: #fff;
|
|
}
|
|
|
|
.in-progress {
|
|
background-color: #FFC107;
|
|
color: #fff;
|
|
}
|
|
|
|
.declined {
|
|
background-color: #F44336;
|
|
color: #fff;
|
|
}
|
|
|
|
.expired {
|
|
background-color: #9E9E9E;
|
|
color: #fff;
|
|
}
|
|
|
|
.draft {
|
|
background-color: #079cdc;
|
|
color: #fff;
|
|
}
|
|
|
|
.add {
|
|
background-color: #05bbdb;
|
|
color: #fff;
|
|
padding: 8px 15px;
|
|
text-align: center;
|
|
display: flex;
|
|
margin: 5px;
|
|
}
|
|
|
|
.sort {
|
|
padding: 8px 15px;
|
|
margin: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.sort:hover {
|
|
box-shadow: 0 2px 4px rgba(168, 204, 206, 0.1);
|
|
background-color: var(--mauve-3);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Hover effect */
|
|
.info-box {
|
|
position: absolute;
|
|
|
|
bottom: 100%;
|
|
left: 0;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
padding: 5px;
|
|
width: 180px;
|
|
display: none;
|
|
z-index: 10;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.icon-container:hover .info-box {
|
|
display: block;
|
|
|
|
}
|
|
|
|
.folderRender:hover .info-box {
|
|
display: block;
|
|
}
|
|
|
|
.info-box:hover {
|
|
z-index: 999;
|
|
}
|
|
|
|
|
|
|
|
.addFolderInput {
|
|
padding: 10px;
|
|
|
|
border-radius: 4px;
|
|
/* width: 440px; */
|
|
font-size: 15px;
|
|
|
|
border: 0.5px solid rgb(198, 195, 195);
|
|
}
|
|
|
|
.tooltip-inner {
|
|
background-color: #fff;
|
|
border: 1px solid black;
|
|
font-weight: 600;
|
|
opacity: 1 !important;
|
|
color: rgb(0, 0, 0);
|
|
border-radius: 3px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.fileName {
|
|
display: inline-block;
|
|
width: 100px;
|
|
white-space: nowrap;
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
font-weight: 480;
|
|
}
|
|
|
|
.foldName {
|
|
display: inline-block;
|
|
width: 100px;
|
|
white-space: nowrap;
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
font-weight: 480;
|
|
}
|
|
|
|
.statusSpan {
|
|
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
|
|
a {
|
|
all: unset;
|
|
}
|
|
|
|
.HoverCardContent {
|
|
border-radius: 6px;
|
|
padding: 5px 10px;
|
|
width: 170px;
|
|
background-color: white;
|
|
box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;
|
|
animation-duration: 400ms;
|
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
will-change: transform, opacity;
|
|
text-align: center;
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.HoverCardContent[data-side='top'] {
|
|
animation-name: slideDownAndFade;
|
|
}
|
|
|
|
.HoverCardContent[data-side='right'] {
|
|
animation-name: slideLeftAndFade;
|
|
}
|
|
|
|
.HoverCardContent[data-side='bottom'] {
|
|
animation-name: slideUpAndFade;
|
|
}
|
|
|
|
.HoverCardContent[data-side='left'] {
|
|
animation-name: slideRightAndFade;
|
|
}
|
|
|
|
.HoverCardArrow {
|
|
fill: white;
|
|
}
|
|
|
|
|
|
|
|
@keyframes slideUpAndFade {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(2px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideRightAndFade {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateX(-2px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideDownAndFade {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideLeftAndFade {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.dropMenuBD {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
.dropMenuSS {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
display: none;
|
|
}
|
|
|
|
.folderPath {
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.folderPath::-webkit-scrollbar {
|
|
display: none;
|
|
/* for Chrome, Safari, and Opera */
|
|
}
|
|
|
|
.docDeleteBtn {
|
|
/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.18); */
|
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
padding: 7px 17px;
|
|
color: white;
|
|
font-weight: 600 !important;
|
|
font-size: 12px !important;
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.docDeleteBtn:focus {
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.docDeleteBtn:hover {
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.18);
|
|
color: white;
|
|
}
|
|
|
|
@media screen and (max-width:766px) {
|
|
.itemColor {
|
|
font-size: 10px !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 310px) and (max-width:550px) {
|
|
|
|
.pdfContainer {
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.sort {
|
|
padding: 2px;
|
|
}
|
|
|
|
.folderComponent {
|
|
margin: 10px;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width:309px) {
|
|
|
|
.pdfContainer {
|
|
justify-content: center;
|
|
}
|
|
|
|
.sort {
|
|
padding: 2px;
|
|
}
|
|
|
|
.folderComponent {
|
|
margin: 10px;
|
|
}
|
|
} |