2021-10-27 15:23:28 +05:30
|
|
|
.ProseMirror {
|
2023-07-09 08:55:56 +05:30
|
|
|
padding-top: $gl-spacing-scale-4;
|
|
|
|
min-height: 140px;
|
2021-11-18 22:05:49 +05:30
|
|
|
max-height: 55vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2023-07-09 08:55:56 +05:30
|
|
|
::selection {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.ProseMirror-hideselection) .content-editor-selection {
|
|
|
|
background-color: $blue-100;
|
|
|
|
box-shadow: 0 2px 0 $blue-100, 0 -2px 0 $blue-100;
|
|
|
|
}
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
td,
|
|
|
|
th,
|
2021-11-11 11:23:49 +05:30
|
|
|
li,
|
|
|
|
dd,
|
2021-11-18 22:05:49 +05:30
|
|
|
dt,
|
|
|
|
summary {
|
2021-11-11 11:23:49 +05:30
|
|
|
:first-child {
|
2021-10-27 15:23:28 +05:30
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-09 08:55:56 +05:30
|
|
|
img.ProseMirror-selectednode,
|
|
|
|
.ProseMirror-selectednode audio,
|
|
|
|
.ProseMirror-selectednode video {
|
|
|
|
outline: 3px solid $blue-200;
|
2022-07-16 23:28:13 +05:30
|
|
|
outline-offset: -3px;
|
|
|
|
}
|
|
|
|
|
2023-07-09 08:55:56 +05:30
|
|
|
video {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
ul[data-type='taskList'] {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-type='taskList'] {
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
> label,
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
> label {
|
|
|
|
padding: $gl-spacing-scale-1 $gl-spacing-scale-3 0 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2021-11-18 22:05:49 +05:30
|
|
|
|
2021-11-11 11:23:49 +05:30
|
|
|
.dl-content {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-left: $gl-spacing-scale-5;
|
|
|
|
|
|
|
|
&.dl-term {
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
.details-toggle-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '▶';
|
|
|
|
display: inline-block;
|
|
|
|
width: $gl-spacing-scale-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-open::before {
|
|
|
|
content: '▼';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
|
|
|
width: calc(100% - #{$gl-spacing-scale-4});
|
|
|
|
|
|
|
|
> li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-left: $gl-spacing-scale-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
> :not(:first-child) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-open > :not(:first-child) {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
2021-10-27 15:23:28 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.table-creator-grid-item {
|
|
|
|
box-shadow: inset 0 0 0 $gl-spacing-scale-2 $white,
|
|
|
|
inset $gl-spacing-scale-1 $gl-spacing-scale-1 0 #{$gl-spacing-scale-2 * 3 / 4} $gray-100,
|
|
|
|
inset #{-$gl-spacing-scale-1} #{-$gl-spacing-scale-1} 0 #{$gl-spacing-scale-2 * 3 / 4} $gray-100 !important;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
box-shadow: inset 0 0 0 $gl-spacing-scale-2 $white,
|
|
|
|
inset $gl-spacing-scale-1 $gl-spacing-scale-1 0 $gl-spacing-scale-2 $blue-500,
|
|
|
|
inset #{-$gl-spacing-scale-1} #{-$gl-spacing-scale-1} 0 $gl-spacing-scale-2 $blue-500 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-09 08:55:56 +05:30
|
|
|
.content-editor-switcher {
|
|
|
|
min-height: 32px;
|
2021-10-27 15:23:28 +05:30
|
|
|
}
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
|
|
|
|
.content-editor-color-chip::after {
|
|
|
|
content: ' ';
|
|
|
|
display: inline-block;
|
|
|
|
align-items: center;
|
|
|
|
width: 11px;
|
|
|
|
height: 11px;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 4px;
|
|
|
|
margin-top: -2px;
|
|
|
|
border: 1px solid $black-transparent;
|
|
|
|
background-color: var(--gl-color-chip-color);
|
|
|
|
}
|
2022-07-16 23:28:13 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
.content-editor-comment {
|
|
|
|
&::before {
|
|
|
|
content: '<!--';
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '-->';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-16 23:28:13 +05:30
|
|
|
.bubble-menu-form {
|
|
|
|
width: 320px;
|
|
|
|
}
|