2023-12-26 10:49:08 +13:00
|
|
|
.downarea, .downarea * {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
outline: none;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea::-webkit-scrollbar , .downarea *::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea::-webkit-scrollbar-thumb , .downarea *::-webkit-scrollbar-thumb {
|
|
|
|
border: 3px solid rgba(0, 0, 0, 0);
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-color: #a1a1a1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea::-webkit-scrollbar-thumb:hover , .downarea *::-webkit-scrollbar-thumb:hover {
|
|
|
|
background-color: #666666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea {
|
2024-06-27 13:17:19 +02:00
|
|
|
background: var(--bs-body-bg);
|
|
|
|
border: 1px solid var(--bs-border-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
border-radius: 3px;
|
|
|
|
width: auto;
|
|
|
|
height: 150px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-width: max-content !important;
|
|
|
|
min-height: 120px !important;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea.focused {
|
2024-06-27 13:17:19 +02:00
|
|
|
border-color: var(--bs-secondary-text-emphasis);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .resizer {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2024-06-27 13:17:19 +02:00
|
|
|
border: 5px solid var(--bs-secondary-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
border-top-color: transparent;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 3px;
|
|
|
|
right: 2px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .resizer.vertical {
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .resizer.horizontal {
|
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .resizer.both {
|
|
|
|
cursor: nw-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .downarea-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .downarea-toolbar {
|
2024-06-27 13:17:19 +02:00
|
|
|
background: var(--bs-secondary-bg);
|
2023-12-26 10:49:08 +13:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
padding: 5px;
|
2024-06-27 13:17:19 +02:00
|
|
|
border-bottom: 1px solid var(--bs-border-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
min-width: max-content !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea.focused .downarea-toolbar {
|
2024-06-27 13:17:19 +02:00
|
|
|
border-bottom-color: var(--bs-secondary-text-emphasis);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 7px;
|
2024-06-27 13:17:19 +02:00
|
|
|
background: var(--bs-light-bg-subtle);
|
2023-12-26 10:49:08 +13:00
|
|
|
border-radius: 3px;
|
2024-06-27 13:17:19 +02:00
|
|
|
border: 1px solid var(--bs-secondary-border-subtle);
|
2023-12-26 10:49:08 +13:00
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 5px;
|
|
|
|
user-select: none;
|
|
|
|
position: relative;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 500;
|
2024-06-27 13:17:19 +02:00
|
|
|
color: var(--bs-emphasis-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool svg {
|
|
|
|
width: 13px;
|
|
|
|
opacity: 0.8;
|
2024-06-27 13:17:19 +02:00
|
|
|
fill: var(--bs-emphasis-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown {
|
|
|
|
position: absolute;
|
|
|
|
min-width: max-content;
|
|
|
|
max-height: 130px;
|
|
|
|
top: calc(100% + 2px);
|
|
|
|
left: 0;
|
|
|
|
z-index: 2;
|
2024-06-27 13:17:19 +02:00
|
|
|
border: 1px solid var(--bs-border-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
border-radius: 3px;
|
|
|
|
overflow: auto;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown.active {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown ul {
|
|
|
|
list-style-type: none;
|
|
|
|
display: block;
|
2024-06-27 13:17:19 +02:00
|
|
|
background: var(--bs-light-bg-subtle);
|
2023-12-26 10:49:08 +13:00
|
|
|
cursor: default;
|
|
|
|
padding: 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown ul li {
|
|
|
|
font-size: 15px;
|
|
|
|
padding: 5px 8px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown ul li:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown ul li:hover {
|
|
|
|
background: #dcdcdc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(1) {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(2) {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(3) {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(4) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(5) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea-toolbar .downarea-toolbar-tool .downarea-tool-dropdown#heading-dropdown ul li:nth-child(6) {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .downarea-textarea {
|
|
|
|
width: 100%;
|
|
|
|
height: max-content;
|
2024-06-27 13:17:19 +02:00
|
|
|
background: inherit;
|
2023-12-26 10:49:08 +13:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .downarea-textarea textarea {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
padding: 8px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downarea .downarea-bottom {
|
|
|
|
width: 100%;
|
|
|
|
height: 19px;
|
2024-06-27 13:17:19 +02:00
|
|
|
background: var(--bs-secondary-bg);
|
2023-12-26 10:49:08 +13:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2024-06-27 13:17:19 +02:00
|
|
|
border-top: 1px solid var(--bs-border-color);
|
|
|
|
border-bottom: 1px solid var(--bs-border-color);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downarea.focused .downarea-bottom {
|
2024-06-27 13:17:19 +02:00
|
|
|
border-top-color: var(--bs-secondary-text-emphasis);
|
2023-12-26 10:49:08 +13:00
|
|
|
}
|