diff --git a/lang/de.json b/lang/de.json index 3ba7b9d..e203593 100644 --- a/lang/de.json +++ b/lang/de.json @@ -44,11 +44,21 @@ "zaubern": "Zaubern", "zauberwissen": "Zauberwissen" }, + "Attribute": { + "resistenzen": "Resistenzen", + "lp": "LP", + "ap": "AP" + }, "Resistenzen": { "reflexe": "Reflexe", "willenskraft": "Willenskraft", "zähigkeit": "Zähigkeit" }, + "aktuell": "Aktuell", + "maximal": { + "short": "Max.", + "long": "Maximal" + }, "Sheets": { "Tabs": { "properties": "Fertigkeiten", diff --git a/package-lock.json b/package-lock.json index 5a7ea47..2cbd24b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "fvtt-types": "^13.346.0-beta.20250812191140", "globals": "^17.7.0", "prettier": "^3.8.4", - "sass": "^1.101.0", + "sass": "^1.105.2", "typescript": "^5.6.0", "typescript-eslint": "^8.62.0", "vite": "^5.4.0", @@ -7444,9 +7444,9 @@ } }, "node_modules/sass": { - "version": "1.101.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.101.0.tgz", - "integrity": "sha512-OL3GoQyoUdDt843DpVmDO6y2k1sc5IhUDSpu8XucEI+35neq5QivZ1iuegnpraEVTJXlQGK1gl27zKcTLEPbQw==", + "version": "1.105.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.105.2.tgz", + "integrity": "sha512-KxW6ZKZiBKWK3ziQ4YZ3cpqo8/1TlHXE8t9nBNvGDZFoBFbk2MD7RacxYFs8zy8hzeFwpFYkVyAhboi47uYPEQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 88da6b1..ceeef93 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "private": true, "type": "module", "scripts": { - "dev": "vite build --watch", - "build": "vite build", + "build": "sass src/styles/M6.scss dist/style.css --style=expanded --no-source-map", + "watch": "sass src/styles/M6.scss dist/style.css --style=expanded --source-map --watch", + "vite:build": "vite build", + "vite:watch": "vite build --watch", "typecheck": "tsc --noEmit", "lint": "eslint .", "lint:fix": "eslint . --fix", diff --git a/src/data/character-data.mjs b/src/data/character-data.mjs index a383134..5107138 100644 --- a/src/data/character-data.mjs +++ b/src/data/character-data.mjs @@ -32,23 +32,29 @@ function defineSchema() { }) }) }), - resistenzen: new fields.SchemaField({ - reflexe: new fields.NumberField({ - required: true, - min: 0, - initial: 4 - }), - willenskraft: new fields.NumberField({ - required: true, - min: 0, - initial: 4 - }), - zähigkeit: new fields.NumberField({ - required: true, - min: 0, - initial: 4 - }) - }), + resistenzen: new fields.SchemaField( + { + reflexe: new fields.NumberField({ + required: true, + nullable: false, + min: 0, + initial: 4 + }), + willenskraft: new fields.NumberField({ + required: true, + nullable: false, + min: 0, + initial: 4 + }), + zähigkeit: new fields.NumberField({ + required: true, + nullable: false, + min: 0, + initial: 4 + }) + }, + { label: "resistenzen" } + ), skills: new fields.SchemaField({ kampf: new fields.SchemaField( { diff --git a/src/sheets/character-sheet.mjs b/src/sheets/character-sheet.mjs index b3a83cc..3a077db 100644 --- a/src/sheets/character-sheet.mjs +++ b/src/sheets/character-sheet.mjs @@ -36,13 +36,16 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe primary: { tabs: [ { - id: "properties" + id: "properties", + icon: "fa-feather-pointed" }, { - id: "items" + id: "items", + icon: "fa-suitcase" }, { - id: "effects" + id: "effects", + icon: "fa-bolt" } ], initial: "properties", @@ -54,15 +57,12 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe /** @inheritdoc */ static PARTS = { + tabs: { + template: systemPath("templates/actor/tabs.hbs") + }, header: { template: systemPath("templates/actor/header.hbs") }, - stats: { - template: systemPath("templates/actor/stats.hbs") - }, - tabs: { - template: "templates/generic/tab-navigation.hbs" - }, properties: { template: systemPath("templates/shared/properties.hbs"), scrollable: [""] @@ -112,16 +112,17 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe /** @inheritdoc */ async _preparePartContext(partId, context) { switch (partId) { - case "stats": - context.fields = await this._getResources(); - context.tab = context.tabs[partId]; - break; + // case "stats": + // context.fields = await this._getResources(); + // context.tab = context.tabs[partId]; + // break; case "effects": context.effects = prepareActiveEffectCategories(this.actor.allApplicableEffects()); context.tab = context.tabs[partId]; break; case "properties": - context.fields = await this._getSkills(); + context.skills = await this._getSkills(); + context.resistenzen = await this._getResistenzen(); context.tab = context.tabs[partId]; break; case "items": @@ -178,6 +179,27 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe return fieldSets; } + async _getResistenzen() { + const doc = this.actor; + const source = doc._source; + const systemFields = CONFIG.Actor.dataModels[doc.type]?.schema.fields.resistenzen; + const fieldset = { + fieldset: true, + legend: `Midgard6.Attribute.${systemFields.label}`, + fields: [] + }; + for (const field of Object.values(systemFields.fields ?? {})) { + const path = `system.resistenzen.${field.name}`; + fieldset.fields.push({ + field, + value: foundry.utils.getProperty(source, path), + localizationName: "Midgard6.Resistenzen." + field.name + }); + } + console.warn(fieldset); + return fieldset; + } + async _getResources() { const doc = this.actor; const source = doc._source; @@ -198,7 +220,6 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe fieldSets.push({ outer: { field, value: foundry.utils.getProperty(source, path) } }); } } - console.warn(fieldSets); return fieldSets; } @@ -343,10 +364,10 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe let die = ""; console.warn(dialogResult); switch (dialogResult.vorteil) { - case "-1": + case -1: die = "2d20kl"; break; - case "1": + case 1: die = "2d20kh"; break; default: @@ -378,7 +399,7 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe // 1. Define the path to .hbs template const templatePath = systemPath("templates/dialog/roll-dialog.hbs"); const templateData = { - classes: ["roll"], + classes: ["dialog"], skill, vorteil, customRoll @@ -400,22 +421,25 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe render: (_event, dialog) => { const dialogHTML = dialog.element; - const slider = dialogHTML.querySelector("#vorteilSlider"); const display = dialogHTML.querySelector("#rollDisplay"); - slider.addEventListener("input", (e) => { - const vorteilWert = parseInt(e.target.value); - switch (vorteilWert) { - case 1: - display.placeholder = `2d20kh + ${skill} (Vorteil)`; - break; - case -1: - display.placeholder = `2d20kl + ${skill} (Nachteil)`; - break; - default: - display.placeholder = `1d20 + ${skill}`; - break; - } + // Variable bei jeder Änderung aktualisieren + document.querySelectorAll('input[name="vorteil-segment"]').forEach((radio) => { + radio.addEventListener("change", (e) => { + vorteil = parseInt(e.target.value); + console.log(vorteil); + switch (vorteil) { + case 1: + display.placeholder = `2d20kh + ${skill} (Vorteil)`; + break; + case -1: + display.placeholder = `2d20kl + ${skill} (Nachteil)`; + break; + default: + display.placeholder = `1d20 + ${skill}`; + break; + } + }); }); }, buttons: [ @@ -433,7 +457,7 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe callback: (event, button, dialog) => { const rollData = { customRoll: button.form.elements.customRoll.value, - vorteil: button.form.elements.vorteil.value + vorteil }; return rollData; } diff --git a/src/sheets/item-sheet.mjs b/src/sheets/item-sheet.mjs new file mode 100644 index 0000000..a261460 --- /dev/null +++ b/src/sheets/item-sheet.mjs @@ -0,0 +1,522 @@ +import { systemPath } from "../constants.mjs"; +import { prepareActiveEffectCategories } from "../helpers/utils.mjs"; + +const { api, sheets } = foundry.applications; + +/** + * Extend the basic ActorSheet with some very simple modifications. + */ +export class M6ItemSheet extends api.HandlebarsApplicationMixin(sheets.ItemSheetV2) { + /** @inheritdoc */ + static DEFAULT_OPTIONS = { + classes: ["M6", "item"], + window: { + icon: "fa-solid fa-suitcase", + resizable: true + }, + position: { + width: 800, + height: 400 + }, + form: { + submitOnChange: true + } + }; + + /* -------------------------------------------------- */ + + static TABS = { + primary: { + tabs: [ + { + id: "properties", + icon: "fa-feather-pointed" + }, + { + id: "items", + icon: "fa-suitcase" + }, + { + id: "effects", + icon: "fa-bolt" + } + ], + initial: "properties", + labelPrefix: "Midgard6.Sheets.Tabs" + } + }; + + /* -------------------------------------------------- */ + + /** @inheritdoc */ + static PARTS = { + tabs: { + template: systemPath("templates/actor/tabs.hbs") + }, + header: { + template: systemPath("templates/actor/header.hbs") + }, + properties: { + template: systemPath("templates/shared/properties.hbs"), + scrollable: [""] + }, + items: { + template: systemPath("templates/actor/items.hbs"), + scrollable: [""] + }, + effects: { + template: systemPath("templates/shared/effects.hbs"), + scrollable: [""] + } + }; + + /* -------------------------------------------------- */ + + /** @inheritdoc */ + _initializeApplicationOptions(options) { + const initialized = super._initializeApplicationOptions(options); + + initialized.classes.push(initialized.document.type); + + return initialized; + } + + /* -------------------------------------------------- */ + + /** @inheritdoc */ + async _prepareContext(options) { + const context = await super._prepareContext(options); + + Object.assign(context, { + owner: this.document.isOwner, + limited: this.document.limited, + actor: this.actor, + system: this.actor.system, + skills: this.actor.system.skills, + flags: this.actor.flags, + config: CONFIG + }); + + return context; + } + + /* -------------------------------------------------- */ + + /** @inheritdoc */ + async _preparePartContext(partId, context) { + switch (partId) { + // case "stats": + // context.fields = await this._getResources(); + // context.tab = context.tabs[partId]; + // break; + case "effects": + context.effects = prepareActiveEffectCategories(this.actor.allApplicableEffects()); + context.tab = context.tabs[partId]; + break; + case "properties": + context.skills = await this._getSkills(); + context.resistenzen = await this._getResistenzen(); + context.tab = context.tabs[partId]; + break; + case "items": + context.itemTypes = this._getItems(); + context.tab = context.tabs[partId]; + break; + } + return context; + } + + /** + * Handles the system fields for the form-fields generic. + * @returns {object[]} + */ + async _getFields() { + const doc = this.actor; + const source = doc._source; + const systemFields = CONFIG.Actor.dataModels[doc.type]?.schema.fields; + const fieldSets = []; + // TODO: Find a clever way to handle enrichment + for (const field of Object.values(systemFields ?? {})) { + const path = `system.${field.name}`; + if (field instanceof foundry.data.fields.SchemaField) { + const fieldset = { fieldset: true, legend: field.label, fields: [] }; + await this.#addSystemFields(fieldset, field.fields, source, path); + fieldSets.push(fieldset); + } else { + fieldSets.push({ outer: { field, value: foundry.utils.getProperty(source, path) } }); + } + } + return fieldSets; + } + + async _getSkills() { + const doc = this.actor; + const source = doc._source; + const systemFields = CONFIG.Actor.dataModels[doc.type]?.schema.fields.skills.fields; + const fieldSets = []; + // TODO: Find a clever way to handle enrichment + for (const field of Object.values(systemFields ?? {})) { + const path = `system.skills.${field.name}`; + if (field instanceof foundry.data.fields.SchemaField) { + const fieldset = { + fieldset: true, + legend: `Midgard6.Skills.gruppen.${field.label}`, + fields: [] + }; + await this.#addSystemFields(fieldset, field.fields, source, path); + fieldSets.push(fieldset); + } else { + fieldSets.push({ outer: { field, value: foundry.utils.getProperty(source, path) } }); + } + } + return fieldSets; + } + + async _getResistenzen() { + const doc = this.actor; + const source = doc._source; + const systemFields = CONFIG.Actor.dataModels[doc.type]?.schema.fields.resistenzen; + const fieldset = { + fieldset: true, + legend: `Midgard6.Attribute.${systemFields.label}`, + fields: [] + }; + for (const field of Object.values(systemFields.fields ?? {})) { + const path = `system.resistenzen.${field.name}`; + fieldset.fields.push({ + field, + value: foundry.utils.getProperty(source, path), + localizationName: "Midgard6.Resistenzen." + field.name + }); + } + console.warn(fieldset); + return fieldset; + } + + async _getResources() { + const doc = this.actor; + const source = doc._source; + const systemFields = CONFIG.Actor.dataModels[doc.type]?.schema.fields.resources.fields; + const fieldSets = []; + // TODO: Find a clever way to handle enrichment + for (const field of Object.values(systemFields ?? {})) { + const path = `system.skills.${field.name}`; + if (field instanceof foundry.data.fields.SchemaField) { + const fieldset = { + fieldset: true, + legend: `Midgard6.resources.${field.label}`, + fields: [] + }; + await this.#addSystemFields(fieldset, field.fields, source, path); + fieldSets.push(fieldset); + } else { + fieldSets.push({ outer: { field, value: foundry.utils.getProperty(source, path) } }); + } + } + return fieldSets; + } + + /* -------------------------------------------------- */ + + /** + * Recursively add system model fields to the fieldset. + */ + async #addSystemFields(fieldset, schema, source, _path = "system") { + for (const field of Object.values(schema)) { + const path = `${_path}.${field.name}`; + if (field instanceof foundry.data.fields.SchemaField) { + this.#addSystemFields(fieldset, field.fields, source, path); + } else if (field.constructor.hasFormSupport) { + fieldset.fields.push({ + field, + value: foundry.utils.getProperty(source, path), + localizationName: "Midgard6.Skills." + field.name + }); + } + } + } + + /* -------------------------------------------------- */ + + /** + * Adapted from Actor#itemTypes. + */ + _getItems() { + const types = Object.fromEntries( + game.documentTypes.Item.map((t) => { + return [t, { label: game.i18n.localize(CONFIG.Item.typeLabels[t]), items: [] }]; + }) + ); + for (const item of this.actor.items) { + types[item.type].items.push(item); + } + // Only show Base if it's actually being used + if (types.base.items.length === 0) delete types.base; + return types; + } + + /* -------------------------------------------------- */ + + /** + * Actions performed after any render of the Application. + * Post-render steps are not awaited by the render process. + * @param {ApplicationRenderContext} context Prepared context data. + * @param {RenderOptions} options Provided render options. + * @protected + * @inheritdoc + */ + async _onRender(context, options) { + await super._onRender(context, options); + this.#disableOverrides(); + } + + /* -------------------------------------------------- */ + /* Event handlers */ + /* -------------------------------------------------- */ + + /** + * Renders an embedded document's sheet. + * + * @this M6ActorSheet + * @param {PointerEvent} event The originating click event. + * @param {HTMLElement} target The capturing HTML element which defined a [data-action]. + * @protected + */ + static async #viewDoc(event, target) { + const doc = this._getEmbeddedDocument(target); + doc.sheet.render(true); + } + + /* -------------------------------------------------- */ + + /** + * Handles item deletion. + * + * @this M6ActorSheet + * @param {PointerEvent} event The originating click event. + * @param {HTMLElement} target The capturing HTML element which defined a [data-action]. + * @protected + */ + static async #deleteDoc(event, target) { + const doc = this._getEmbeddedDocument(target); + doc.delete(); + } + + /* -------------------------------------------------- */ + + /** + * Handle creating a new Owned Item or ActiveEffect for the actor using initial data defined in the HTML dataset. + * + * @this M6ActorSheet + * @param {PointerEvent} event The originating click event. + * @param {HTMLElement} target The capturing HTML element which defined a [data-action]. + * @private + */ + static async #createDoc(event, target) { + const docCls = getDocumentClass(target.dataset.documentClass); + const docData = { + name: docCls.defaultName({ + type: target.dataset.type, + parent: this.actor + }) + }; + for (const [dataKey, value] of Object.entries(target.dataset)) { + if (["action", "documentClass"].includes(dataKey)) continue; + foundry.utils.setProperty(docData, dataKey, value); + } + docCls.create(docData, { parent: this.actor }); + } + + /* -------------------------------------------------- */ + + /** + * Determines effect parent to pass to helper. + * + * @this M6ActorSheet + * @param {PointerEvent} event The originating click event. + * @param {HTMLElement} target The capturing HTML element which defined a [data-action]. + * @private + */ + static async #toggleEffect(event, target) { + const effect = this._getEmbeddedDocument(target); + effect.update({ disabled: !effect.disabled }); + } + + static async #rollSkill(event, target) { + const dataset = target.dataset; + const actor = this.actor; + const dialogResult = await this.rollDialog({ + dataset, + actor + }); + if (dialogResult.noRoll) { + return; + } + // Construct the Roll instance + const skillValue = dataset.value; + let die = ""; + console.warn(dialogResult); + switch (dialogResult.vorteil) { + case "-1": + die = "2d20kl"; + break; + case "1": + die = "2d20kh"; + break; + default: + die = "1d20"; + break; + } + + let roll = new Roll("@die + @skill", { die: die, skill: skillValue }, { flavor: dataset.name }); + + // The parsed terms of the roll formula + console.log("Roll:", roll); // [Die, OperatorTerm, NumericTerm, OperatorTerm, NumericTerm] + + // Execute the roll + await roll.evaluate(); + + roll.toMessage(); + + roll.toAnchor(); + // let message = new Message(roll); + // console.warn(message); + } + + async rollDialog(rollDialogRequest) { + // Assamble dialog depending on roll type + let label = rollDialogRequest.dataset.name; + let skill = rollDialogRequest.dataset.value; + let vorteil = 0; + let customRoll = ""; + // 1. Define the path to .hbs template + const templatePath = systemPath("templates/dialog/roll-dialog.hbs"); + const templateData = { + classes: ["roll"], + skill, + vorteil, + customRoll + }; + // 2. Render the Handlebars template into an HTML string + const content = await foundry.applications.handlebars.renderTemplate( + templatePath, + templateData + ); + // return new Promise((resolve, reject) => { + // const dialog = new foundry.applications.api.DialogV2({ + return foundry.applications.api.DialogV2.wait({ + window: { title: "Würfel Modifikatoren: " + label }, + position: { + width: 600 + }, + content, + actions: {}, + render: (_event, dialog) => { + const dialogHTML = dialog.element; + + const slider = dialogHTML.querySelector("#vorteilSlider"); + const display = dialogHTML.querySelector("#rollDisplay"); + + slider.addEventListener("input", (e) => { + const vorteilWert = parseInt(e.target.value); + switch (vorteilWert) { + case 1: + display.placeholder = `2d20kh + ${skill} (Vorteil)`; + break; + case -1: + display.placeholder = `2d20kl + ${skill} (Nachteil)`; + break; + default: + display.placeholder = `1d20 + ${skill}`; + break; + } + }); + }, + buttons: [ + { + action: "abort", + label: "Midgard6.Dialog.abbrechen", + callback: (event, button, dialog) => { + return { noRoll: true }; + } + }, + { + action: "roll", + label: "Midgard6.Dialog.würfeln", + default: true, + callback: (event, button, dialog) => { + const rollData = { + customRoll: button.form.elements.customRoll.value, + vorteil: button.form.elements.vorteil.value + }; + return rollData; + } + } + ] + // submit: (rollData) => { + // if (noRoll) { + // resolve({ noRoll: true }); + // } else { + // resolve(rollData); + // } + // } + }); + } + + /* -------------------------------------------------- */ + /* Helper functions */ + /* -------------------------------------------------- */ + + /** + * Fetches the embedded document representing the containing HTML element. + * + * @param {HTMLElement} target The element subject to search. + * @returns {Item|ActiveEffect} The embedded Item or ActiveEffect. + */ + _getEmbeddedDocument(target) { + const docRow = target.closest("li[data-document-class]"); + if (docRow.dataset.documentClass === "Item") { + return this.actor.items.get(docRow.dataset.itemId); + } else if (docRow.dataset.documentClass === "ActiveEffect") { + const parent = + docRow.dataset.parentId === this.actor.id + ? this.actor + : this.actor.items.get(docRow?.dataset.parentId); + return parent.effects.get(docRow.dataset.effectId); + } else { + console.warn("Could not find document class"); + } + } + + /* -------------------------------------------------- */ + /* Actor override handling */ + /* -------------------------------------------------- */ + + /** + * Submit a document update based on the processed form data. + * @param {SubmitEvent} event The originating form submission event. + * @param {HTMLFormElement} form The form element that was submitted. + * @param {object} submitData Processed and validated form data to be used for a document update. + * @returns {Promise} + * @protected + * @inheritdoc + */ + async _processSubmitData(event, form, submitData) { + const overrides = foundry.utils.flattenObject(this.actor.overrides); + for (const k of Object.keys(overrides)) delete submitData[k]; + this.document.update(submitData); + } + + /* -------------------------------------------------- */ + + /** + * Disables inpM6 subject to active effects. + */ + #disableOverrides() { + const flatOverrides = foundry.utils.flattenObject(this.actor.overrides); + for (const override of Object.keys(flatOverrides)) { + const input = this.element.querySelector(`[name="${override}"]`); + if (input) input.disabled = true; + } + } +} diff --git a/M6.css b/src/styles/M6.scss similarity index 62% rename from M6.css rename to src/styles/M6.scss index ede0539..76be6c7 100644 --- a/M6.css +++ b/src/styles/M6.scss @@ -1,3 +1,9 @@ +@import url("flex/bootstrap-grid.css"); +@import url("./header.scss"); +@import url("./tabs.scss"); +@import url("./resistenzen.scss"); +@import url("./dialog.scss"); + :root { --M6-background-grey: #d3d7d7; --M6-background-brown: #eedecd; @@ -5,30 +11,38 @@ --M6-text-grey: #595d5f; --M6-text-brown: #be7742; } -.application.sheet.M6 { + +fieldset { + border-radius: 0; + border: none; background-color: var(--M6-background-grey); + + &.highlight { + background-color: var(--M6-background-brown); + } + legend { + color: var(--M6-text-brown); + font-size: 24px; + } +} +h5 { + color: var(--M6-text-grey); +} + +.application { + overflow: visible; +} +i { + font-size: 18px; + text-shadow: 0 0 10px var(--M6-background-white); +} +i:hover { + text-shadow: 0 0 10px var(--M6-background-brown); +} +.application.sheet.M6 { + background-color: var(--M6-background-white); color: var(--M6-text-grey); - section { - .sheet-header { - margin-top: 8px; - img { - position: absolute; - top: 8px; - left: 44%; - background-color: var(--M6-background-grey); - &:hover { - cursor: pointer; - } - } - input { - margin-bottom: 4px; - &:focus { - border: none; - } - } - } - } input { background-color: var(--M6-background-white); color: black; @@ -37,6 +51,7 @@ max-width: 2rem; text-align: center; margin-left: 0.5rem; + height: 24px; } &.attribut { max-width: 2rem; @@ -49,22 +64,22 @@ } } } + input:focus { + outline: none; + } p { &.center { text-align: center; } - } - fieldset { - background-color: var(--M6-background-brown); - legend { - color: var(--M6-text-brown); + &.right { + text-align: end; } } .sheet-header { img { border-radius: 0 0 50% 50%; - border: solid 16px var(--M6-background-grey); + border: solid 8px var(--M6-background-grey); border-top: none; flex: 0 0 100px; object-fit: fill; @@ -136,49 +151,3 @@ } } } - -.application.dialog { - background-color: var(--M6-background-grey); - color: var(--M6-text-grey); - - section { - input { - background-color: var(--M6-background-white); - color: black; - border-radius: 0; - &[type="range"] { - background-color: var(--M6-background-brown); - max-width: 30px; - } - &.skill { - max-width: 2rem; - text-align: center; - margin-left: 0.5rem; - } - &.attribut { - max-width: 2rem; - text-align: center; - margin: 0 0.5rem; - } - &.text { - &.right { - text-align: end; - } - } - } - p { - &.center { - text-align: center; - } - } - fieldset { - background-color: var(--M6-background-brown); - legend { - color: var(--M6-text-brown); - } - } - i { - color: var(--M6-text-brown); - } - } -} diff --git a/src/styles/dialog.scss b/src/styles/dialog.scss new file mode 100644 index 0000000..14b4cd4 --- /dev/null +++ b/src/styles/dialog.scss @@ -0,0 +1,99 @@ +.application.dialog { + background-color: var(--M6-background-white); + color: var(--M6-text-grey); + + input { + background-color: var(--M6-background-white); + color: black; + border-radius: 0; + &.skill { + max-width: 2rem; + text-align: center; + margin-left: 0.5rem; + } + &.attribut { + max-width: 2rem; + text-align: center; + margin: 0 0.5rem; + } + &.text { + &.right { + text-align: end; + } + } + } + p { + &.center { + text-align: center; + } + } + fieldset { + background-color: var(--M6-background-grey); + legend { + color: var(--M6-text-brown); + font-size: 20px; + } + } + /* Container für die gesamte Reihe */ + .segmented-button-row { + display: inline-flex; + overflow: hidden; + height: 32px; + } + + /* Einzelnes Segment */ + .segmented-button { + position: relative; + cursor: pointer; + display: flex; + align-items: center; + } + + /* Versteckt den echten Radio-Button, behält aber die Tastatur-Navigation */ + .segmented-button input[type="radio"] { + position: absolute; + opacity: 0; + width: 0; + height: 0; + } + + /* Inhalt des Segments (Layout & Abstände) */ + .segmented-button__content { + display: flex; + align-items: center; + justify-content: center; + padding: 0 8px; + height: 100%; + transition: + background-color 0.2s, + color 0.2s; + background-color: transparent; + user-select: none; + } + + /* --- ZUSTÄNDE --- */ + + /* Selektiert (Selected State) */ + .segmented-button input[type="radio"]:checked + .segmented-button__content { + // background-color: #e8def8; /* M3 Secondary Container Color */ + text-shadow: 0 0 10px var(--M6-text-brown) !important; + color: #1d192b; /* M3 On-Secondary Container Text */ + .icon { + text-shadow: 0 0 10px var(--M6-text-brown) !important; + } + } + + /* Hover-Effekt */ + .segmented-button:hover .segmented-button__content { + background-color: rgba(73, 69, 79, 0.08); + } + .segmented-button input[type="radio"]:checked:hover + .segmented-button__content { + background-color: rgba(232, 222, 248, 0.85); + } + + /* Tastatur-Fokus (Barrierefreiheit) */ + .segmented-button input[type="radio"]:focus-visible + .segmented-button__content { + outline: 2px solid #6750a4; + outline-offset: -2px; + } +} diff --git a/src/styles/flex/bootstrap-grid.css b/src/styles/flex/bootstrap-grid.css new file mode 100644 index 0000000..b2a8245 --- /dev/null +++ b/src/styles/flex/bootstrap-grid.css @@ -0,0 +1,1976 @@ +/*! + * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +@-ms-viewport { + width: device-width; +} + +html { + box-sizing: border-box; + -ms-overflow-style: scrollbar; +} + +*, +*::before, +*::after { + box-sizing: inherit; +} + +.container { + width: 100%; + /* padding-right: 15px; + padding-left: 15px; */ + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, +.col-2, +.col-3, +.col-4, +.col-5, +.col-6, +.col-7, +.col-8, +.col-9, +.col-10, +.col-11, +.col-12, +.col, +.col-auto, +.col-sm-1, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-sm, +.col-sm-auto, +.col-md-1, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-10, +.col-md-11, +.col-md-12, +.col-md, +.col-md-auto, +.col-lg-1, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-10, +.col-lg-11, +.col-lg-12, +.col-lg, +.col-lg-auto, +.col-xl-1, +.col-xl-2, +.col-xl-3, +.col-xl-4, +.col-xl-5, +.col-xl-6, +.col-xl-7, +.col-xl-8, +.col-xl-9, +.col-xl-10, +.col-xl-11, +.col-xl-12, +.col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} + +.col-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} + +.col-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} + +.col-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} + +.col-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} + +.col-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} + +.col-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} + +.col-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} + +.col-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.333333%; +} + +.offset-2 { + margin-left: 16.666667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.333333%; +} + +.offset-5 { + margin-left: 41.666667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.333333%; +} + +.offset-8 { + margin-left: 66.666667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.333333%; +} + +.offset-11 { + margin-left: 91.666667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-sm-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-md-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-lg-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-xl-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.flex-row { + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.flex-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.justify-content-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} +/*# sourceMappingURL=bootstrap-grid.css.map */ diff --git a/src/styles/flex/bootstrap-grid.min.css b/src/styles/flex/bootstrap-grid.min.css new file mode 100644 index 0000000..63e1bc6 --- /dev/null +++ b/src/styles/flex/bootstrap-grid.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */@-ms-viewport{width:device-width}html{box-sizing:border-box;-ms-overflow-style:scrollbar}*,::after,::before{box-sizing:inherit}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;min-height:1px;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}} +/*# sourceMappingURL=bootstrap-grid.min.css.map */ \ No newline at end of file diff --git a/src/styles/header.scss b/src/styles/header.scss new file mode 100644 index 0000000..f4a9027 --- /dev/null +++ b/src/styles/header.scss @@ -0,0 +1,21 @@ +.sheet-header { + margin-top: 8px; + margin-right: 12px; + .profile-img { + position: absolute; + top: 24px; + left: calc(50% - 50px - 6px); + background-color: var(--M6-background-white); + &:hover { + cursor: pointer; + } + } + .text { + margin-bottom: 4px; + } + + .container { + padding: 8px; + background-color: var(--M6-background-grey); + } +} diff --git a/src/styles/resistenzen.scss b/src/styles/resistenzen.scss new file mode 100644 index 0000000..6f214d7 --- /dev/null +++ b/src/styles/resistenzen.scss @@ -0,0 +1,21 @@ +.application.sheet.M6.actor { + .resistenzenHeader { + font-weight: bold; + font-size: 16px; + text-align: center; + } + + .resistenzenAttribut { + max-width: 2rem; + text-align: center; + margin: 0; + } + + .fa-dice-d20 { + border-radius: 40%; + background-color: var(--M6-background-grey); + margin-right: -7px; + position: relative; + font-size: 18px; + } +} diff --git a/src/styles/tabs.scss b/src/styles/tabs.scss new file mode 100644 index 0000000..f807aad --- /dev/null +++ b/src/styles/tabs.scss @@ -0,0 +1,69 @@ +.application.sheet.M6.actor.character { + section { + &.window-content { + backdrop-filter: blur(0rem); + overflow: visible; + min-height: 0; + } + } + .tabs { + border: none; + position: absolute; + flex-direction: column; + align-items: flex-start; + gap: 0.625rem; + left: calc(100% + 3px); + top: 20%; + + .sheet-stack { + display: flex; + flex-direction: column; + align-items: center; + color: var(--M6-text-grey); + + .container { + position: relative; + text-align: center; + width: 32px; + height: 36px; + + .background { + position: absolute; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + mask: var(--mask-square) no-repeat center; + background-color: var(--M6-background-grey); + } + + .border { + position: absolute; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + background-color: var(--M6-background-grey); + mask: var(--mask-square) no-repeat center; + } + + .value { + position: relative; + font-family: var(--cosmere-font-header); + font-weight: 600; + color: var(--M6-text-brown); + z-index: 1; + } + } + } + + .active { + text-shadow: 0 0 10px var(--M6-text-brown); + + .container { + width: 38px; + height: 36px; + } + } + } +} diff --git a/src/system.mjs b/src/system.mjs index d18c10e..948c524 100644 --- a/src/system.mjs +++ b/src/system.mjs @@ -1,7 +1,9 @@ import { CharacterData } from "./data/character-data.mjs"; import { ItemData } from "./data/item-data.mjs"; import { M6ActorSheet } from "./sheets/character-sheet.mjs"; +import { M6ItemSheet } from "./sheets/item-sheet.mjs"; import { loadHelpers } from "./helpers/handlebar-helpers.mjs"; +import "./styles/M6.scss"; Hooks.once("init", () => { CONFIG.Actor.dataModels.character = CharacterData; @@ -21,10 +23,10 @@ Hooks.once("init", () => { types: ["character"], makeDefault: true }); + foundry.applications.apps.DocumentSheetConfig.registerSheet(Item, "midgard6-lvd", M6ItemSheet, { + types: ["item"], + makeDefault: true + }); loadHelpers(); - // foundry.applications.apps.DocumentSheetConfig.registerSheet(Item, "midgard6-lvd", ItemSheet, { - // types: ["item"], - // makeDefault: true - // }); }); diff --git a/src/templates/actor/header.hbs b/src/templates/actor/header.hbs index 3f915ff..e70ef65 100644 --- a/src/templates/actor/header.hbs +++ b/src/templates/actor/header.hbs @@ -1,23 +1,28 @@ -
-
- - - -
- {{actor.name}} -
- - - +
+
+
+
+ + + +
+ {{actor.name}} +
+ + + +
+
diff --git a/src/templates/actor/stats.hbs b/src/templates/actor/stats.hbs deleted file mode 100644 index a43a0ce..0000000 --- a/src/templates/actor/stats.hbs +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
- LP -
- -

/

- -
-
-
- AP -
- -

/

- -
-
-
- {{localize "Midgard6.Resistenzen.reflexe"}} - -
-
- {{localize "Midgard6.Resistenzen.willenskraft"}} - -
-
- {{localize "Midgard6.Resistenzen.zähigkeit"}} - -
-
-
\ No newline at end of file diff --git a/src/templates/actor/tabs.hbs b/src/templates/actor/tabs.hbs new file mode 100644 index 0000000..6a8efc3 --- /dev/null +++ b/src/templates/actor/tabs.hbs @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/src/templates/dialog/roll-dialog.hbs b/src/templates/dialog/roll-dialog.hbs index c6321c2..8072b2f 100644 --- a/src/templates/dialog/roll-dialog.hbs +++ b/src/templates/dialog/roll-dialog.hbs @@ -1,33 +1,47 @@
Modifikation -
- - {{#ifeq vorteil 1}} - - - {{/ifeq}} - -
- +
+
+ - +
+
+ + + + + + + + +
+
diff --git a/src/templates/shared/properties.hbs b/src/templates/shared/properties.hbs index 81acf4b..22d89b6 100644 --- a/src/templates/shared/properties.hbs +++ b/src/templates/shared/properties.hbs @@ -3,29 +3,125 @@ data-group="primary" data-tab="properties" > - {{#each fields}} - {{#if fieldset}} -
- {{localize legend}} - {{#each fields}} - +
+
+
+ {{#each skills}} + {{#if fieldset}} +
+ {{localize legend}} + {{#each fields}} + + {{/each}} +
+ {{/if}} {{/each}} -
- {{else}} - {{formGroup outer.field value=outer.value localize=true}} - {{/if}} - {{/each}} +
+
+
+ {{localize "Midgard6.Attribute.resistenzen"}} +
+ {{#each resistenzen.fields}} + +
+

{{localize localizationName}}

+
+ + + + +
+
+ {{/each}} +
+
+
+
+ {{localize "Midgard6.Attribute.lp"}} +
+
+

{{localize "Midgard6.aktuell"}}

+ + +
+

/

+
+

{{localize "Midgard6.maximal.short"}}

+ +
+
+
+
+ {{localize "Midgard6.Attribute.ap"}} +
+
+

{{localize "Midgard6.aktuell"}}

+ + +
+

/

+
+

{{localize "Midgard6.maximal.short"}}

+ +
+
+
+
+
+ + \ No newline at end of file diff --git a/style.css b/style.css deleted file mode 100644 index 85ad3c9..0000000 --- a/style.css +++ /dev/null @@ -1,103 +0,0 @@ -.application.sheet.M6.actor.character { - background-color: red; - - section { - > .sheet-header { - } - } -} - -input { - color: green; - background-color: green; -} - -.application.sheet.M6 { - max-height: 90%; - - &.actor, - &.item { - .window-content { - padding-top: 0; - } - } - - .sheet-header { - background-color: red; - color: red; - img { - border: none; - flex: 0 0 100px; - object-fit: contain; - } - input[name="name"] { - height: 2.5em; - font-size: 2rem; - } - } - .tab { - height: 100%; - padding-top: 10px; - } - .tab[data-tab="items"] { - ul { - list-style: none; - padding-left: 5px; - } - .itemHeader { - border-bottom: 1px solid var(--color-border-light-primary); - .type-label { - font-size: 20px; - } - .document-controls { - flex: 0 0 100px; - } - } - .item { - img { - border: none; - flex: 0 0 30px; - padding-right: 5px; - } - .document-controls { - flex: 0 0 50px; - } - } - } - .tab[data-tab="effects"] { - ul { - list-style: none; - padding-left: 5px; - margin-top: 0; - margin-bottom: 0; - } - .effects-header { - font-size: 16px; - border-bottom: 1px solid var(--color-border-light-primary); - .document-controls { - flex: 0 0 100px; - } - } - .effect { - .effect-label { - img { - border: none; - flex: 0 0 30px; - padding-right: 5px; - } - .effect-name { - line-height: 24px; - } - } - .effect-duration { - flex: 0 0 130px; - } - .document-controls { - flex: 0 0 80px; - } - } - .effect-label { - flex: 2; - } - } -} diff --git a/system.json b/system.json index 1948dcd..4914dee 100644 --- a/system.json +++ b/system.json @@ -8,12 +8,12 @@ "authors": [ { "name": "Byroks", - "url": "https://git.byroks.com", + "url": "https://git.byroks.de", "flags": {} } ], "esmodules": ["dist/system.mjs"], - "styles": ["dist/style.css", "M6.css"], + "styles": ["dist/style.css"], "languages": [ { "lang": "de", @@ -48,8 +48,8 @@ }, "flags": { "hotReload": { - "extensions": ["css", "html", "hbs", "json"], - "paths": ["M6.css", "templates", "lang"] + "extensions": ["css", "scss", "html", "hbs", "json"], + "paths": ["dist", "templates", "lang", "src", "src/styles/M6.scss"] } } }