mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	hide table's selection handle, fixes #1448
This commit is contained in:
		| @@ -1,12 +1,12 @@ | |||||||
| /* !!!!!! TRILIUM CUSTOM CHANGES !!!!!! */ | /* !!!!!! TRILIUM CUSTOM CHANGES !!!!!! */ | ||||||
|  |  | ||||||
| .ck-widget__type-around { /* gets rid of triangles: https://github.com/zadam/trilium/issues/1129 */ | .ck-widget__selection-handle, .ck-widget__type-around { /* gets rid of triangles: https://github.com/zadam/trilium/issues/1129 */ | ||||||
|     display: none; |     display: none; | ||||||
| } | } | ||||||
|  |  | ||||||
| /* | /* | ||||||
|  * CKEditor 5 (v22.0.0) content styles. |  * CKEditor 5 (v23.1.0) content styles. | ||||||
|  * Generated on Thu, 27 Aug 2020 12:13:06 GMT. |  * Generated on Thu, 29 Oct 2020 12:17:48 GMT. | ||||||
|  * For more information, check out https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/content-styles.html |  * For more information, check out https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/content-styles.html | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| @@ -23,32 +23,6 @@ | |||||||
|     --ck-todo-list-checkmark-size: 16px; |     --ck-todo-list-checkmark-size: 16px; | ||||||
| } | } | ||||||
|  |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .marker-yellow { |  | ||||||
|     background-color: var(--ck-highlight-marker-yellow); |  | ||||||
| } |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .marker-green { |  | ||||||
|     background-color: var(--ck-highlight-marker-green); |  | ||||||
| } |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .marker-pink { |  | ||||||
|     background-color: var(--ck-highlight-marker-pink); |  | ||||||
| } |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .marker-blue { |  | ||||||
|     background-color: var(--ck-highlight-marker-blue); |  | ||||||
| } |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .pen-red { |  | ||||||
|     color: var(--ck-highlight-pen-red); |  | ||||||
|     background-color: transparent; |  | ||||||
| } |  | ||||||
| /* ckeditor5-highlight/theme/highlight.css */ |  | ||||||
| .ck-content .pen-green { |  | ||||||
|     color: var(--ck-highlight-pen-green); |  | ||||||
|     background-color: transparent; |  | ||||||
| } |  | ||||||
| /* ckeditor5-image/theme/imagestyle.css */ | /* ckeditor5-image/theme/imagestyle.css */ | ||||||
| .ck-content .image-style-side { | .ck-content .image-style-side { | ||||||
|     float: right; |     float: right; | ||||||
| @@ -84,6 +58,17 @@ | |||||||
|     max-width: 100%; |     max-width: 100%; | ||||||
|     min-width: 50px; |     min-width: 50px; | ||||||
| } | } | ||||||
|  | /* ckeditor5-image/theme/imagecaption.css */ | ||||||
|  | .ck-content .image > figcaption { | ||||||
|  |     display: table-caption; | ||||||
|  |     caption-side: bottom; | ||||||
|  |     word-break: break-word; | ||||||
|  |     color: hsl(0, 0%, 20%); | ||||||
|  |     background-color: hsl(0, 0%, 97%); | ||||||
|  |     padding: .6em; | ||||||
|  |     font-size: .75em; | ||||||
|  |     outline-offset: -1px; | ||||||
|  | } | ||||||
| /* ckeditor5-image/theme/imageresize.css */ | /* ckeditor5-image/theme/imageresize.css */ | ||||||
| .ck-content .image.image_resized { | .ck-content .image.image_resized { | ||||||
|     max-width: 100%; |     max-width: 100%; | ||||||
| @@ -98,22 +83,31 @@ | |||||||
| .ck-content .image.image_resized > figcaption { | .ck-content .image.image_resized > figcaption { | ||||||
|     display: block; |     display: block; | ||||||
| } | } | ||||||
| /* ckeditor5-image/theme/imagecaption.css */ | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
| .ck-content .image > figcaption { | .ck-content .marker-yellow { | ||||||
|     display: table-caption; |     background-color: var(--ck-highlight-marker-yellow); | ||||||
|     caption-side: bottom; |  | ||||||
|     word-break: break-word; |  | ||||||
|     color: hsl(0, 0%, 20%); |  | ||||||
|     background-color: hsl(0, 0%, 97%); |  | ||||||
|     padding: .6em; |  | ||||||
|     font-size: .75em; |  | ||||||
|     outline-offset: -1px; |  | ||||||
| } | } | ||||||
| /* ckeditor5-basic-styles/theme/code.css */ | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
| .ck-content code { | .ck-content .marker-green { | ||||||
|     background-color: hsla(0, 0%, 78%, 0.3); |     background-color: var(--ck-highlight-marker-green); | ||||||
|     padding: .15em; | } | ||||||
|     border-radius: 2px; | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
|  | .ck-content .marker-pink { | ||||||
|  |     background-color: var(--ck-highlight-marker-pink); | ||||||
|  | } | ||||||
|  | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
|  | .ck-content .marker-blue { | ||||||
|  |     background-color: var(--ck-highlight-marker-blue); | ||||||
|  | } | ||||||
|  | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
|  | .ck-content .pen-red { | ||||||
|  |     color: var(--ck-highlight-pen-red); | ||||||
|  |     background-color: transparent; | ||||||
|  | } | ||||||
|  | /* ckeditor5-highlight/theme/highlight.css */ | ||||||
|  | .ck-content .pen-green { | ||||||
|  |     color: var(--ck-highlight-pen-green); | ||||||
|  |     background-color: transparent; | ||||||
| } | } | ||||||
| /* ckeditor5-font/theme/fontsize.css */ | /* ckeditor5-font/theme/fontsize.css */ | ||||||
| .ck-content .text-tiny { | .ck-content .text-tiny { | ||||||
| @@ -146,6 +140,12 @@ | |||||||
|     border-left: 0; |     border-left: 0; | ||||||
|     border-right: solid 5px hsl(0, 0%, 80%); |     border-right: solid 5px hsl(0, 0%, 80%); | ||||||
| } | } | ||||||
|  | /* ckeditor5-basic-styles/theme/code.css */ | ||||||
|  | .ck-content code { | ||||||
|  |     background-color: hsla(0, 0%, 78%, 0.3); | ||||||
|  |     padding: .15em; | ||||||
|  |     border-radius: 2px; | ||||||
|  | } | ||||||
| /* ckeditor5-table/theme/table.css */ | /* ckeditor5-table/theme/table.css */ | ||||||
| .ck-content .table { | .ck-content .table { | ||||||
|     margin: 1em auto; |     margin: 1em auto; | ||||||
| @@ -215,13 +215,6 @@ | |||||||
|     -ms-user-select: none; |     -ms-user-select: none; | ||||||
|     user-select: none; |     user-select: none; | ||||||
| } | } | ||||||
| /* ckeditor5-media-embed/theme/mediaembed.css */ |  | ||||||
| .ck-content .media { |  | ||||||
|     clear: both; |  | ||||||
|     margin: 1em 0; |  | ||||||
|     display: block; |  | ||||||
|     min-width: 15em; |  | ||||||
| } |  | ||||||
| /* ckeditor5-list/theme/todolist.css */ | /* ckeditor5-list/theme/todolist.css */ | ||||||
| .ck-content .todo-list { | .ck-content .todo-list { | ||||||
|     list-style: none; |     list-style: none; | ||||||
| @@ -289,6 +282,18 @@ | |||||||
| .ck-content .todo-list .todo-list__label .todo-list__label__description { | .ck-content .todo-list .todo-list__label .todo-list__label__description { | ||||||
|     vertical-align: middle; |     vertical-align: middle; | ||||||
| } | } | ||||||
|  | /* ckeditor5-media-embed/theme/mediaembed.css */ | ||||||
|  | .ck-content .media { | ||||||
|  |     clear: both; | ||||||
|  |     margin: 1em 0; | ||||||
|  |     display: block; | ||||||
|  |     min-width: 15em; | ||||||
|  | } | ||||||
|  | /* ckeditor5-html-embed/theme/htmlembed.css */ | ||||||
|  | .ck-content .raw-html-embed { | ||||||
|  |     margin: 1em auto; | ||||||
|  |     min-width: 15em; | ||||||
|  | } | ||||||
| /* ckeditor5-horizontal-line/theme/horizontalline.css */ | /* ckeditor5-horizontal-line/theme/horizontalline.css */ | ||||||
| .ck-content hr { | .ck-content hr { | ||||||
|     margin: 15px 0; |     margin: 15px 0; | ||||||
| @@ -330,4 +335,4 @@ | |||||||
|     .ck-content .page-break::after { |     .ck-content .page-break::after { | ||||||
|         display: none; |         display: none; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user