Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
AgeCommit message (Collapse)Author
2022-07-29Better styling of Front Matter + input ruleFerdinand Thiessen
Added an input rule to add a front matter node if `---` is typed in the very beginning of the document. If it is typed somewhere else the default behavior is still to insert a `hr` node. Added a border on the left of the front matter, like the callouts and blockquote, and added a title for the element. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> a
2022-07-28Only apply bold to the viewer title barJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-20style: use data-handler css selectorLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-19Disable formatting menububble in Safari on iOSJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-19Remove focus border for text contentJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-18Task lists: Show label of done tasks as crossed out textFerdinand Thiessen
As recommended in #886 this changes the styling of checked task list items to `line-through` and changes the color to `--color-text-maxcontrast`. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-27⚰️ (#2345): remove unused iconsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-26♻️ (#2345): make Callout as a componentVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-26🚸 (#2345): remove menubar flickeringVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-26🚸 (#2345): adjust menubar positionVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-13🚧 (#2345): use material design iconsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-06Switch to auto table layoutbugfix/noid/table-layoutJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-31💄 (#114): add table css variablesVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-31ui: use primary-light color for hovered table rowMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: reduce spacing in table headersMax
There is enough space already due to the size of the actions button. Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: translate table actions, new iconsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31ui: add actions for rowsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31feat: add and remove columns in tablesMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31style: margin below a table to keep them separatedMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31style: add border radius to tableMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31fix: table layout to match prosemirror expectationsMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-31💄 (#114): add table cssVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-31feature: add table button to create a tableMax
Signed-off-by: Max <max@nextcloud.com>
2022-03-14💄 (#2184): paragraph adjustsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚚 (#2184): use callout instead of callout-containerVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14💄 (#2184): add border radiusVinicius Reis
remove unecessary width Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚚 (#2184): rename feature to calloutsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14💄 (#2184): Define custom containers styleVinicius Reis
Also add container icons Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14✨ (#2184): add warn, error and success custom blocksVinicius Reis
also add some css improviments Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚧 (2184): custom container tiptap extensionVinicius Reis
create a tiptap extention to create a custom-container element, missing markdown-it-container Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-14🚸 (#2184): change the icon of formating helpVinicius Reis
using help-circle from material icons we expect to use i icon for the custom-containers feature Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-03-02ui: use list icon for tasklistsMax
Using `mdiOrderBoolAscendingVariant` as suggested in #2018. Fixes #2018 together with the previous commit. Signed-off-by: Max <max@nextcloud.com>
2022-02-21fix: only apply bullet style to ul > liMax
* Make list items in ordered lists still show numbers. * Use the same bullets on second and third level when first level is ol. Signed-off-by: Max <max@nextcloud.com>
2022-02-09upgrade: tiptap v2Azul
Migrate the entire editor to tiptap v2. Some changes were introduces that go beyond just using the new tiptap API: *Collaboration* Port tiptap1 collaboration. We still want to use our session and sync mechanism. *Serialization* Add Markdown extension to handle serialization. Tiptap config extensions are not automatically added to the prosemirror schema anymore. The extension adds the `toMarkdown` config value to the prosemirror schema. With the new naming scheme tiptap nodes for a number of elements do not match the prosemirror names. Camelcase the marks and nodes from `defaultMarkdownSerializer` so they match the tiptap names. *Menubar* * Specify args for isActive function directly rather than setting a function. * Make use of the editor instance inside the MenuBar component. * Use the editor rather than slots for command, focused etc. * disable icons based on editor.can * Show menubar as long as submenus are open. When opening a submenu of the menubar keep track of the open menu even for the image and the remaining action menu. Also refocus the editor whenever a submenu is closed. *MenuBubble* Let tippy handle the positioning Tippy is really good at positioning the menu bubble. Remove all our workarounds and let it do its thing. In order for this to work the content of the MenuBubble actually needs to live inside the tippy-content. Tippy bases its calculations on the width of tippy-content. So if we have the content hanging in a separate div with absolute positioning tippy-content will be 0x0 px and not represent the actual width of the menu bubble. *Upgrade image node and ImageView.* Quite a bit of the syntax changed. We now need a wrapping `<node-view-wrapper>` element. Pretty good docs at https://tiptap.dev/guide/node-views/vue#render-a-vue-component We also need to handle the async action. It will run the action on it's own. So in `clickIcon()` we need to test if the action returned anything. Tiptap v1 had inline images. v2 keeps them outside of paragraphs by default. Configure Image node to use inline images as markdownit creates inline images right now. *Trailing Node* Tiptap v2 does not ship the trailing node extension anymore. Included the one from the demos and turned it from typescript into javascript. *Tests* In order to isolate some problems tests were added. The tests in Undeline.spec.js were green right from the beginning. They are not related to the fix and only helped isolate the problem. Also introduced a cypress test for Lists that tests the editor without rendering the page and logging in. It is very fast and fairly easy to write. *Refactorings* * Split marks into separate files. Signed-off-by: Max <max@nextcloud.com>
2021-10-27fix line extending issue for txt fileLuka Trovic
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2021-07-19change tab-size to 4szaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-15Add emoji picker to menubar (Fixes: #987)Jonas Meurer
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-03-11Add bottom margin to lists so they have the same as paragraphsJan C. Borchardt
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-03-11Increase whitespace above and below hr to emphasize separationJan C. Borchardt
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-03-11Increase h2 font size to differentiate from h3Jan C. Borchardt
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-12-22Make checkbox styling fit better with lists and a bit more compactJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29Fix alignment and design of checkboxesJan C. Borchardt
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-05-20Merge pull request #809 from alexanderschau/masterJulius Härtl
2020-05-20Fix server styles causing images being to smallJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-06fix issue #733Alexander Schau
Signed-off-by: Alexander Schau <alexander@schau.email>
2020-02-25Use h-scrolling instead of wrap in code blockAnton Strömkvist
If a line in a code block exceeds the widdth, hide overflow and add horizontal scrollbars instead of wrapping the line. Signed-off-by: Anton Strömkvist <anton@stromkvist.com>
2020-01-27Fix node selection and clicking linksJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15Try fixing the click handler on firefoxJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-02Fix checkbox behaviorJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-02Fix list styleingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>