X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fprimeng-custom.scss;h=0a3634c946639ac02ff62edba4ccd6a75f679aee;hb=e61151b01c80e525db068ff12fcfe2c8ae04e1a4;hp=4d2d6cb67669391d14d5d3f63157973b318d042b;hpb=1d17d86349fd2b3a9bc85145d02383ba4aea4dc0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 4d2d6cb67..0a3634c94 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -274,6 +274,15 @@ p-multiselect { // left: -2px !important; //} } + + .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight { + background-color: var(--mainColorLighter); + } + + .ui-inputtext:enabled:focus:not(.ui-state-error) { + border-color: var(--mainColorLighter) !important; + box-shadow: none; + } } // PrimeNG calendar tweaks @@ -379,6 +388,24 @@ p-inputswitch { .ui-inputswitch-checked .ui-inputswitch-slider { background-color: var(--mainColor) !important; } + + &.small { + height: 20px; + + .ui-inputswitch { + width: 2.5em !important; + height: 1.45em !important; + + .ui-inputswitch-slider::before { + height: 1em !important; + width: 1em !important; + } + } + + .ui-inputswitch-checked .ui-inputswitch-slider::before { + transform: translateX(1em) !important; + } + } } p-toast { @@ -386,6 +413,19 @@ p-toast { z-index: z(notification) !important; } + .ui-toast-close-icon { + font-family: "Glyphicons Halflings"; + + opacity: .3; + &:hover { + opacity: .5; + } + + &:after { + content: "\e014"; + } + } + .ui-toast-message { font-family: $main-fonts; background-color: var(--mainBackgroundColor) !important;