aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-25 16:15:12 +0200
committerChocobozzz <me@florianbigard.com>2023-05-25 16:15:12 +0200
commite35967ee084a1cba8ed7bc893209bd69200ca3ca (patch)
treeea9261cfa3cd9968489ecb0cf332ed2cbf732a47
parent4958e9e56e089740b5afd94bde6c54a7f4433f8f (diff)
downloadPeerTube-e35967ee084a1cba8ed7bc893209bd69200ca3ca.tar.gz
PeerTube-e35967ee084a1cba8ed7bc893209bd69200ca3ca.tar.zst
PeerTube-e35967ee084a1cba8ed7bc893209bd69200ca3ca.zip
Fix primeng calendar style
-rw-r--r--client/src/sass/primeng-custom.scss54
1 files changed, 3 insertions, 51 deletions
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index a721663ea..e288a3866 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -302,6 +302,9 @@ body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus {
302 outline-offset: 0; 302 outline-offset: 0;
303 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest); 303 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
304} 304}
305body .p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month {
306 @include margin-right(0.5rem);
307}
305body .p-datepicker table { 308body .p-datepicker table {
306 font-size: 14px; 309 font-size: 14px;
307 margin: 0.857em 0 0 0; 310 margin: 0.857em 0 0 0;
@@ -752,57 +755,6 @@ p-table {
752 } 755 }
753} 756}
754 757
755// PrimeNG calendar tweaks
756p-calendar .p-datepicker {
757 a {
758 @include disable-default-a-behaviour;
759 }
760
761 .p-datepicker-header {
762
763 .p-datepicker-year {
764 @include margin-left(5px);
765 }
766
767 .p-datepicker-next {
768 @include chevron-right-default;
769
770 color: #000 !important;
771 text-align: end;
772
773 .pi.pi-chevron-right {
774 display: none !important;
775 }
776 }
777
778 .p-datepicker-prev {
779 @include chevron-left-default;
780
781 color: #000 !important;
782 text-align: start;
783
784 .pi.pi-chevron-left {
785 display: none !important;
786 }
787 }
788 }
789
790 .p-timepicker {
791
792 .pi.pi-chevron-up {
793 @include chevron-up-default;
794
795 color: #000 !important;
796 }
797
798 .pi.pi-chevron-down {
799 @include chevron-down-default;
800
801 color: #000 !important;
802 }
803 }
804}
805
806p-tablecheckbox:hover div .p-checkbox-box { 758p-tablecheckbox:hover div .p-checkbox-box {
807 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2); 759 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
808} 760}