|
| 1 | +.resourceDetail[data-type="html"] { |
| 2 | + background-color: transparent; |
| 3 | + color: var(--primary-fg-color); |
| 4 | +} |
| 5 | + |
| 6 | +.resourceDetail[data-type="html"] .resourceContent { |
| 7 | + padding: 10px; |
| 8 | + box-sizing: border-box; |
| 9 | + overflow-y: auto; |
| 10 | +} |
| 11 | + |
| 12 | +.resourcePreviewDialog .resourceDetail[data-type="html"] { |
| 13 | + color: var(--primary-bg-color); |
| 14 | +} |
| 15 | + |
| 16 | +.overlayElement .resourceDetail[data-type="html"] .resourceContent { |
| 17 | + padding: 0px; |
| 18 | + color: #000; |
| 19 | +} |
| 20 | + |
| 21 | +.resourceDetail[data-type="html"] ol, .resourceDetail[data-type="html"] ul { |
| 22 | + margin: 0; |
| 23 | + padding-left: 20px; |
| 24 | +} |
| 25 | + |
| 26 | +.resourceThumb[data-type="html"] .resourceTextPreview { |
| 27 | + position: absolute; |
| 28 | + top: 0px; |
| 29 | + left: 0px; |
| 30 | + width: 100%; |
| 31 | + height: 100%; |
| 32 | + padding: 8px; |
| 33 | + box-sizing: border-box; |
| 34 | + color: var(--primary-fg-color) !important; |
| 35 | + line-height: 1.2em !important; |
| 36 | + opacity: .6; |
| 37 | + overflow: hidden; |
| 38 | +} |
| 39 | + |
| 40 | +.resourceThumb[data-type="html"] .resourceTextPreview * { |
| 41 | + font-size: 100% !important; |
| 42 | + color: var(--primary-fg-color) !important; |
| 43 | + line-height: 1.2em !important; |
| 44 | +} |
| 45 | + |
| 46 | +.resourceThumb[data-type="html"] .resourceTextPreview:after { |
| 47 | + content: ''; |
| 48 | + position: absolute; |
| 49 | + left: 0px; |
| 50 | + bottom: 0px; |
| 51 | + height: 40%; |
| 52 | + background-image: linear-gradient(to top, var(--primary-bg-color) 0%, var(--primary-bg-color) 30%, transparent 100%); |
| 53 | + width: 100%; |
| 54 | +} |
| 55 | + |
| 56 | +.resourceThumb[data-type="html"] .resourceOverlay { |
| 57 | + background: transparent; |
| 58 | +} |
| 59 | + |
| 60 | +.resourceThumb[data-type="html"] .resourceTitle { |
| 61 | + display: none; |
| 62 | +} |
| 63 | + |
| 64 | +.contentViewContainer[data-size="small"] .resourceThumb[data-type="html"] .resourceTextPreview { |
| 65 | + display: none; |
| 66 | +} |
| 67 | + |
| 68 | +/* Edit HTML Overlay Properties */ |
| 69 | + |
| 70 | +.editPropertiesContainer .propertiesTypeIcon[data-type="html"] [class^="icon-"]::before, .editPropertiesContainer .propertiesTypeIcon[data-type="html"] [class*=" icon-"]::before { |
| 71 | + content: "\f0f6"; |
| 72 | +} |
| 73 | + |
| 74 | +/* HTML-only editor: no tabs needed, full height */ |
| 75 | +.editPropertiesContainer .htmlOnlyEditorContainer { |
| 76 | + height: 100%; |
| 77 | +} |
| 78 | + |
| 79 | +.editPropertiesContainer .htmlOnlyEditorContainer .textEditorTab { |
| 80 | + pointer-events: none; |
| 81 | +} |
0 commit comments