0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/scss/components/_bulk_actions.scss
nandini584 65f8a84cee Clean up sass variable usage
- updated the font to its direct use theme and removed -title-height
- removed the 1-time used scss variables and updated directly in the files
- Fixes #11458
2024-01-20 21:22:02 +10:00

78 lines
1.4 KiB
SCSS

.bulk-actions-filter-checkbox {
.table-headers & {
> div {
display: flex;
align-items: center;
}
.bulk-actions-choices,
.bulk-actions-choices > ul {
display: flex;
align-items: center;
}
.bulk-actions-choices li {
margin: 0 0.5em;
}
}
}
.bulk-actions-choices {
&.footer {
@include transition(transform 0.1s ease 0.1s);
&.hidden {
transform: translateY(200px);
visibility: hidden;
}
.button {
font-weight: 600;
}
}
.footer__container {
display: flex;
justify-content: space-around;
width: 100%;
align-items: center;
padding: 1.25em;
border-radius: 4px 4px 0 0;
margin-inline-start: 30px;
input[type='checkbox'] {
margin-inline-end: 1.25em;
}
.bulk-actions-buttons {
@include unlistimmediate();
display: flex;
gap: theme('spacing.4');
border-inline-start: 1px solid theme('colors.icon-secondary');
padding-inline-start: 1.5em;
.bulk-action-btn {
max-width: 160px;
overflow-x: hidden;
text-overflow: ellipsis;
}
}
.num-objects {
margin: 0 5px;
}
.num-objects-in-listing {
color: theme('colors.text-link-default');
background-color: transparent;
border: 0;
font-family: theme('fontFamily.sans');
padding: 0;
}
.button:not(:hover) {
background-color: theme('colors.surface-page');
}
}
}