sh_discord_bot/kdb-web/src/styles/primeng-fixes.scss

112 lines
2.0 KiB
SCSS
Raw Normal View History

2022-10-16 00:13:03 +02:00
@import "./constants.scss";
.btn {
&:focus {
box-shadow: none !important;
}
2022-10-16 00:13:03 +02:00
}
.p-menu,
.p-panelmenu {
background: none !important;
border: none !important;
width: auto !important;
2023-02-17 17:53:54 +01:00
border-radius: 0 !important;
padding: 0 !important;
.p-menuitem-link,
.p-panelmenu-header > a,
.p-panelmenu-content .p-menuitem .p-menuitem-link {
$distance: 10px;
2023-02-17 17:53:54 +01:00
padding: $distance 0 $distance $distance !important;
margin: 4px 0 4px 6px !important;
}
2022-10-16 00:13:03 +02:00
}
header,
.app {
.p-menu-overlay {
top: $headerHeight !important;
}
2022-10-16 00:13:03 +02:00
}
.p-panelmenu {
.p-panelmenu-icon {
order: 1; // to be the first item on right side.
}
.p-menuitem-text {
flex-grow: 1; // to fill the whole space and push the icon to the end
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: normal !important;
}
.p-panelmenu-header > a {
border: none !important;
2023-02-17 17:53:54 +01:00
border-radius: unset !important;
font-weight: unset !important;
transition: none !important;
}
.p-panelmenu-content {
border: none !important;
background: none !important;
}
}
2022-10-16 00:13:03 +02:00
ui-menu .ui-menu-parent .ui-menu-child {
width: 400px; /* exagerated !! */
2022-10-16 00:13:03 +02:00
}
.p-toast-detail {
white-space: pre-line;
2022-10-16 00:13:03 +02:00
}
.p-datatable .p-sortable-column:focus {
box-shadow: none !important;
2022-10-16 00:13:03 +02:00
}
2023-02-17 17:53:54 +01:00
.p-datatable > .p-datatable-wrapper {
overflow: visible !important;
}
2022-10-16 00:13:03 +02:00
.p-password {
2023-02-17 17:53:54 +01:00
padding: 0 !important;
2022-10-16 00:13:03 +02:00
}
.p-paginator {
background-color: transparent !important;
border: none !important;
2022-10-16 00:13:03 +02:00
}
p-table {
.p-datatable .p-datatable-header {
border: none !important;
}
.p-datatable .p-datatable-header,
.p-datatable .p-datatable-tbody > tr,
.p-datatable .p-datatable-thead > tr > th {
background-color: transparent !important;
color: inherit !important;
}
2022-10-16 00:13:03 +02:00
}
2023-08-18 00:42:58 +02:00
.p-dropdown {
2023-02-20 18:30:45 +01:00
width: 100% !important;
}
2022-10-16 00:13:03 +02:00
.pi-sort-alt:before {
content: "\e915" !important;
2022-10-16 00:13:03 +02:00
}
.pi-sort-amount-up-alt:before {
content: "\e914" !important;
2022-10-16 00:13:03 +02:00
}
.pi-sort-amount-down:before {
content: "\e913" !important;
2022-10-16 00:13:03 +02:00
}