From 3fb0b882962be5a4c17d1bdc34a28f3809b25031 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 23 Oct 2023 12:20:34 +0300 Subject: [PATCH] Prevent color transition on toggle buttons --- public/themes/lara-dark-blue/theme.css | 5 +++++ public/themes/lara-dark-indigo/theme.css | 5 +++++ public/themes/lara-dark-purple/theme.css | 5 +++++ public/themes/lara-dark-teal/theme.css | 5 +++++ public/themes/lara-light-blue/theme.css | 5 +++++ public/themes/lara-light-indigo/theme.css | 5 +++++ public/themes/lara-light-purple/theme.css | 5 +++++ public/themes/lara-light-teal/theme.css | 5 +++++ public/themes/mira/theme.css | 5 +++++ public/themes/nano/theme.css | 6 ++++++ public/themes/soho-dark/theme.css | 9 +++++++++ public/themes/soho-light/theme.css | 5 +++++ 12 files changed, 65 insertions(+) diff --git a/public/themes/lara-dark-blue/theme.css b/public/themes/lara-dark-blue/theme.css index b279ec4d7..981c34560 100644 --- a/public/themes/lara-dark-blue/theme.css +++ b/public/themes/lara-dark-blue/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-dark-indigo/theme.css b/public/themes/lara-dark-indigo/theme.css index 46babba34..c364051bf 100644 --- a/public/themes/lara-dark-indigo/theme.css +++ b/public/themes/lara-dark-indigo/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-dark-purple/theme.css b/public/themes/lara-dark-purple/theme.css index 5794297b0..c2df2cc93 100644 --- a/public/themes/lara-dark-purple/theme.css +++ b/public/themes/lara-dark-purple/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-dark-teal/theme.css b/public/themes/lara-dark-teal/theme.css index 518739454..ba652f943 100644 --- a/public/themes/lara-dark-teal/theme.css +++ b/public/themes/lara-dark-teal/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-light-blue/theme.css b/public/themes/lara-light-blue/theme.css index ca0664e60..6dd344ed6 100644 --- a/public/themes/lara-light-blue/theme.css +++ b/public/themes/lara-light-blue/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-light-indigo/theme.css b/public/themes/lara-light-indigo/theme.css index a1802a328..1f5306969 100644 --- a/public/themes/lara-light-indigo/theme.css +++ b/public/themes/lara-light-indigo/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-light-purple/theme.css b/public/themes/lara-light-purple/theme.css index f0c8af0fc..284fbc952 100644 --- a/public/themes/lara-light-purple/theme.css +++ b/public/themes/lara-light-purple/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/lara-light-teal/theme.css b/public/themes/lara-light-teal/theme.css index dcfffceff..e89ed5a74 100644 --- a/public/themes/lara-light-teal/theme.css +++ b/public/themes/lara-light-teal/theme.css @@ -5650,6 +5650,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-accordion .p-accordion-header .p-accordion-header-link { transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; } diff --git a/public/themes/mira/theme.css b/public/themes/mira/theme.css index d45a805d4..0adacd744 100644 --- a/public/themes/mira/theme.css +++ b/public/themes/mira/theme.css @@ -5903,4 +5903,9 @@ .p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { box-shadow: inset 0 -2px 0 0 #5E81AC; } + + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } } diff --git a/public/themes/nano/theme.css b/public/themes/nano/theme.css index 22f1dedc6..acee474c7 100644 --- a/public/themes/nano/theme.css +++ b/public/themes/nano/theme.css @@ -5675,3 +5675,9 @@ font-size: 1rem; } } +@layer primevue { + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } +} diff --git a/public/themes/soho-dark/theme.css b/public/themes/soho-dark/theme.css index 63bd6e806..c58e37a18 100644 --- a/public/themes/soho-dark/theme.css +++ b/public/themes/soho-dark/theme.css @@ -5651,6 +5651,15 @@ } } @layer primevue { + .p-button .p-button-label { + font-weight: 700; + } + + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button { background-color: #b19df7; } diff --git a/public/themes/soho-light/theme.css b/public/themes/soho-light/theme.css index 8a1bf8a3c..964681f15 100644 --- a/public/themes/soho-light/theme.css +++ b/public/themes/soho-light/theme.css @@ -5708,6 +5708,11 @@ font-weight: 700; } + .p-selectbutton > .p-button, +.p-togglebutton.p-button { + transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; + } + .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button { background-color: #7254f3; }