86 lines
1.4 KiB
SCSS
86 lines
1.4 KiB
SCSS
|
.paragraph-row {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
cursor: pointer;
|
||
|
padding: 20px 0;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
&.active {
|
||
|
cursor: default;
|
||
|
background-color: #ccc;
|
||
|
&:hover {
|
||
|
background-color: #ccc;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.paragraph-select {
|
||
|
flex-basis: 50px;
|
||
|
flex-grow: 0;
|
||
|
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
.paragraph-text {
|
||
|
flex: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
:host ::ng-deep .motion-text {
|
||
|
p,
|
||
|
ul,
|
||
|
ol,
|
||
|
li,
|
||
|
blockquote {
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
|
||
|
li {
|
||
|
padding-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
ol,
|
||
|
ul {
|
||
|
margin-left: 15px;
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
|
||
|
padding-left: 40px;
|
||
|
position: relative;
|
||
|
|
||
|
.os-line-number {
|
||
|
display: inline-block;
|
||
|
font-size: 0;
|
||
|
line-height: 0;
|
||
|
width: 22px;
|
||
|
height: 22px;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
padding-right: 55px;
|
||
|
|
||
|
&:after {
|
||
|
content: attr(data-line-number);
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
vertical-align: top;
|
||
|
color: gray;
|
||
|
font-size: 12px;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.wide-form {
|
||
|
textarea {
|
||
|
height: 25vh;
|
||
|
}
|
||
|
|
||
|
::ng-deep {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|