File size: 1,338 Bytes
aef5a44 688f0b9 aef5a44 04e85f3 aef5a44 04e85f3 233e279 04e85f3 233e279 04e85f3 aef5a44 7ba5bbd aaee455 7ba5bbd 04e85f3 aef5a44 7ba5bbd aaee455 7ba5bbd 0a89a2b 7ba5bbd 04e85f3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | [data-theme='light'] {
--font-color: #c9d1d9;
--theme-color: #333333;
}
[data-theme='dark'] {
--font-color: #e3e3e3;
--theme-color: #141414;
}
.main-layout {
display: flex;
flex-direction: column;
height: 350px; /* Set the height of the layout to be 100% of the viewport */
width: 400px;
border-radius: 10px;
background-color: var(--theme-color);
color: var(--font-color);
}
.main-layout .ant-layout-content {
flex: 1; /* This will make the Content element grow to fill the available space */
}
.header {
height: 55px;
text-align: left;
padding-top: 5px;
}
.footer {
padding: 10px;
background-color: var(--theme-color);
display: flex;
gap: 3px;
align-items: center;
color: grey;
}
.content {
padding: 10px;
height: 400px;
overflow-y: auto;
scrollbar-gutter: stable;
}
.content::-webkit-scrollbar {
width: 5px;
}
.content::-webkit-scrollbar-track {
background-color: #e4e4e4;
border-radius: 100px;
}
.content::-webkit-scrollbar-thumb {
background-color: #aaaaaa;
border-radius: 100px;
}
.divider {
margin: 0;
background-color: grey;
}
.footer-btn {
padding: 5px;
background-color: inherit;
border: 0;
color: grey;
height: 25px;
cursor: pointer;
}
.footer-btn:hover {
background-color: #8753e9;
border: 1px solid inherit;
border-radius: 10px;
} |