textual/docs/examples/styles
Will McGugan 9c5e0336f8
Fix scrollbar (#2024)
* Fix scrollbar

* changelog PR

* fix snapshots
2023-03-13 10:39:14 +00:00
..
align.css new align 2022-09-27 16:35:40 +01:00
align.py Use Label for simple text widgets. 2022-12-13 18:29:55 +00:00
align_all.css Add example for background transparency. 2022-12-14 14:35:11 +00:00
align_all.py Add complete alignment grid screenshot. 2022-12-13 18:30:14 +00:00
background.css Fix examples. 2023-01-09 16:11:45 +00:00
background.py Fix examples. 2023-01-09 16:11:45 +00:00
background_transparency.css Add example for background transparency. 2022-12-14 14:35:11 +00:00
background_transparency.py Add example for background transparency. 2022-12-14 14:35:11 +00:00
border.css Fix examples. 2023-01-09 16:11:45 +00:00
border.py Replace statics with labels. 2022-12-15 16:14:56 +00:00
border_all.css Add example with all border types. 2022-12-15 16:15:30 +00:00
border_all.py Add example with all border types. 2022-12-15 16:15:30 +00:00
box_sizing.css Fix examples. 2023-01-09 16:11:45 +00:00
box_sizing.py more docs and diagrams 2022-08-13 21:39:31 +01:00
color.css Fix examples. 2023-01-09 16:11:45 +00:00
color.py Replace statics with labels. 2022-12-15 17:25:16 +00:00
color_auto.css Add example to show auto selection of text color. 2022-12-15 17:25:39 +00:00
color_auto.py Add example to show auto selection of text color. 2022-12-15 17:25:39 +00:00
column_span.css Add example for column-span. 2022-12-19 18:44:48 +00:00
column_span.py Add example for column-span. 2022-12-19 18:44:48 +00:00
content_align.css Change statics to labels. 2022-12-15 18:10:02 +00:00
content_align.py Change statics to labels. 2022-12-15 18:10:02 +00:00
content_align_all.css Add example app with content alignment grid. 2022-12-15 18:10:22 +00:00
content_align_all.py Add example app with content alignment grid. 2022-12-15 18:10:22 +00:00
display.css Fix examples. 2023-01-09 16:11:45 +00:00
display.py more docs and diagrams 2022-08-13 21:39:31 +01:00
dock_all.css Add dock example with four docks. 2022-12-15 18:59:57 +00:00
dock_all.py Add dock example with four docks. 2022-12-15 18:59:57 +00:00
grid.css Add example to grid styles docs, rename it 2022-10-07 14:59:37 +01:00
grid.py Snapshotting canonical style property examples 2022-10-20 15:26:01 +01:00
grid_columns.css Add example for grid columns. 2022-12-19 17:50:13 +00:00
grid_columns.py Add example for grid columns. 2022-12-19 17:50:13 +00:00
grid_gutter.css Fix examples. 2023-01-09 16:11:45 +00:00
grid_gutter.py Add example for grid-gutter. 2022-12-19 18:42:28 +00:00
grid_rows.css Add example for grid rows. 2022-12-19 17:49:55 +00:00
grid_rows.py Add example for grid rows. 2022-12-19 17:49:55 +00:00
grid_size_both.css Add grid size examples. 2022-12-19 18:01:29 +00:00
grid_size_both.py Add grid size examples. 2022-12-19 18:01:29 +00:00
grid_size_columns.css Add grid size examples. 2022-12-19 18:01:29 +00:00
grid_size_columns.py Add grid size examples. 2022-12-19 18:01:29 +00:00
height.css Fix examples. 2023-01-09 16:11:45 +00:00
height.py more docs and diagrams 2022-08-13 21:39:31 +01:00
height_comparison.css fast path for scrolling 2023-02-17 10:42:42 +00:00
height_comparison.py Fix height example. 2023-01-07 09:44:39 +00:00
layout.css Fix reference for layout. 2022-12-22 14:05:17 +00:00
layout.py Fix reference for layout. 2022-12-22 14:05:17 +00:00
link_background.css Add example for link background. 2022-12-20 18:46:33 +00:00
link_background.py Add example for link background. 2022-12-20 18:46:33 +00:00
link_color.css Add example for link color. 2022-12-20 17:29:57 +00:00
link_color.py Add example for link color. 2022-12-20 17:29:57 +00:00
link_hover_background.css Add example for link hover background. 2022-12-20 18:47:15 +00:00
link_hover_background.py Add example for link hover background. 2022-12-20 18:47:15 +00:00
link_hover_color.css Add example for link hover color. 2022-12-20 18:47:05 +00:00
link_hover_color.py Add example for link hover color. 2022-12-20 18:47:05 +00:00
link_hover_style.css Add example for link hover style. 2022-12-20 18:47:22 +00:00
link_hover_style.py Add example for link hover style. 2022-12-20 18:47:22 +00:00
link_style.css Add example for link style. 2022-12-20 18:46:44 +00:00
link_style.py Add example for link style. 2022-12-20 18:46:44 +00:00
links.css Make example link italic in dos 2022-10-11 11:26:04 +01:00
links.py Snapshotting canonical style property examples 2022-10-20 15:26:01 +01:00
margin.css Fix failing tests. 2023-01-09 16:39:12 +00:00
margin.py Use labels instead of statics. 2022-12-21 16:49:27 +00:00
margin_all.css Add example with all margin rules. 2022-12-21 16:48:43 +00:00
margin_all.py Add example with all margin rules. 2022-12-21 16:48:43 +00:00
max_height.css Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
max_height.py Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
max_width.css Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
max_width.py Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
min_height.css Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
min_height.py Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
min_width.css Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
min_width.py Add examples for min/max width/height. 2022-12-22 17:45:55 +00:00
offset.css Increase negative y offset. 2023-01-09 16:34:24 +00:00
offset.py Increase negative y offset. 2023-01-09 16:34:24 +00:00
opacity.css Update opacity example. 2022-12-22 18:38:14 +00:00
opacity.py Update opacity example. 2022-12-22 18:38:14 +00:00
outline.css Fix failing tests. 2023-01-09 16:39:12 +00:00
outline.py Use labels instead of statics. 2023-01-04 10:34:22 +00:00
outline_all.css Remove debugging style. 2023-01-09 16:34:06 +00:00
outline_all.py Add thorough example for all outlines. 2023-01-09 13:49:32 +00:00
outline_vs_border.css Add example to compare border and outline. 2023-01-04 10:34:37 +00:00
outline_vs_border.py Add example to compare border and outline. 2023-01-04 10:34:37 +00:00
overflow.css Fix examples. 2023-01-09 16:11:45 +00:00
overflow.py new align 2022-09-27 16:35:40 +01:00
padding.css Fix failing tests. 2023-01-09 16:39:12 +00:00
padding.py Use labels instead of static. 2023-01-04 11:43:38 +00:00
padding_all.css Add example with all padding types. 2023-01-09 15:43:34 +00:00
padding_all.py Add example with all padding types. 2023-01-09 15:43:34 +00:00
README.md moar docs 2022-07-30 22:33:55 +01:00
row_span.css Add example for row-span. 2022-12-19 18:42:45 +00:00
row_span.py Add example for row-span. 2022-12-19 18:42:45 +00:00
scrollbar_corner_color.css Add example for corner colors. 2023-01-04 17:09:35 +00:00
scrollbar_corner_color.py Add example for corner colors. 2023-01-04 17:09:35 +00:00
scrollbar_gutter.css Docs content align (#700) 2022-08-19 15:35:31 +01:00
scrollbar_gutter.py Docs content align (#700) 2022-08-19 15:35:31 +01:00
scrollbar_size.css Fix example to use labels. 2023-01-05 12:01:23 +00:00
scrollbar_size.py Fix scrollbar (#2024) 2023-03-13 10:39:14 +00:00
scrollbar_size2.css Add example for all scrollbar size rules. 2023-01-05 12:01:41 +00:00
scrollbar_size2.py Add example for all scrollbar size rules. 2023-01-05 12:01:41 +00:00
scrollbars.css Update base scrollbar example. 2023-01-04 17:10:12 +00:00
scrollbars.py Update base scrollbar example. 2023-01-04 17:10:12 +00:00
scrollbars2.css Add example for (background) scrollbar active/hover. 2023-01-04 17:09:58 +00:00
scrollbars2.py Add example for (background) scrollbar active/hover. 2023-01-04 17:09:58 +00:00
text_align.css Improve text-align example. 2023-01-06 10:41:46 +00:00
text_align.py Improve text-align example. 2023-01-06 10:41:46 +00:00
text_opacity.css Replace statics with labels. 2023-01-06 10:56:55 +00:00
text_opacity.py Replace statics with labels. 2023-01-06 10:56:55 +00:00
text_style.css Update example. 2023-01-06 14:18:07 +00:00
text_style.py Update example. 2023-01-06 14:18:07 +00:00
text_style_all.css Add example with all text styles. 2023-01-06 14:18:21 +00:00
text_style_all.py Add example with all text styles. 2023-01-06 14:18:21 +00:00
tint.css Fix examples. 2023-01-09 16:11:45 +00:00
tint.py Fix examples. 2023-01-09 16:11:45 +00:00
visibility.css Fix examples. 2023-01-09 16:11:45 +00:00
visibility.py Update visibility example to use labels. 2023-01-06 16:37:41 +00:00
visibility_containers.css Add new visibility example. 2023-01-06 16:38:31 +00:00
visibility_containers.py Add new visibility example. 2023-01-06 16:38:31 +00:00
width.css lots more docs 2022-08-14 15:43:00 +01:00
width.py lots more docs 2022-08-14 15:43:00 +01:00
width_comparison.css Add new width comparison example. 2023-01-07 09:40:03 +00:00
width_comparison.py Add new width comparison example. 2023-01-07 09:40:03 +00:00

These are the examples from the documentation, used to generate screenshots.

You can run them with the textual CLI.

For example:

textual run text_style.py