From 5bdfdd410b3ac62deffafb97abca91d7d9dd8e72 Mon Sep 17 00:00:00 2001 From: Gesina Schwalbe Date: Wed, 6 Jan 2021 15:30:20 +0100 Subject: [PATCH] replace basic-property-* css classes by selectors --- src/scss/components/_basic_property.scss | 2 -- src/templates/item/armor-sheet.hbs | 12 ++++++------ src/templates/item/shield-sheet.hbs | 4 ++-- src/templates/item/talent-sheet.hbs | 2 +- src/templates/item/weapon-sheet.hbs | 12 ++++++------ 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/scss/components/_basic_property.scss b/src/scss/components/_basic_property.scss index 813bf9b7..c253964e 100644 --- a/src/scss/components/_basic_property.scss +++ b/src/scss/components/_basic_property.scss @@ -4,12 +4,10 @@ display: grid; align-content: end; - .basic-property-label, & > label { font-weight: bold; } - .basic-property-select, & > select { display: block; width: 100%; diff --git a/src/templates/item/armor-sheet.hbs b/src/templates/item/armor-sheet.hbs index a0a671dc..b7887131 100644 --- a/src/templates/item/armor-sheet.hbs +++ b/src/templates/item/armor-sheet.hbs @@ -6,8 +6,8 @@

{{localize (lookup config.itemTypes item.type)}}

- - {{#select data.armorType}} {{#each config.armorTypes as |value key|}} @@ -16,8 +16,8 @@
- - {{#select data.armorMaterialType}} {{#each config.armorMaterialTypes as |value key|}} @@ -26,8 +26,8 @@
- - {{localize "DS4.ArmorValue"}} +
diff --git a/src/templates/item/shield-sheet.hbs b/src/templates/item/shield-sheet.hbs index 1e893d2a..ede89655 100644 --- a/src/templates/item/shield-sheet.hbs +++ b/src/templates/item/shield-sheet.hbs @@ -6,8 +6,8 @@

{{localize (lookup config.itemTypes item.type)}}

- - {{localize "DS4.ArmorValue"}} +
diff --git a/src/templates/item/talent-sheet.hbs b/src/templates/item/talent-sheet.hbs index d68f66c2..69c24137 100644 --- a/src/templates/item/talent-sheet.hbs +++ b/src/templates/item/talent-sheet.hbs @@ -5,7 +5,7 @@ {{#*inline "talentRankBasicProperty" }}
- + diff --git a/src/templates/item/weapon-sheet.hbs b/src/templates/item/weapon-sheet.hbs index 7a7efcfd..24a5f2d7 100644 --- a/src/templates/item/weapon-sheet.hbs +++ b/src/templates/item/weapon-sheet.hbs @@ -6,8 +6,8 @@

{{localize (lookup config.itemTypes item.type)}}

- - {{#select data.attackType}} {{#each config.attackTypes as |value key|}} @@ -16,13 +16,13 @@
- - {{localize "DS4.WeaponBonus"}} +
- - {{localize "DS4.OpponentDefense"}} +