page_notes.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. #pageNotesHost {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. }
  6. #pageNotesHostBtn {
  7. order: 2;
  8. }
  9. #pageNotesHostBtn a {
  10. background: url('images/notes_panel_on.svg') no-repeat center center,linear-gradient(transparent, transparent);
  11. }
  12. #pageNotesHostBtn a.selected, #pageNotesHostBtn a.selected:hover {
  13. background: url('images/notes_panel_off.svg') no-repeat center center,linear-gradient(transparent, transparent);
  14. }
  15. #pageNotesScrollContainer {
  16. overflow: auto;
  17. width: 100%;
  18. flex: 1;
  19. -webkit-overflow-scrolling: touch;
  20. }
  21. #pageNotesContent {
  22. overflow: visible;
  23. }
  24. .pageNoteContainer {
  25. padding: 0px 15px 8px 15px;
  26. }
  27. .mobileMode .pageNoteContainer {
  28. padding: 0px 16px 8px 17px;
  29. }
  30. .pageNoteName {
  31. font-size: 13px;
  32. font-weight: bold;
  33. /*color: #2c2c2c;*/
  34. margin: 15px 0px 5px 0px;
  35. white-space: nowrap;
  36. }
  37. .pageNote {
  38. font-size: 13px;
  39. color: #081222;
  40. line-height: 1.67;
  41. word-wrap: break-word;
  42. }
  43. .pageNote ul {
  44. list-style: disc;
  45. padding: 0px 0px 0px 40px;
  46. }
  47. .pageNote ul ul{
  48. list-style: circle;
  49. }
  50. .pageNote ul ul ul{
  51. list-style: square;
  52. }
  53. .pageNote ul ul ul ul {
  54. list-style: disc;
  55. }
  56. .pageNote ul ul ul ul ul {
  57. list-style: circle;
  58. }
  59. .pageNote ul ul ul ul ul ul {
  60. list-style: square;
  61. }
  62. .widgetNoteContainer {
  63. padding: 15px;
  64. border-bottom: 1px solid transparent;
  65. border-top: 1px solid transparent;
  66. cursor: pointer;
  67. }
  68. .widgetNoteContainer:hover {
  69. background-color: #f7f8fb;
  70. }
  71. .notesDialog .widgetNoteContainer:hover {
  72. background-color: transparent;
  73. }
  74. .mobileMode .widgetNoteContainer {
  75. padding: 12px 16px 12px 17px;
  76. }
  77. .widgetNoteContainerSelected {
  78. background-color: white;
  79. border-bottom: 1px solid #CBD5E5;
  80. border-top: 1px solid #CBD5E5;
  81. }
  82. .widgetNoteContainerSelected:hover {
  83. background-color: white;
  84. }
  85. .widgetNoteFootnote {
  86. display: inline-block;
  87. padding-top: 1px;
  88. background-color: #fff849;
  89. font-size: 11px;
  90. font-weight: bold;
  91. line-height: 16px;
  92. margin-right: 8px;
  93. padding: 0px 5px;
  94. color: #000;
  95. }
  96. div.annnoteline {
  97. display: inline-block;
  98. width: 9px;
  99. height: 1px;
  100. border-bottom: 1px solid white;
  101. margin-top: 1px;
  102. }
  103. .widgetNoteLabel {
  104. font-size: 13px;
  105. font-weight: 600;
  106. /*color: #1482C5;*/
  107. margin-top: 4px;
  108. float: right;
  109. }
  110. .noteLink {
  111. text-decoration: inherit;
  112. color: inherit;
  113. }
  114. .noteLink:hover {
  115. background-color: white;
  116. }
  117. .notesSectionHeader {
  118. margin: 0px 15px 4px 15px;
  119. }
  120. .notesPageNameHeader {
  121. margin: 8px 15px 15px 15px;
  122. }
  123. .mobileMode .notesPageNameHeader {
  124. margin: 18px 14px 5px 16px;
  125. }
  126. #notesOverlay {
  127. width: 0;
  128. height: 0;
  129. position: absolute;
  130. overflow: visible;
  131. z-index: 1;
  132. }
  133. div.closeNotesDialog {
  134. position: absolute;
  135. top: 6px;
  136. right: 6px;
  137. width: 11px;
  138. height: 10px;
  139. object-fit: contain;
  140. background: url(../../../resources/images/close_x.svg) no-repeat center center, linear-gradient(transparent, transparent);
  141. margin-left: auto;
  142. cursor: pointer;
  143. }
  144. div.resizeNotesDialog {
  145. position: absolute;
  146. bottom: 2px;
  147. right: 2px;
  148. width: 11px;
  149. height: 10px;
  150. object-fit: contain;
  151. background: url(../../../resources/images/resize.svg) no-repeat center center, linear-gradient(transparent, transparent);
  152. margin-left: auto;
  153. cursor: nwse-resize;
  154. }
  155. div.notesDialog {
  156. position: absolute;
  157. padding: 16px 3px 10px 3px;
  158. background-color: #FCFDFF;
  159. width: 300px;
  160. height: 300px;
  161. line-height: normal;
  162. border: #8F949A solid 1px;
  163. box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.4);
  164. cursor: move;
  165. display: flex;
  166. flex-direction: column;
  167. box-sizing: border-box;
  168. }
  169. div.notesDialog.active {
  170. user-select: none;
  171. }
  172. div.notesDialog .widgetNoteContainer {
  173. cursor: auto;
  174. padding: 2px 26px 16px 14px;
  175. }
  176. div.notesDialogScroll {
  177. overflow-x: hidden;
  178. overflow-y: auto;
  179. height: 100%;
  180. cursor: auto;
  181. }
  182. .mobileMode .pageNoteName, .mobileMode #pageNotesToolbar, .mobileMode .dottedDivider {
  183. display: none;
  184. }