Files
payloadcms/packages/ui/src/elements/Localizer/LocalizerLabel/index.scss
Tylan Davis 0d552fd523 chore: adjusts admin UI styling (#7557)
## Description

- Improves mobile styling of Payload admin UI.
- Reduces font size on dashboard cards.
- Improves the block/collapsible/array field styling.

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

<!-- Please delete options that are not relevant. -->

- [x] Chore (non-breaking change which does not add functionality)

## Checklist:

- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
- [ ] I have made corresponding changes to the documentation
2024-08-09 11:19:36 -04:00

52 lines
850 B
SCSS

@import '../../../scss/styles.scss';
.localizer-button {
display: flex;
align-items: center;
white-space: nowrap;
display: flex;
padding-inline-start: base(0.4);
padding-inline-end: base(0.1);
gap: 0;
background-color: var(--theme-elevation-100);
border-radius: var(--style-radius-s);
&__label {
color: var(--theme-elevation-500);
}
&__chevron {
padding: base(0.1);
.stroke {
stroke: currentColor;
}
}
button {
color: currentColor;
padding: 0;
font-size: 1rem;
line-height: base(1);
background: transparent;
border: 0;
font-weight: 600;
cursor: pointer;
&:hover,
&:focus-visible {
text-decoration: underline;
}
&:active,
&:focus {
outline: none;
}
}
@include small-break {
&__label {
display: none;
}
}
}