diff --git a/dialogs.css b/dialogs.css new file mode 100644 index 0000000..9be8ecc --- /dev/null +++ b/dialogs.css @@ -0,0 +1,43 @@ +/* RDFa Editor toolbar dialog styles (insert link, table, figure). + Host UIs that provide their own form styling (e.g. Bootstrap) + should omit this file and style .edit-dialog themselves. */ + +/* Link / figure dialogs */ +.edit-dialog { + background: white; + border: 2px solid #2196f3; + border-radius: 8px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); + padding: 16px; + min-width: 320px; + z-index: 10000; +} + +.edit-dialog label { + display: block; + font-size: 13px; + font-weight: 500; + color: #424242; + margin: 8px 0 4px 0; +} + +.edit-dialog input[type="text"] { + width: 100%; + padding: 8px 10px; + border: 1px solid #ccc; + border-radius: 4px; + font-size: 14px; + box-sizing: border-box; +} + +.edit-dialog .rdfa-editor-ui .action-buttons { + margin-top: 14px; +} + +.edit-dialog .rdfa-editor-ui .checkbox-label { + display: inline-flex; + gap: 6px; + align-items: center; + font-weight: 400; + margin-top: 8px; +} diff --git a/index.html b/index.html index 54e1bfc..6dac44f 100644 --- a/index.html +++ b/index.html @@ -29,6 +29,9 @@ } + + +