diff --git a/assets/css/custom-panel.css b/assets/css/custom-panel.css deleted file mode 100644 index 1554ae5..0000000 --- a/assets/css/custom-panel.css +++ /dev/null @@ -1,99 +0,0 @@ -@font-face { - font-family: 'Terminal Grotesque'; - src: url('fonts/terminal-grotesque.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Danzza'; - src: url('fonts/Danzza-Light.woff') format('woff'); - font-weight: 300; - font-style: normal; -} - -@font-face { - font-family: 'Danzza'; - src: url('fonts/Danzza-Regular.woff') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Danzza'; - src: url('fonts/Danzza-Medium.woff') format('woff'); - font-weight: 500; - font-style: normal; -} - -@font-face { - font-family: 'Danzza'; - src: url('fonts/Danzza-Bold.woff') format('woff'); - font-weight: 700; - font-style: normal; -} - -:root{ - --font-title: 'Terminal Grotesque', sans-serif; - --font-body: 'Danzza', sans-serif; - - /*dé commenter pour ajouter leur font*/ - /*font récuperer via leur site donc je ne sais pas quel est la licence*/ - /* --font-sans: 'Danzza', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */ - - --text-h1: 3em; - - --color-green-perso: #04fea0; - - --color-black: #0B1632; - --color-white: #ffffff; - - --color-gray-200: #BCCAF0; - --color-gray-100: #BCCAF0; - --color-gray-250: #8BA3E5; - --color-gray-300: #7A95E1; - --color-gray-400: #597BD9; - --color-gray-500: #3761D2; - --color-gray-600: #224196; - --color-gray-700: #1A3274; - --color-gray-800: #172C64; - --color-gray-850: #132553; - --color-gray-900: #0e1e43; - --color-gray-950: #0d1a38; - - --button-cancel-filled-color-back: light-dark( var(--color-gray-300), var(--color-gray-950) ); - --color-icon-perso: light-dark( var(--color-gray-700), var(--color-gray-400) ); - - --color-border: light-dark(var(--color-gray-300), var(--color-gray-600)); - --dropdown-color-hr:var(--color-gray-800); - - --color-focus: var(--color-green-perso); - - --color-red-h: 355; - --color-green-h: 152; - --color-orange-h: 15; - --color-blue-h: 220; -} - -.k-dialog-button-cancel:where([data-variant="filled"]) { - --button-color-back: var(--button-cancel-filled-color-back); -} - -.k-box { - --icon-color: var(--color-icon-perso); -} - -.k-panel-menu-button:hover:not(.k-activation-button):not(.k-panel-menu-search){ - color: var(--color-green-perso); -} - - -.k-header-title{ - font-family: var(--font-title); -} -.k-header-title-text{ - text-transform: uppercase; -} -.k-header-title .k-icon{ - --icon-size: 28px; -} \ No newline at end of file diff --git a/assets/css/fonts/Danzza-Bold.woff b/assets/css/fonts/Danzza-Bold.woff deleted file mode 100644 index 784a004..0000000 Binary files a/assets/css/fonts/Danzza-Bold.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Light.woff b/assets/css/fonts/Danzza-Light.woff deleted file mode 100644 index ca55417..0000000 Binary files a/assets/css/fonts/Danzza-Light.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Medium.woff b/assets/css/fonts/Danzza-Medium.woff deleted file mode 100644 index 7a0782a..0000000 Binary files a/assets/css/fonts/Danzza-Medium.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Regular.woff b/assets/css/fonts/Danzza-Regular.woff deleted file mode 100644 index 3a8b2cc..0000000 Binary files a/assets/css/fonts/Danzza-Regular.woff and /dev/null differ diff --git a/assets/css/fonts/PixelifySans-Regular.ttf b/assets/css/fonts/PixelifySans-Regular.ttf deleted file mode 100644 index 81993b9..0000000 Binary files a/assets/css/fonts/PixelifySans-Regular.ttf and /dev/null differ diff --git a/assets/css/fonts/terminal-grotesque.ttf b/assets/css/fonts/terminal-grotesque.ttf deleted file mode 100644 index 3786710..0000000 Binary files a/assets/css/fonts/terminal-grotesque.ttf and /dev/null differ diff --git a/site/blueprints/files/member.yml b/site/blueprints/files/member.yml index 4cc685d..6e0c177 100644 --- a/site/blueprints/files/member.yml +++ b/site/blueprints/files/member.yml @@ -6,10 +6,8 @@ fields: label: Nom type: text required: true - translate: false role: label: Poste type: text required: true - translate: false help: "Ex: CEO & Co-Founder" diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index b370fe7..c85fe93 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -38,7 +38,6 @@ tabs: layout: cards size: medium template: member - translate: false image: ratio: 2/3 cover: true diff --git a/site/blueprints/pages/article.yml b/site/blueprints/pages/article.yml index 486a3e6..613e822 100644 --- a/site/blueprints/pages/article.yml +++ b/site/blueprints/pages/article.yml @@ -74,14 +74,12 @@ tabs: type: date required: true default: today - translate: false cover: label: Image de couverture type: files layout: cards max: 1 accept: image/* - translate: false image: ratio: 16/9 uploads: diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index 9f1d2ae..0ab5e21 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -12,17 +12,11 @@ tabs: fields: intro: type: writer - marks: - - bold - - italic - - underline - - strike - - green - - pixel nodes: - heading headings: - 1 + buttons: false help: Section de texte centrée. articles_list: label: Articles diff --git a/site/blueprints/pages/expertise.yml b/site/blueprints/pages/expertise.yml index 0dca120..a81dbcd 100644 --- a/site/blueprints/pages/expertise.yml +++ b/site/blueprints/pages/expertise.yml @@ -11,7 +11,7 @@ tabs: content: type: fields fields: - writer: + title: label: Titre type: writer nodes: false diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index a3c5e5b..7de0dbb 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -45,7 +45,6 @@ columns: size: small max: 1 accept: image/* - translate: false image: ratio: 1/1 uploads: @@ -57,7 +56,6 @@ columns: layout: cards max: 1 accept: image/* - translate: false image: ratio: 16/9 cover: true @@ -68,7 +66,6 @@ columns: label: Badge type: tags max: 1 - translate: false options: - NEW - Populaire @@ -83,7 +80,6 @@ columns: type: select required: true default: available - translate: false options: available: Disponible coming_soon: Bientôt disponible diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index f79f60b..b56961f 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -42,7 +42,6 @@ tabs: layout: cards max: 1 accept: video/* - translate: false image: ratio: 16/9 cover: true diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 4a0cdc9..552c635 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -56,7 +56,6 @@ columns: size: medium max: 1 accept: video/* - translate: false image: ratio: 2/3 cover: true @@ -71,7 +70,6 @@ columns: max: 1 size: small accept: image/* - translate: false image: ratio: 1/1 uploads: @@ -92,7 +90,6 @@ columns: layout: cards max: 1 accept: image/* - translate: false image: ratio: 1/1 uploads: diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index 8511041..9560de0 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -18,12 +18,10 @@ columns: label: Email type: email width: 1/3 - translate: false contact_phone: label: Téléphone type: tel width: 1/3 - translate: false contact_address: label: Adresse type: writer @@ -34,7 +32,6 @@ columns: social_links: label: Liens réseaux sociaux type: structure - translate: false fields: label: label: Nom @@ -62,5 +59,4 @@ columns: label: Mentions légales (PDF) type: files max: 1 - accept: application/pdf - translate: false \ No newline at end of file + accept: application/pdf \ No newline at end of file diff --git a/site/config/config.php b/site/config/config.php index af850da..29e750b 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -6,7 +6,6 @@ return [ // Panel configuration 'panel' => [ - 'css' => 'assets/css/custom-panel.css', // Menu personnalisé du panel 'menu' => [ 'site' => [ @@ -54,7 +53,7 @@ return [ ], // Langues - 'languages' => true, + 'languages' => false, // Mettre true si multilingue activé // Thumbs 'thumbs' => [ @@ -66,5 +65,5 @@ return [ '1200w' => ['width' => 1200] ] ] - ], -]; \ No newline at end of file + ] +]; diff --git a/site/languages/en.php b/site/languages/en.php deleted file mode 100644 index 3c46c1d..0000000 --- a/site/languages/en.php +++ /dev/null @@ -1,12 +0,0 @@ - 'en', - 'default' => false, - 'direction' => 'ltr', - 'locale' => [ - 'LC_ALL' => 'en_US.utf8' - ], - 'name' => 'English', - 'url' => 'en' -]; diff --git a/site/languages/fr.php b/site/languages/fr.php deleted file mode 100644 index 96c5dbe..0000000 --- a/site/languages/fr.php +++ /dev/null @@ -1,12 +0,0 @@ - 'fr', - 'default' => true, - 'direction' => 'ltr', - 'locale' => [ - 'LC_ALL' => 'fr_FR.utf8' - ], - 'name' => 'Français', - 'url' => '/' -]; diff --git a/site/plugins/custom-marks/fonts/PixelifySans-Regular.ttf b/site/plugins/custom-marks/fonts/PixelifySans-Regular.ttf deleted file mode 100644 index 81993b9..0000000 Binary files a/site/plugins/custom-marks/fonts/PixelifySans-Regular.ttf and /dev/null differ diff --git a/site/plugins/custom-marks/index.css b/site/plugins/custom-marks/index.css index b37cc4f..4a8cda9 100644 --- a/site/plugins/custom-marks/index.css +++ b/site/plugins/custom-marks/index.css @@ -1,19 +1,4 @@ /* Styles pour les marks personnalisés dans le panel Kirby */ -@font-face { - font-family: 'Terminal Grotesque'; - src: url('/assets/css/fonts/terminal-grotesque.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Pixelify Sans'; - src: url('/assets/css/fonts/PixelifySans-Regular.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - - /* Mark Green - Couleur verte */ .k-writer span.green { @@ -22,6 +7,12 @@ /* Mark Pixel - Typo serif (placeholder pour future typo pixel) */ .k-writer span.pixel { - font-family: 'Pixelify Sans', serif; - font-size: 1.15em; -} \ No newline at end of file + font-family: Georgia, "Times New Roman", serif; +} + +/* Combinaison des deux marks */ +.k-writer span.green.pixel, +.k-writer span.pixel.green { + color: #04fea0; + font-family: Georgia, "Times New Roman", serif; +} diff --git a/site/plugins/custom-marks/index.js b/site/plugins/custom-marks/index.js index 164003c..63e7467 100644 --- a/site/plugins/custom-marks/index.js +++ b/site/plugins/custom-marks/index.js @@ -1,7 +1,4 @@ panel.plugin("custom/marks", { - icons: { - pixel: '' - }, writerMarks: { green: { button: { @@ -19,7 +16,7 @@ panel.plugin("custom/marks", { }, pixel: { button: { - icon: "pixel", + icon: "grid-full", label: "Pixel" }, commands() {