소스 검색

removed obsolete CSS

Former-commit-id: 0822cd81341912afa0695e62534a373ae83a4597
Gildas 6 년 전
부모
커밋
f25b6c4a6e
2개의 변경된 파일1개의 추가작업 그리고 23개의 파일을 삭제
  1. 1 2
      extension/ui/content/content-ui-editor-web.js
  2. 0 21
      extension/ui/editor/editor-note-web.css

+ 1 - 2
extension/ui/content/content-ui-editor-web.js

@@ -199,8 +199,7 @@
 	}
 
 	function attachNoteListeners(containerElement, editable = false) {
-		const SELECT_PX_THRESHOLD = 4;
-		const NOTE_CLOSED_CLASS = "note-closed";
+		const SELECT_PX_THRESHOLD = 4;		
 		const NOTE_MOVING_CLASS = "note-moving";
 		const NOTE_MASK_MOVING_CLASS = "note-mask-moving";
 		const PAGE_MASK_ACTIVE_CLASS = "page-mask-active";

+ 0 - 21
extension/ui/editor/editor-note-web.css

@@ -18,22 +18,6 @@
     z-index: 2147483647;
 }
 
-.note-closed {
-    height: 16px !important;
-    opacity: .5;
-    box-shadow: 1px 1px 2px rgba(33, 33, 33, .7);
-    min-height: 25px;
-    overflow: hidden;
-}
-
-.note-closed:hover {
-    opacity: .75;
-}
-
-.note-closed textarea {
-    display: none;
-}
-
 .note-hidden {
     display: none;
 }
@@ -92,11 +76,6 @@
     user-select: none;
 }
 
-.note-closed .note-remove,
-.note-closed .note-anchor {
-    display: none;
-}
-
 .note .note-remove:hover {
     opacity: 1;
 }