1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 16:19:46 +02:00
documize/gui/app/styles/view/document/wysiwyg.scss

116 lines
1.5 KiB
SCSS
Raw Normal View History

2016-07-07 18:54:16 -07:00
.wysiwyg {
font-size: 17px;
line-height: 30px;
2017-12-11 20:59:28 +00:00
color: $color-off-black;
2016-07-07 18:54:16 -07:00
table {
border: 1px solid $color-border !important;
2016-07-07 18:54:16 -07:00
th {
border: 1px solid $color-border !important;
}
td {
2016-07-07 18:54:16 -07:00
padding: 5px 7px !important;
border: 1px solid $color-border !important;
2016-07-07 18:54:16 -07:00
p {
2016-07-07 18:54:16 -07:00
margin: 0 !important;
padding: 0 !important;
}
}
}
ol,
ul {
2016-07-07 18:54:16 -07:00
margin: 15px 0;
padding: 0 0 0 40px;
line-height: 20px;
2016-07-07 18:54:16 -07:00
}
2017-03-08 14:47:16 +00:00
ol {
li {
list-style-type: decimal;
line-height: 20px;
}
}
ul {
li {
2016-07-07 18:54:16 -07:00
list-style-type: disc;
line-height: 20px;
2016-07-07 18:54:16 -07:00
}
}
2017-12-05 19:03:38 +00:00
h1,
h2,
h3,
h4,
h5,
h6,
h7,
h8,
h9 {
2017-12-05 19:03:38 +00:00
font-size: 1.8rem;
font-weight: bold;
margin: 16px 0;
color: $color-dark;
2016-07-07 18:54:16 -07:00
}
pre {
2016-07-07 18:54:16 -07:00
background-color: $color-off-white;
padding: 10px;
border: 1px solid $color-border;
@include border-radius(3px);
}
.code-mirror {
2016-07-07 18:54:16 -07:00
background-color: none;
padding: 10px;
border: none;
@include border-radius(0px);
}
.wysiwyg-table {
2016-07-07 18:54:16 -07:00
border: none;
border-collapse: collapse;
empty-cells: show;
max-width: 100% !important;
margin: 0 !important;
.fr-dashed-borders td,
.fr-dashed-borders th {
border-style: dashed;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
.fr-alternate-rows tbody tr:nth-child(2n) {
background: #f5f5f5;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
td,
th {
border: 1px solid #f3f5f8;
padding: 5px 7px !important;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
td:empty,
th:empty {
height: 20px;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
td.fr-highlighted,
th.fr-highlighted {
border: 1px double red;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
td.fr-thick,
th.fr-thick {
border-width: 2px;
2016-07-07 18:54:16 -07:00
}
2016-07-07 18:54:16 -07:00
th {
background: #f7f6f6;
2016-07-07 18:54:16 -07:00
}
}
}