Will McGugan
684cf4e5ac
docs
2025-02-13 09:43:21 +00:00
Will McGugan
80ea233dc9
Merge pull request #5505 from TomJGooding/docs-fix-refs-to-rounded-borders
...
docs: fix references to rounded borders
2025-02-13 09:34:01 +00:00
TomJGooding
65eeb65742
docs: fix references to rounded borders
...
Fix 'rounded' border references in docs to 'round'.
2025-02-07 15:34:22 +00:00
Will McGugan
df77f680cb
docs update
2025-02-07 13:49:38 +00:00
Darren Burns
0c5f611c44
Further removal of App.dark from various places, swapping in App.theme equivalents
2024-10-24 17:11:25 +01:00
Will McGugan
8dfc3d14a1
update docs
2024-10-18 15:15:52 +01:00
Will McGugan
c1fb5df0ea
words
2024-08-06 11:13:51 +01:00
Will McGugan
95de754cd3
docs
2024-03-30 09:42:27 +00:00
Will McGugan
1e1b02398f
words
2024-01-04 17:10:18 +00:00
Will McGugan
b2fe0a76c2
nested ( #3946 )
...
* nested
* remove debug
* patch scope
* fix nested
* docs
* clarification
* docstring
* fix test
* remove debug
* copy
* fix example
* wording
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
Co-authored-by: Dave Pearson <davep@davep.org>
* highlighting
* wording
* wording
* check errors
* type checking:
* extra errors
* extra test [skip ci]
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
Co-authored-by: Dave Pearson <davep@davep.org>
2024-01-04 15:07:43 +00:00
Rodrigo Girão Serrão
0e6769721b
Show TCSS as css instead of sass.
2023-12-20 17:11:30 +00:00
Will McGugan
c667c86107
Blur ( #3645 )
...
* added blur
* add blur pseudo class
* added blur psuedo class
* added test
2023-11-07 16:22:40 +00:00
Will McGugan
859cff3be3
CSS initial special value ( #3566 )
...
* CSS unset
* no need for panicked flag
* initial token
* initial token
* simplify initial token
* docstring
* defaults
* reset initial default
* typing hacks
* typing fix
* tests and docs
* Added xfail
* doc update
* changelog
* cache css
* fix for initial defaults
* Update src/textual/css/stylesheet.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Update src/textual/css/stylesheet.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* restore arrange
* Apply suggestions from code review
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-10-23 13:38:18 +01:00
Dave Pearson
d7b48c5f76
Remove an unnecessary a
...
Saw this in passing.
2023-10-03 10:27:32 +01:00
Will McGugan
d204ba86b5
Scoped css ( #3358 )
...
* Scoped css
* snapshot tests
* selector
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org>
---------
Co-authored-by: Dave Pearson <davep@davep.org>
2023-09-21 09:58:59 +01:00
Will McGugan
d89871b045
update docs for tcss ( #3179 )
...
* update docs for tcss
* letter
2023-08-26 10:49:18 +01:00
Rodrigo Girão Serrão
5ee0ebfef4
Rename CSS files to TCSS.
...
Related issue: #3137 .
2023-08-22 13:21:17 +01:00
Dave Pearson
e6f620db44
Remove underscore pauses from (hopefully) all snapshots
...
This seeks to remove the "_" from the key presses of snapshots and inline
runs in the documentation. The "_" no longer does anything, but got legacy
reasons at the moment we can't actually allow "_" to be an input to a
"faked" keypress in the docs and snapshots.
Removing these clears the way to letting "_" have the same status as any
other character.
See #1994 .
2023-03-09 20:32:27 +00:00
Dave Pearson
257fe7b30a
Add enabled and disabled pseudo-classes
...
Note that this doesn't touch the application of stylesheets yet, in terms of
things like specificity; this just makes sure that the classes exist and can
be seen.
2023-02-13 12:56:52 +00:00
Rodrigo Girão Serrão
196d430582
Style all Textual CSS as 'sass'
...
Textual CSS is better highlighted in SASS code blocks because the SASS parser seems to be more lenient.
2023-01-09 11:20:04 +00:00
Rodrigo Girão Serrão
bc1298b85b
Pause so that screenshots are not empty.
2022-11-23 17:09:53 +00:00
darrenburns
bbd811d671
Support multiple CSS files ( #1079 )
...
* Support multiple CSS paths
* Update a type to match docstring
* Ensure the demo app still works
* Use absolute paths in tests to (hopefully) appease Windows
* Notes about CSS changes in guide/docstrings, small grammar/typos fixes
* Move snapshot apps into snapshot_tests dir, improve messaging in snapshot output, add test for multiple css files interacting with classvar CSS
* Ensure consistent snapshot naming cross-platform
* Use rpartition instead of partition in import_app
* Fix handling of import_app when colon in arg
* Support paths containing Windows drive names in import_app
* Add note on new relative paths in snap_compare
* Update docs/guide/CSS.md
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
* Fix formatting
* Update CHANGELOG to mention CSS_PATH supporting a list
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-11-01 17:13:25 +00:00
Dave Pearson
c10e172151
Markup pseudo-selector as code
...
Other similar items in the surrounding text use code markup, so this feels
like it should do too.
2022-10-14 09:00:52 +01:00
Dave Pearson
185a817a30
Improve the description of has_class
2022-10-14 08:56:59 +01:00
Dave Pearson
ad5fb455c1
it's -> its
2022-10-14 08:52:29 +01:00
Dave Pearson
34e5d53cb3
Correct what is imported in an example
...
The main code in the example creates a `Button` from a `Static`, but the
import is importing a `Widget`. This commit makes the example code make more
sense.
2022-10-14 08:48:06 +01:00
Dave Pearson
d324f1cd56
Add a missing word
2022-10-14 08:42:11 +01:00
Dave Pearson
e46c51d61c
Fix whitespace
...
Includes pre-commit hook changes.
2022-10-14 08:41:02 +01:00
Aaron Stephens
b9493ae6ff
docs: typos
2022-10-12 17:34:29 -07:00
Will McGugan
d962dcd49c
new align
2022-09-27 16:35:40 +01:00
Will McGugan
d0293c2c89
changed to CSS_PATH
2022-09-18 22:02:08 +01:00
darrenburns
e2ff19e1f3
Fix broken text in docs ( #781 )
...
* Add docs for CSS variables
* Fix broken text
2022-09-15 13:55:33 +01:00
darrenburns
1e9ebf0c73
Add docs for CSS variables ( #780 )
...
* Add docs for CSS variables
* Update docs/guide/CSS.md
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
* Update docs/guide/CSS.md
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
* Update docs/guide/CSS.md
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
* Update docs/guide/CSS.md
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-09-15 13:45:49 +01:00
Will McGugan
b1fa3c0a2a
words
2022-09-10 17:00:43 +01:00
Will McGugan
269960ad8a
fix styles examples, box model docs
2022-09-10 16:45:13 +01:00
Will McGugan
d9d5791925
todos
2022-09-06 15:39:41 +01:00
Will McGugan
e7d57a4aa2
renamed introduction to tutorial
2022-09-05 21:30:29 +01:00
Will McGugan
2fedbaf3dd
tweak
2022-08-26 11:02:14 +01:00
Will McGugan
ff579ea526
Review changes
2022-08-26 10:58:50 +01:00
Will McGugan
732af87936
Apply suggestions from code review
...
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-08-26 10:40:04 +01:00
Will McGugan
a09f5726ec
Apply suggestions from code review
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 15:37:52 +01:00
Will McGugan
a15cb4413d
Update docs/guide/CSS.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 10:30:22 +01:00
Will McGugan
df2d12510a
Update docs/guide/CSS.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 10:30:11 +01:00
Will McGugan
0cc48076c7
rephrase
2022-08-25 10:29:31 +01:00
Will McGugan
9d4ec4bd0f
Update docs/guide/CSS.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 10:28:51 +01:00
Will McGugan
81202d15eb
Update docs/guide/CSS.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 10:28:38 +01:00
Will McGugan
1ee962516a
Update docs/guide/CSS.md
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-08-25 10:25:46 +01:00
Will McGugan
6ee4d41bb7
docs
2022-08-24 11:19:29 +01:00
Will McGugan
5491b41346
words
2022-08-15 07:51:14 +01:00
Will McGugan
eeb6729bcf
words
2022-08-14 22:06:27 +01:00