server.domain package¶
Submodules¶
server.domain.css module¶
An example of CSS properties, defined using dataclasses and enums.
- class server.domain.css.Border(style: server.domain.css.BorderStyle, width: float, color: server.domain.css.RGBColor, rounded: float)[source]¶
Bases:
object
- style: BorderStyle¶
- class server.domain.css.BorderStyle(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum
- dashed = 2¶
- dotted = 1¶
- double = 3¶
- class server.domain.css.Document(header: server.domain.css.Element, body: List[server.domain.css.Element], footer: server.domain.css.Element)[source]¶
Bases:
object
- class server.domain.css.Element(border: server.domain.css.Border, margin: server.domain.css.Margin)[source]¶
Bases:
object
- class server.domain.css.Margin(bottom: float, left: float, right: float, top: float)[source]¶
Bases:
object