X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fprimeng-custom.scss;h=750c433b5cdcffeded3f44b856107369b3030eb8;hb=52c4976fcf4ee255a3af68ff9778e4f5c4f84bd4;hp=2388c0469beda6174da3d3e4b7c22557181b0257;hpb=2170f1db6ee40531f9d08b711d8b7b00254c0031;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 2388c0469..750c433b5 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -92,6 +92,11 @@ p-table { &:last-child td { border-bottom: none !important; } + + &:focus + tr > td, + &:focus > td { + box-shadow: none !important; + } } .expander { @@ -298,67 +303,6 @@ p-table { } } -// multiselect customizations -p-multiselect { - .ui-multiselect { - border-color: #C6C6C6; - - &:not(.ui-state-disabled) { - &:hover { - border-color: #C6C6C6; - } - - &:focus, - &.ui-state-focus { - box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest); - } - } - } - - .ui-multiselect-label { - font-size: 15px !important; - padding: 4px 30px 4px 12px !important; - - $width: 338px; - width: $width !important; - - @media screen and (max-width: $width) { - width: 100% !important; - } - } - - .pi.pi-chevron-down { - margin-left: 0 !important; - - &::after { - @include select-arrow-down; - - right: 0; - margin-top: 6px; - } - } - - .ui-chkbox-icon { - //position: absolute !important; - width: 18px; - height: 18px; - //left: 0; - - //&::after { - // left: -2px !important; - //} - } - - .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight { - background-color: pvar(--mainColorLighter); - } - - .ui-inputtext:enabled:focus:not(.ui-state-error) { - border-color: pvar(--mainColorLighter) !important; - box-shadow: none; - } -} - // PrimeNG calendar tweaks p-calendar .ui-datepicker { a {