running-tools

A collection of tools for runners and their coaches
git clone https://git.ashermorgan.net/running-tools/
Log | Files | Refs | README

commit 399833dff54f3e4fe58efc714468db2310370d87
parent 2d4b85d0f28b745eedaea67f6c59dcca2fa5394a
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Sat, 20 Nov 2021 10:43:12 -0800

Move empty table message styles to global.css

Diffstat:
Msrc/assets/global.css | 10++++++++++
Msrc/components/SimpleTargetTable.vue | 10----------
Msrc/components/TargetEditor.vue | 10----------
Msrc/views/SplitCalculator.vue | 11-----------
4 files changed, 10 insertions(+), 31 deletions(-)

diff --git a/src/assets/global.css b/src/assets/global.css @@ -45,6 +45,16 @@ table button.icon { width: 2em; } +/* empty table message */ +table .empty-message td { + text-align: center !important; +} +table .empty-message svg { + height: 1em; + width: 1em; + color: var(--foreground); +} + /* styles for icons */ .icon { border: none; diff --git a/src/components/SimpleTargetTable.vue b/src/components/SimpleTargetTable.vue @@ -225,14 +225,4 @@ export default { .results .result { font-weight: bold; } - -/* empty table message */ -.empty-message td { - text-align: center !important; -} -.empty-message svg { - height: 1em; - width: 1em; - color: var(--foreground); -} </style> diff --git a/src/components/TargetEditor.vue b/src/components/TargetEditor.vue @@ -211,14 +211,4 @@ export default { .target-editor tfoot button { margin: 0.5em; } - -/* empty table message */ -.empty-message td { - text-align: center !important; -} -.empty-message svg { - height: 1em; - width: 1em; - color: var(--foreground); -} </style> diff --git a/src/views/SplitCalculator.vue b/src/views/SplitCalculator.vue @@ -243,16 +243,5 @@ export default { .results th:first-child span.mobile-abbreviation { display: inherit; } - -} - -/* empty table message */ -.empty-message td { - text-align: center !important; -} -.empty-message svg { - height: 1em; - width: 1em; - color: var(--foreground); } </style>