textual/docs/examples/guide/css/nesting01.tcss
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

24 lines
420 B
Text

/* Style the container */
#questions {
border: heavy $primary;
align: center middle;
}
/* Style all buttons */
#questions .button {
width: 1fr;
padding: 1 2;
margin: 1 2;
text-align: center;
border: heavy $panel;
}
/* Style the Yes button */
#questions .button.affirmative {
border: heavy $success;
}
/* Style the No button */
#questions .button.negative {
border: heavy $error;
}