aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBox.scss
blob: d3045ae2f2ac6f9ec7ec06c33621ffd8f9f67406 (plain)
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
@import "../globalCssVariables";
.ProseMirror {
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-family: $serif;
}

.ProseMirror:focus {
  outline: none !important;
}

.formattedTextBox-cont-scroll, .formattedTextBox-cont-hidden  {
  background: inherit;
  padding: 0;
  border-width: 0px;
  border-radius: inherit;
  border-color: $intermediate-color;
  box-sizing: border-box;
  background-color: inherit;
  border-style: solid;
  overflow-y: auto;
  overflow-x: hidden;
  color: initial;
  height: 100%;
  pointer-events: all;
}

.formattedTextBox-cont-hidden {
    pointer-events: none;
}
.formattedTextBox-inner-rounded {
    height: calc(100% - 25px);
    width: calc(100% - 40px);
    position: absolute;
    overflow: auto;
    top: 15;
    left: 20;
}

.menuicon {
  display: inline-block;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  color: #888;
  line-height: 1;
  padding: 0 7px;
  margin: 1px;
  cursor: pointer;
  text-align: center;
  min-width: 1.4em;
}

.strong,
.heading {
  font-weight: bold;
}

.em {
  font-style: italic;
}