You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
3.8 KiB

3 years ago
  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 12px 8px 12px;
  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: #2a2e38;
  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: 12px;
  64. border-bottom: 1px solid transparent;
  65. border-top: 1px solid transparent;
  66. cursor: pointer;
  67. }
  68. .mobileMode .widgetNoteContainer {
  69. padding: 12px 16px 12px 17px;
  70. }
  71. .widgetNoteContainerSelected {
  72. background-color: white;
  73. border-bottom: 1px solid #c2c2c2;
  74. border-top: 1px solid #c2c2c2;
  75. }
  76. .widgetNoteFootnote {
  77. display: inline-block;
  78. padding-top: 1px;
  79. background-color: #fff849;
  80. font-size: 11px;
  81. font-weight: bold;
  82. line-height: 16px;
  83. margin-right: 8px;
  84. padding: 0px 5px;
  85. color: #000;
  86. }
  87. div.annnoteline {
  88. display: inline-block;
  89. width: 9px;
  90. height: 1px;
  91. border-bottom: 1px solid white;
  92. margin-top: 1px;
  93. }
  94. .widgetNoteLabel {
  95. font-size: 13px;
  96. font-weight: 600;
  97. color: #58167d;
  98. margin-top: 4px;
  99. float: right;
  100. }
  101. .noteLink {
  102. text-decoration: inherit;
  103. color: inherit;
  104. }
  105. .noteLink:hover {
  106. background-color: white;
  107. }
  108. .notesSectionHeader {
  109. margin: 0px 8px 0px 12px;
  110. }
  111. .notesPageNameHeader {
  112. margin: 8px 8px 15px 12px;
  113. }
  114. .mobileMode .notesPageNameHeader {
  115. margin: 18px 14px 5px 16px;
  116. }
  117. #notesOverlay {
  118. width: 0;
  119. height: 0;
  120. position: absolute;
  121. overflow: visible;
  122. z-index: 1;
  123. }
  124. div.closeNotesDialog {
  125. position: absolute;
  126. top: 6px;
  127. right: 6px;
  128. width: 11px;
  129. height: 10px;
  130. object-fit: contain;
  131. background: url(../../../resources/images/close_x.svg) no-repeat center center, linear-gradient(transparent, transparent);
  132. margin-left: auto;
  133. cursor: pointer;
  134. }
  135. div.resizeNotesDialog {
  136. position: absolute;
  137. bottom: 2px;
  138. right: 2px;
  139. width: 11px;
  140. height: 10px;
  141. object-fit: contain;
  142. background: url(../../../resources/images/resize.svg) no-repeat center center, linear-gradient(transparent, transparent);
  143. margin-left: auto;
  144. cursor: nwse-resize;
  145. }
  146. div.notesDialog {
  147. position: absolute;
  148. padding: 16px 3px 10px 3px;
  149. background-color: #efefef;
  150. width: 300px;
  151. height: 300px;
  152. line-height: normal;
  153. border: #8F949A solid 1px;
  154. box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.4);
  155. cursor: move;
  156. display: flex;
  157. flex-direction: column;
  158. box-sizing: border-box;
  159. }
  160. div.notesDialog.active {
  161. user-select: none;
  162. }
  163. div.notesDialog .widgetNoteContainer {
  164. cursor: auto;
  165. padding: 2px 26px 16px 14px;
  166. }
  167. div.notesDialogScroll {
  168. overflow-x: hidden;
  169. overflow-y: auto;
  170. height: 100%;
  171. cursor: auto;
  172. }
  173. .mobileMode .pageNoteName, .mobileMode #pageNotesToolbar, .mobileMode .dottedDivider {
  174. display: none;
  175. }