Przeniesienie styli offers z podkatalogu do głownego

This commit is contained in:
dm
2025-12-15 14:47:21 +01:00
parent 3713d50bca
commit f213b74caf
12 changed files with 30 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "preact/hooks"; import { useEffect, useMemo, useState } from "preact/hooks";
import "../../styles/modal.css"; import "../../styles/modal.css";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
function formatFeatureValue(val) { function formatFeatureValue(val) {
if (val === true || val === "true") return "✓"; if (val === true || val === "true") return "✓";

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "preact/hooks"; import { useEffect, useMemo, useState } from "preact/hooks";
import "../../styles/modal.css"; import "../../styles/modal.css";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
function formatFeatureValue(val) { function formatFeatureValue(val) {
if (val === true || val === "true") return "✓"; if (val === true || val === "true") return "✓";

View File

@@ -2,7 +2,7 @@ import { useEffect, useState } from "preact/hooks";
import Markdown from "../Markdown.jsx"; import Markdown from "../Markdown.jsx";
import OffersSwitches from "../OffersSwitches.jsx"; import OffersSwitches from "../OffersSwitches.jsx";
import InternetAddonsModal from "./InternetAddonsModalCompact.jsx"; import InternetAddonsModal from "./InternetAddonsModalCompact.jsx";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
function formatMoney(amount, currency = "PLN") { function formatMoney(amount, currency = "PLN") {
if (typeof amount !== "number" || Number.isNaN(amount)) return ""; if (typeof amount !== "number" || Number.isNaN(amount)) return "";

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "preact/hooks"; import { useEffect, useMemo, useState } from "preact/hooks";
import "../../styles/modal.css"; import "../../styles/modal.css";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
function formatFeatureValue(val) { function formatFeatureValue(val) {
if (val === true || val === "true") return "✓"; if (val === true || val === "true") return "✓";

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "preact/hooks"; import { useEffect, useMemo, useState } from "preact/hooks";
import "../../styles/modal.css"; import "../../styles/modal.css";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
function formatFeatureValue(val) { function formatFeatureValue(val) {
if (val === true || val === "true") return "✓"; if (val === true || val === "true") return "✓";

View File

@@ -1,5 +1,5 @@
import { useEffect, useState } from "preact/hooks"; import { useEffect, useState } from "preact/hooks";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
import OffersSwitches from "../OffersSwitches.jsx"; import OffersSwitches from "../OffersSwitches.jsx";
import JamboxChannelsModal from "./JamboxChannelsModal.jsx"; import JamboxChannelsModal from "./JamboxChannelsModal.jsx";

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "preact/hooks"; import { useEffect, useMemo, useState } from "preact/hooks";
import "../../styles/modal.css"; import "../../styles/modal.css";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
import "../../styles/channels-search.css"; import "../../styles/channels-search.css";
export default function JamboxChannelsModal({ isOpen, onClose, pkg }) { export default function JamboxChannelsModal({ isOpen, onClose, pkg }) {

View File

@@ -1,5 +1,5 @@
import Markdown from "../../islands/Markdown.jsx"; import Markdown from "../../islands/Markdown.jsx";
import "../../styles/offers/offers-table.css"; import "../../styles/offers-table.css";
/** /**
* @typedef {{ klucz: string, label: string, value: (string|number) }} PhoneParam * @typedef {{ klucz: string, label: string, value: (string|number) }} PhoneParam

View File

@@ -12,7 +12,7 @@
@import "./footer.css"; @import "./footer.css";
@import "./cookie.css"; @import "./cookie.css";
@import "./contact.css"; @import "./contact.css";
@import "./offers/offers-switches.css"; @import "./offers-switches.css";
html { html {
font-family: 'Nunito', sans-serif; font-family: 'Nunito', sans-serif;

View File

@@ -9,18 +9,24 @@
--brand-light: hsl(var(--brand-hue) var(--brand-saturation) var(--brand-lightness)); --brand-light: hsl(var(--brand-hue) var(--brand-saturation) var(--brand-lightness));
--link-color-light: hsla(210, 100%, 40%, 1); --link-color-light: hsla(210, 100%, 40%, 1);
--link-hover-light: hsla(165, 80%, 25%, 1); --link-hover-light: hsla(165, 80%, 25%, 1);
/* --link-background-light: hsla(0 0% 50% 1); */
--text1-light: hsl(var(--brand-hue) var(--brand-saturation) 10%); --text1-light: hsl(var(--brand-hue) var(--brand-saturation) 10%);
--text2-light: hsl(var(--brand-hue) 30% 30%); --text2-light: hsl(var(--brand-hue) 30% 30%);
--text3-light: hsl(var(--brand-hue) 15% 85%); --text3-light: hsl(var(--brand-hue) 15% 85%);
/*
--surface1-light: hsl(var(--brand-hue) 25% 90%); --surface1-light: hsl(var(--brand-hue) 25% 90%);
--surface2-light: hsl(var(--brand-hue) 20% 99%); --surface2-light: hsl(var(--brand-hue) 20% 99%);
--surface3-light: hsl(var(--brand-hue) 20% 92%); --surface3-light: hsl(var(--brand-hue) 20% 92%);
--surface4-light: hsl(var(--brand-hue) 20% 85%); --surface4-light: hsl(var(--brand-hue) 20% 85%);
--surface5-light: hsla(217, 70%, 26%, 1); --surface5-light: hsla(217, 70%, 26%, 1);
*/
--surface1-light: hsla(200, 25%, 90%, 1);
--surface2-light: hsla(200, 20%, 99%, 1);
--surface3-light: hsla(200, 20%, 92%, 1);
--surface4-light: hsla(200, 20%, 85%, 1);
--surface5-light: hsla(217, 70%, 26%, 1);
--surface-shadow-light: var(--brand-hue) 10% 20%; --surface-shadow-light: var(--brand-hue) 10% 20%;
--shadow-strength-light: .02; --shadow-strength-light: .02;
@@ -30,11 +36,18 @@
--brand-dark: hsl(var(--brand-hue) calc(var(--brand-saturation) / 0.2) calc(var(--brand-lightness) / 1.5)); --brand-dark: hsl(var(--brand-hue) calc(var(--brand-saturation) / 0.2) calc(var(--brand-lightness) / 1.5));
--text1-dark: hsl(var(--brand-hue) 15% 85%); --text1-dark: hsl(var(--brand-hue) 15% 85%);
--text2-dark: hsl(var(--brand-hue) 5% 65%); --text2-dark: hsl(var(--brand-hue) 5% 65%);
--surface1-dark: hsl(var(--brand-hue) 10% 10%);
--surface2-dark: hsl(var(--brand-hue) 10% 15%); --surface1-dark: hsla(200, 10%, 10%, 1);
--surface3-dark: hsl(var(--brand-hue) 5% 20%); --surface2-dark: hsla(200, 10%, 15%, 1);
--surface4-dark: hsl(var(--brand-hue) 5% 25%); --surface3-dark: hsla(200, 5%, 20%, 1);
--surface5-dark: hsl(var(--brand-hue) 35% 25%); --surface4-dark: hsla(200, 5%, 25%, 1);
--surface5-dark: hsla(200, 35%, 25%, 1);
--surface6-dark: hsla(205, 51%, 41%, 1);
/*
*/
--surface-shadow-dark: var(--brand-hue) 50% 3%; --surface-shadow-dark: var(--brand-hue) 50% 3%;
--shadow-strength-dark: .8; --shadow-strength-dark: .8;